![]() |
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? |
Code:
<if condition="is_member_of($post,28)">Image Here</if> |
you rock! THank you
|
Kirk, or anybody else,
How can I hyperlink the image to take someone to another page that explains what the image is? |
Code:
<a href="mypage.php"><img src="myimage.gif" border="0" /></a> |
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? |
Code:
<if condition="$post['userid'] == 1">Image Here</if> |
All times are GMT. The time now is 03:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|