Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MXM-MODS On-/Offline colors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MXM-MODS On-/Offline colors

 Post Reply Post Reply
Author
mxm.Kosh View Drop Down
Newbie
Newbie
Avatar

Joined: 27 September 2006
Location: Switzerland
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote mxm.Kosh Quote  Post ReplyReply Direct Link To This Post Topic: MXM-MODS On-/Offline colors
    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). 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 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.

---

Back to Top
-XIV- View Drop Down
Newbie
Newbie


Joined: 18 August 2007
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote -XIV- Quote  Post ReplyReply Direct Link To This Post 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?
 
 
 
 
 
 
 
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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 Colourised Online Status let me know if you have any problems following this tutorial.

Edited by Scotty32 - 20 September 2007 at 8:41pm
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
mxm.Kosh View Drop Down
Newbie
Newbie
Avatar

Joined: 27 September 2006
Location: Switzerland
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote mxm.Kosh Quote  Post ReplyReply Direct Link To This Post 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).
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.