Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to display X last topics from a specific forum ?

  • @jejemo

    Participant

    Hello there,

    I’m currently trying to display 5 last topics of a specific forum ($forum_id).

    I’m already using [bbp-single-forum id=$forum_id] on another page.
    I only need to show the last 5 topics.

    Anybody know how to do that ?

    Thanks !

    jejemo

Viewing 8 replies - 1 through 8 (of 8 total)
  • @jejemo

    Participant

    I just realised, there is a widget that does the job except without the casual informations.

    So I guess the core already does the job. I just need to find where it is.

    @robin-w

    Moderator

    I’ve just recut my topics shortcode to allow you to do just that

    bbp additional shortcodes

    @jejemo

    Participant

    Hello Robin ! Thanks for your answer !

    I tried your plugin and it works great.

    I tried to make 6 post and only 5 were shown so super.
    I am now truing to remove the :

    Viewing 5 topics – 1 through 5 (of 6 total) and the search form.
    Also a pagination is there now. How could I remove it ?

    Whitch file is used to built this ? I hope this is not the same as [bbp-single-forum id=$forum_id] because I need them both.

    Any idea ?

    @robin-w

    Moderator

    Which file is used to built this ? I hope this is not the same as [bbp-single-forum id=$forum_id] because I need them both.

    No both use functions not files, so they are separate.

    Also a pagination is there now. How could I remove it ?

    That should be quite doable, I’ll take a look in the next few days !

    @robin-w

    Moderator

    In fact took a look today and done !

    bbp additional shortcodes

    You now have a template of ‘short’ which just does the titles and topics, no search or other stuff.

    see the web for full details on how to do this, but for example

    [bbp-display-topic-index show=’5′ forum=’29’ template=’short’ ]

    @robkk

    Moderator

    nice on adding additional features robin!! time for me to update!!

    @jejemo

    Participant

    That works great !

    Thanks a lot Robin !!!

    @robin-w

    Moderator

    great – pleased its doing the trick !

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar