Unfortunately, shortcodes aren’t working for me, either.
Any other leads?
Thanks so much for your help.
Is it the shortcodes you are looking for? https://codex.bbpress.org/shortcodes/
When I upgrade bbPress 2.1 to 2.2, all logged in users cannot connect to any forums(bbPress) but super-admins. ( 404 not found page )
I’ve searched this support forum and they say “It’s related to Role Plugins…”
But I don’t have any Role Plugins 🙁
Did a hard back trace for this error and found capabilities of bbPress dynamic roles applied after ‘bbp_template_redirect’ so bbp_forum_enforce_blocked() blocked any users not having ‘spectate’ cap – maybe all users.
Then… we should manualy apply capabilities of bbPress role to current user.
Here’s a temporary patch for this error.
(Make a plugin or put these codes to your theme’s functions.php)
`
function bbp_fix_dynamic_role_cap() {
$current_user = wp_get_current_user();
$current_user->get_role_caps();
}
add_action( ‘bbp_template_redirect’, ‘bbp_fix_dynamic_role_cap’, -2 );// before bbp_forum_enforce_blocked()
`
Create a page and call it whatever you want.
Put the shortcode inside the page and you got an editable page.
All shortcodes are here: https://codex.bbpress.org/shortcodes/
Hi everybody! Ok, after 10 hours of research and trying, I surrender and ask to people who know more than me.
I’m trying to change the default tab “home” of each buddypress groups for the “forum”, so I can Hide or delete the “home” tab and only use the forum.
I’ve tried hundreds of different codes I’ve found on diferent blogs and with some changes I made but no one does ANYTHING in the way the tabs are shown or oppened in the groups.
The last one I tried is this one (the simpliest one) http://screencast.com/t/tJE8UFQy7
There is also the root in which I created the bp-custom.php file.
I can’t think anything to fix this. Please could anybody help me with this? Does anybody thing about anything that is causing this?
Thank you all!
The entire site here at bbpress.org is powered by WordPress and bbPress
Have you looked at using some shortcodes on WP pages to get what you are after?
https://codex.bbpress.org/shortcodes/
Theres widgets too https://codex.bbpress.org/widgets/
So Guys ??
No any help ?? 🙁
Hi I am having an issue with my forum URL rewrite rules/slugs/permalinks.
At the moment I am testing this in my dev environment.
I have a page that is called FORUM and contains my recent topic and forum shortcodes. This page is located at localhost/sitename/forum
My slug settings are:
Archive Slugs
Forums base: forum
Topics base: topics
Single Slugs
Forum Prefix ticked
Forum slug: forums
Topic slug: topic
Topic tag slug: topic-tag
Reply slug: reply
User slug: user
Topic view slug: view
When I navigate to a forum the URL looks like this:
http://localhost/sitename/forum/forums/butterflies/
When I navigate to a topic inside that forum, the URL looks like this:
http://localhost/sitename/forum/topic/test-topic/
When I reply to a topic, the URL rewrites to this:
http://localhost/sitename/forum/forums/butterflies/#post-158277
So obviously this is an incorrect URL and just takes me back to the forum home page with the list of recent topics.
How can I make the URL format be consistent? Something like:
http://localhost/sitename/forum/forum-name/test-topic/#post-158277
Thanks
Hi Guys!
Please … I found of course the ShortCode Page on http://codex.bbpress.org/shortcodes/ BUT … I do not know if and how insert in a page the EDIT PROFILE code … Any help ??
…
For instance, when I go to see my profile, I can use different link …
Here’s a ScreenShot on http://www.pietrosferrino.com/ScreenShot.png.
How can I use that links in order to make by myself a page where every single user can use them?
Thank You.
Pietro
Thanks Lynq! I should have stated clearer that I’m looking for more bbPress actions/hooks/filters pages. Are there pages like this for bbPress the page on Actions only describes 10 actions.
https://codex.bbpress.org/ seems to have articles about some functions and shortcodes but not hooks and filters.
It would be nice to see a table which contains every action/hook/filter/callback with the argument descriptions or what parameters the callbacks get. Currently Ive been trying to decipher the inline documentation of the core files. 😀
Hey all,
Since there is no support for “Categories” so to speak.. what i would like to do is create a custom main forum page and insert the forums manually… Now i know this can be done with shortcodes in posts and pages like as follows:
[bbp-single-forum id=32]
But what i am wondering is how would one go about inserting single forums into the BBpress .php template files.. for example the template content-archive-forum.php has the following php code which displays all forums:
I would like to edit this file and insert forums manually.. is there a php version / code like the shortcodes to insert single forums ?
Regards, Darren
The thing that makes inline images tough is non-admin users cannot use the
tag and shortcodes are not an option.
Currently there is an issue on trac (#1916) that would make it where img tags do not get filtered out. Once that’s done it would open the gate for plugins to handle inline images pretty easily.
Thanks guys – what ended up working was putting BOTH of those codes in the css. One or the other alone didn’t do anything. CSS is weird haha. Anyway, problem solved, looking forward to the next update!
I’m having the exact same problem. And like ffalder I can’t code, but usually Google my way out of a problem. But this time no luck.
From my research it seems lots of people are having the same problem.
I think the main issue here is the breadcrumbs.
1) You create a custom ‘forum home page’ using short codes (or whatever means you like) to be your default page that users see as the homepage of your forum.
2) A user try’s to get back to the ‘forum home page’ using the breadcrumbs by clicking the text “forums” in the breadcrumbs.
3) Unfortunately it just redirects to the forum slug chosen in Settings, not your actual ‘forum home page’. And that forum slug is always defaulted to an archives page.
4) So setting that slug to the same as your ‘forum home page’ does not work, because woprdpress overrides your ‘forum home page’ created in step 1 and defaults it to an archives page.
Sorry for re-hashing this, but it’s sometimes better to make it a little clearer. At least in my own head anyway.
I don’t know how simple this is or not, but one solution that comes to mind is to have an option in Settings that lets you decide where the ‘forums’ text link in the breadcrumbs will point to. If you can choose to have it point to your ‘forum home page’ then all would be solved right?
This person suggested changing the breadcrumbs in the core of the plugin, but obviously it’s not very desirable since it’s changes to the core. And I also cannot find the file that they edited. Think it might have been a mod to an old version: http://mysitemyway.com/support/topic/infocus-bbpress-20-root-slug
You have several issues going on here, but they are directly related to your theme. As is very common, it appears to me that your theme has a conditional statement in the template file that builds archive pages. As such, it’s treating the content for bbPress forums as excerpts, as well as applying some unwanted styling.
Have you tried to build a page using the shortcode method? If so, what was the result? If you found it worked properly, then the issue as suggested above, and you could try to modify your theme or child-theme files to add a similar conditional that looks for bbPress and forces it to use the_content() instead of the_excerpt(). See: https://bbpress.org/forums/topic/non-functional-index-page-when-bbpress-2-1rc4-is-used-with-woothemes-canvas-5-05/
If this page is being built with shortcodes (I don’t think it is from what I see) then what is the result if you try the default forum index method? We outline both methods in our step by step video here: http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/
We’ll get you there… 😉
I understand using the short codes and setting up a PAGE that includes the username login box. …but is there a way to add the username login the default forum. I have my forumn set to the default location /forums/ and I’d like to add the username/password login to this page (in the right sidebar). Is there an easy way to do that?
What about using the ‘Login Widget’ https://codex.bbpress.org/widgets/
Or one of the ‘account’ shortcodes? https://codex.bbpress.org/shortcodes/
Couldn’t you achieve this using bbPress’ shortcodes? Namely; [bbp-forum-index]
I’m looking for the correct method to dequeue bbpress css from the plugin directory and also that of the css folder within the theme.
The entire site is much larger than just the forum and I really don’t want to call the css for every page as most people don’t have a need to access the forums. I’ll then enqueue the css with is_bbpress combined with is_page(array for the 2 pages that contain shortcodes.
I need to make sure that it dequeues from both locations as there is a custom css being used.
Thanks in advance for the help!
1) Create a new page
2) Add the bbPress ShortCode for forum index: https://codex.bbpress.org/shortcodes/ which is [bbp-forum-index]
3) Save the page
4) Go to Settings/Reading and choose this new page as the default home page (instead of your blog).
This will get you a bbPress Forum index on your home page.
To make a “mix” of your bbPress and blog posts, you need to modify your home page template file. This differs per theme, but may be called home.php or index.php (it’s in your theme folder). You would add the bbPress shortcode above the WP loop that displays blog posts. Use the do_shortcode method shown here: https://codex.wordpress.org/Function_Reference/do_shortcode
so it would be (within php tags): do_shortcode('[bbp-forum-index]')
If you do this, then you won’t need to create a page and modify your Settings/Reading as elaborated in steps 1 to 4 above.
Good luck!
Just be aware that activating shortcodes in bbPress can open up a whole can of worms, which is why its disabled by default.
If they are enabled there is nothing stopping someone from using bbPress shortcodes in a reply/topic, eg [bbp_login].
Polls in 2.x is definitely something that is needed. However it’s really plugin territory, and so far no one has written one!
this one is working for me
https://wordpress.org/extend/plugins/cardoza-wordpress-poll/
you may also need to install something like GD BBPress Tools to activate shortcodes in forum topics and replies if you want to embed a poll in a forum post
https://wordpress.org/extend/plugins/gd-bbpress-tools/
sam
I have one more question. Do I need all the time to add shortcodes?
I mean, if I create 5 new forums, do I need to put this shortcode [bbp-single-forum id=$forum_id]?
How I could know which is id of forums?
Zdravo!!
Ok, that helps.
First suggestion:
What happens if you use shortcodes to create a forum index? https://codex.bbpress.org/shortcodes/
Take the shortcode of: [bbp-forum-index] and add it to a blank page.
Does that create a visible forum index?
If so, then your problem imho is that your theme is hijacking the content area in a way that prevents the new bbPress code from working. As such, the solution would be found most likely in your theme’s page.php or similar, where the default archive pages are created. I don’t have access to the Gonzo theme since it is on ThemeForest ;-(
but you can see in my recent post, we fixed a similar solution for Canvas 5 from WooThemes. https://bbpress.org/forums/topic/non-functional-index-page-when-bbpress-2-1rc4-is-used-with-woothemes-canvas-5-05/
If not, then please share the link to the page where you posted the shortcode so I can see the underlying output.
Hvala!
Spence
Hope these help:
‘Widgets’ go in ‘Sidebars’ https://codex.bbpress.org/widgets/
‘Shortcodes’ go on ‘Pages’ https://codex.bbpress.org/shortcodes/