PDA

View Full Version : How to add UserGroup title UNDER Username?


ElForro
05-03-2007, 01:55 AM
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/4803/usergroupfl9.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:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

Add this above:

<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!