Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Random Button on front page ?

Options
  • 22-10-2005 2:12pm
    #1
    Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,668 Mod ✭✭✭✭


    How about a random button on the front page that jumps to a random thread ?
    Post edited by Shield on


«1

Comments

  • Closed Accounts Posts: 11,848 ✭✭✭✭Doctor J


    That's a pretty good idea :)


  • Registered Users Posts: 22,231 ✭✭✭✭Sparky


    like in the biki


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    Heh, I like it.


  • Registered Users Posts: 15,258 ✭✭✭✭Rabies


    As long as it doesn't drag up old threads then it could work.


  • Closed Accounts Posts: 2,767 ✭✭✭Hugh Hefner


    I would definately use something like that. It could be programmed to only jump to threads on Page 1 of a forum.


  • Advertisement
  • Registered Users Posts: 22,231 ✭✭✭✭Sparky


    yeah i have something simular on mine where it will pick a thread in a certain catagory on any page you allow it to.

    So i wouldnt say its a hard thing to implement

    something simualr to the phpbb code:
    $sql = "SELECT forum_id, forum_name
    	FROM " . FORUMS_TABLE . "
    	ORDER BY forum_order";
    if ( !($result = $db->sql_query($sql)) )
    


  • Closed Accounts Posts: 3,357 ✭✭✭secret_squirrel


    Sounds like a good plan.

    Would it be truly random or could it be based on say only the last day/weeks posts but wieghted towards the fora which get less traffic.

    (on the assumption that there are some gems to be found off the beaten track)


  • Registered Users Posts: 22,231 ✭✭✭✭Sparky


    id have to say the one i have is truly random, but only in the catagory i allow it to select from


  • Registered Users Posts: 8,676 ✭✭✭Chong


    Sounds cool gets my vote.


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    Sparky_S wrote:
    id have to say the one i have is truly random, but only in the catagory i allow it to select from
    Pah, no such thing as truly random with computers.

    </anal>


  • Advertisement
  • Registered Users Posts: 14,163 ✭✭✭✭danniemcq


    CuLT wrote:
    Pah, no such thing as truly random with computers.

    </anal>

    the time they crash is 90% of the time, the other 10 is just before you save something


  • Closed Accounts Posts: 10,730 ✭✭✭✭simu


    Well, it would certainly be handy for the uberbored. Cool idea!


  • Registered Users Posts: 8,488 ✭✭✭Goodshape


    Yea, why not.

    Support++


  • Registered Users Posts: 1,077 ✭✭✭joe.


    I like this idea.


  • Registered Users Posts: 18,919 ✭✭✭✭Mimikyu


    This post has been deleted.


  • Registered Users Posts: 3,141 ✭✭✭masteroftherealm


    Defo supprt here


  • Registered Users Posts: 3,329 ✭✭✭radiospan


    Maybe if it picked a "virgin" thread, or one with few replies (kinda like secret_squirrel's idea?)


  • Registered Users Posts: 12,309 ✭✭✭✭Bard


    God idea yes, as long as it, as said, doesn't drag up really old threads.


  • Registered Users Posts: 10,658 ✭✭✭✭The Sweeper


    Yeah, the bumpage factor could be painful... otherwise sounds cool.


  • Moderators, Regional East Moderators Posts: 21,503 Mod ✭✭✭✭Agent Smith


    nice idea,

    could it be labeled " do not press! "


  • Advertisement
  • Registered Users Posts: 3,279 ✭✭✭regi


    I'll put it on the list!


  • Registered Users Posts: 3,225 ✭✭✭JackKelly


    definitely a nice idea.


  • Closed Accounts Posts: 88,978 ✭✭✭✭mike65


    I like the idea but I'd want ancient threads to be bumped. Its interesting to see once-famous names that no longer post or topics that now look soooooo 1999.

    Mike.


  • Registered Users Posts: 5,335 ✭✭✭Cake Fiend


    Regi wrote:
    I'll put it on the list!

    You're on my list now, buddy...

    How about an accompanying button to choose a random thread from this day 5 years ago? Kind of like The Register. Or maybe better, the most popular thread of the day 5 years ago today.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,668 Mod ✭✭✭✭Capt'n Midnight


    For a very heavy bias towards recent posts a likely looking function to pick the post number is something like

    p = n * Exp( (rnd-1) / s )

    p = picked post or thread
    n = total no of them ( - 100 cos they can be found in new posts anyway )
    Exp = exponential
    rnd = random number 0-1
    s = skewness - let user pick a number 0-1 that is stored in their settings
    ( or maybe use the log of this number s= log( 1+ x/y) x=0-9 y=10 or something

    0.1 - half of picks in most recent 0.7% of posts
    0.2 - half in last 10%
    0.3 - half of picks in last 19% of posts
    0.5 - 2/3 of picks in last 1/3 posts
    1.0 - nearly linear


  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    select thread.threadid from thread,
    (SELECT COUNT(*) as numrows FROM thread) tot_rows
    where thread.createdate > RAND(NOW()) * 10000000000 order by rand(tot_rows.numrows) LIMIT 0, 1

    Or something..


  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    Use LavaRnd.


  • Closed Accounts Posts: 9,193 ✭✭✭[Jackass]


    nice idea,

    could it be labeled " do not press! "

    Haha, I'd like that, only boards search would probably crash 'cause everyone would press it. :D

    Great idea though...it could just choose any thread that has had a post in the last 7 days (or maybe 14? :confused:)

    Gets my vote.


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    DubGuy wrote:
    Haha, I'd like that, only boards search would probably crash 'cause everyone would press it. :D

    Great idea though...it could just choose any thread that has had a post in the last 7 days (or maybe 14? :confused:)

    Gets my vote.
    Actually I like the idea of random threads from yonks ago getting randomly read (but god help you if you reply to it O_O).


  • Advertisement
  • Closed Accounts Posts: 9,193 ✭✭✭[Jackass]


    heh..true I guess. But a lot of people who press it wont have read this thread or any thread regarding its use and wont read the dates in thread...and inevitably reply :rolleyes: But yeah, it would be cool for really old ones :)
    Plus sometimes you'd love to reply to really old threads but cant if your searching through them for something.


This discussion has been closed.
Advertisement