The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Somebody over on vB.com suggested that I try some code along the lines of :
<if condition="is_member_of($post, USERGROUPID_OF_THE_GROUP)">whateverIwanttowrite</if> I'm need to know the exact code that I would use for this, and if I need to do anything else. What I'm doing, is adding members who donate to a secondary usergroup. I want "donating member" or something like that to be in their info. |
|
#2
|
||||
|
||||
|
If you're using vB2 right now I suggest you use Logician's conditionals hack
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
||||
|
||||
|
Just to note, no vB2 hacks will work with vB3. Also, if you want to show text for a certain usergroup, you would use in your template:
Code:
<if condition="$bbuserinfo[usergroupid]==xx"> some text <else /> text for noone in that usergroup </if> |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
Quote:
![]() <if condition="is_member_of($post, USERGROUPID_OF_THE_GROUP)">Supporting Member</if> |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
Quote:
is_member_of should work perfectly. it was designed to do just what im telling you |
|
#9
|
|||
|
|||
|
Quote:
Code:
<if condition="is_member_of($post, 14)">Supporting Member</if> |
|
#10
|
||||
|
||||
|
should work just fine does it?
|
![]() |
|
|