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-New Locations
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

blackinwhite
Average Member

Turkey
657 Posts

Posted - 12 May 2001 :  07:08:39  Show Profile
I am using Richrd's version of the Snitz, since I have installed many mods after it, I need to add some new locations for active users.

Does anybody know how to add it?

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 12 May 2001 :  10:06:40  Show Profile  Visit Capt_Dunzell's Homepage
The code is in inc_top.asp and looks similar to this:

ElseIf lcase(Right(strOnlinePathInfo, 10)) = "events.asp" Then
strOnlineLocation = "<a href=""events.asp"">Events Calendar</a>"


Just add that with the other lines pointing to where the user is, with the proper changes to the file, also you will need to change the number (strOnlinePathInfo, 10) to reflect the total number of characters to the file......Example: if this were pointing to register.asp, the correct number of characters for the strOnlinePathInfo would be 12.

This is probably not a great way to explain it. Others are much better at explaining it than I.

http://www.dunzellsden.com/forum/
Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 12 May 2001 :  10:28:25  Show Profile
seems working now

thank you very much.

Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 12 May 2001 :  18:11:26  Show Profile  Visit Capt_Dunzell's Homepage
Youre welcome.

http://www.dunzellsden.com/forum/
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 12 May 2001 :  18:37:01  Show Profile
quote:
This is probably not a great way to explain it. Others are much better at explaining it than I.


I thought your explanation was just fine
Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 14 May 2001 :  08:06:50  Show Profile
thank you both.

and yes your description deserves to be added to the FAQs. Capt_Dunzell

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 04 June 2001 :  20:04:58  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Is there a way to show new locations based on directory rather than file name? I tried modifying the code but if there is more than one instance of default.asp it doesn't seem to work. Is there some specific servervariable to request or is this just not possible to do?

@tomic

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 04 June 2001 :  20:58:04  Show Profile
@tomic

You can do something like this.

If the url is http://www.snitz.com/newdir/default.asp as opposed to http://www.snitz.com/forums/default.asp

if Right( strOnlinePathInfo, 18 ) = "newdir/default.asp" then
do what you want
else......

if you have same named files then you'll have to check the directory as well as the file name like above.



http://www.ugfl.net/forums

Edited by - big9erfan on 04 June 2001 20:58:46

Edited by - big9erfan on 05 June 2001 13:59:29
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 04 June 2001 :  22:26:40  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
That is exactly what I tried but it didn't work. I could get it to work fine in other directories but only if the file names had not already been used. So chat/chat.asp worked like a charm. But resources/default.asp just showed someone as being on the forum/default.asp page.

@tomic

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 04 June 2001 :  23:30:42  Show Profile
Humm...let me look into this and let you know...


http://www.ugfl.net/forums
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 05 June 2001 :  13:09:19  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Dont't ask me why, but active users suddenly is doing what I want it to. So anyone accessing Active Users can at least see what directory people are in. I wouldn't mind knowing why it wasn't working before, but I am definately pleased to see this working.

@tomic

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 05 June 2001 :  14:00:25  Show Profile
It's working now? Humm...Well, glad to see it's working. I didn't have any problems when I had tried it, but glad to see all is well again.

http://www.ugfl.net/forums
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 05 June 2001 :  14:08:41  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yeah me too. I didn't touch the code. I just went to sleep, got up the next morning and it worked. All I can guess is that maybe the server was rebooted?

@tomic

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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07