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
 PM mod w/active users mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Working
Junior Member

219 Posts

Posted - 04 June 2003 :  01:01:27  Show Profile
Can someone tell me what link they are talking about and what the "will only display text for all the private message-pages." is. Also what is "Remove Private Messages from Active Users". I was thinking that active users just showed who was on.


Code to Remove Private Messages from Active Users: By masterao
If you are using Active Users this code is very important!

You can also customize active users to not display a link when a member uses the Private Messages pages.
By using this example, active_users.asp will only display text for all the private message-pages.


Edited by - Working on 04 June 2003 01:46:25

masterao
Senior Member

Sweden
1678 Posts

Posted - 04 June 2003 :  04:30:08  Show Profile  Visit masterao's Homepage
If you just add the PM mod to your forum, and you have Active Users installed, the following situation can occur.

Member A goes to his PM Inbox page, and then to a specific PM. Another visitor goes to the Active Users page, where he will see that Member A is on privateread which is a link to privateread.asp?id=8. If the visitor clicks on the link, he will be redirected to default.asp if he is a guest, or to his own PM Inbox if he is a member. This redirection will be done without explanation, and it does seem strange to provide a link to a page which you cannot access.

If you add the code detailed in the PM readme-file, that visitor will instead see that Member A is reading a PM (and there will be no links to the privateread.asp page). In short, by adding that code, you will ensure that the PM pages will not show up as links on activeusers.asp.

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

Working
Junior Member

219 Posts

Posted - 04 June 2003 :  09:11:01  Show Profile
Thank you!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 04 June 2003 :  12:35:11  Show Profile  Visit masterao's Homepage
Your welcome .

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

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 04 June 2003 :  12:45:24  Show Profile  Visit MarkJH's Homepage
I've noticed a couple of times - whilst hovering around Active Users - that there is a moment, when a member has just sent a PM, that Active Users displays 'privatesent.asp' instead of the 'Reading a Private Message' text. It's not hyperlinked but it is a slight imperfection.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 04 June 2003 :  14:59:13  Show Profile  Visit masterao's Homepage
Nice catch, MarkJH. That can easily be avoided by adding the following to the function WhatPage(fScript, fQuery), after the other PM additions:


    case "privatesend.asp"
         strOnlineLocation = fLang(strLangMOD_Ls3kAU_01532)

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

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 04 June 2003 :  16:40:44  Show Profile  Visit MarkJH's Homepage
The
case "privatesend.asp"
was already there. It looks like the
strOnlineLocation = fLang(strLangMOD_Ls3kAU_01532)
was just accidentally left out of the code.

Thanks for the fix, Jan. One of them little niggles i've been meaning to look at for a while!

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 04 June 2003 :  16:52:46  Show Profile  Visit masterao's Homepage
Im glad to be of assistance .

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

hayleypink
Junior Member

Haiti
145 Posts

Posted - 05 June 2003 :  06:10:56  Show Profile
i have pm mod and avatar mod and they work fine together
Go to Top of Page

Working
Junior Member

219 Posts

Posted - 05 June 2003 :  09:04:51  Show Profile
What is a WhatPage?

function WhatPage(fScript, fQuery), after the other PM additions:
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 05 June 2003 :  09:36:49  Show Profile  Visit masterao's Homepage
function WhatPage(fScript, fQuery) is a function used by the Active Users mod to determine which page a visitor last visited. The function is used in active_users.asp.

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

Working
Junior Member

219 Posts

Posted - 05 June 2003 :  10:34:16  Show Profile
Thx!
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 07 June 2003 :  08:20:08  Show Profile  Visit MarkJH's Homepage
quote:
Originally posted by masterao

Im glad to be of assistance .

Still does it. Page that shows up (with hyperlink, my mistake) is called "privatesend_info".

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07