Create a new WordPress page called ‘New Topic’ and add the shortcode [bbp-topic-form] to the page content.
https://codex.bbpress.org/shortcodes/ & https://codex.bbpress.org/widgets/
I want to use [bbp-topic-tags] in the column of WP but it doesn’t seem to work in a normal widget for html
Hello everyone.
I would like to know if its possible to provide custom information with shortcodes.
For example i made a static homepage with [bbp-forum-index] shortcode in there,
is it possible to provide only the Topics & Posts counts and not the Freshness information?
Thank you in advance.
I’m not 100% confident “Banned” are Role 1, and “Confirm Email” are Role 3 on all Vanilla databases. Due to the complexity, I think it should be left out. I posted my SQL queries in your codex codes under the “Notes” section. Feel free to tweak my comments to your style.
Maybe you can help me with the password checker. It looks like I can reference the entire record row using the callback methods in the converter code. I just don’t know what to do if the password type isn’t a Vanilla password. What is the proper action here, and is this code/syntax correct?
` public function callback_cleanpass( $password, $row) {
if ($row[‘HashMethod’] == ‘Vanilla’) {
return $password;
} else {
return ?????;
}
}`
Monica,
Sorry nothing new to report on a fix yet…
Btw, I’ve set this as private b/c I didn’t see a way to have people log in, so this would only be available to members. Don’t know if this is part of the issue.
With that above from your first post in mind, is it important your forums stay private or having them publicly accessible would not be an issue? If public is not a problem, try this:
If you leave the ‘category’ set as ‘private’ but change the two forums you have under this category from ‘private’ to ‘public’, I just tested this and it appears to be working.
(You can also change the parent category to public also and it won’t trigger the bug)
Back to the quote above you can use the `[bbp-login]` shortcode ona page or the login widget in your sidebar.
You can forums to existing WordPress pages using bbPress various shortcodes.
At this stage I haven’t seen anyone mention anything about converting to BuddyPress ‘Group Forums’
With some theme customization you could make it appear that you have two lots of forums by putting each into their own ‘parent category’ and using shortcodes to only display each ‘category’ in specific areas of your site.
https://codex.bbpress.org/shortcodes/
The other way is to go WordPress Multisite and have a separate site for your ‘support’ side of things.
To customize bbPress as a support forum check this great tutorial by @mordauk http://wp.tutsplus.com/tutorials/plugins/using-bbpress-as-a-support-forum/
What’s next? What works and doesn’t work?
- Is the imported forum hierarchy and order correct?
- Sticky topics, eg ‘sticky’ and/or ‘global sticky’ topics?
- Open or closed topics?
- Does Mingle use BBCodes eg [b]blod[/b] and do we need to convert them from custom HTML to WordPress/bbPress friendly HTML? If so what BBCodes does Mingle use?
Are there any other forums, topics or replies behaviour that has not been imported?
Thanks for the kind reply @lynq.
As you suggested, I changed some bbp template codes in my custom theme, removing all the author data and user-id class in the reply loop template so that one specific public forum could look like it’s working as anonymous one for logged in users…
It looked as if it’s working fine as an intended anonymous forum.. and just found the biggest problem is that all those posts are shown in activity stream.
(I’m also using Buddypress as other users do.)
I tried to fix the buddypress activity template to not display the anonymous forum’s contents, but it doesn’t seem buddypress activity template is controlled by bbp_forum_id or bbp_topic_id.. can someone give a clue about solving this problem?
Create a WordPress page called ‘Support’ and use the [bbp-forum-index] shortcode on that page.
https://codex.bbpress.org/shortcodes
Create a page and call it something like forum registration.
Add the registration shortcode: [bbp-register]
Then link to the new page.
(You can find more shortcodes here: https://codex.bbpress.org/shortcodes/)
Never mind; figured it out (by coincidence).
If anyone is interested, add the following code to your wordpress functions.php;
function t4a_bbp_shortcodes( $content, $reply_id ) {
return codecolorer_highlight( $content );
}
add_filter('bbp_get_reply_content', 't4a_bbp_shortcodes', 10, 2);
add_filter('bbp_get_topic_content', 't4a_bbp_shortcodes', 10, 2);
I’d like to offer visitors the ability to use CodeColorer to syntax highlight their code.
I know that shortcodes are basically disabled for security reasons – which makes sense.
But how can I add a “safe” shortcode to bbpress?
The WP plugin bbPress2 Shortcode Whitelist and bbPress do shortcodes are not working (the latter even being risky at best).
bbPress: 2.2.3
WP: 3.5
Theme: my own development
The shortcodes do not currently accept any additional arguments, though they would not be difficult to add to the core software.
There are no known bugs regarding shortcodes so they should work on your site.
- Create a new WordPress page via /wp-admin/post-new.php?post_type=page
- Give the page a title
- Add for example to login shortcode `[bbp-login]` to the page content
- Click publish and view your new page
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