Hello,
I installed the latest version of bbpress (2.5.8) and the latest version of WP (4.4.2) and since I installed bbpress any time I try to view or access the forums I get a 404 error. I am using the Postname permalinks and have made sure they are updated. Also I have disabled all other plugins to make sure that they are not the issue.
The link to the forums is here.
I have updated the permalinks and tried everything that I can think of to clear the issue and am not sure what the issue might be.
Hi,
That image has nothing to see with bbPress, right ?
Pascal.
I thank you both. I actually took that advice and got it working now, I used a plugin called my login. And I do have a specific question on this matter though. I have tried the bbp style pack login and this login with my login. neither will let a new user register. But for the bbp style pack they can request a new password. Is there something in the settings I tweek for bbpress to send out the registration email for email confirmation? Also this isn’t a functioning website yet its all backend. I’m the only one that can veiw it, that I know of LoL. Thanks for the help, I’m actually learning alot!
John
Dear Experts, need your help desperately. I have the latest of everything.
I am using optimizepress theme and have successfully used BBPress before. But the last time I checked it was quite a while ago, and now when I try to access the forums, I am being taken to the Optimizepress blog setup page and then redirected to the wordpress dashboard.
I received this response from Optimizepress tech support:
========
My suggestion would be to check with bbpress to see if something is not setup correctly. I’m afraid our support for bbpress is quite limited so all we can really do is check on our end for issues with OptimizePress, and I don’t see any.
Your blog works fine so there is probably something going on within bbpress that is conflicting.
Usually when we see issues like this where the blog setup shows it is a permalink conflict of some kind.
I would suggest deactivating plugins to see if perhaps something is going on between another plugin you have and bbpress. I don’t really think this is coming from OptimizePress specifically as we haven’t seen this exact issue on sites that just run bbpress and OptimizePress.
========
So I created a staging site, and deactivated all my plugins except BBPress, and Optimizemember, the membership plugin. I still have the same issue.
I have attached the image of the page below.
CLICK TO SEE THE IMAGE
I think #2258 is pretty complex to implement but possible. Might take some days to do it i guess.
Here is my workaround:
in functions.php:
/**
* for nicer permalinks:
*
* from: forums/forum/name -> to forum/name
*
* also required rewrite rules below in myThemeName_addRewriteRules
*/
function myThemeName_bbp_get_forum_permalink_withoutRootSlug() {
return preg_replace( '/(' . bbp_get_root_slug() . '\/)/', '', bbp_get_forum_permalink());
}
function myThemeName_addRewriteRules() {
/**
* add rewrite rules for bbpress
*/
// use this to test instead of clicking Save Changes in Settings -> Permalinks
// global $wp_rewrite;
// $wp_rewrite->flush_rules();
add_rewrite_endpoint(get_option('_bbp_forum_slug'), EP_ROOT);
add_rewrite_rule('^'. get_option('_bbp_forum_slug') . '/(.*)?','index.php?post_type=forum&name=$matches[1]');
}
add_action('init', 'myThemeName_addRewriteRules');
Replacement in my custom loop-single-forum.php:
<a href="<?php echo myThemeName_bbp_get_forum_permalink_withoutRootSlug(); ?>">
Default bbpress templates use it at more places than my theme:
Found 5 matches of bbp_(get_)?forum_permalink in 4 files.
loop-search-forum.php
<a href="<?php bbp_forum_permalink(); ?>" class="bbp-forum-permalink">#<?php bbp_forum_id(); ?></a> [position 18:18]
<h3><?php _e( 'Forum: ', 'bbpress' ); ?><a href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a></h3> [position 26:58]
loop-search-topic.php
<a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a> [position 41:19]
loop-single-forum.php
<a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a> [position 32:42]
loop-single-topic.php
<span class="bbp-topic-started-in"><?php printf( __( 'in: <a href="%1$s">%2$s</a>', 'bbpress' ), bbp_get_forum_permalink( bbp_get_topic_forum_id() ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></span> [position 68:102]
Feel free to hit the Flattr Button on my page: az.zankapfel.org
Update: Seems that the breadcrumbs need a hack too… 🙂
all themes allow a child theme – it is a wordpress thing not a theme thing. They won’t ‘support’ as in give you free help to set up and run.
see
https://codex.bbpress.org/functions-files-and-child-themes-explained/
As Pascal says, we can help with specific queries, but not in a full set-up. But googling around will fix a lot of what you’re asking.
Ahhh, correct, I had already opened a bug for that: https://bbpress.trac.wordpress.org/ticket/2906
I’m checking if there is a wordaround…
Hi.
Im using motoblog theme from wolfthemes. After installing bbPress forum plugin i had issue with content wrapper. In the custom css section added fief lines:
#bbpress-forums {
width: 92%;
max-width: 1140px;
margin: 0 auto 30px;
}
But i still have the problem with bbp-forum section image: http://imgur.com/2cGasYv
Can someone please help me with this problem? I zoomed out page to create image.
Hi,
But do you really have a reply or is there just a counter that says 1, but there is no reply ? If there is no reply, I suspect a theme issue, so try to see in a different theme if you have the same issue.
If you want to ‘protect’ your forum so that only e.g. administrators and moderators can add topics, then have a look at my ‘bbP Toolkit’ plugin. (note: it works on bbPress forums, not on BuddyPress ones for now).
Pascal.
that’s interesting, I hadn’t spotted that bbpress did that, I just tested it.
Let me have a quick look to see if I can work a fix for that.
When I set up a user profile by going to my users in WP, is there a way I can make the bbpress forum role dropdown option show up in addition to the general user role dropdown?
I found an answer that solves my question here:
Meta Title for Profile Pages w/ Yoast SEO
For those who want to noindex in particular the replies of all mebers just add
<META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW” />
to the “user-replies-created.php” in the folder
wordpress > wp-content > plugins > bbpress > templates > default > bbpress
I have looked at the function. I even found it in the source code (which of course is the same as above).
I’m just curious why I’m not getting an array back, as the source code says:
(array|bool) bbp_get_user_topics_started( $user_id = 0 );
When I send it 1 for user_id, which I know has created 2 topics, (and those topics are shown on the bbpress profile page), I can only get an boolean back. Is there something I need to do to get an array of topics a user started other than this? Am I using the function wrong?
Sorry. Still confused.
Thanks.
if it isn’t still a caching 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 twentyfifteen, and see if this fixes.
Then come back
Follow up:
I copied the folder bbpress from:
wp-content/plugins/bbpress/templates/default
Into my theme’s directory and made the necessary changes there and it seemed to resolve the problem.
Hopefully this helps out other developers in the future!
Yes, switching to non-formal Dutch was another option 🙂
But I thought Formal was a ‘must’ for you.
Happy to see you’re fixed, enjoy bbPress.
Pascal.
I’ve pasted code into functions.php files, almost anywhere I can
There is only 1 (one) functions.php where you should paste it and that’s the one in your (child) theme.
all the solutions offered take me nowhere
I have put all the code that I have on https://bbpress.org/forums/topic/setup-login-for-private-forum/. If you only go for the code, then make sure to deactivate any other redirection and/or security plugins (at least for the test).
the site is at tec.selwood.me
You are missing the ‘Email’ label under the forgot your passsword on the log-in page
Pascal.
Ok, so I’m setting up my new bbPress forum and have come across a problem that I just can’t fix. It’s the redirection to the wp-login screen after registration. I’ve scoured these forums and all the solutions offered take me nowhere. I’ve installed 3rd party plugins (like Pete’s) but there is just no changing the redirect. I’ve pasted code into functions.php files, almost anywhere I can, but all it’s doing is going back to the damn wp-login page!
I am going insane here trying to make this work.
Latest WP version, latest Lincoln Education WP theme, latest bbPress version and the site is at tec.selwood.me
Hello, Is there a way to Display Topic Tag Description as Meta Description. That is the way it works in WordPress Tags but unfortunately Meta Name=”Description” is missing in the current version of BBpress.
Wordpress: 4.3.3
bbPress: 2.5.8
I’m not sure if this is where I should ask this. I am trying to create my own gui under the author profile in wordpress that combines several different plugin information in one place. I thought bbp_get_user_topics_started() would return an array of the topics a user created, but instead I get boolean true.
ie: $user_id = 1; $result = bbp_get_user_topics_started($user_id);
Now it correctly tells me that user_id 1 has created topics, and bbp_get_user_topic_count_raw returns the right number of topics. Am I using this function incorrectly?
Ok, you need to amend some templates and put these into your child theme
https://codex.bbpress.org/functions-files-and-child-themes-explained/
Sub-forum removal
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
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this to remove the sub forums
line 44 says <?php bbp_list_forums(); ?>
delete this line and the sub forums will go !
forum posts
do the same as above, but for content-single-forum
and then take out line 26 that says
<?php bbp_single_forum_description(); ?>
bbpress looks different on every theme so we need to see yours
So can you
a) post a url to your site and in particular an example page
b)state exactly what items you want larger smaller