View Full Version : Using an Image on Forum Home who's online?
Sweet Cheeks
01-05-2003, 01:26 AM
I saw this on another site I thought is was pretty cool. I searched for about an hour and couldn't find it here as a Hack, perhaps I missed it? :paranoid:
What I am looking for is a hack that will allow the admin's to have an image as their username on the forumhome who's online. What an awesome hack this would be :D
Thanks in advance for anyone who can help me :)
I'll look i'll think this may be done by a simple tamplate hack
Sweet Cheeks
01-05-2003, 01:52 PM
Awesome, thank you :cool:
kmfdm_kid2000
01-10-2003, 05:24 AM
This is done by User ID number in the Method I know...Zajako came up with this idea a long time ago, but I think he coded his differently...
The way I do it alters Afterburner's colored on-line users hack...
Find in index.php:
// Afterburners Colored OnlineUserHack Start
Add an extra line, like so:
} else if (($loggedin['userid'] == 1) and $highlightadmin) {
$username = "<img border="0" src="http://www.putURLhere.com";
// Image for Admin
Also, find
// Invisible User but show to Admin
$invisibleuser = '*';
}
Add under it
if (($loggedin['userid'] == 1) and $highlightadmin) {
$username = "<img border="0" src="http://www.URL.com"; // Image for admin
Sweet Cheeks
01-10-2003, 07:04 PM
Hey K_kid :banana: Thanks for your help the other day, you rock :cool:
Chris M
01-10-2003, 08:39 PM
@kmfdm_kid2000 - You didn't close or parse the tag;)
if (($loggedin['userid'] == 1) and $highlightadmin) {
$username = "<img border=\"0\" src=\"http://www.URL.com\">"; // Image for admin
The same with the one beginning } elseif;)
Satan
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.