Re: New random discoveries?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60716
interpreted = N
texte = 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. On Jan 10, 2005, at 9:29 AM, matthew.bohne@benetela.com wrote: > Keep an incrementing counter for each banner, each time the banner is > 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 of counts > ascending and then subsort randomly within the counts. > > [search > db=test.db&neskudatarq=[blank]&coutnsort=1&countsdir=as&counttype=num&s > kusort=2&skusdir=as&max=1] > > This way, as a banner gets a count added to it, it drops to the bottom > of the list and isn't shown again until the rest of the banners catch > up to it. > > I used a similar approach to create a game that showed random > advertisers and gave you points depending on which advertiser you > picked. Kind of like "Life" only with ads in it. -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1 (206) 347-0528 :: jesse@blueboxdev.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:

    
  1. Re: New random discoveries? ( matthew.bohne@benetela.com 2005)
  2. Re: New random discoveries? ( "Justin Carroll" 2005)
  3. Re: New random discoveries? ( John Peacock 2005)
  4. Re: New random discoveries? ( Jesse Proudman 2005)
  5. Re: New random discoveries? ( matthew.bohne@benetela.com 2005)
  6. Re: New random discoveries? ( John Peacock 2005)
  7. Re: New random discoveries? ( "Justin Carroll" 2005)
  8. Re: New random discoveries? ( "WebDna @ Inkblot Media" 2005)
  9. New random discoveries? ( "Justin Carroll" 2005)
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. On Jan 10, 2005, at 9:29 AM, matthew.bohne@benetela.com wrote: > Keep an incrementing counter for each banner, each time the banner is > 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 of counts > ascending and then subsort randomly within the counts. > > [search > db=test.db&neskudatarq=[blank]&coutnsort=1&countsdir=as&counttype=num&s > kusort=2&skusdir=as&max=1] > > This way, as a banner gets a count added to it, it drops to the bottom > of the list and isn't shown again until the rest of the banners catch > up to it. > > I used a similar approach to create a game that showed random > advertisers and gave you points depending on which advertiser you > picked. Kind of like "Life" only with ads in it. -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1 (206) 347-0528 :: jesse@blueboxdev.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/ Jesse Proudman

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:

Triggers (2003) getchars broken? (1997) [WebDNA] v7.x [thisurl] (2010) [WriteFile] problems (1997) WebCat2 - [SendNews] (1997) Emailer (1997) WebCat for mass emailings (1997) Dumb Question about Docs (1997) file uploads with webcat...binary? (1998) [WebDNA] open .pdf and redirect (2016) WebCommerce: Folder organization ? (1997) Price and Formula.db (2002) append=T problem (1998) Software Update OSX (2003) Practice runs ? (1997) [WriteFile] problems (1997) Million product store (2003) Using Plug-In while running 1.6.1 (1997) WebMerchant when CC network is down (1998) [WebDNA] xmlparse of POST (2014)