PDA

View Full Version : Help ! i want to add an extra avatar under user name


V-S
01-27-2007, 09:18 AM
Hi everyone


I`ve been browsing this site for a while and its been a real big help but i`m now stuck...

I`m running vb 3.5.7 and what i`m trying to do is .

where you have the user name on the left handside below that you have the user rank title and then the user set avatar

i want to add an extra avatar below the user name and still keep the user rank title so the order it will run in is

Username
New avatar
rank title
existing avatar
and under that the usual stuff thats already there such as location and posts which i want to keep as it is

can anyone please help me

Thanks :up:

Forgot to mention this is to be used only for one user group if it makes any difference

KingPuyol
01-27-2007, 03:18 PM
Create a new user profile field.

Select Single-Line Text Box.

Call it for example HONOURS, or something if for giving medals to your users.
After that, note the FIELD NUMBER.

Then go to Postbit or Postbit_legacy, and find:

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


After that add:

<if condition="$post[fieldX] != ''"><div>
<img src="$post[fieldX]">
</div></if>


Or place it wherever you want.

NOTE: Replace X with the profile field number.

V-S
01-27-2007, 04:09 PM
cheers kingpuyol :D