Log in

View Full Version : How to make a image appear under an admin/mod avatar only??


Rick Sample
10-07-2004, 09:09 PM
Since I don't have a moderator column, I need this so the users know who are the mods and who aren't

This is what I got so far:

<if condition="$post[usergroupid] == 6"><a href="http://www.muscle-mustangs.com/forums/images/home1.gif"></if>

(The image their is just a test image, not the real thing.) I'm putting that in my Postbit_legacy, but nothing is showing up, is something wrong?

House_of_Crazed
10-07-2004, 10:14 PM
don't use $post

I'm thinking here...

You can try $bbuserinfo

But this is just off my head.

ajaspers
10-07-2004, 10:25 PM
don't use $post

I'm thinking here...

You can try $bbuserinfo

But this is just off my head.
$bbuserinfo is the current user, not the user who posted in a thread. The code should be<if condition="$post[usergroupid] == 6"><img src="http://www.muscle-mustangs.com/forums/images/home1.gif" /></if>Corrections in red.

Rick Sample
10-08-2004, 07:04 PM
thanks, that did the trick, I knew I was forgeting something! :)