Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress 2.0 – Shortcodes


  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    Closed and unstickied. See the codex page for details.

    * Forums

    [bbp-forum-index] – Show the forum index/archive

    [bbp-single-forum id=$forum_id] – Show a single forums topics

    * Topics

    [bbp-topic-index] – Show the topics index/archive

    [bbp-topic-form] – Show the new topic form

    [bbp-single-topic id=$topic_id] – Show a single topic

    * Topic Tags

    [bbp-topic-tags] – Show a tag cloud of all topic tags

    [bbp-single-topic-tag] – Show the topics within a specific tag

    * Replies

    [bbp-reply-form] – Show the topic reply form

    * Views

    [bbp-single-view] – Show topics associated with a specific view

    * Account

    [bbp-login] – Show the login screen

    [bbp-register] – Show the register screen

    [bbp-lost-pass] – Show the lost password screen

Viewing 25 replies - 26 through 50 (of 53 total)

  • hscoder
    Participant

    @hscoder

    if you want to know that how to use bbpress shortcodes, check this link :

    http://www.authorcode.com/forums/topic/how-to-use-bbpress-shortcodes-in-wordpress-site/

    Thanks for the post, it has been a great help!

    I am still struggling to get the topics to work. When I click on the topic it has my description an then it says “Comments are closed.” and there is no way to post anything…

    Have a look here: http://urbanbeeguild.org.au/?page_id=227

    Any help would be GREATLY appreciated :)

    Thanks,

    Simon

    I think I may have figured it out.

    If I add a topic through the WP dashboard it creates this wierd “comments are closed” thing, but if I add them directly through the blog it seems to work…

    Strange.


    David100351
    Participant

    @david100351

    @Hagandasz

    I had problems finding this, too.

    Go to Forums on Dashboard.

    Hover the mouse over the title of the forum, and a link comes up at the bottom of the page. (In Opera it does, anyway)

    e.g. http://pour-your-heart-out.com/wp-admin/post.php?post=36&action=edit

    in this case, $forum_id is 36

    you don’t use the $

    The same principle works with the rest. I know it says “post=36” but I guess that’s just how wordpress stores stuff.


    sravankumardv
    Member

    @sravankumardv

    Hi i tried using the code [bbp-single-forum id=$forum_id] as

    [bbp-single-forum id=$Introduction] where Introduction is the forum id, but it is not working. Please help me. Can you exactly mention what is the forum id here, is it the title what we provide for the forum .


    Calorie Counter
    Member

    @calorie-counter

    @sravankumardv

    I think your code should read:

    [bbp-single-forum id=36]

    instead of:

    [bbp-single-forum id=$Introduction]

    I hope this helps…


    Csaba.io
    Member

    @kamikazeek

    Hello. I have some problems with the forum :( (location: http://boldogics.com/home/forums/)

    Some pages are working, and some pages are not visible…

    I’ve tried some shortcodes, but nothing logical….

    @folgerj : i’ve seen your forum. Can you please help me to configure mine too?


    Csaba.io
    Member

    @kamikazeek

    Anybody? :) Suggestion?


    murrayac
    Participant

    @jumpmuz

    @kamikazeek I think if you change to the twentyeleven theme it works.. maybe

    @bbpress looks like you have been spammed!


    Csaba.io
    Member

    @kamikazeek

    @jumpmuz: it does not….i’ve tried…


    DennisBarkerCV
    Participant

    @dennisbarkercv

    Kamikazeek,

    This is the best way to add forums

    pick a theme that supports menus

    1)create a page

    2)add page to menu

    3)select menu as active

    4)add all of the shortcodes from the shortcode sticky thread to your newly created page

    5)take out the shortcodes you do not require

    Thats the way I do it at least.

    Regards

    Dennis


    Themes Support
    Member

    @themessupport

    hello

    shortcode is good.

    But how can I remove breadcrumbs plz ?

    Because I use two shortcode :

    [bbp-forum-index]

    [bbp-topic-index]

    And I have breadcrumbs for forum and an other for topic. Maybe make a shortcode like this is t possible ?

    [bbp-topic-index breadcrumbs=false]

    And are they way to say number topics to display ?

    thx for help ! :)


    mohammadg
    Member

    @mohammadg

    Thanks for this! Really helped me out.

    can i use the reply short code in the place of wordpress comment ? i am running bbpress as plugin.

    thanks


    Jared Atchison
    Member

    @jaredatch

    Closing. If you have any questions regarding shortcodes feel free to create a new thread.


    jtong80
    Participant

    @jtong80

    I used the login shortcode, but it doesnt let me logout after signing in. Is there a logout shortcode?


    sblwp
    Participant

    @sblwp

    Hello,
    I’m looking for the same customization as @spicynodes 8 years ago !
    I have created a page with 2 shortcodes :
    [bbp-topic-index]
    [bbp-topic-form]

    But the breadcrumb displays twice, above each one.
    Is there a simple way to display it for the [bbp-topic-form] or do I necessarily need to do something in the function page (I’d prefer not too !)

    Thanks for your help !


    Robin W
    Moderator

    @robin-w

    so you want it for the topic form, but not the index – yes ?


    sblwp
    Participant

    @sblwp

    That’s right !

    OR maybe it’s as easy to add something for the forum root page : I have recently chosen (in the backoffice) to display the topics instead by publication date (on the root page) instead of the index forum thematics, but now members don’t find how to open a new topic !

    (hope my explanation is clear ! ;-))


    Robin W
    Moderator

    @robin-w

    ok, you’ll need to edit a bbpress template using FTP

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

    transfer this to your pc and edit

    you’ll need to remove the line that says

    <?php bbp_breadcrumb(); ?>

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php

    bbPress will now use this template instead of the original


    sblwp
    Participant

    @sblwp

    Thank you Robin for helping me,

    The procedure is all clear but unfortunately the breadcrumb is still displayed above the [bbp-topic-form].
    Maybe that’s because the site is also using the WOffice plugin (some code there that would pass over the content-archive-forum.php ?)

    I just thought of another solution, more wobbly maybe :
    I can see in the code source that this div is called <div class ="bbp-breadcrumb"> meaning that if I create a .bbp-breadcrumb in my CSS file, I can add a display:none; and could hide it ?


    sblwp
    Participant

    @sblwp

    Oh boy, I just read my message agin and I’m so confused ! Sorry, I didn’t give you the right info… The initial message was supposed to say :

    Is there a simple way to HIDE it for the [bbp-topic-form]

    And answer to you second message is the other way round :

    DISPLAY (the breadcrumb) for the [bbp-topic-index]
    HIDE IT for the [bbp-topic-form] that is called underneath

    so sorry again…


    Robin W
    Moderator

    @robin-w

    ok reverse your above changes, and then apply the same process to

    form-topic.php


    sblwp
    Participant

    @sblwp

    This works perfectly !
    Thank you very much 🙂

Viewing 25 replies - 26 through 50 (of 53 total)
  • You must be logged in to reply to this topic.
Skip to toolbar