The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Icon under avy?
how do i do this? |
#2
|
||||
|
||||
You can make a "staff" icon appear by usergroup via ranks or even a template edit.
in the templates <if condition="is_member_of($post, X)"> Change x to the usergroupid you want to display a rank image for and add your own html |
#3
|
||||
|
||||
can u explain it a lil better for the dummies? where do i edit this? and how do i add the image?
|
#4
|
||||
|
||||
Go to admincp => Styles & Templates => on the line that your style is on (right side) look for All Style Options, Drop down and click Edit Templates. It should automatically redirect you to edit the template (if it doesn't, click Go). Find this:
Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> Code:
<if condition="is_member_of($post, X)"><img class="inlineimg" src="http://www. .com/images/ranks/image1.gif" alt="image1" border="0" /></if> <if condition="is_member_of($post, Y)"><img class="inlineimg" src="http://www. .com/images/ranks/image2.gif" alt="image2" border="0" /></if> <if condition="is_member_of($post, Z)"><img class="inlineimg" src="http://www. .com/images/ranks/image3.gif" alt="image3" border="0" /></if> On the right side it will say Edit Usergroup (id:x). 2) Change the src="http://www. .com/images/ranks/image1.gif" to the actual location of your images. Each usergroup should be different (otherwise having different usergroups would be useless. 3) Change the alt="image1" to whatever you want. When a person hovers their mouse over that person's image, text will pop up and display this information. 4) Add the images to wherever you put the location to in 2) |
#5
|
||||
|
||||
thanks so much for this i really really appreaciate it, but ims till havin problems
this was the code i put in my postbit_legacy template Code:
<if condition="is_member_of($post, 14)"><img class="inlineimg" src="http://www.hoodplaya.com/forum/images/misc/1.JPG" alt="Established Artist" border="0" /></if> the image doesnt show, just a blank gap where it should be wait that seems to be the case in only one forum???? never mind then :S EDIT: oh.............thanks soooooooooooooooooooo much i owe u a beer |
#6
|
||||
|
||||
- glad to have helped
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|