bbpress stores its role in the same array as wordpress roles
ie in
usermeta[‘wp_capabilities’]
and an entry looks like
a:2:{s:13:”administrator”;s:1:”1″;s:13:”bbp_keymaster”;b:1;}
with admin being the wordpress role and bbp_keymaster being the bbpress role.
A pure wordpress user would look like
a:1:{s:13:”administrator”;s:1}
Now, and this is probably key, when a users registers they just get the wordpress role. When they then log on bbpress sees that it has no role set, so assigns the default role.
Now if emember is writing info to wp_capabilities, it could be overwriting part or the entire array (so by mistake deleting the bbpress role) or appending to it so that bbpress no longer sees it’s role. Then when the user next logs on, bbpress will see no role set, and set it back to the default.
This could explain why users would be going back to default
Hi,
I’m new one in this plugin, i have some doubt, plz clear anybody,
Is it possible to apply age restriction concept in the list topics in the one forum?
I need divide two list 18+ age group and 18- groups in the topics. Already i have applied this concept boddypress activity post list page. So anyone know age restriction apply bbpress plz explain.
Thanks.
the try widget logic
Download “widget logic”
https://wordpress.org/plugins/widget-logic/
This plugin lets you specify conditions for when widget items are displayed.
You would then put all the widgets for both the blog page and the forum page in one sidebar
Against each of these you then specify whether you want it to appear on the forum page, on any page with a sidebar that is not the forum (eg your blog), or on both forum and other sidebar pages.
you do this by putting the following code in the widget logic box that you will see appears against each widget
For a forum sidebar you put : is_bbpress() ie is this page a forum page
For any other sidebar you put : !is_bbpress() ie is this page NOT a forum page
For any item to appear on both, simply leave the logic blank.
Give that a try and come back and let us know how it works
Hey,
Nice plugin. Reduces allot of the headache when it comes to customizing bbpress looks 🙂
One thing I cant get to work around thou is the Forum Template Extras that comes with it. I followed the instructions provided, copied the code from loop-forums.php to my bbpress folder but for some reason the I cant see any effect of it on my forums :(.
I am having the same problem – I have followed the instructions in the codex, and added WP Tweaks, but my custom sidebar for the forum page is not showing. When I go in and edit bbpress.php manually via the editor, the changes show in the sidebar. But when I try to do it via the widgetized area, the bbpress sidebar doesn’t show.
I also tried Robin W’s fix – moving the widgets out of the area and switching off the plugin etc, but that also didn’t work.
I am using a child theme of Canvas, and have also implemented the ‘Fix for BBPress and Canvas (5.2 and higher)’ Fix for BBPress and Canvas (5.2 and higher) –
yes but you’ll need to do some coding
see
http://generatewp.com/shortcodes/
the code would go in your functions file
Functions files and child themes – explained !
and the code you’ll be seeking to shortcode is in
wp-content/plugins/bbpress/templates/default/bbpress/
in particular
wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
Hello everyone, I’m having a problem. I am using something called uerpro, and I integrated it into bbpress, but it now makes it where the profile links to the userpro profiles. This is what I want, but I was wondering if the things like: New posts, replies, signature and everything that was in the bbpress profile page can be put into the userpro profile page. It uses a single page as the template, so if there are shortcodes or something, that would be perfect. Thank you for any help!
Long string in here on how to do it
Full page width with left sidebar twentyfourteen
with a link to another thread
If you fix, come back and confirm what you changed
hmmm, not heard of this in bbpress, I’d suspect emember is having issues with bbpress
i think its custom code that bbpress.org has, but basically its a customized WordPress Admin bar
For the record: it’s bbPress 2.5.4 with WP 4.1
Hello!
I’ve stumbled across that problem today. Let’s say I make a forum of ID 65 private in bbPress’ settings.
Then, somewhere in my template I’m using get_posts to pull some custom post type content which has nothing to do with the forums. When there is no user with sufficient privileges logged in, bbPress adds following SQL to my query:
... INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) ...
and
... AND (
( wp_postmeta.meta_key = '_bbp_forum_id' AND CAST(wp_postmeta.meta_value AS SIGNED) != '65' )
) ...
which always ends up breaking my query, since the posts I’m querying for do not have meta_key entries of ‘_bbp_forum_id’.
I’ve switched the plugin off temporarily, but that doesn’t solve the problem for good.
something like
function rew_max_shown ($args) {
$args['max_num_pages'] = 2 ;
return $args ;
}
add_filter ('bbp_before_has_topics_parse_args', 'rew_max_shown') ;
in your functions file
Functions files and child themes – explained !
use the shortcodes
here is the one for the new topic form
[bbp-topic-form]
https://codex.bbpress.org/shortcodes/
give me your theme name
I have tried using all of the bolded .php page options as well as copying the single.php into the bbpress plug in php page.
to me this sounds like your not doing it right
follow this guide
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
and this too
https://codex.bbpress.org/theme-compatibility/
it could also be a theme or plugin issue.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
the bbpress.org editor is what bbpress has by default you can activate the editor in settings>forums.
other than that you can see what is causing these weird issues .
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
can i create web site like stackoverflow.com with bbpress?
and the users can choose best answer?
i think it might be content-single-user.php in the bbPress templates …im not sure how customizing this file will translate into the BuddyPress menus though.
when theme developers say their theme is “bbPress ready”
it usually means they followed this guide https://codex.bbpress.org/theme-compatibility/
Are there special features included in bbPress ready themes, if so what are the features called?
There could showing post count below the author avatar but you can easily do that by installing Robins plugin https://wordpress.org/plugins/bbp-topic-count/.
I have seen some themes have applied styling to some unread posts plugin , but really nothing too crazy that you cant get with free plugins and doing it manually without causing a hard time developing.
@jmeyer2485
bbpress.org adds that background color around the forum name using this CSS code.
#bbpress-forums p.bbp-topic-meta .bbp-topic-started-in a {
background-color: #328C00;
}
of course you can only see it on super-sticky topics and also when your forum root is showing topics by freshness
@zvonfeng
are you using pieces of this theme https://github.com/syamilmj/Supportte
or did your theme come with that kind of forum layout??
because it says you need to install the search everything plugin for the search bar to appear.
and also i see breadcrumbs by the title.
other than that if you did take parts of the Supportte theme it would be harder to customize than the default bbPress theme.
It appears that I may have this issue. I am trying to set up bbPress for the first time and am being told that I do not have permission to set up a new forum.
My temp site that I am roughing in is m.sqrft.net I have a theory that is related to this thread. This site was copied from http://www.sqrft.net where it had a plugin called “Admin username changer”. One of the first things that I did after the copy was deleted that plugin. When I got this error message and read this thread, my first thought was that maybe deleting it wasn’t enough. Perhaps there was still some embedded something in there someplace. I reinstalled the plugin then used it to change my admin password to admin again then deactivated the plugin.
It still doesn’t work 🙁
WP 4.1/bbPress 2.5.4
Forum
Whenever I try to create a reply I get this message “Reply cannot be empty”.
Obviously the reply isn’t empty at all.
I cannot assume that something this crucial for a forum wouldn’t work, so what am I doing wrong?
Peter
hi Jacob, first of all, P2Breathe is a boring theme, and all those functions are common to install to any bbpress forum.
I would love to see a link to your slowed down website, just to have a look.
I disagree with your initial statements about bbpress not being mature forum software, Vbulletin and IPBoard are both main competitors, but bloated and full of extra functions most forums do not use/need, slowing them down just as much as some plugins can do to bbpress.
BBPress does exactly what they do, and perhaps even more thanks to the wordpress platform and the 1000’s of people on forums developing more every day, ofcourse most plugins are crap (sorry dev’s) just like anything that comes mass produced, but following tips and hints from other users should guide you through the swamp to find the real gems there are available.
For me BBPress is becoming more and more the forum choice by default.
And you mentioned Disquss, so no need to have bbpress concentrate on comments for wordpress since there is already a very good alternative.
Peace
Peter Hamilton
Onlijn.com