vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How to add UserGroup title UNDER Username? (https://vborg.vbsupport.ru/showthread.php?t=146347)

ElForro 05-03-2007 01:55 AM

How to add UserGroup title UNDER Username?
 
I would want to add the UserGroup title under the Username, but above the "Custom Title" and "Image Rank"


I have this:

http://img470.imageshack.us/img470/1566/imagen1rw7.png

I would want to have this (with the UserGroup under the Username):

http://img130.imageshack.us/img130/4...ergroupfl9.jpg

If I add a usergroup rank for the Admins, for example, that new Rank appears next to the image from the other Rank [based on postcount]... But I want to display that text UNDER the Username and above the "Custom Title" [see the image]

Thanks in advance!

Mythotical 05-03-2007 02:17 AM

Use this:
HTML Code:

                        <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
Add this above:

HTML Code:

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
Hope this helps.

ElForro 05-03-2007 02:27 AM

The problem is that I have 2 Usergroup Ranks... One is an Image [based on postcount], and the other would be the text for each Usergroup ["Administrator", "Moderator", etc]

And i want to have those two Usergroup Ranks separated by the "Custom Title" in the middle... But I have only one var for the Usergroup Rank, "$post[rank]"....

So... I don't know how to do it...

BTW: My Postbit template is exactly as that Steve:

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

Mythotical 05-03-2007 02:29 AM

Ok, if I remember correctly I might have to create a quick plugin for you to use that will allow the use of 2 ranks, one as an image, the other as the default rank. I can't do it right now as I'm heading off to bed but I could do it tomorrow afternoon if your willing to wait that long.

ElForro 05-03-2007 02:32 AM

That would be great Steve, thanks!


All times are GMT. The time now is 06:57 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.01097 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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