Hi, in group forum or forum alone page it shows in first line ” This forum contains 2 topics, and was last updated by Drishti Connect 4 days, 23 hours ago.” and below it display “Oh bother! No topics were found here!” my wordpress ver is 4.9.8 | bbpress ver is 2.5.14 | buddpress ver is 3.1.0 and my theme is PE School by PixelEmu. its work fine with Twenty Seventeen wordpress theme.
my problem is that my site will be used by blind people and it need to be 100% accessible and PE School theme provide me the same. our theme provider are not ready to support voluntarily.
website link – https://drishticonnect.antardrishti.org/groups/visually-impaired/forum/topic/this-is-test-msg/
Any suggest/help will be great to support blind people.
thanks
Hi,
PHPBB is now on 3.22 . Apparently a bunch of the table columns have changed.
I’m willing to install bbpress 2.6 to see what happens, I have installed a test wordpress site, but I can’t seem to find where to download it.
Any info about converting a 3.22 PHPBB database?
Thanks for your reply. I’m not running caching plugins or software but I am running Cloudflare. However I believe this only caches static resources.
When a newly registered user tries to post they get this error:
ERROR: Your topic cannot be created at this time.
Nothing is shown in the logs.
I will do the usual testing of disabling plugins and using a standard theme. But do you have any idea how to debug this and track down where this error message is generated?
We do have a long list of moderated words which I suppose may be causing the issue.
Argh, I just tested it with a blocked dummy account and the replies still come through, unfortunately. đ
So you’re saying the only thing I should have to do is change the Forum Role within WordPress>Users to “blocked” and this should work, correct?
that error suggests that your theme Stockholm and file js/plugins.js is the problem.
So it initially looks like enabling tinymce within bbpress is calling the tinymce or other code within your theme – the bbpress code you are using just turns on the wordpress function.
to prove, try switching as a test to a default theme, such as twentyseventeen and see if the error goes away
rewrite rules
This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.
or
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
suspect that @p30better is just posting spam.
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
Hi, I installed the plugin and changed the settings according to my needs. I did some tests. the forum is created correctly. I tried to create a discussion but unfortunately they are not displayed on the website. here the link. where am I wrong? thank you
Hello, I would like you to help me, I have been testing bbpress because they told me to create a forum for the web of my work and I have a problem. When I create a topic and click on the edit button that brings bbpress, it redirects me to a page that does not exist or that is not activated, I suppose. For example, if the topic is called a test, it redirects me to *** / test / edit / I hope you understand me. Well, edit does not exist … I can edit the topic from dashboard of wordpress but the idea is that users who register and create a debate can edit it …
The same thing happens to me when click on the username that created the topic and when click on merge . Those three links respond to a message from my website (page not found) edit, merge and the user.
I can not show you the web link because it belongs to a private network.
I’ve already tried disabling all the plugins, changing the theme and finally a wordpress mounted on my laptop to test and nothing.
please help
Jose Bulies
Hi,
Thanks for the rating!
As for the Thanks, the plugin adds buttons for topics and replies (you can choose in the settings), and you have an option for topic/reply author to get email notification when the thanks are saved. And, there are new topics views to show topics with thanks to the current user.
If you want to see it in action, register for a free account on Dev4Press.com, and check out the support forums (in General, any one can post): https://support.dev4press.com/forums/forum/general/.
Let me know if you have any more questions, and if you want to live test the plugin, you can open Demo Request: https://www.dev4press.com/request-demo/.
Regards,
Milan
I am on the latest version (3.1.0) of bbPress and I have enabled Reply Threading in the Settings; however, my replies are still showing at the same level as the original message. I am using the Enfold theme.
Is this an issue with the latest version or is there something else I need to do to enable it?
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
ok, so this works on my test site
in discussions-replies
<?php add_filter ('bbp_before_has_replies_parse_args' , 'rew_filter_for_user' ) ?>
<?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php bbp_get_template_part( 'loop', 'replies' ); ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php else : ?>
<p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
and in functions
function rew_filter_for_user ($args) {
$uid = bbp_get_current_user_id();
$args['author'] = $uid ;
return $args ;
}
let me know if it works on yours
access wont help.
I am trying to replicate your situation on my test site, where I have tools that do lots of things for me.
So what I need is how you get to make https://obeii.com/discussions/replies/ do what it does.
for instance
create a page called x in wordpress, put this in it
put the template file in folder y called z.php
ie all the steps I need to recreate the issue. I can hopefully fix.
Hi Robin,
I’m pasting what I’ve wrote in earlier messages as the issue hasn’t changed. Feel free to access these pages through the login as I think that will help clarify things.
The âReplies Createdâ template is replacing the one originally within the buddypress profile section. It currently displays a list of all global replies within the forum, versus just the current user’s replies.
(https://obeii.com/discussions/replies/) (testuser / test1234)
<?php
/*
Template Name: Discussions Replies Created
*/
get_header();
?>
<div class="sub-nav-container">
<div class="sub-nav-pagetitle">
<h1><?php the_title(); ?></h1>
</div>
<div class="sub-nav-about-menu">
<?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?>
</div>
<div class="sub-nav-extramenu">
</div>
</div>
<div id="gp-content-wrapper" class="gp-container">
<?php do_action( 'ghostpool_begin_content_wrapper' ); ?>
<div id="gp-inner-container">
<div id="gp-content">
<div class="gp-entry-content">
<div id="bbpress-forums">
<?php do_action( 'bbp_template_before_user_replies' ); ?>
<div id="bbp-user-replies-created" class="bbp-user-replies-created">
<div class="bbp-user-section">
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php bbp_get_template_part( 'loop', 'replies' ); ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php else : ?>
<p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<?php get_sidebar( 'left' ); ?>
<?php get_sidebar( 'right' ); ?>
</div>
<?php do_action( 'ghostpool_end_content_wrapper' ); ?>
<div class="gp-clear"></div>
</div>
<?php get_footer(); ?>
The âSubscribed Forumsâ template is also replacing the one originally within the Buddypress profile section. It currently ignores the current user and claims they have no content even though they do. The page also contains âSubscribed Topicsâ using similar code, which that sections works as expected with no known issues.
(https://obeii.com/discussions/subscriptions/) (testuser / test1234)
<?php
/*
Template Name: Discussions Subscriptions
*/
get_header();
?>
<div class="sub-nav-container">
<div class="sub-nav-pagetitle">
<h1><?php the_title(); ?></h1>
</div>
<div class="sub-nav-about-menu">
<?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?>
</div>
<div class="sub-nav-extramenu">
</div>
</div>
<div id="gp-content-wrapper" class="gp-container">
<?php do_action( 'ghostpool_begin_content_wrapper' ); ?>
<div id="gp-inner-container">
<div id="gp-content">
<div class="gp-entry-content">
<div id="bbpress-forums">
<div id="bbp-user-subscriptions" class="bbp-user-subscriptions">
<h2>Subscribed Forums</h2>
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'forums' ); ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php bbp_get_template_part( 'pagination', 'forums' ); ?>
<?php else : ?>
<p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p>
<?php endif; ?>
<br><br>
<h2>Subscribed Topics</h2>
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_topic_subscriptions( $uid ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
<?php bbp_get_template_part( 'loop', 'topics' ); ?>
<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
<?php else : ?>
<p><?php _e( 'You are not currently subscribed to any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php get_sidebar( 'left' ); ?>
<?php get_sidebar( 'right' ); ?>
</div>
<?php do_action( 'ghostpool_end_content_wrapper' ); ?>
<div class="gp-clear"></div>
</div>
<?php get_footer(); ?>
Looking for an admin panel plugin to be able to monitor latest posts and replies.
Also, a word blocker plugin would be great too.
I see a couple admin panel plugins but they are 3 software versions old.
Any suggestions?
Much appreciated.
Kindest,
Robert
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
ok, the best I can suggest is that you create a test site where you can try a different theme to eliminate
Creating a Test Site
Hi Robin,
The ‘Replies Created’ template is replacing the one originally within the buddypress profile section.
(https://obeii.com/discussions-replies-created/) (testuser / test1234)
<?php
/*
Template Name: Discussions Replies Created
*/
get_header();
?>
<div class="sub-nav-container">
<div class="sub-nav-pagetitle">
<h1><?php the_title(); ?></h1>
</div>
<div class="sub-nav-about-menu">
<?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?>
</div>
<div class="sub-nav-extramenu">
</div>
</div>
<div id="gp-content-wrapper" class="gp-container">
<?php do_action( 'ghostpool_begin_content_wrapper' ); ?>
<div id="gp-inner-container">
<div id="gp-content">
<div class="gp-entry-content">
<div id="bbpress-forums">
<?php do_action( 'bbp_template_before_user_replies' ); ?>
<div id="bbp-user-replies-created" class="bbp-user-replies-created">
<div class="bbp-user-section">
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php bbp_get_template_part( 'loop', 'replies' ); ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php else : ?>
<p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<?php get_sidebar( 'left' ); ?>
<?php get_sidebar( 'right' ); ?>
</div>
<?php do_action( 'ghostpool_end_content_wrapper' ); ?>
<div class="gp-clear"></div>
</div>
<?php get_footer(); ?>
The ‘Subscribed Forums’ template is also replacing the one originally within the buddypress profile section. It also contains ‘Subscribed Topics’ using similar code and that sections works as expected.
(https://obeii.com/discussions-subscriptions/) (testuser / test1234)
<?php
/*
Template Name: Discussions Subscriptions
*/
get_header();
?>
<div class="sub-nav-container">
<div class="sub-nav-pagetitle">
<h1><?php the_title(); ?></h1>
</div>
<div class="sub-nav-about-menu">
<?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?>
</div>
<div class="sub-nav-extramenu">
</div>
</div>
<div id="gp-content-wrapper" class="gp-container">
<?php do_action( 'ghostpool_begin_content_wrapper' ); ?>
<div id="gp-inner-container">
<div id="gp-content">
<div class="gp-entry-content">
<div id="bbpress-forums">
<div id="bbp-user-subscriptions" class="bbp-user-subscriptions">
<h2>Subscribed Forums</h2>
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'forums' ); ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php bbp_get_template_part( 'pagination', 'forums' ); ?>
<?php else : ?>
<p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p>
<?php endif; ?>
<br><br>
<h2>Subscribed Topics</h2>
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_topic_subscriptions( $uid ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
<?php bbp_get_template_part( 'loop', 'topics' ); ?>
<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
<?php else : ?>
<p><?php _e( 'You are not currently subscribed to any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php get_sidebar( 'left' ); ?>
<?php get_sidebar( 'right' ); ?>
</div>
<?php do_action( 'ghostpool_end_content_wrapper' ); ?>
<div class="gp-clear"></div>
</div>
<?php get_footer(); ?>
I know you have done plugins in turn, but all at once ? – usual advice is
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
untested but try
<?php add_filter ('bbp_before_has_replies_parse_args' , 'rew_filter_for_user' ) ; ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php bbp_get_template_part( 'loop', 'replies' ); ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
and in your functions file put
function rew_filter_for_user ($args) {
//not sure if the next two lines are needed, so have commented out
//global $current_user;
//get_currentuserinfo();
$uid = bbp_get_current_user_id();
$args[‘author’] => $uid ;
return $args
}
loop-replies from memory has the ‘no relies’ part in it, so you shouldn’t need the ‘if’ statement
I’m really pushed at the moment hence no time to test, but if it doesn’t work come back, and if I get time I’ll load it to my test site and debug
Hi Robin
I was using your BBP Style Pack plugin already as it’s a very useful plugin. I’ve just updated to the lastest version and set the number of forums in the new feature under Forum Display – which works great.
Thank you kindly for your time and for the very useful update to the plugin.
Regards
Ash
Hi there,
Iâm trying to write some advanced search functions for BBpress. One of these should let people search only in the forum or subforum they currenty are in. I followed several examples posted on the net and tried to refine them myself.
Unfortunately, I am experiencing a problem with the bbp_forum_get_subforums fuction.
The fuction I am writing should be able to get the list of subforums present in a category type forum when the search is fired from a category type forum.
The code is as follows:
//If the forum is a category, then search in all the subforums
if( bbp_is_forum_category($forum_id)){
$sub_forums = bbp_forum_get_subforums($forum_id);
$subforum_id = array_column($sub_forums,'ID');
$min_subforums = min($subforum_id);
$max_subforums = max($subforum_id);
$r['meta_query'] = array(
array(
'key' => '_bbp_forum_id',
'value' => array($min_subforums,$max_subforums),
'compare' => 'BETWEEN',
)
);
}
Unfortunately, bbp_forum_get_subforums($forum_id) gives a false result.
Strangely enough, if I try to put the same code in a fuction and add it with âadd_actionâ to a forum page, it gives me the corret list of subforums if the current forum is a category.
Can someone please help me addressing this problem? I am using the latest version of WP and BBpress.
I am having issues placing a current user’s ‘Replies Created’ and ‘Subscribed Forums’ within their unique templates. See below.
‘Replies Created’ (login testuser / test1234)
https://obeii.com/discussions-replies-created/
Code seems to just want to display all replies instead of the specific users. How can this be corrected to be filtered to that specific user?
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_replies_created( $uid ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php bbp_get_template_part( 'loop', 'replies' ); ?>
<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
<?php else : ?>
<p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
‘Subscribed Forums’ (login testuser / test1234)
https://obeii.com/discussions-subscriptions/
It works fine for ‘Subscribed Topics’ below the item, however ‘Subscribed Forums’ comes up empty with no results. Any clue on why that is?
<h2>Subscribed Forums</h2>
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?>
<?php bbp_get_template_part( 'pagination', 'forums' ); ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php bbp_get_template_part( 'pagination', 'forums' ); ?>
<?php else : ?>
<p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p>
<?php endif; ?>