The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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.. |
#2
|
||||
|
||||
![]()
Becuase your calling the person viewing usergroup not the person who posted
Code:
<if condition="$post['usergroupid'] == 21"><img src="http://www.letsgokings.com/307/images/icons/icon1.gif" border=0></if> |
#3
|
||||
|
||||
![]()
Aha, I figured it was something like that. I get brainlock on this stuf sometimes. Thanks for the quick response!
|
#4
|
||||
|
||||
![]()
Welcome
![]() |
#5
|
||||
|
||||
![]()
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? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|