The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding images to post bit for each group
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. |
#2
|
|||
|
|||
Quote:
|
#3
|
||||
|
||||
Look for Anh Tuan Cool's chack 'Staff icon in postbit'.
|
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
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.
PHP Code:
|
#7
|
||||
|
||||
Quote:
I couldent get it to work So i had to make it like this Code:
<if condition="is_member_of($post, X)"> $post[image name] </if> |
#8
|
||||
|
||||
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.
|
#9
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|