Re: New random discoveries?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 60723
interpreted = N
texte = Just have fields for count, quota, display.Search and sort by count ascending, display=True and random sku pulling one... increment the count, compare it to the quota... If it is at it's quota, set display to false and it won't show any more. The do as John suggested with a trigger monthly.-----Original message-----From: "Justin Carroll" justincarroll@sanduskyregister.comDate: Mon, 10 Jan 2005 14:02:55 -0500To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.comSubject: Re: New random discoveries?> Thanks for all of the suggestions. The way we will probably end up doing> this is by pulling a banner at random and then marking it as pulled unti> l all the banners end up marked as pulled. Then we'll refresh the list a> nd start it over. This way, we're still showing them in a random order b> ut every banner gets fair play in the end. Thanks again.> > Justin Carroll> > > > > Jesse Proudman wrote:> >> > > On Jan 10, 2005, at 9:29 AM, matthew.bohne@benetela.com wrote:> > >> > >> Keep an incrementing counter for each banner, each time the banner i> s> > >> shown, increment the counter up one. The next time the search is> > >> run, find all of the banners for that section, sort by the number o> f> > >> counts ascending and then subsort randomly within the counts.> >> > Please don't top-post Jesse - it makes it hard to see the discussion> > thread...> >> > > Only catch with this method is you have to remember that when adding > a> > > banner to make sure the ID of the new new banner is one less than the> > > > current IDs and not 1, otherwise the new banner will show until it> > > finally catches up with the old banners.> >> > Or reset the counts every month (right after your billing run if you ar> e> > billing based on "exposures") and only add new banners at that time.> > That way all banners get equal rotation for the month and you don't hav> e> > to mess with anything like max-1...> >> > John> >> > --> > John Peacock> > Director of Information Research and Technology> > Rowman & Littlefield Publishing Group> > 4501 Forbes Boulevard> > Suite H> > Lanham, MD 20706> > 301-459-3366 x.5010> > fax 301-429-5748> >> > -------------------------------------------------------------> > 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 icro.com>> > 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/-------------------------------------------------------------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:
Just have fields for count, quota, display.Search and sort by count ascending, display=True and random sku pulling one... increment the count, compare it to the quota... If it is at it's quota, set display to false and it won't show any more. The do as John suggested with a trigger monthly.-----Original message-----From: "Justin Carroll" justincarroll@sanduskyregister.comDate: Mon, 10 Jan 2005 14:02:55 -0500To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.comSubject: Re: New random discoveries?> Thanks for all of the suggestions. The way we will probably end up doing> this is by pulling a banner at random and then marking it as pulled unti> l all the banners end up marked as pulled. Then we'll refresh the list a> nd start it over. This way, we're still showing them in a random order b> ut every banner gets fair play in the end. Thanks again.> > Justin Carroll> > > > > Jesse Proudman wrote:> >> > > On Jan 10, 2005, at 9:29 AM, matthew.bohne@benetela.com wrote:> > >> > >> Keep an incrementing counter for each banner, each time the banner i> s> > >> shown, increment the counter up one. The next time the search is> > >> run, find all of the banners for that section, sort by the number o> f> > >> counts ascending and then subsort randomly within the counts.> >> > Please don't top-post Jesse - it makes it hard to see the discussion> > thread...> >> > > Only catch with this method is you have to remember that when adding > a> > > banner to make sure the ID of the new new banner is one less than the> > > > current IDs and not 1, otherwise the new banner will show until it> > > finally catches up with the old banners.> >> > Or reset the counts every month (right after your billing run if you ar> e> > billing based on "exposures") and only add new banners at that time.> > That way all banners get equal rotation for the month and you don't hav> e> > to mess with anything like max-1...> >> > John> >> > --> > John Peacock> > Director of Information Research and Technology> > Rowman & Littlefield Publishing Group> > 4501 Forbes Boulevard> > Suite H> > Lanham, MD 20706> > 301-459-3366 x.5010> > fax 301-429-5748> >> > -------------------------------------------------------------> > 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 icro.com>> > 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/-------------------------------------------------------------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/
matthew.bohne@benetela.com
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:
[WebDNA] [OT] OS X Mail Server question (2015)
Quit revisited (1997)
need to add a sku field to an existing db (2005)
forms and variables (1998)
Problems with emailer cutting off carriage returns (Crossplatformissue?) (1999)
web merchant (2000)
Fun with dates (1997)
Possible Macv2.1b2 Merge Bug (1997)
[OT] Weird returned mail - whaddya think? (2002)
Not really WebCat (1997)
Bulk Processing Offline (2004)
mySQL numfound (2006)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Webcat & SIMS (1998)
NT Version on IIS 4.0 (1997)
WebCatalog can't find database (1997)
customer.db and forms (1999)
[WebDNA] Installation problem (Debian 6 64bit + Lighttpd) (2011)
Nested tags count question (1997)
WC2.0 Memory Requirements (1997)