![]() |
Is this feature built into vBulletin or not?
Notice how on this forum, just to the left of the Join date, posts and IM stuff there are icons. How is this done?
http://www.radioreference.com/forums...t=99885&page=2 |
That looks like a custom mod where it calls certain groups and adds them right next to the posts. This can be done by editing the postbit template with certain <if> calls. More help could be obtained by searching the mod database and/or requesting coding help within our Programming Discussions Forum.
|
<font color="darkgreen">Probably just edited the postbit template and added the code to insert the image. All based upon a conditional evaluation of the member being in a custom secondary UserGroup of Premium Subscriber.</font>
|
I want it to show an icon for everyone with a usergroup of 23. I am using 3.7.0, what do I need to type?
Code:
<if condition="is_member_of($userinfo, 23)"><img src="..."> |
Your problem would be that $userinfo is not for the poster's ID. It is for the current users ID.
|
$bbuserinfo is the current user
$userinfo is the profile you are viewing $post is the poster |
All times are GMT. The time now is 11:55 PM. |
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:
|