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 DEV-Group
 DEV Bug Reports (Closed)
 ADJUST (3.x): Active Topic Since...
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 23 February 2001 :  14:02:09  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
Active Topics Since should also have something along the lines of "30 Minutes Ago" and "15 Minutes Ago"

Reinsnitz (Mike)
><)))'>
"Therefore go and make disciples of all nations,..." Matthew 28:19a

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 23 February 2001 :  15:02:44  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
quote:

Active Topics Since should also have something along the lines of "30 Minutes Ago" and "15 Minutes Ago"



Agreed!! Didn't HuwR do something like this not too long ago, or was that to get the hours on the list???

Dave Maxwell
--------------
When's the next meeting of Snitzaholics Anonymous
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 23 February 2001 :  15:25:22  Show Profile
Just add the below to Select Case ActiveSince (around line #67)


Case "LastFifteen"
lastDate = DateToStr(DateAdd("n",-15,strForumTimeAdjust))
Case "LastThirty"
lastDate = DateToStr(DateAdd("n",-30,strForumTimeAdjust))


I added it right after:


Case "LastVisit"
lastDate = ""



and then add these 2 lines:


<option value="LastFifteen" <% if ActiveSince = "LastFifteen" then Response.Write(" SELECTED")%>> Last 15 minutes</option>
<option value="LastThirty" <% if ActiveSince = "LastThirty" then Response.Write(" SELECTED")%>> Last 30 minutes</option>


right after this line: (around line #157)


<option value="LastVisit" <% if ActiveSince = "LastVisit" or ActiveSince = "" then Response.Write(" SELECTED")%>> Last Visit on <%= ChkDate(Session(strCookieURL & "last_here_date")) %> <% =ChkTime(Session(strCookieURL & "last_here_date")) %> </option>


Here is a .txt version of active.asp that you can download if you want:
(But, on mine I also added: 2 hours ago, 2 days ago, 2 weeks ago & Last 2 Months)

http://kinser.121host.net/active.txt (just right-click and choose "Save Target As" and then rename active.txt to active.asp)

Edited by - Richard Kinser on 23 February 2001 15:28:15
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 February 2001 :  17:14:57  Show Profile  Visit HuwR's Homepage
what I did was make an active.asp where you could select between All topics, only topics you had posted in, and if you have bookmark installed, only your bookmarked topics which have been posted in.


I think a two hour would be more use than a 15 minute gap.

Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 25 February 2001 :  20:16:22  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
fixed in the source of sf2k_32a3.zip

Reinsnitz (Mike)
><)))'> Need a Mod?
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07