Forum Rep Box Code.

Go down

Forum Rep Box Code.

Post by Zuke on November 12th 2014, 9:37 pm

Hello, do you have the code and help on what to do to change this, if you have the code to maker it like this please tell me!

I want it not as big as this but a thing what shows the reputation box like this when your making topics and posts.

Please try give me the exact code to make it look like this!

Thanks! Smile


Male Posts : 385
Reputation : 21
Language : English
Location : United Kingdom

Back to top Go down

Re: Forum Rep Box Code.

Post by Mati on November 12th 2014, 10:11 pm

Hello, Luke Spike

Go to Administration Panel -> Display -> Templates --> General -> viewtopic_body find this

And replace it with this...
<div class="rep_wrap">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>

Save & Publish

Then go to -> Modules -> Javascript codes management --> Create a new javascript
Title: Rap Box
Placement: In the topics
Javascript Code
jQuery(document).ready(function(){jQuery('.user-info .rep_wrap:contains("Reputation")').attr('style','background: url("") repeat-x scroll 0 1px #ff6600!important;border-radius: 3px;color: #FFFFFF;font-weight: bold;display: block;margin: 0 auto;margin-top: 4px; text-align: center;');});

Then Submit that's all and your done!
Active Poster

Posts : 1909
Reputation : 291
Language : || HTML || CSS || jQuery ||
Location : At the Gym

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum