warning... Re: Banner Rotation
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28033
interpreted = N
texte = When using the banner rotation example supplied you will not get an even banner rotation. In other words, due to the fact that SKUsdir=ra produced results that favor one record over another, some of your banners will get more views then other banners. You need to refer to the last two weeks of discussion on randomness in order to fix this. I solved the problem by making sure that each banner was served at least once before any other banner was served a second time... and then again making sure that every banner was served at least twice before any other banner was served a third time.As far as your requirement goes.. I would approach it slightly differently. I would add a field to the database record which was called, for example, MaxViews, and when adding a record to the database, enter the maximum number of views that this banner can have. Then every time that the banner is viewed, you would increment the Views field and decrement the MaxViews field. Then include geMAXVIEWSdatarq=1 in your search.___Joe____________________________________________________Joseph D'Andrea JoeDan@West21.comWEST21.com Internet services for the 21st Century http://www.west21.com/_________________________________________________-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
When using the banner rotation example supplied you will not get an even banner rotation. In other words, due to the fact that SKUsdir=ra produced results that favor one record over another, some of your banners will get more views then other banners. You need to refer to the last two weeks of discussion on randomness in order to fix this. I solved the problem by making sure that each banner was served at least once before any other banner was served a second time... and then again making sure that every banner was served at least twice before any other banner was served a third time.As far as your requirement goes.. I would approach it slightly differently. I would add a field to the database record which was called, for example, MaxViews, and when adding a record to the database, enter the maximum number of views that this banner can have. Then every time that the banner is viewed, you would increment the Views field and decrement the MaxViews field. Then include geMAXVIEWSdatarq=1 in your search.___Joe____________________________________________________Joseph D'Andrea JoeDan@West21.comWEST21.com Internet services for the 21st Century http://www.west21.com/_________________________________________________-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Joseph D'Andrea
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:
ghost dbs!? (2003)
[WebDNA] Crashing Database (2011)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Date field search needs ... (1998)
[WebDNA] search limit using WO? (2012)
[GROUPS] followup (1997)
WebCatalog NT beta 18 problem (1997)
How to Sort Summ data ? (1997)
[WebDNA] Wishlist: ignore whitespace in database changes (2016)
ShowNext (1997)
Opinion: [input] should be called [output] ... (1997)
Secure Sever and showcart errors (1997)
& in Lookups (1997)
Running _every_ page through WebCat ? (1997)
Generating unique SKU from [cart] - Still Stumped... (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
[WebDNA] making a gift cert. (in effect) it's own lineitem/'product' with negative price - pros/cons? (2008)
two unique banners on one page (1997)
[SHOWIF]s and empty arguments (1997)
Thanks for tips, more quest (1997)