The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Conditional Statement Question
For donating members, I would like to display an icon in the area of the post where the user info is displayed such as name, status, posts etc. For example, I created a new donating members usergroup: UserGroup ID 28. I use the PostBit_Legacy_Template and know exactly where I need to insert the conditional to make it work, but I have yet to succeed with writing a conditional.
If I drop myself in that group, what conditional would work to display specific content in the area of my post that contains name, status, number of posts etc? |
#2
|
||||
|
||||
Code:
<if condition="is_member_of($post,28)">Image Here</if> |
#3
|
|||
|
|||
you rock! THank you
|
#4
|
|||
|
|||
Kirk, or anybody else,
How can I hyperlink the image to take someone to another page that explains what the image is? |
#5
|
||||
|
||||
Code:
<a href="mypage.php"><img src="myimage.gif" border="0" /></a> |
#6
|
|||
|
|||
Thank you again, you rock.
Now what if I want to single out a single user based on their id rather than using a usergroup? BTW, I am using the usergroup one, but now I want to hand out an individual award. One more question, do you happen to know whether there is a statement that can show an individual's number of posts in a single forum? |
#7
|
||||
|
||||
Code:
<if condition="$post['userid'] == 1">Image Here</if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|