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 = 54925
interpreted = N
texte = Interesting, thanks Alex. That might be a fun project to tackle after all. The way that I have my forum set up, everyone is tracked already via a username/password and by cookie, so I don't think it would be too much to add this component. I'll keep you updated when I get time to mess with that.Thanks,GKAt 08:05 AM 12/11/2003, you wrote:>On 12/11/03 8:41 AM, "Gary Krockover"
wrote:>>Interesting.>I would see it as a related table where each user had a unique Identifier>number. This could be done with the cart#, username/pass, or a cookie.>>Then as each user enters a forum a record gets created for them in this>table that contains>ID#, Forum#, ENTERTIME, ENTERDATE>>Then each time someone views the homepage, you search the visiting.db and>tally based on total numbers found for each forum#...>>So far so simple...>>To keep it accurate, each time a user enters another forum, it replaces>their forum# keyed off their ID#>>And finally, each time a user refreshes/enters the main page where these>totals are shown, if checks for the time against a grace period, lets say 5>min. If that time of entry is older than the grace period, it discounts the>record, and ultimately deletes it.>>Did a similar thing in a web based, frame chat with webdna many moons ago.>>HTH>Alex>>>> > 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>>Alex J McCombie New World Media>Chief Information Officer Box 124>888/892.6379 MartVille, NY 13111>Alex@NewWorldMedia.com http://OurClients.com>>Interface Designer WebDNA Programmer Database Designer>>>>------------------------------------------------------------->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/-------------------------------------------------------------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:
Interesting, thanks Alex. That might be a fun project to tackle after all. The way that I have my forum set up, everyone is tracked already via a username/password and by cookie, so I don't think it would be too much to add this component. I'll keep you updated when I get time to mess with that.Thanks,GKAt 08:05 AM 12/11/2003, you wrote:>On 12/11/03 8:41 AM, "Gary Krockover" wrote:>>Interesting.>I would see it as a related table where each user had a unique Identifier>number. This could be done with the cart#, username/pass, or a cookie.>>Then as each user enters a forum a record gets created for them in this>table that contains>ID#, Forum#, ENTERTIME, ENTERDATE>>Then each time someone views the homepage, you search the visiting.db and>tally based on total numbers found for each forum#...>>So far so simple...>>To keep it accurate, each time a user enters another forum, it replaces>their forum# keyed off their ID#>>And finally, each time a user refreshes/enters the main page where these>totals are shown, if checks for the time against a grace period, lets say 5>min. If that time of entry is older than the grace period, it discounts the>record, and ultimately deletes it.>>Did a similar thing in a web based, frame chat with webdna many moons ago.>>HTH>Alex>>>> > 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>>Alex J McCombie New World Media>Chief Information Officer Box 124>888/892.6379 MartVille, NY 13111>Alex@NewWorldMedia.com http://OurClients.com>>Interface Designer WebDNA Programmer Database Designer>>>>------------------------------------------------------------->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/-------------------------------------------------------------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/
Gary Krockover
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:
Extracting a filename (2004)
IIS Brain Dead (1998)
Removing [showif] makes a big difference in speed (1997)
[ShowNext] (1997)
WebCat 4.0 (2000)
Site Builder & IE Mac (2004)
Looping (2000)
Cart/Cookie question (2005)
Multiple prices (1997)
Tool of Use to Unix WebCat Admins (2000)
View order not right (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
stuck time (1998)
Help with database strategy (1998)
SET (1998)
Re:HTTP header line is too long? (1997)
FAX orders (1996)
Database Advice (1996)
$flushdatabases question ... (1998)
HomePage Caution (1997)