Log in

View Full Version : Gold star for Subscribed


rinkrat
08-06-2005, 09:24 PM
I want to put a gold star next to each subscriber's name. I tried

<if condition="$bbuserinfo['usergroup'] = 21"><img src="http://www.letsgokings.com/307/images/misc/star.gif" border=0></if>

21 being the secondary usergroup "Subscribers" which is awarded to subscribers automagically by VB. This resulted in everyone having a star.

What is the trick? It sounds so easy and I can't figure it out..

vBintense
08-06-2005, 09:25 PM
Becuase your calling the person viewing usergroup not the person who posted

<if condition="$post['usergroupid'] == 21"><img src="http://www.letsgokings.com/307/images/icons/icon1.gif" border=0></if>

Also you could use usergroup html mark up if you wanted.

rinkrat
08-06-2005, 09:26 PM
Aha, I figured it was something like that. I get brainlock on this stuf sometimes. Thanks for the quick response!

vBintense
08-06-2005, 09:29 PM
Welcome :).......

rinkrat
08-06-2005, 11:27 PM
Nope that didn't do it. The image shows up until I ad the <if> stuff. I checked several subscribed users and it's not there. Also the forum is correct 21.

Should it be different since it's the secondary usergroup and not the primary one?