Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Last 20 posts question

  • 14-10-2001 10:21PM
    #1
    Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭


    How hard would it be to be able to select which forums you want to see appear in the last 20 posts list? Depending on the way it's been done, it could be too difficult/time consuming.

    Thoughts?

    It would be useful, because I don't want to see any posts from the counterstrike boards, and er, a whole load of others. :)

    On a similar note, I've tried loading the last20.php page directly, but it throws up an error. Can you set up a little page where only the last 20 table is displayed? Will do a few things: 1) Save your bandwidth (me reloading the main page every few minutes) 2) Save my bandwidth. Since we don't have broadband... (g'wan ioffl! heh)


Comments

  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭DS


    Two excellent ideas there mate.
    Customizing the forums you see is almost too easy, it's just a case of appending this to the WHERE clause in the SQL query:
    AND forumid IN ( list, of, favourite, forums )
    So all we need is a little configuration form for us users, nothing too fancy.
    It could even be a case of just generating an URL i.e. I select all the forums I want to see, press submit, script generates a URL with the forumIDs i.e. last20.php?id=5,6,11,10,15,3 which I can bookmark (probably a bit too DYI-ish though :D )
    And then in last20.php you'd simply slap...
    AND forumid IN ( $id )
    ...onto the end of the query. Of course, that's the biggest security hole in web development history, but it just shows how easy it is to do :)


Advertisement