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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Small tweak for Active.asp
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

gor
Retired Admin

Netherlands
5511 Posts

Posted - 20 November 2000 :  16:14:38  Show Profile  Visit gor's Homepage
Active.asp is the page I use most on this forum, because it is the easiest way to keep track of all the topics posted here in a day.

One problem though is that when I close the browser, come back a few hours later and want to find a topic I read earlier that day it often is hard to find, because unless someone else has replied to it in the mean time, it doesn't show in active.asp

I added a selectbox to active.asp (Version 3.1 SR3 Beta 4) so not only can you select to show the active topics since your last visit, but also since last hour, last day, last week and last month.

This only effects what is displayed on the active.asp page and doesn't effect the Last_Here_Date in the database and in the session variable. On the default.asp, forum.asp and topic.asp pages the Last Here Date is always used to decide if a topic is active or not.

The selected value defaults to Last Visit and is stored in a cookie that is destroyed when the browser is closed, so when you return it defaults to Last Vist again and you can set it to any of the others if you like.

Download the modified active.asp here and just copy it over the one you've got.
This should work with all versions since 3.0 final (I think).

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 20 November 2000 :  19:15:18  Show Profile  Visit HuwR's Homepage
Nice one gor,

I have problems with my connection timing out and then losing half the active topics I hadn't looked at, so this should help.

I have also posted a mod for bookmarking topics which is also a great help.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 20 November 2000 :  21:11:39  Show Profile  Visit HuwR's Homepage
two things.

1) can we please, please,please, grovel, grovel, have this implemented here, it is a god send.

2) Gor, what editor do you use ?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 November 2000 :  21:20:16  Show Profile
I'll second that... <img src=icon_smile.gif border=0 align=middle>
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 20 November 2000 :  22:58:44  Show Profile  Visit gor's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
two things.

1) can we please, please,please, grovel, grovel, have this implemented here, it is a god send.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Try http://forum.snitz.com/forum/active2.asp

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
2) Gor, what editor do you use ?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Visual Interdev 6.0 (only in HTML mode), why ?

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 November 2000 :  23:10:17  Show Profile
<img src=icon_smile_cool.gif border=0 align=middle>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 21 November 2000 :  05:10:54  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Visual Interdev 6.0 (only in HTML mode), why ?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I have made a few posts about dodgy chars in the files which seem to cause some people problems, but not others, anyway I downloaded your active.asp and this is what it looks like in my file compare utility.
<img src="http://195.149.32.155/tools/goractive.jpg" border=0>
The black bars should be new lines

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 21 November 2000 :  06:15:47  Show Profile  Visit gor's Homepage
So I am the one breaking the forum ? <img src=icon_smile_shock.gif border=0 align=middle><img src=icon_smile_blush.gif border=0 align=middle>

Any idea what could be causing this ?
I'm 100% sure I never switch to any other view than the HTML view.

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 21 November 2000 :  06:32:25  Show Profile  Visit HuwR's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
So I am the one breaking the forum ? <img src=icon_smile_shock.gif border=0 align=middle><img src=icon_smile_blush.gif border=0 align=middle>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
possibly

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Any idea what could be causing this ?
I'm 100% sure I never switch to any other view than the HTML view.

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

No idea, I'm sure it can't be Interdev. Do you have some strange setting for unix or anything?

What did you zip it with? maybe it was that.
Could you email me the asp file, I can check if it's ther to start or wether it is the zipping or uploading maybe

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 21 November 2000 :  08:10:41  Show Profile  Visit gor's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Any idea what could be causing this ?
I'm 100% sure I never switch to any other view than the HTML view.

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

No idea, I'm sure it can't be Interdev. Do you have some strange setting for unix or anything?

What did you zip it with? maybe it was that.
Could you email me the asp file, I can check if it's ther to start or wether it is the zipping or uploading maybe

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I use Winzip on a W2K machine, not special setting as far as I know.
I used a browser based system that look like what they use at brinkster to upload the file to the server at hetnet.nl (were you downloaded it).
I'll send you the file tonight (haven't got the unzipped file here at work) so you can have a look.

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 21 November 2000 :  16:07:25  Show Profile  Visit gor's Homepage
ok, some good news and some bad news:

When I opened the file in Visual Interdev it looked just fine, but when I opened it in Notepad it was all messed up (with the black bars).
What I did after that was opening it in Wordpad and saving it as a textfile again. That removed all the black bars and made it display correct in both Notepad and Visual Interdev.

Opening and saving it in Visual Interdev afterwards didn't break it (at least not right away, or the few times I tested).

The good news is, it looks like there is an easy way to fix it, the bad news is that I can't tell it is messed up while I'm working in Interdev <b>and</b> the fact that I really have no idea what caused it.


<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 21 November 2000 :  16:30:41  Show Profile  Visit HuwR's Homepage
Oh well,

I use my file diff program to migrate each new version to my code, so generally pick them up.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 21 November 2000 :  16:33:23  Show Profile  Visit gor's Homepage
So do we need more votes to see if this new active.asp (without the black bars) should be included in the next release ? <img src=icon_smile_wink.gif border=0 align=middle>

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 21 November 2000 :  17:13:09  Show Profile  Visit HuwR's Homepage
Well I'll take a block vote of 1 million. its a real hit.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 21 November 2000 :  18:36:09  Show Profile
does this work ?????

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Active.asp is the page I use most on this forum, because it is the easiest way to keep track of all the topics posted here in a day.

One problem though is that when I close the browser, come back a few hours later and want to find a topic I read earlier that day it often is hard to find, because unless someone else has replied to it in the mean time, it doesn't show in active.asp

I added a selectbox to active.asp (Version 3.1 SR3 Beta 4) so not only can you select to show the active topics since your last visit, but also since last hour, last day, last week and last month.

This only effects what is displayed on the active.asp page and doesn't effect the Last_Here_Date in the database and in the session variable. On the default.asp, forum.asp and topic.asp pages the Last Here Date is always used to decide if a topic is active or not.

The selected value defaults to Last Visit and is stored in a cookie that is destroyed when the browser is closed, so when you return it defaults to Last Vist again and you can set it to any of the others if you like.

Download the modified active.asp here and just copy it over the one you've got.
This should work with all versions since 3.0 final (I think).

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Even if you're on the right track,
you'll get run over if you just sit there.</font id=blue></font id=size1>
<font size=1><font color=black>Will Rogers</font id=size1></font id=black>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 21 November 2000 :  18:42:41  Show Profile  Visit HuwR's Homepage
Yep, try it on this forum at
http://forum.snitz.com/forum/active2.asp

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07