Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Active Users - Add Custom Location?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martha2Mary
Junior Member

New Zealand
250 Posts

Posted - 12 October 2004 :  04:49:35  Show Profile  Visit Martha2Mary's Homepage  Send Martha2Mary an AOL message  Send Martha2Mary an ICQ Message  Send Martha2Mary a Yahoo! Message
Hiya All,

I have added custom pages to my Forums, and would like these to be included in Active Users, so that if one of my Members is at one of the custom pages, it will show up with the page name, rather than "Unidentified Location" (or words to that effect). I've had a look through the active_users.asp code and it always seems to point to the Language file for the information. Could someone please tell me the correct way to add such locations?

Many thanks!

*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *

laser
Advanced Member

Australia
3859 Posts

Posted - 12 October 2004 :  06:48:17  Show Profile
active_users.asp is the right file, you'll find a function called WhatPage and this line :

select case lcase(trim(fScript))

Simply add more cases to cover your pages. I added code like this :


    case "entries.asp"
    	strPage = strPage & "Tipping - Checking previous entries"
    case "entries2.asp"
    	strPage = "Tipping Admin"
    case "driver.asp"
    	strPage = "Tipping Admin"


Obviously for the "Tipping Admin" pages I don't want them clickable OR to show the exact page name.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07