Register   Login
     
  Latest Posts  
RE: ENH: NA becomes the Article Manager and LA is the display module
by SteveJ on 10/08/2008 12:07 AM
Enh: Collect IP Address with comments
by SteveJ on 10/07/2008 11:49 PM
RE: Listing Item Template
by goblanks on 10/07/2008 11:48 PM
RE: Listing Item Template
by goblanks on 10/07/2008 11:46 PM
RE: NA 00.07.13 - Editor Text Boxes Disappear for Summary/Excerpt - need it back
by smcculloch on 10/07/2008 11:27 PM
RE: News Articles Tokens
by goblanks on 10/07/2008 11:26 PM
RE: NA 00.07.13 Excerpt & RSS
by smcculloch on 10/07/2008 11:26 PM
RE: Suggestion: Individual articles only viewable by select roles.
by smcculloch on 10/07/2008 11:23 PM
RE: NA 00.07.13 - BUG Archive Category count draft
by smcculloch on 10/07/2008 11:21 PM
RE: ENH Page Title, Page URL and Categrory Breadcrumb
by Declic Video on 10/07/2008 11:13 PM
  Forums  
Subject: Random vs. Sequential Quotes
Prev Next
You are not authorized to post a reply.

Author Messages
Bruce HeadUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:1

5/29/2005 5:41 PM  
A possible enhancement for this module would be giving an option to display quotes randomly or sequentially. 

With random display, even if you have a lot of quotes, you'll see a fair bit of repetition because of how randomness works (theoritically, the same quote could appear multiple times in a row).   For example, if you have 20 quotes, quote #12 could appear five times in a row.  The only way to prevent this is to insert the same quotes multiple time (e.g., 20 quotes repeated 4 times = 80 quotes) reducing the chance the same quote would be repeated twice in a row.

With sequential display, the quotes would appear in sequence, so you'd only get repetition after the last quote has been displayed.  You'd never have the same quote appearing twice in sequence.  Sequential display could be achieved fairly easily with a session cookie.
 
I might try a mod to the source at some point but I don't have Visual Basic/Studio so it's a little more work.
 
Bruce
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:11956


5/30/2005 1:00 AM  
I agree, with a small number of quotes repetition is high, the trick is too build a large number up!
 
I could add some smarts to help out, but I think more quotes is better

Scott McCulloch
Site Administrator
Rodney JoyceUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:260


6/03/2005 4:54 AM  
Hi Scott/et all


Unfortunately it seems we both ended up with a Quotes module (mine was
a result of a legacy site and I was trialling censorship in my
UserProfile module)


Anyway - may as well share some stuff with you


I have 2 settings on mine - Random and Least Shown - each time it is
viewed I increment a counter and then the sp does an order by this
within the user's censorship - you may want to do something similair -
really quick and easy and ensures new quotes are shown often.


I alo

Thanks
Rodney
Smart-Thinker & The DotNetNuke Directory
PokerDIY - Free tools and leagues for home poker players
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:11956


6/03/2005 6:51 AM  
Ahh good idea!

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Quotes > Random vs. Sequential Quotes



ActiveForums 3.7