Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to show topics from every forum when using [bbp-forum-index].

  • @jbboy

    Participant

    Hi!

    I’m wondering if It’s possible to show topics under every forum name on forum index. Here’s an example:

    Forum1
    Topic1.1
    Topic1.2
    Topic1.3

    Forum2
    Topic2.1
    Topic2.2
    Topic2.3
    Topic2.4

    Forum3
    Topic3.1
    Topic3.2

    etc…

    Thank you very much!

Viewing 12 replies - 1 through 12 (of 12 total)
  • @robin-w

    Moderator

    It would be possible with some coding, but you’d need to run a further loop.

    I suspect that the index would soon become too large.

    @jbboy

    Participant

    Thanks a lot for your response 🙂

    I have seen in “Step by step guide to setting up a bbPress forum – Part 1”

    Step by step guide to setting up a bbPress forum – Part 1

    The way I want my forum looks like. Is this screenshot from previous versions and now there isn’t an easy way to do this ? I just want the topics (better last 4 topics of each forum) under the name of the forum wich they belong. The only solution is hardcoding? I don’t know where to start. Which file should I edit to change the forum structure? :S

    Thanks a lot for all.

    @blankstage

    Participant

    I am sure there is a way –

    @jbboy

    Participant

    I’m sure too blankstage, cuz in the step by step guide the image shows what I’m trying to do.

    @robin-w

    Moderator

    The image in the set by step guide is of several forums categories, with sub forums under them.

    If you just want say the last 4 topics, I have a think, maybe easy, maybe not !

    @jbboy

    Participant

    Hahaha It’s better easy, but the hard doesn’t scares me! Yeah it would be great to know your idea, because I’m completely lost.
    You’re right about forum categories, I didn’t realise.

    I’ve tried with a code from this site who shows the last topics of all forums in a different table, but not the last (4?,5?,6?… variable who control the number ) topics in the same table. And not each topic under his Forum. 🙂

    @netweb

    Keymaster

    If you only have a few forums you could design a page with each forum title and below each forum title use the following shortcode [bbp-single-forum id=$forum_id]

    e.g.

    
    My Forums Page
    
    My First Forum
    [bbp-single-forum id=123]
    My Second Forum
    [bbp-single-forum id=456]
    My Third Forum
    [bbp-single-forum id=789]
    

    @jbboy

    Participant

    Thank you again Stephen, It’s a solution but I’m sure I’ll have many forums. 🙂

    @sinardja

    Participant

    I can’t see the forum id on my bbpress? How to know my forum id number? Thanks

    @robin-w

    Moderator

    @sinardja

    go into dashboard>forums>all forums and then edit for the forum you want. Now go look at the url address bar at the top of your browser and it will look like

    http://www.mysite.com/post.php?post=2922&action=edit

    so 2922 would be the forum number

    @sinardja

    Participant

    Thanks.

    @robin-w

    Moderator

    great – glad you’re fixed !

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