I have set up a website for a local horticultural society with a forum restricted to society members. For the forum, I’m using bbpress; for the membership registration I’m using Simple WordPress Membership. I’m using the customizr theme and the latest version of WordPress. My problem is that, with our 1st topic, the first reply is hidden. I cannot find a way of unhiding it. I’ve posted a reply myself, which is visible, and tried reposting the text of the hidden reply. When I do this, I get van email altering me to the reply but still nothing is visible on the website. Please can someone help? The website is http://www.growchiswick.org.
Many thanks,
Jo Hodges
Hi guys!
looking at these forums, I can see the @name name is printed beneath the profile picture.
How can I turn this on in my website?
I’ve uploaded a beta of my website here
Is there an auto suggestion option for the mentions?
example, if somebody starts typing @bor
he/she will be suggested @boris-kamp?
Thanks!
I just installed bbpress on a brand new site. I have created a couple of test forums and topics. On the forum root it shows that there are topics and posts in the forums. However, when I click on a specific forum to view the topics, I get the following message: “Oh bother! No topics were found here!”
By way of troubleshooting, I tried another WordPress theme. It worked, and the forums displayed as they should. Is there a way I can keep my current WordPress theme from conflicting with bbpress? I have no idea what is causing the conflict, only that it is being caused by the theme I am using. I don’t want to change themes, either.
This plugin is great (from what I’ve seen so far while testing)
Thanks for posting the link.
I hope this sort of feature can become part of the core bbpress plugin in future.
It does seem tricky to set this sort of thing up (hopefully to be improved in future versions of bbpress?).
One way to do this, although not the most robust option, would be to simply hide the new topic form for everyone but keymasters/admins when viewing that particular forum.
I will assume you are accessing your new topic form when viewing the individual forum (it’s trickier if you are using the new topic form where you choose which forum to post to instead of/as well as individual forms in each section. This is what’s used here on the bbpress.org forums for example. If you need a solution for this as well let us know, I’m sure someone can explain how to do that)
This is just off the top of my head and not tested (hopefully someone more experienced will be able to advise better) – in wp-content/your-theme/bbpress/form-topic.php (create this file if it’s not already in your theme, copy the original from wp-content/plugins/bbpress/templates/default/bbpress/
At the top of the file, after this code:
<?php
/**
* New/Edit Topic
*
* @package bbPress
* @subpackage Theme
*/
?>
Add this code to check if you are in your news forum (here I’ve used forum id ‘5’ as an example, you’ll have to find the specific id for your forum) and if the user is an admin (there may be a better to do this using the keymaster role instead of the usual WP role but I don’t know about that):
<?php if ( bbp_is_single_forum( '5' ) && current_user_can( 'manage_options' )) : ?>
Then at the very end of the file close the if statement by adding this:
<?php endif; ?>
That should work as far as I know but I am still finding my way with bbpress so can’t say for definite. Good luck!
Hello,
My search function didn’t work for a good while (a search was redirecting to the homepage), and I realized today that it was an issue with buddypress or plugins I used with buddypress.
Now that I disabled Buddypress, I can now search the forum again but unfortunately, the search results are protected by a password.
I use s2member to protect one of my forum, so it is only accessible to subscribers, but all the other forums are opened. I tried to lift the s2member block of the subscribers forum but still the same thing happens anyway.
I also tested the issue with twenty fifteen and the same thing happened.
I am using bbpress Version 2.5.7, WordPress Version 4.2.2
Site is http://www.tourdecartes.com
Any help would be greatly appreciated 🙂
Emmanuel
hmmm you might need @netweb’s help on this one.
You might need to update phpBB (but not to the latest 3.0) but I am not entirely sure.
I just ran a test, – tried to import just 2 replies (by DB), – see white page (No data received ERR_EMPTY_RESPONSE) @ the “Replies” section in admin.
After i ran “Recalculate the parent topic for each post”, “Recalculate the parent forum for each post”, “Recalculate the position of each reply” – problem get fixed.
Now i import all the 3M+ replies. I’m able to run only “Recalculate the parent topic for each post”, “Recalculate the parent forum for each post”. “Recalculate the position of each reply” fails with white page. The “Replies” section in admin is white (((
nsParticipant
Hello.
I’d like to solve problem.
Would anyone answer to my problem?
Firstly, the conditions of WordPress, bbPress, design theme, plugin, and function.php are below.
Wordpresss: Latest version
bbPress: Latest version
design theme: Original building
plugin: introduced “bbPress – Sort topic replies”.
The settings of this plugin are “Global:Descending”, “No Parent:Default”, and “Always show lead Topic:Yes”.
function.php: Below code exists.
add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
function change_reply_order() {
$args['order'] = 'DESC';
return $args;
}
add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
function custom_bbp_show_lead_topic( $show_lead ) {
$show_lead[] = 'true';
return $show_lead;
}
Then, here is main topic.
The function of bbPress itself is that after the user replies to the parent topic in topic page, next screen shows the last page(the page of max number) if the pagination shows.
With the setting of “bbPress – Sort topic replies” plugin is under “Global:Descending”, the redirection which I expect is to go to the first page.
I think that this solution isn’t https://bbpress.org/forums/topic/new-replies-redirect-to-last-page/
I’ve searched and tried to solve the problem, however I can’t find the solution.
I wonder my current settings or ways might be wrong.
Thanks.
Same Issue, I am using the latest version of bbpress and buddypress.
Strict Standards: Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /Applications/MAMP/htdocs/supernova/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28
I’ve been working hard at setting up a site for my podcast and things had been going swimmingly, but while looking around at some RSS feed import widgets and such today, somehow I seem to no longer have working BBpress forums. It doesn’t seem like it would be related, but who knows?
The forums still show in my dashboard, and I was able to create a forum page by hand and get it to show the index with shortcode, but when I click on any of the forum links, it gives me a page not found error. It seems to do so even if I swap to one of the bundled 201x themes.
The RSS widget I was testing out is RSS Multi Import 3.15 and I’m running WordPress 4.2.2 with the Generate Press theme 1.2.9.8 and BBpress 2.5.7. Website is http://www.whitebookpodcast.com.
I’m a quite a newb to delving in to WordPress stuff, so I have to admit that I’m at a loss. Any thoughts on possibilities?
That’s why I installed it.. Testing the code and by the time my forum is done bbPress 2.6 will be released I hope.
But still, a missing core stylesheet?
Some developer who has worked last on the code should’ve mentioned it don’t you think, maybe the developers have some fancy tool where they test/fork the alpha and beta versions with?
I just downloaded the latest version (trunk) of the trac website.
https://bbpress.trac.wordpress.org/browser/trunk ( bottom – download .zip )
Hello Friends, I need your help. How to get the latest reply on the top of the page. I tried a lot. But not got the solution. Where is the SQL has been written for getting the latest replies on top. Help me out please 🙁
Why is this topic not showing at index page? -test.
I’m implementing derricksmith01’s solution but I couldn’t find this file in the latest version of buddypress (Version 2.2.3.1):
/buddypress/groups/single/plugins.php
but found it here:
plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/plugins.php
His solution worked (awesome!!!!) but only when I modified both my functions.php file in my child theme and the plugins.php file in the core files. The plugins.php mod will get erased with the next buddypress update. I tried recreating the same file structure to house the plugins.php file in my child theme:
childtheme/buddypress/bp-templates/bp-legacy/buddypress/groups/single/plugins.php
but that did not work either.
Any one know if derricksmith01’s fix is possible without changing a core file?
Great thanks – it should work, just I haven’t tested !
Hi there – thanks so much for your help so far. I did some more tests and I just cant get it to work (so looking forward to your template or codex changes.
To summarise:
1. I was only using WPtweaks to tell it which page to use as a template but no matter which one I told it to use – it didnt work. Have since de-activated
2. If I add the short-code to a custom page using the page.php code it works
3. It doesnt matter if the default forum uses index.php or page.php – it doesnt work.
4. I have sequentially copied pages.php and index.php and made them bbpress.php and each time I can see that the default forum is using it, and each time it doesnt work
So i guess I need a generic index.php that will work (which I think you said you were producing) OR some workaround so the generic forums page doesnt appear in the directory path
did you copy it correctly I just tested it out and pasted it right from my functions.php file
Im going to paste it again just in case it was me that forgot something.
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 24;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
/* Add priority (default=10) and number of arguments */
add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
use this PHP function to resize the small avatars
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 24;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
/* Add priority (default=10) and number of arguments */
add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
The CSS you would have to use now is
#bbpress-forums .bbp-author-avatar .avatar-24 {
width: 24px !important;
height: 24px !important;
padding: 0 !important;
border: none !important;
}
and you can remove the first function i gave you to test with
@van24
yeah i tested it and it seems to work good.
and yes the PHP code snippets you can add to a child themes functions.php file.
@juggledad
@robkk: Just to clarify something, the OR function_exists(‘is_bbpress’) was added (with some other code, to get around a bug that bbpress doesn’t seem to want to acknowledge or fix. see https://bbpress.trac.wordpress.org/ticket/2723
Thanks for pointing that out, i did not know about that bug.
Okay with this bug in bbPress you cannot use the WP conditional is_single()
to affect all of the bbPress pages, since for some reason there is a bug for single user pages.Thanks for creating the trac ticket, I tested out and see that yes it does not work on user pages. Over the next few days/week i will check it out and see I can come up with a fix.
But this bug is easily avoidable by creating a bbpress.php for your theme and just using the_content()
instead of bfa_post_bodycopy()
and removing OR function_exists('is_bbpress')
from the bfa_post_bodycopy()
function. The bbpress.php file also helps remove other post meta that might not be useful for bbPress forums instead of using CSS to hide them.
The OR function_exists('is_bbpress')
you can keep in bfa_get_options.php though as i do not see any problems with that.
If there is something you can find on your end to fix the issue with your theme and bbPress then please drop an answer on this topic, because i haven’t looked and learned your theme 100% yet. Removing the function exists and creating a bbpress.php is the quickest solution to the problem that I could find.
@kitfreeman
This excerpt issue that you are seeing affects all of these areas
category pages
tag pages
author pages
archive pages
search result pages
and the home page
which is where all the excerpt theme settings modify.
Thanks Robkk! Let me know if/when you manage to test it. Would the php just be added to functions.php?
I am a little confused on how and when updates are included in the released versions.
Specifically, I am working on converting / importing a forum, but have run into errors, such as the sync table not being created. I do a Google search and find this –> https://bbpress.trac.wordpress.org/ticket/2650 which states that the problem has been corrected. Great!
The problem is, the code shown here –> https://bbpress.trac.wordpress.org/changeset/5525 is not included with bbPress version 2.5.7, which is the latest release as of this writing. Lines 1023 through 1038 do not exist (just as an example as they are only comments… I picked this as it was easy to spot and just for reference).
In fact, there are a bunch of things that are said to be fixed in the Trac (Thanks, Stephen), but they do not appear to be included with the official release of bbPress.
Am I missing something?
(Just a comment, but it would be nice to have version info in the headers of files as I cannot tell which version of converter.php is included with 2.5.7 without doing a diff on them and figuring it out from GIT.)
Hi Rob,
i mean like does the issue show up in gmail?? why not try in ymail or outlook to see if the emails are just buggy in one place.
Oh! I understand your question now (I thought you meant for sending the mail, which I think wordpress does). No, all my users can see it, so it’s happening in all email providers.
if you havent already you might need to deactivate all plugins but bbPress in your test site.and hopefully see if that fixes anything.
Okay. I’ll give that a shot. I think I tested that before, but I’m not sure now. I’ll try contacting siteground support about it again as well.
Thanks for your help.
Anne.
this has something to search by user.
its not a plugin more of a file to put in a folder called bbpress in your child theme and some PHP code snippets but i will test it out to see if it works.
https://github.com/MateuszNowicki/bbpress-Advanced-Search