Author |
Topic  |
wii
Free ASP Hosts Moderator
    
Denmark
2632 Posts |
Posted - 21 November 2000 : 18:48:30
|
wow - this is just what I need - so the link is this one http://home.hetnet.nl/~pgoris01/active.zip
and I just replace this with my old active.asp ???? (sorry, I have no ASP experience)
|
 |
|
wii
Free ASP Hosts Moderator
    
Denmark
2632 Posts |
Posted - 21 November 2000 : 19:00:10
|
YES !!!! I changed it and it works perfectly - this forum is the best !!!!
thanks !!!!
|
 |
|
wii
Free ASP Hosts Moderator
    
Denmark
2632 Posts |
Posted - 21 November 2000 : 21:29:12
|
just one thing:
"one day ago" and "one week ago" gives the same results.
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 21 November 2000 : 23:34:27
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> I use my file diff program to migrate each new version to my code, so generally pick them up. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>HuwR, what 'file diff' program do you use? I could have use for such a program.
<center><font color=green>*----*----*----*----*----*----*----*----*----*----*----* <font size=2>"However, if you suffer as a Christian, do not be ashamed, but praise God that you bear that name."</font id=size2> 1 Peter 4:16</font id=green></center> |
 |
|
slemieux
Junior Member
 
USA
234 Posts |
Posted - 22 November 2000 : 00:56:17
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> 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><hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
HECK NO!!! This is a must have!! Great work <img src=icon_smile.gif border=0 align=middle>
Scott LeMieux |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 22 November 2000 : 01:03:58
|
Most definetly a must have!! Didn't think I would need to vote. Thought it was pretty obvious. <img src=icon_smile.gif border=0 align=middle>
<center><font color=green>*----*----*----*----*----*----*----*----*----*----*----* <font size=2>"However, if you suffer as a Christian, do not be ashamed, but praise God that you bear that name."</font id=size2> 1 Peter 4:16</font id=green></center> |
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 22 November 2000 : 02:48:35
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> "one day ago" and "one week ago" gives the same results. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
You're correct, there was an error in the DateAdd() function for "one week ago". I used "w" and that does mean 1 weekday, I should have used "ww". I changed it in the file here and the one I put up for download. You can change it in your own file by finding and changing this code:
<pre id=code><font face=courier size=2 id=code> Select Case ActiveSince Case "LastVisit" lastDate = "" Case "LastHour" lastDate = DateToStr(DateAdd("h",-1,strForumTimeAdjust)) Case "LastDay" lastDate = DateToStr(DateAdd("d",-1,strForumTimeAdjust)) Case "LastWeek" lastDate = DateToStr(DateAdd("w<font color=blue><b>w</b></font id=blue>",-1,strForumTimeAdjust)) Case "LastMonth" lastDate = DateToStr(DateAdd("m",-1,strForumTimeAdjust)) Case Else lastDate = "" End Select </font id=code></pre id=code>
<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> |
 |
|
wii
Free ASP Hosts Moderator
    
Denmark
2632 Posts |
|
Jeepaholic
Average Member
  
USA
697 Posts |
|
Kenno
Average Member
  
Cambodia
846 Posts |
Posted - 03 December 2000 : 18:59:08
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> 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> <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Pleae count my voice! I definitely vote for this feature! <img src=icon_smile.gif border=0 align=middle>
<font color=red>÷</font id=red><font color=blue>§</font id=blue><font color=red>÷</font id=red><font color=green> <b>Kenno</b> </font id=green><font color=red>÷</font id=red><font color=blue>§</font id=blue><font color=red>÷</font id=red> <font size=1>http://forum.soputtra.net</font id=size1> |
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 03 December 2000 : 21:28:07
|
You have my vote! But please, I beg you.... <b>No Recounts!!</b> <img src=icon_smile_wink.gif border=0 align=middle>
Seriously though, it's a very nice feature!
The only concern I would have is the feature for showing topics posted since the last month. A board that has a good deal of traffic may take a little performance hit everytime that request is made. And if the page is set to reload every minute, it could....well, I'll let you figure it out.
The active2.asp page on snitz, set for showing all topics since last month, took well over a minute to load. (disclaimer: unscientific observation)
"They can make me work long, but they can't make me work hard." |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 03 December 2000 : 21:30:15
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Seriously though, it's a very nice feature!
The only concern I would have is the feature for showing topics posted since the last month. A board that has a good deal of traffic may take a little performance hit everytime that request is made. And if the page is set to reload every minute, it could....well, I'll let you figure it out. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
A very good point, even a week could affect some sites
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
wedont
Junior Member
 
Canada
344 Posts |
Posted - 03 December 2000 : 22:53:19
|
http://home.hetnet.nl/~pgoris01/active.zip Great Mod, Just to make sure before using it, is this Mod compatible with version 3.1 sr2?
wedont
ps: to address the No Recount problem posted above, it could be better to restrict the 'response' to a max count of ex. 50 posts, and 'marking'them as 'read' could allowed to retreive the next 50 unread.
Edited by - wedont on 03 December 2000 22:59:14
Edited by - wedont on 03 December 2000 23:02:16 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 03 December 2000 : 22:56:08
|
Yes
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"If you're headed in the wrong direction, God allows U-turns."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 03 December 2000 : 23:00:04
|
Ahh, but you know what would be nice? It's either an hour, day, week, or month. How about last 2 hours, last 6 hours, etc.? So for people like me, who may get sidetracked on a couple of different subjects, when I come back a couple of hours later, I don't have to select the last day option. I may have been gone for more than an hour but don't need to see an entire day at this point.
Just thinking maybe one or two additional options would do the trick.
The more I use active2.asp, the more I love it! (I even bookmarked it!)
<b>"What do you mean you don't pay by the line?"
"They can make me work long, but they can't make me work hard."</b> |
 |
|
Topic  |
|