vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   stacking rank help (https://vborg.vbsupport.ru/showthread.php?t=215024)

psilocybin1 05-31-2009 10:19 PM

stacking rank help
 
i have rank stacked set to yes in the user rank acp...i have reset counters..the image and rank are still beside my avatar..shouldnt it be underneath? am i missing a setting?

HMBeaty 05-31-2009 10:21 PM

"Rank stacking" means pretty much just as it says. I think I know what you're thinking its supposed to do, but no. If you rank stacking enabled, usually you have 2 rank images displayed as:

"Rank image 1"
"Rank image 2"

versus:

"Rank image 1" "Rank image 2"

psilocybin1 05-31-2009 11:01 PM

ah ok, thanks for the info...is there anyway to get the ranks underneath the avatar?

HMBeaty 05-31-2009 11:04 PM

Sure, are you using the default or custom vbulletin style?

psilocybin1 05-31-2009 11:05 PM

custom...its the tech style

HMBeaty 05-31-2009 11:37 PM

Personally, I would have to have a look at your postbit templates in order to tell you for a custom style. I don't want to tell you something and end up screwing up your layout

psilocybin1 05-31-2009 11:47 PM

i have it backed up ..let me know how you think it can be done, and ill try it and restore my style if it doesnt work out

HMBeaty 05-31-2009 11:50 PM

I'm sorry, one more thing, is this the postbit or postbit legacy you're trying to do this in?

--------------- Added 31 May 2009 at 20:57 ---------------

Either way, it should be fairly similar. Anyway, in postbit/postbit_legacy, find and delete:
HTML Code:

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
And replace:
HTML Code:

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
With:
HTML Code:

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></td></if>

psilocybin1 06-01-2009 12:43 AM

k thanks...ill try it tomorrow and post back with my results...thanks for your help

HMBeaty 06-01-2009 12:59 AM

No problem


All times are GMT. The time now is 03:10 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.01586 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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