Author |
Topic |
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 12 May 2001 : 07:08:39
|
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
|
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/ |
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 12 May 2001 : 10:28:25
|
seems working now
thank you very much.
|
|
|
Capt_Dunzell
Junior Member
USA
160 Posts |
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 12 May 2001 : 18:37:01
|
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 |
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 14 May 2001 : 08:06:50
|
thank you both.
and yes your description deserves to be added to the FAQs. Capt_Dunzell
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 04 June 2001 : 20:04:58
|
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
|
|
|
big9erfan
Average Member
540 Posts |
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 04 June 2001 : 22:26:40
|
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
|
|
|
big9erfan
Average Member
540 Posts |
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 05 June 2001 : 13:09:19
|
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
|
|
|
big9erfan
Average Member
540 Posts |
Posted - 05 June 2001 : 14:00:25
|
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 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 05 June 2001 : 14:08:41
|
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
|
|
|
|
Topic |
|