View Full Version : Special Image in Postbit based on User group
Lostnode
04-29-2004, 04:04 AM
Ok, in our forums (http://www.teambia.com/forums) I installed a hack (For VB2.3.x) which depending on the users status on the forums, a special image showed up. In my case, Rank (We are an internet gaming clan, and we range from Recruit to Head admin in the forums)
Is there anything like this already built in, or a hack already made, if not, is anyone thinkng about it?
Lostnode
04-29-2004, 04:06 AM
Oh, please note, I know my forums are vb 2.3.x, I am upgrading to 3.0.1 shortly and wish to have some of the same stuff on the enw version. Had a bunch of admins move my thready because they thought it was a VB 2.3.x question.
Zachery
04-29-2004, 04:10 AM
You can do it 1 of 2 ways both with conditions, wich for future refrence condition / template questions should be asked at vBulletintemplates.com ;)
<if condition="$post[usergroupid] == X"> Show spcific icon here </if>
OR if they are in the group as a secondary member group you would use
<if condition="is_member_of($post, X)"> Show specific icon here </if>
Replace x with their usergroup id
Lostnode
04-29-2004, 06:12 PM
Thanx... The version for vb2.3.x was actuly in the code which is why I asked it here, but if it can be added in the template even better... thanks again
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.