A nice simple mod to replace the text 'online' and 'offline' with a corresponding icon.
like so...
Back up all files first!Find the code in 'forum_posts.asp'...
'Display if the user is online If blnIsUserOnline Then Response.Write(vbCrLf & " <br />" & strTxtOnlineStatus & ": " & strTxtOnLine2) Else Response.Write(vbCrLf & " <br />" & strTxtOnlineStatus & ": " & strTxtOffLine)
|
and replace with...
'Display if the user is online If blnIsUserOnline Then Response.Write(vbCrLf & " <br />" & strTxtOnlineStatus & ": <img src=""forum_images/" & strTxtOnLine2 & ".gif"" alt=""" & strTxtOnLine2 & """ />") Else Response.Write(vbCrLf & " <br />" & strTxtOnlineStatus & ": <img src=""forum_images/" & strTxtOffline & ".gif"" alt=""" & strTxtOffline & """ />")
|
Save and replace old file.
This mod simply inserts the text offline or online in the src of a <img> tag.
For this to function properly the main language file should have 'strTxtOnLine2' set as 'Online' and 'strTxtOffline' set as 'Offline'.
2 icons must be created and dropped into the 'forum_images' folder.
one called 'online.gif' and the other called 'offline.gif'
Also included are 'ALT' tags for usability issues.
Currently this mod only affects the online/offline status in 'forum_posts.asp' i shall add further instructions for other files as and when i have more time

I encourage you to make your own icons but if you wanna use mine then right click and save the following icons.

<---- Offline

<---- Online
Edited by Mikey - 11 October 2006 at 9:19pm