Re: Semi OT: vbulletin and # viewing - how do that do that?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54879
interpreted = N
texte = Hey Gary,Just off the top of my head, here's how I might attack this:1. Set up a database BoardLogin.db2. Assign all visitors a cookie that expires after a reasonable amount of time (both guests & those logged in)3. Keep same cookie, but change expire time after each page request. (If someone has their browser open to your board, but hasn't loaded a new page in 5 minutes, it's my guess that they're no longer "active")4. Everytime a page is loaded, have it do a search of BoardLogin.db for all data w/ an expire date/time greater than or equal to now.hth,andyOn Thursday, December 11, 2003, at 08:41 AM, Gary Krockover wrote:> Actually would be OT as I'm wanting to apply this to a webdna bulletin > board that I have on one of my sites, but if you go to a vbulletin > board (ex: > http://forum.paradoxplaza.com/forum/forumdisplay.php?forumid=160 ) > they have a (# viewing) next to each thread. How would you imagine > that information is calculated? Obviously it's a count of cookies, > but how would that be applied to WebDNA? I am collecting cookies on > my site, so I think it could be applicable, just not sure how:>> [showif [GETCOOKIE name=login5]=TRUE]> add 1 to a temp db tally for this thread> [/showif]>> But then when someone leaves that thread, how do I subtract 1 from the > tally?>> Maybe even a better question, do I really want to do this? :)>> GK-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hey Gary,Just off the top of my head, here's how I might attack this:1. Set up a database BoardLogin.db2. Assign all visitors a cookie that expires after a reasonable amount of time (both guests & those logged in)3. Keep same cookie, but change expire time after each page request. (If someone has their browser open to your board, but hasn't loaded a new page in 5 minutes, it's my guess that they're no longer "active")4. Everytime a page is loaded, have it do a search of BoardLogin.db for all data w/ an expire date/time greater than or equal to now.hth,andyOn Thursday, December 11, 2003, at 08:41 AM, Gary Krockover wrote:> Actually would be OT as I'm wanting to apply this to a webdna bulletin > board that I have on one of my sites, but if you go to a vbulletin > board (ex: > http://forum.paradoxplaza.com/forum/forumdisplay.php?forumid=160 ) > they have a (# viewing) next to each thread. How would you imagine > that information is calculated? Obviously it's a count of cookies, > but how would that be applied to WebDNA? I am collecting cookies on > my site, so I think it could be applicable, just not sure how:>> [showif [GETCOOKIE name=login5]=TRUE]> add 1 to a temp db tally for this thread> [/showif]>> But then when someone leaves that thread, how do I subtract 1 from the > tally?>> Maybe even a better question, do I really want to do this? :)>> GK-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Andy Mowrey
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Make sure I understand this??? (1997)
[WebDNA] Moving to Sandbox broke price (2009)
[taxRate] [TaxTotal] ? (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
international time (1997)
Sort of a Dilema! (1998)
Database Term [brainfart] (2003)
apostrophe in search item (1997)
[WebDNA] HTTP crashes (2010)
Download (1999)
More on the email templates (1997)
Emailer setup (1997)
Upgrade Installation (1998)
Grep help needed (2004)
Navigator 4.01 (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Checkboxes (1997)
Multi-Row Tables from a search. (1997)
Communigate+Webcat (2001)
WebMerchant 1.6 and https (1997)