Hi!
Thank you for the release.
The top level forum issue is now fixed.
Unfortunetly, there is no change about the search functionnality.
When testing the new release :
1- I deleted definitly forums and recreated new ones, with new names and new slugs. I kept existing groups (that were already defined in the plugin settings) and existing users settings. And, of course, I created new topics using various logged in users.
Then I made some tests.
2- I changed forums slugs and made some tests again : it seems to be ok (except for the search).
I’m really embarrassing with the issue related to the not filtered search results list because I will be forced to disable search functionality in bbPress settings.
Do you think it should be fixed or it is linked to my own configuration with no hope to repare it?
Regards
m.
An easy way to achieve the second option would be to copy paste this code at the end of the file named functions.php in your current theme folder.
Make sure to create a backup of the file functions.php first. And always do the changes on a test server, not the live one.
function rsb_limit_posting( $retval ) {
// count topics of the current user
$topic_count = bbp_get_user_topic_count_raw( get_current_user_id() );
// if they are 10 or more, do not allow him to create new topic
if ( $topic_count > 9 ) return false;
// otherwise return the default
return $retval;
}
add_filter( 'bbp_current_user_can_access_create_topic_form', 'rsb_limit_posting' );
The code above hide the “new topic form” for users who posted 10 or more topics.
Hope it helps… good luck!
There is nothing you need to remove manually, if you go to Tools -> Forums -> Reset Forums all bbPress data will be deleted from the database.
If you are changing the user ID directly in the database and ‘do it wrong’ you are most certainly going to have permission and capability issues with the user ID.
You should create a new user, assign them the WordPress ‘Administrator’, then assign the bbPress role ‘Keymaster’. Logout of your current admin account and test your new admin account. If everything works and you have transferred any posts, pages, forums, topics, replies etc to the new user then go ahead and delete the old account once you have confirmed ‘all the things’.
Note: Your posts were being picked up as spam by Akismet for some reason that is why they didn’t show up.
This will be a theme issue, you can confirm this by testing with the Twenty Fourteen theme.
On my local server search results URLs get pretty permalinks and search works. On my live server the query string is shown and no search results are returned.
I did a test by manually entering the search URL as it was prettyfied on my local server and surprisingly search works.
The search URL that bbPress returns looks like this and returns no results:
http://www.onedesigns.com/support/search?action=bbp-search-request&bbp_search=pinboard
The prettified link for the same search looks like this:
http://www.onedesigns.com/support/search/pinboard
So the search engine works and apparently it’s the permalinks that cause the issue. Changing or resaving WordPress’ permalink setting didn’t make any difference.
A var_dump
for bbp_search
returns NULL.
The only difference between my local server and live server is that on my local server I use Apache and on my live serve nginx + Varnish.
Is there any incompatibility between bbPress and nginx or Varnish? Are there any permalink configurations I must apply?
Thank you
Is this even possible? I got hit by multiple progressive spam bots and am stuck with 12,000 posts to delete, but no dev team to upgrade forums to latest version. I need a plug in or work around to help me delete all these spam posts.
Any ideas?
I installed BBpress on wordpress, but when using HTML tags then these are not working.
They are also not white or anything, it’s totally not in the post. Bold, Italic etc are working fine.
For example which code is not working:
eg
http://www.naturalparenting.com.au/natural-parenting-forums/topic/what-did-your-babies-weigh-at-birth/
I have tried everything. I figure its something simple but cant work it out
Latest wordpress and bbpress version.
I’ve just started working on a plugin that will have some additional shortcodes in it
the only functional one so far is the ability to show the latest xx topics
you can download it from here
bbp additional shortcodes
you use the shortcode
[bbp_display_topic_index show=’5′]
OK Guys,
I worked this out it is definitely linked to the memberships plugins being used. I found that for non members they were not seeing the first post. I then disabled the membership plugin and found that the non members could now see the first post.
I re-enabled the membership plugin (Paid Membership Pro) and looked for a setting which might be causing this behaviour. I found it in PMPro – Membership>Filter searches and archives? I set this option to “No – Non-members will see restricted post/pages in searches and archives”. and tada it is now working.
This setting’s description is a little misleading on first glance but I assure you non-members will not see restricted forums or topics.
I know other people have has similar success in their chosen membership plugin so look for that elusive setting and test it out.
Cheers
Camo
I would like to display the latest 5 topics, exactly as displayed on the homepage of bbpress. How do I go about this, I can’t seem to see a shortcode that would work?
but i donโt want this boring theme
Yes, I know that – it was simply to test that it was a theme issue
as I said before
youโll need to contact their support site for this as itโs a paid theme
http://themeforest.net/item/x-the-theme/5871901/support
they should be able to help you
Themes can be very complicated, and we don’t offer a service to make bbpress work with bespoke/paid themes – that is for the theme authors to do ๐
Strange the things you don’t put in your testing – a top level forum was one I didn’t test! ๐
I’ve now worked a fix for this, but before I release it, I just want to check back on the search issue.
Search should hide both ‘private group’ topics and replies from search results as though they don’t exist, and this works in my test site.
Can you confirm that this is still an issue? and which version of the plugin you are using?
Hi,
I have the latest bbpress and have it set to allow anonymous users to post/reply. While they can post and they can see my replies to a thread (as admin), they can’t see their own replies.
Anyway to allow anonymous users to see all posts, replies, and create new topics in a forum?
Thanks.
I found this code in my files, try this
/*
Plugin Name: BBPress Close Old Posts
Description: Close BBPress 2.0+ posts that haven't been updated in X days.
Author: Raygun
Version: 0.1
Author URI: http://madebyraygun.com
Originally found here: https://wordpress.org/support/topic/plugin-bbpress-new-topic-notifications-new-reply-notications-too?replies=13
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
add_action('bbpress_daily_event', 'bbpress_close_old_topics');
function bbpress_topic_scheduler() {
wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
}
function bbpress_close_old_topics() {
// Auto close old topics
$topics_query = array(
'author' => 0,
'show_stickies' => false,
'parent_forum' => 'any',
'post_status' => 'publish',
'posts_per_page' => -1
);
if ( bbp_has_topics( $topics_query ) )
while( bbp_topics() ) {
bbp_the_topic();
$topic_id = bbp_get_topic_id();
$last_active = strtotime( get_post_meta( $topic_id, '_bbp_last_active_time', true ) );
if ($last_active < strtotime( '-10 days') )
bbp_close_topic( $topic_id );
}
}
?>
change the -10 days to whatever you want
Basically just create a file called say ‘close.php’ and put this code in it. Create a directory in your site
wp-content/plugins/close
and put the file in there
then go into
dashboard>plugins>installed plugins and activate it
I haven’t tested this.
Hi, I’m looking for any solution with regards to removing of forum posts to expire after 60 days?
I tried applying the solution found in this thread
expired topics
But this code is untested, any insights?
Any help would be appreciated!
Pedro,
Sorry, I havn’t used WPML, I just see this issue constantly come up for those who use WPML.
The following is on GitHub but I have no idea if it works, is up to date or works with the latest WPML.
https://github.com/potsky/bbPress-Multilingual
HI,
new to this plugin.. .so far so good!! Great actually!! but I’m having trouble
1) understanding how to get the bbPress sidebar to show on my page without it showing on all the pages.
2) I tried setting up a bbpress.php page but I’m seeing where to choose that… the dropdown for the templates isn’t showing it. I renamed one of the existing templates to bbpress.php …but it’s not available to choose.
Not sure a link to the site would help since I have it set to maintenance mode…
TIA for the help.
Debi
ps…theme is Mantra, latest versions of both WP and bbpress
Thanks, that is a good thing, basically as your wp_posts
table contains 12,878 records it looks like the importer didn’t import any replies, if it had your wp_posts
table would be ~350,000.
Presuming you are doing this on a test site I would suggest you reset bbPress (Tools-> Forums-> Reset bbPress) and delete the imported users along with all the previous imported forums, topics and replies and run the import again.
If you look at my forums http://test.greatarchitect.us/forums you will see the navigation reads
Elder Scrolls Online โบ Forums
Why does it say Elder Scrolls Online? Where is it getting this? In no way, shape, form, or fashion should this be occurring that I can tell.
The latest WP and bbPress versions,yes…actually tried it again with a fresh install of WP, but same issue and with twenty fourteen and thirteen.
No bbpress login widget, just logging in with the Default WordPress admin login form to get to the dashboard. So correct on the example wp-login.php url you posted. I will use my localhost on XAMPP as an example:
http://localhost/pref/wp-login.php
If I use http://localhost/pref/wp-admin I do get logged into the dashboard. The url becomes
http://localhost/wp39/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwp39%2Fwp-admin%2F&reauth=1
when hitting the wp-admin url method.
Thanks for the reply… If you are referring to the admin bar plugin for bbPress, that I don’t have, just the default WP user admin bar. I just finished testing all plugins I have installed, and one by one testing the login (each time closing the browser out), but as soon as I activate bbPress, that is when this phenomenon happens…I log into the dashboard and finding myself staring at the site’s front-page. I still have to add a subpage url to the browser address bar, or use the user admin bar at the top to get to the dashboard.
So, there is something about bbPress that is doing the front page redirect…even if I make bbPress the only active plugin. This does it on my local XAMPP location, as well as my demo site on a live server.
Incidentally, I’m on the latest WP and bbPress versions.
Hi,
I tried everything : desactivate plugins, change themes, and even reset wordpress database..
I followed every possible guide.
but nothing worked! I always get the bullet points as a list for my forums..
The link to my forum-test: http://comment-devenirriche.com/forums/
Can anyone help ?
Thank you ๐
WordPress version: 3.9.1, bbPress version: 2.0.1, my site: http://comment-devenirriche.com/
Hello Stephen Edgar,
thanks for your reply. I did turn on WP_DEBUG, as I just got an “error” in the header part of my site. As I wanted to know what’s going on there, I activated WP_DEBUG. I guess the “error” is coming from the “warning”, not the “notices”.
I already tryed to disable all of my modules, but the error was still there. I am not sure where it is coming from exactly. I also did empty my functions.php, but nothing changed. The error also appears on other themes, not just my custom one.
I followed your links, but I think my technical understanding is not enough, to understand what the solution is. I am more of a designer than a coder.
I guess I have to reinstall wordpress completly, but I am a bit afraid, that the error will come back at some point.
The stange thing, as said, is, that the error does not appear on a mirror installation, which is exactly the same as the main one. Well, sort of. There’re even mor plugins running, for testing purposes.
Anyway – Thanks for your help so far. I will try a few other things. I also did contact our server admin, as we are running a root server. But I am not sure, that he can help me on this.
Thanks again, and have a nice sunday. ๐
I just tested using [bbp-forum-index] and [bbp-topic-index] on a page and it worked fine for me.
Are you using a plugin to make the forums private or is it just a bbPress forum set to private?
Can you switch to the Twenty Fourteen theme and refresh your page and see if that works and/or disable all your other plugins to check for a conflict.