Home | Community | Message Board

PlanetSpores.ca
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post Pages: 1 | 2 |  [ show all ]
the random thread button.
    #7959026 -

how about a button that pulls up a thread at random from the database. A different thread everytime.

what yall think.?


--------------------

"There is never a wrong note, bend it."
Jimi Hendrix


Extras: Filter Print Post Top
Re: the random thread button. [Re: sui]
    #7959035 -

and like the google "im feeling lucky" button, it can say "Im feeling shroomy!".

Extras: Filter Print Post Top
Re: the random thread button. [Re: SneezingPenis]
    #7959047 -

:awesome:


--------------------

"There is never a wrong note, bend it."
Jimi Hendrix


Extras: Filter Print Post Top
Re: the random thread button. [Re: sui]
    #7959345 -

Awesome! StumbleShroomery FTW

There might be an epidemic of asinine, irrelevant posts though.

OTDers stumbling across MRP threads... will be interesting.


--------------------
Welcome evermore to gods and men is the self-helping man.  For him all doors are flung wide: him all tongues greet, all honors crown, all eyes follow with desire.  Our love goes out to him and embraces him, because he did not need it.

~ R.W. Emerson, "Self-Reliance"

:heartpump:

Extras: Filter Print Post Top
Re: the random thread button. [Re: sui]
    #7960737 -


Extras: Filter Print Post Top
Re: the random thread button. [Re: Ythan]
    #7960746 -

yay. that didn't take long.

/me starts randomizing.

Extras: Filter Print Post Top
Re: the random thread button. [Re: Ythan]
    #7961018 -

Ythan said:
Here ya go. :smile:

http://www.shroomery.org/forums/random.html




Awesome Thanx ythan!!!


--------------------

"There is never a wrong note, bend it."
Jimi Hendrix


Extras: Filter Print Post Top
Re: the random thread button. [Re: sui]
    #7961171 -

why is it only in mush cult?

Extras: Filter Print Post Top
Re: the random thread button. [Re: SneezingPenis]
    #7961186 -

its not. Ive had threads pop up from all over.


Its awesome. Ive come accross threads i would have never seen had the button not been there!


--------------------

"There is never a wrong note, bend it."
Jimi Hendrix


Extras: Filter Print Post Top
Re: the random thread button. [Re: sui]
    #7961207 -

i clicked it like 5 times and it was all mush cult.

and is this link the only way to have the button?

I mean it is awesome to get this, and i am programming illiterate, but would it be so hard just to incorporate it into the actual GUI?

Extras: Filter Print Post Top
Re: the random thread button. [Re: SneezingPenis]
    #7961208 -

YawningAnus said:
why is it only in mush cult?



I'm getting a variety.


Thanks Y -- this is cool.


--------------------
Welcome evermore to gods and men is the self-helping man.  For him all doors are flung wide: him all tongues greet, all honors crown, all eyes follow with desire.  Our love goes out to him and embraces him, because he did not need it.

~ R.W. Emerson, "Self-Reliance"

:heartpump:

Extras: Filter Print Post Top
Re: the random thread button. [Re: SneezingPenis]
    #7961210 -

Theres a link at the top of the page under the 'invite' button. it has a single die as the icon.


--------------------

"There is never a wrong note, bend it."
Jimi Hendrix


Edited by sui (01/31/08 07:36 PM)

Extras: Filter Print Post Top
Re: the random thread button. [Re: sui]
    #7961628 -

love it!


--------------------

Extras: Filter Print Post Top
Re: the random thread button. [Re: WhiskeyClone]
    #7962017 -

:strokebeard:

It doesn't seem to be entirely random...

For example, this thread has popped up four times in twenty or so clicks.

http://www.shroomery.org/forums/showflat.php/Number/264823#Post264823


--------------------
Welcome evermore to gods and men is the self-helping man.  For him all doors are flung wide: him all tongues greet, all honors crown, all eyes follow with desire.  Our love goes out to him and embraces him, because he did not need it.

~ R.W. Emerson, "Self-Reliance"

:heartpump:

Extras: Filter Print Post Top
Re: the random thread button. [Re: WhiskeyClone]
    #7962279 -

It's as random as I can make it, but it's not truly random because I had to cheat to get acceptable performance. We have so many posts that I can't just ask MySQL to return a random row. It takes over 5 seconds and locks the database. This is especially problematic because I expect people who are using the 'Random Thread' button to keep hitting it in fairly rapid succession.

So instead, I generate a random number between MIN_POST_NUM and MAX_POST_NUM and then select the first post that's greater than or equal to that number. This only takes a fraction of a second and doesn't adversely affect the server. However, there's a problem with this method which is clear from a simple example: if the post numbers in the database are 1, 3, 4 and 5, then '3' is greater then or equal to both 2 and 3, so it will come up twice as often. Restrictions due to forum permissions and the varying number of replies for each thread create additional 'holes' in the consecutive numbering scheme which further detract from the randomness.

Still, the sheer number of posts should make this effect significantly less noticeable. Having a post come up 20% of the time sounds like a fluke to me, even with all the cheating going on behind the scenes.

(And I bet you thought this was a simple feature. :wink:)

Extras: Filter Print Post Top
Re: the random thread button. [Re: WhiskeyClone]
    #7962671 -

Hey, that thread came up for me too.


--------------------
!

Extras: Filter Print Post Top
Re: the random thread button. [Re: Ythan]
    #7963671 -

Ok, cool :thumbup:


--------------------
Welcome evermore to gods and men is the self-helping man.  For him all doors are flung wide: him all tongues greet, all honors crown, all eyes follow with desire.  Our love goes out to him and embraces him, because he did not need it.

~ R.W. Emerson, "Self-Reliance"

:heartpump:

Extras: Filter Print Post Top
Re: the random thread button. [Re: Ythan]
    #7989563 -

What do you think about a random button for active threads? Or newer than a week?

Cool feature either way.  :thumbup:

Extras: Filter Print Post Top
Re: the random thread button. [Re: Cowgold]
    #7990073 -

I had a bunch of idea for improving the random thread button, including being able to limit it to new threads, specific forums and certain posters. I wanted to see if it was popular first though. It seems to be getting some use so I'll add that stuff to my to-do list, although not as high priority I'm afraid.

Extras: Filter Print Post Top
Re: the random thread button. [Re: Ythan]
    #7990105 -

thanks ythan  three cocks for you :penis::penis::penis:

Extras: Filter Print Post Top
Jump to top Pages: 1 | 2 |  [ show all ]


Similar ThreadsPosterViewsRepliesLast post
* Alert button Karen 1,118 2 08/24/01 06:06 PM
by Karen
* ignore button
( 1 2 3 all )
Dobie 6,677 44 09/25/02 11:49 AM
by WhiskeyClone
* Warn The Mods Button shellacct 1,113 4 10/15/01 07:36 PM
by Anonymous
* clicking on posts/threads = no matches eric_the_redS 1,147 4 07/20/03 10:13 PM
by eric_the_red
* thread ratings - waste of space? shirley knott 1,278 5 02/19/03 02:46 AM
by Asante
* That damned escape button! SeussA 1,134 2 09/03/03 08:31 AM
by Seuss
* Rating System v. Thread
( 1 2 3 all )
Joshua 8,326 57 07/05/03 12:42 PM
by Anonymous
* Random Forum! GringoLoco 1,974 6 02/26/02 02:45 AM
by Ulysees

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Ythan, Thor, Seuss, geokills
2,630 topic views. 0 members, 0 guests and 4 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.029 seconds spending 0.004 seconds on 16 queries.