The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Image in the postbit for admin
Hi Dears ,
show up Small image in postbit for only several special usergroups, besides User Rank How do I do it? Thanks in advance. |
#2
|
||||
|
||||
You need to modify your postbit(_legacy) and put a condition in there where you want the image to be.
HTML Code:
<if condition="is_member_of($bbuseinfo,5)"> image for admins <else /> <if condition="is_member_of($bbuseinfo,6)"> image for supermods <else /> <if condition="is_member_of($bbuseinfo,7)"> image for moderators </if> </if> </if> |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
Code:
<if condition="is_member_of($post,5)"> image for admins <else /> <if condition="is_member_of($post,6)"> image for supermods <else /> <if condition="is_member_of($post,7)"> image for moderators </if> </if> </if> |
#5
|
|||
|
|||
I have an image...where I do put it after I do the above postbit(_legacy) so the image will show on my board..SORRY!!! Thank you..I NEEDED THIS!!!
|
#6
|
||||
|
||||
Quote:
Upload it to your site using ftp and note the path to wherever you put it cuz you will use that path when writing the <img> tag. |
#7
|
||||
|
||||
Nested conditionals aren't really needed - just adds to the complexity.
Code:
<if condition="is_member_of($post,5)"> image for admins </if> <if condition="is_member_of($post,6)"> image for supermods </if> <if condition="is_member_of($post,7)"> image for moderators </if> |
#8
|
||||
|
||||
Thanks dears for your helps
|
#9
|
|||
|
|||
|
#10
|
|||
|
|||
I am having issues with this I guess you could say...I have the image I want to use...and I have the url to it but I am unsure of how to write "img" tags inorder for it to work can someone please show the newb how this is done
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|