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: where / how ?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

forumnewbee
Starting Member

Netherlands
42 Posts

Posted - 26 September 2003 :  08:23:48  Show Profile  Visit forumnewbee's Homepage
If you go to "Active Users" you come to the page listing the different users and what page they are accessing, their ip (if applicable), their browser information etc.

Where do you change the "Current Page" title I mean if someone now is accessing "classifieds" you see this in the "Current Page" column as 'classifieds' I want to change this txt.

Greetz

Body & Fitness Forum

Edited by - ruirib on 26 September 2003 08:46:11

masterao
Senior Member

Sweden
1678 Posts

Posted - 26 September 2003 :  09:30:39  Show Profile  Visit masterao's Homepage
You need to change the WhatPage function in order to change that text. You have to add new cases and new lang-strings in the language file that you use.

The WhatPage function is located in active_users.asp. Look for the following:

  strPage = strPage & """>"
  select case lcase(trim(fScript))
    case "active.asp"
      strPage = strPage & fLang(strLangMOD_Ls3kAU_01160)


A new page could look like this, added after the above code (if you don't want the text to be a link, remove the green-marked text):

    case "classifieds.asp"
      strPage = strPage & fLang(strLangMOD_Ls3kAU_01600)


Then you need to add the new lang-string to your language file (Im assuming that you are using english). The redmarked text might have to be a different number, if you have used it for something else.

strLangMOD_Ls3kAU_01600 = "Viewing classifieds"

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 September 2003 :  09:32:40  Show Profile
That'll be the WhatPage() function towards the end of active_users.asp, just add the following before the case else of the select case:
case "classifieds.asp"
	strPage = strPage & "Classifieds"
Obviously you can change the text to whatever you want.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

forumnewbee
Starting Member

Netherlands
42 Posts

Posted - 26 September 2003 :  15:57:33  Show Profile  Visit forumnewbee's Homepage
Thx for reply but I still do not see what I edit ??
I ad the following in active users.asp :

case "active_users.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01220)
case "classifieds.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01221)
case "classViewAds.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01222
)

And in LangMODS_Ls3kAU4_1033.asp I ad the following after 1220 :

strLangMOD_Ls3kAU_01221 = "Snuffelmarkt"
strLangMOD_Ls3kAU_01222 = "Advertenties"


But when auser is looking in classifieds.asp I still see "classifieds" in active users ?

Greetz

Body & Fitness Forum
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 26 September 2003 :  18:39:53  Show Profile  Visit masterao's Homepage
Do the pre-defined pages (active_users.asp, for example) in AU show the correct text? Is classifieds.asp in the same folder as your forum? If it is in the same folder, are cookies set to forum or site?

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

forumnewbee
Starting Member

Netherlands
42 Posts

Posted - 26 September 2003 :  19:14:19  Show Profile  Visit forumnewbee's Homepage
quote:
Originally posted by masterao

Do the pre-defined pages (active_users.asp, for example) in AU show the correct text? Is classifieds.asp in the same folder as your forum? If it is in the same folder, are cookies set to forum or site?




Strange ? I have set cookies from forum to site and now it's oke, and after that I changed it from site to forum and still oke.

Anyway thx for help !!!

Greetz

Body & Fitness Forum
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 27 September 2003 :  05:25:02  Show Profile  Visit masterao's Homepage
Im glad you got it working . If it starts to behave strange again, let us know.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07