Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress 2.0 – Shortcodes

  • @johnjamesjacoby

    Keymaster

    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

    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/

    @smatthee

    Member

    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

    @smatthee

    Member

    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

    @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

    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

    @sravankumardv

    I think your code should read:

    [bbp-single-forum id=36]

    instead of:

    [bbp-single-forum id=$Introduction]

    I hope this helps…

    @kamikazeek

    Member

    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?

    @kamikazeek

    Member

    Anybody? :) Suggestion?

    @jumpmuz

    Participant

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

    @bbpress looks like you have been spammed!

    @kamikazeek

    Member

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

    @dennisbarkercv

    Participant

    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

    @themessupport

    Member

    @nirzol1

    Member

    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

    Thanks for this! Really helped me out.

    @drsim

    Member

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

    thanks

    @jaredatch

    Member

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

    @jtong80

    Participant

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

    @sblwp

    Participant

    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

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

    @sblwp

    Participant

    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

    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

    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

    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

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

    form-topic.php

    @sblwp

    Participant

    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