vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   reputation bar moved (https://vborg.vbsupport.ru/showthread.php?t=258809)

ET 7 02-13-2011 08:19 AM

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"

OldSchoolDSL 02-13-2011 06:03 PM

You're better off turning off your reputations through the AdminCP then to be removing code.

ET 7 02-13-2011 06:04 PM

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.

OldSchoolDSL 02-13-2011 06:09 PM

Quote:

Originally Posted by ET 7 (Post 2162235)
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)

ET 7 02-13-2011 06:14 PM

whats the diff btw legacy and just postbit?

thats the thing, not sure what i do with the code when/if i find it

OldSchoolDSL 02-13-2011 06:26 PM

Quote:

Originally Posted by ET 7 (Post 2162243)
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 (Post 2162243)
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.

ET 7 02-13-2011 06:48 PM

oh ok, than legacy it is.

how would i move it tho? like how much of the code do i copy and move?

ET 7 02-28-2011 03:21 AM

anyone get a chacne to hlep me?


All times are GMT. The time now is 01:06 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.01111 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
  • (1)bbcode_code_printable
  • (3)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