PDA

View Full Version : Icon under avy?


Spin Doctor
09-24-2006, 10:16 AM
http://img157.imageshack.us/img157/5373/1vz0.jpg

how do i do this?

R.Solutions
09-24-2006, 10:37 AM
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

Spin Doctor
09-24-2006, 11:00 AM
can u explain it a lil better for the dummies? where do i edit this? and how do i add the image?

davidw
09-24-2006, 11:53 AM
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:
<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>Depending on whether or not you want it above your ICQ, AIM, MSN, Yahoo, and Skype Icons, paste code similar to this:

<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>

1) Change X, Y, and Z to the usergroup ID that belong to them - you can find this information by going to admincp => Usergroups => Usergroup Manager.
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)

Spin Doctor
09-24-2006, 01:15 PM
thanks so much for this i really really appreaciate it, but ims till havin problems :confused:

this was the code i put in my postbit_legacy template
<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

http://img66.imageshack.us/img66/4697/comeonba0.jpg

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

davidw
09-24-2006, 05:16 PM
:D - glad to have helped