The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi, hopefully this is an easy one
![]() When someone subscribes to my forum they're given a little red medal in their postbit. Currently I have to manually input the file name into a field in their profile via the admincp for the medal to show. I'm sure I should be able to automate the process using an <if> </if> statement in the process but I'm unsure as to the exact syntax to use. As usual, any help for this bear of little brain would be greatly appreciated. Thanks Dave |
#2
|
|||
|
|||
![]()
You want the medal to show if they are a registered member then???
How about... HTML Code:
<if condition="$show['member']"> medal code here </if> |
#3
|
||||
|
||||
![]() Quote:
Thanks Dyna88 ![]() So would.... HTML Code:
<if condition="$show['subscriber']"> medal code here </if> Cheers Dave |
#4
|
|||
|
|||
![]() HTML Code:
<if condition="$show['member']"> medal code here </if> If you want it to show just for one usergroup you would use HTML Code:
<if condition="is_member_of($bbuserinfo, X)"> medal code here </if> |
#5
|
||||
|
||||
![]()
Many thanks for your quick responses Dyna88, you're a star
![]() Will run off and try it now. Cheers Dave I used: HTML Code:
<if condition="is_member_of($bbuserinfo, 31)"> <img src="submed.gif"> </if> Can anyone spot what I've done wrong? Thanks Dave |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|