Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2011, 08:19 AM
ET 7 ET 7 is offline
 
Join Date: Jan 2011
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default reputation bar moved

Ok, I am trying to move my reputation green bar down to below the "thanked xx post"

is this the right place for the code and if so what do I change?

Code:
<li class="floatcontainer blockrow summaryinfo {vb:raw posneg}" id="reputationbit_{vb:raw reputation.postid}_{vb:raw reputation.userid}">
    <div class="userinfo">
        <div class="datetime">{vb:raw reputation.dateline} <span class="time">{vb:raw reputation.timeline}</span></div>
        <vb:if condition="$vboptions['showuserraters']">
        <div class="user">
            <vb:if condition="$reputation['username']">
            <a href="{vb:link member, {vb:raw reputation}, null, 'whoadded', 'username'}">{vb:raw reputation.username}</a>
            <vb:else />
            {vb:rawphrase n_a}
            </vb:if>
        </div>
        </vb:if>
    </div>

    <div class="iteminfo">
        <div class="title">
            <span class="shade">{vb:rawphrase thread}:</span>
            <vb:if condition="$reputation['title']">
                <a class="smallfont" href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo}}#post{vb:raw reputation.postid}">{vb:raw reputation.title}</a>
            <vb:else />
                {vb:rawphrase n_a}
            </vb:if>
        </div>
        <p class="comment">{vb:raw reputation.reason}</p>
    </div>
</li>
i got that code from "usercp_reputationbits"
Reply With Quote
  #2  
Old 02-13-2011, 06:03 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're better off turning off your reputations through the AdminCP then to be removing code.
Reply With Quote
  #3  
Old 02-13-2011, 06:04 PM
ET 7 ET 7 is offline
 
Join Date: Jan 2011
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh no, i'm not trying o turn it off, i am trying to move it from below the username to all the way at the bottom.
Reply With Quote
  #4  
Old 02-13-2011, 06:09 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ET 7 View Post
oh no, i'm not trying o turn it off, i am trying to move it from below the username to all the way at the bottom.
Sorry, I mis-read your original question.

Doing this may require you to apply this template modification every time you update your copy of vBulletin.

With this said... You may want to look for the code in postbit_legacy or postbit (depending on which layout you are using)
Reply With Quote
  #5  
Old 02-13-2011, 06:14 PM
ET 7 ET 7 is offline
 
Join Date: Jan 2011
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the diff btw legacy and just postbit?

thats the thing, not sure what i do with the code when/if i find it
Reply With Quote
  #6  
Old 02-13-2011, 06:26 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ET 7 View Post
whats the diff btw legacy and just postbit?
Best way I could describe it....

If the user avatar and basic user data is on the left of every post, you're using postbit_legacy (majority seem to use this)

If the user avatar and basic user data is above the post, then you're using postbit

Quote:
Originally Posted by ET 7 View Post
thats the thing, not sure what i do with the code when/if i find it
Moving the code up or down within postbit_legacy or postbit, will change where things are displayed.

IMPORTANT: Backup your database, before making any changes on your live site. I advise you to try this out on your test site 1st, but still backup even if it works on your test site.
Reply With Quote
  #7  
Old 02-13-2011, 06:48 PM
ET 7 ET 7 is offline
 
Join Date: Jan 2011
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh ok, than legacy it is.

how would i move it tho? like how much of the code do i copy and move?
Reply With Quote
  #8  
Old 02-28-2011, 03:21 AM
ET 7 ET 7 is offline
 
Join Date: Jan 2011
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone get a chacne to hlep me?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:01 AM.


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.05861 seconds
  • Memory Usage 2,227KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete