View Full Version : Move reputation button
GONUMBER6
11-09-2013, 07:27 PM
How to move the reputation button from postbit foot container to posthead next to post number? (Like how it is here on vbulletin.org) I have tried doing it in postbit legacy but doesn't change anything, the button stays down at the bottom.
Thanks for any assistance!
Lynne
11-09-2013, 10:36 PM
We don't have a reputation button here on vbulletin.org, so you comment about wanting it like how it is here on vbulletin.org confuses me. What exactly are you wanting to move to where?
ozzy47
11-10-2013, 01:52 AM
I think he is talking about the like button on her. But anyway in the template postbit_legacy find the following:
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> --> </a></span>
</vb:if>And change it to this:
<vb:comment>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> --> </a></span>
</vb:if>
</vb:comment>Then in that same template find:
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>Below that add this:
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" style="margin-right:-20px; padding-left: 5px;" title="{vb:raw post.postid}"><a class="popupctrl reputation" style="background-image: none;" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> </a></span>
</vb:if>
GONUMBER6
11-10-2013, 04:00 AM
Yes, thank you that is what I meant, the like button on here :) Thank you very much I will try this tomorrow. I really appreciate it!
ozzy47
11-10-2013, 04:02 AM
Not a problem, glad to help, :)
GONUMBER6
11-11-2013, 03:31 AM
Not a problem, glad to help, :)
I don't know why it didn't work for me.... could be something to do with other mods I have installed but I was not successful. I tried in the Green style templates only.
ozzy47
11-11-2013, 09:43 AM
Is that a style on here?
GONUMBER6
11-11-2013, 01:21 PM
Is that a style on here?
No it's a style I created with the style manager in vb. I do have about 20 mods installed though.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.