vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Move reputation button (https://vborg.vbsupport.ru/showthread.php?t=304350)

GONUMBER6 11-09-2013 08:27 PM

Move reputation button
 
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 11: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 02:52 AM

1 Attachment(s)
I think he is talking about the like button on her. But anyway in the template postbit_legacy find the following:

Code:

                    <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&amp;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}" /> -->&nbsp;</a></span>
                    </vb:if>

And change it to this:
Code:

                                        <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&amp;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}" /> -->&nbsp;</a></span>
                    </vb:if>
                                        </vb:comment>

Then in that same template find:
Code:

                <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:
Code:

                    <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&amp;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}" />&nbsp;</a></span>
                    </vb:if>


GONUMBER6 11-10-2013 05: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 05:02 AM

Not a problem, glad to help, :)

GONUMBER6 11-11-2013 04:31 AM

Quote:

Originally Posted by ozzy47 (Post 2459616)
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 10:43 AM

Is that a style on here?

GONUMBER6 11-11-2013 02:21 PM

Quote:

Originally Posted by ozzy47 (Post 2459899)
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.


All times are GMT. The time now is 03:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01105 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete