Print Page | Close Window

MXM-MODS On-/Offline colors

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24465
Printed Date: 30 March 2026 at 2:33am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MXM-MODS On-/Offline colors
Posted By: mxm.Kosh
Subject: MXM-MODS On-/Offline colors
Date Posted: 20 September 2007 at 5:21pm
Hi again
 
This is the first mod based up on our mod-system ( http://forums.webwiz.net/forum_posts.asp?TID=24464 - http://forums.webwiz.net/forum_posts.asp?TID=24464 ). Please read first the basic-installation!
 
---
 
MOD-Name: MXM_OnOffline
MOD-Description: Changes the output of the online/offline text to different colors or icons
Version / Date: 1.00 / 20.09.2007
 
---
 
Installation
  1. Download the zip file http://www.teraweb.ch/MXM_mods/MXM_onoffline.zip - http://www.teraweb.ch/MXM_mods/MXM_onoffline.zip  and unzip the content of this file to the /mods folder in forum root path.
  2. Open the file "/mods/MXM_mods.asp". Add the following line:
    Quote <!-- #include file="MXM_onoffline.asp" -->
  3. Open the file "/mods/MXM_mods.css". Add the following line:
    Quote @import url(MXM_onoffline.css);
  4. Open the file "/forum_posts.asp" and search for the following lines (around line 1020):
    Quote
    'Display if the user is online
    If blnIsUserOnline Then Response.Write(vbCrLf & "   <br />" & strTxtOnlineStatus & ": " & strTxtOnLine2) Else Response.Write(vbCrLf & "      <br />" & strTxtOnlineStatus & ": " & strTxtOffLine)
  5. Replace the line "If blnIsUserOnline..." with the following code:
    Quote MOD_MXM_OnOffline(blnIsUserOnline)
  6. The default output of the mod is in text-mode (red/green). If you want to configure the mod open the file "/mods/MXM_onoffline.asp" for settings and "/mods/MXM_onoffline.css" for styling.

---



-------------
fascination of imagination



Replies:
Posted By: -XIV-
Date Posted: 20 September 2007 at 7:22pm
So this is like member's username highlighted in different colors based on them being ON-LINE or OFF-LINE, right? Would these colors be highlighted wherever their username is shown?
 
For example, let's say on our forum online is GREEN and offline is BLUE. So wherever you see my username within a post . . . say I'm off-line, it will show my username in BLUE wherever my username is shown?
 
 
 
 
 
 
 


Posted By: Scotty32
Date Posted: 20 September 2007 at 8:08pm
i have not tested this mod, but since it is asking you to remove the Online Status line i suspect it only colourises the "Online Status" part of the mini profile on the left.

For example:

-XIV-
Newbie
Newbie


Joined: 18 August 2007
Online Status: Offline
Posts: 22


also you do not need to modify any files as you can do it simply by changing the Language file. i have wrote a quick tutorial on how to get http://www.s2h.co.uk/wwf/tips/look/colourised-online-status.asp - Colourised Online Status let me know if you have any problems following this tutorial.

-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: mxm.Kosh
Date Posted: 21 September 2007 at 8:56am
Hi Scotty32
 
Yes it changes only the online/offline status on the left side. It's true that this can be done by editing the language files. There are three reasons why I've written this mod:
 
- It is our goal to simplify the update-process of the forum. To achieve this, we don't want to edit every file for every mod - that's the reason I've made our own mod-system.
 
- If you want to add some dynamic features I think it's better to add this in an extra file and not in the language-files.
 
- Maybe we want to add database-functionality to the language files (to support our own dictionary and multilanguage-support) and then it's not an option to add some special things to the dictionary (because we want the dictionary to be plain).


-------------
fascination of imagination



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net