View Full Version : Adding images to post bit for each group
djjeffa
03-12-2005, 01:29 AM
I would like to make lil icons for each user group and then make them all show up in the post bit so it would show images for all the groups ther a member of.
cann any body show me the codiing to add to the post bit and i could probly take it from there
thank you.
sully02
03-12-2005, 06:42 PM
I would like to make lil icons for each user group and then make them all show up in the post bit so it would show images for all the groups ther a member of.
cann any body show me the codiing to add to the post bit and i could probly take it from there
thank you.
I think you can do this already with user ranks.
Look for Anh Tuan Cool's chack 'Staff icon in postbit'.
Moncal
03-12-2005, 07:15 PM
I think you can do this already with user ranks.
You can, you would just have to create a usergroup rank icon for all possible combinations of usergroups tha a member can be in.
djjeffa
03-12-2005, 08:50 PM
Look for Anh Tuan Cool's chack 'Staff icon in postbit'.
I already installed that but that only added a image for all the staff not the rest of the groups
ericgtr
03-12-2005, 10:42 PM
All you have to do is setup a condition based on whatever group they are in and add it to your postbit or postbit_legacy template where you want it to appear under their avatar some place.
<if condition="is_member_of($post, X)"> // <--- change X to the group number
/path/to/image
</if>
djjeffa
03-12-2005, 11:21 PM
All you have to do is setup a condition based on whatever group they are in and add it to your postbit or postbit_legacy template where you want it to appear under their avatar some place.
<if condition="is_member_of($post, X)"> // <--- change X to the group number
/path/to/image
</if>
thanks for your help
I couldent get it to work So i had to make it like this
<if condition="is_member_of($post, X)"> $post[image name]
</if>
but im not good with this so I wouldent have goten it to work with out your help :)
ericgtr
03-12-2005, 11:28 PM
I always use a full url path for those images, you can actually put any html you want in there. Also, you can add as many of those statements as you want if you want more images, text etc. based on user groups. :)
Stifmeister2
04-22-2006, 09:43 PM
I always use a full url path for those images, you can actually put any html you want in there. Also, you can add as many of those statements as you want if you want more images, text etc. based on user groups. :)
Thx dude. :) I've been looking for this for a while.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.