PDA

View Full Version : icons instead of text/buttons


Acers
05-09-2005, 05:52 PM
can we have small icons to warn/view warn in navbar on line with reps and report post like icons?
If so the plz suggest the code modifications needed.
thanks

sv1cec
05-10-2005, 07:16 AM
Go into your postbit template and find:


<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[username]</a>


Replace that with:


<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><img src='images/misc/whatever.gif' border='0'></a>


That should replace your textual link for "Warn XYZ" with the image whatever.gif, which is found in your images/misc directory.

Do the same for the other two links ("View XYZ's warnings" and "View your warnings") using a suitable image.

The code for the other two links is:


<a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[username]'s Warnings</a>


and


<a href='Warn.php?do=ViewMyWarnings'>View your Warnings</a>


Then use "Textual Links" option, from your Warning Options.

Rgds

Acers
05-10-2005, 10:53 AM
hey thanks.... just what i needed.

sv1cec
05-10-2005, 11:02 AM
OK, now your turn to share with us the icons you are going to use. Maybe others are interested as well.

Acers
05-11-2005, 03:00 PM
actually i asked before making them :D
now will make them and share with you guys ... :P

sv1cec
05-11-2005, 05:07 PM
OK, let's see them.