View Full Version : Add image under avatar !
Hello,
there is a way to add a simple image under the Avatar ? (but only for some user ! we need to give a "certificate" using a simple image).
Another one
How can I do for add a small custom image near the topic insted the classic Icon (i need something exactly like cgtalk.com)
Thank in advance :)
tehQspm
04-30-2007, 11:11 PM
As far as the custom image goes (if it's what I think you mean) then the images are in /yourforum/images/statusicon/ where yourforum is your forum's main directory.
There are 5 images
forum_link.gif
forum_old.gif
forum_new.gif
forum_old_lock.gif
forum_new_lock.gif
just replace these images with whatever ones you want to use.
For the image under the avatar you'd probably need to add a custom profile field (single selection radio button). Then reference that in postbit (or postbit_legacy depending on which one you use) where you'll need to find this:
<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> and place right after it (in between the </a> and </td>) the following:
<if condition="$post[fieldx]"><div><img src="path_to_your_image" border="0" alt="" /></div></if>[fieldx] should be [field5] or whatever field number was given to your profile field above.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.