Well, what I want in wordpress is:
add_action('delete_user', 'delete_posts_and_attachments');
function delete_posts_and_attachments($user_id) {
$args = array (
'numberposts' => -1,
'post_type' => 'any',
'author' => $user_id
);
// get all posts by this user: posts, pages, attachments, etc..
$user_posts = get_posts($args);
if (empty($user_posts)) return;
// delete all the user posts
foreach ($user_posts as $user_post) {
wp_delete_post($user_post->ID, true);
}
}
But where and how can I delete posts from bbpress? any help will be appreciated :\
its the ip address of the current user
to know for sure search this in google: whats my ip address?
and then it should show it there
the ip addresses only show for admin users
its there so you can ban the users that are spam , human/bots
you can ban them using WordPress comment blacklist in settings>discussion
bbPress uses some of those settings too.
use this css to remove it.
span.bbp-author-ip {
display: none !important;
}
More specifically, does anybody have working group forums that are not using the WordPress default permalink settings?
I have BuddyPress group forums on my site, but the topics will only show the first page. In other words, the topic pagination does not function properly, and my guess is because I am using “post name” for my permalink settings.
I just was wondering if ANYBODY has functioning group forums because I can’t find any examples.
The CKEditor Plugin makes it possible to use CkEditor with WordPress comments on articles (frontend). But there is no option to integrate it with bbPress or BuddyPress as I already mentioned. Either the plugin should offer those options or bbPress/BuddyPress. That would be great.
For now, mybe there is a core hack to get CKEditor into bbPress.
I am using CKEditor prior to TinyMCE with WordPress (up to date version). The editor works within backend for writing a new WordPress article. There is a plugin for WordPress which will integrate the CKEditor. I would like to use CKEditor with bbPress to create new topics in Forum (frontend) or comment on Topics, but couldn’t find any solution to integrate it.
I really like the way bbPress works with WordPress and BuddyPress. Clean, lightweight and straight forward. But integrating a powerful editor would be +1 🙂
Hello there,
I would like to integrate CKEditor with bbPress. I have already installed a plugin to integrate CKEditor with commenting wordpress related posts, but I have not found anything to make CKEditor visible with bbPress. Is there any way to add some code to core files? I am fairly new to to bbPress.
Hello,
finally I solved in this way:
I’ve installed Members plugin by Justin Tadlock. Then I set:
- read_course
- read_private_courses
- read_private_posts
- read
- read_hidden_forums
- read_private_forums
- read_private_replies
- read_assignment
- read_private_assignments
- read_private_pages
- read_private_topics
as “Subscribers” Capabilities.
The wordpress importer only works for simple forums. If there is any quantity of data that needs to migrate, the importer will timeout. Does anyone know how to export the data and then import it and the replies to another site?
Example, forum with over 8,000 replies, 141 topics that associates across some segment of 17,000 users
Hello Robkk! Thanks a lot for your detailed suggestion. I know this way to delete users from wordpress backend, but I’m looking for the function who does this in order to add a little code to my bbpress frontend 🙂
to enable visual editor install this plugin
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/
to remove the code button use this
add it to your child themes functions.php or a functionality plugin.
add_filter( 'bbp_after_get_the_content_parse_args', 'rkk_bbp_edit_quick_editor' );
function rkk_bbp_edit_quick_editor( $args = array() ) {
$args['quicktags'] = array( 'buttons' => 'strong,em,link,block,del,img,ul,ol,li,close' );
return $args;
}
@korobochkin
in the trac they are trying to add this feature and at least an option to disable it.
-started 2010 -last reply 3 months ago
[bbpress.trac.wordpress.org/ticket/1430]
if you do not want pingbacks and trackbacks remove any code that is for the comments section when you create a bbpress.php and see if that fixes it.
just delete the user from the WordPress backend
go to users>all users then search for the user you want to delete
hover around there avatar and name and you will a bunch of links which one of them says delete
click that
then the next screen which is added from bbPress which says
[] delete all content
[] attribute all content to: {some username}
tick delete all content then confirm deletion
i havent found a plugin
this seems like some custom development
http://jobs.wordpress.net/
In the editor I need to, at the very least remove the code button.
Is there any way to use the default WordPress Editor where users can see the visual results of their editing instead of the html markup text.
Users of the forum I’m creating are not HTML coders and the way this works will totally confuse them. Also switching it off in settings makes matters worse as then they are presented with an instruction box showing the HTML tags.
Hello,
I am hosting a wordpress website with bbPress.
Everything is working great, expect for 1 thing that is pretty annoying.
How can I use the empty space, since I use 2x site bars, the space is already limited.

I had the same problem and took a chance on this plugin that had zero feedback:
https://wordpress.org/support/plugin/change-all-users-slug
I ran it on all 4700 of my members with one click. After a couple minutes the plugin said it couldn’t change anything because all the usernames matched the display names.
BUT… whatever it did, it FIXED the 404 errors! Now, all my users that have spaces in their names are taken to a profile page like this /john-smith/ instead of this /JohnSmith/.
I actually took a chance on this plugin that had zero feedback:
https://wordpress.org/support/plugin/change-all-users-slug
I ran it on all 4700 members with one click. After a couple minutes the plugin said it couldn’t change anything because all the usernames matched the display names.
BUT… whatever it did, it FIXED the 404 errors! Now, all my users that have spaces in their names are taken to a profile page like this /john-smith/ instead of this /JohnSmith/.
easiest way would be to run some code through to correct – since you are asking, I expect this is beyond your skillset so suggest you post a request on
http://jobs.wordpress.net/
It should be a fairly cheap solution – code would be less than 20 lines !
I have three sites I am merging into one WordPress site (I know, there was not a clear pathway, but now I am correcting it). I have a bbPress forum on one of the sites that I need to migrate into an existing site. I have brought the users over already. Is there a suggested manner I should use to import the forum? the WXR Export does not seem to work properly.
Thoughts?
I’m migrating from a vbulletin forum (3.x) and I’ve figured out how to do a bit of customization, bringing over custom fields in the user table. But one thing I’m having a tough time figuring out is how to bring in the first_name and last_name to the usermeta table.
For some reason, the following does not work:
// fx: last name Stored in usermeta)
$this->field_map[] = array(
'from_tablename' => 'user',
'from_fieldname' => 'lastname',
'to_type' => 'user',
'to_fieldname' => 'last_name'
);
But the following does:
// fx: last name Stored in usermeta)
$this->field_map[] = array(
'from_tablename' => 'user',
'from_fieldname' => 'lastname',
'to_type' => 'user',
'to_fieldname' => 'fx_last_name'
);
Simply by changing “last_name” to “fx_last_name” it works. I’d prefer to have it bring it in as the WordPress defaults. I understand I can force a move into the correct field once I import, but as I’ll have about 24 hours on the migration day, i’d love to get it accomplished in the import script.
Thanks for any insights.
Hi,
I am volunteering on a not for profit site running wordpress 4.0.1, bbpress 2.5.4, s2member pro 141007
I have yet to be able to see any of the forums, topics etc as all I get is a 404 error. I have ready through the info about this issue and tried everything suggested, including the two plugins that are supposed to fix it to no avail.
I do have pretty links turned on, I do have a “Forums” page and have tried it with and without a shortcode to pull up the forums and it just shows the shortcode and never the forum. The only way I get get anything to show is to use the “ugly” link to the forums but none of the links work from
http://ontariodoulas.org/?post_type=forum
Any ideas on where to go from here? Any help would be appreciated! Thank you!
no.. frustrating. Any clue?
Repair any missing information: Continue
Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306
WordPress database error: [Unknown column 'forums.forum_topics' in 'field list']
SELECT convert(forums.forum_id USING "utf8") AS forum_id,convert(forums.parent_id USING "utf8") AS parent_id,convert(forums.forum_topics USING "utf8") AS forum_topics,convert(forums.forum_posts USING "utf8") AS forum_posts,convert(forums.forum_topics_real USING "utf8") AS forum_topics_real,convert(forums.forum_name USING "utf8") AS forum_name,convert(forums.forum_desc USING "utf8") AS forum_desc,convert(forums.left_id USING "utf8") AS left_id,convert(forums.forum_type USING "utf8") AS forum_type,convert(forums.forum_status USING "utf8") AS forum_status FROM phpbb_3forums AS forums LIMIT 0, 100
No forums to convert
Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306 Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306 Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306
No data to clean
Starting Conversion
Hi all,
I’ve been trying to import my forum from phpbb 3.1.1 (no mod or themes) to bbpress 2.5.4.
I used row limits 50 and delay time 2. Database settings looks to be ok.
Problem is following code that appears on every line:
‘Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306 Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306’
Conversion goes till end and following message will appear:
‘Repair any missing information: Continue’
‘SELECT convert(forums.forum_id USING “utf8”) AS forum_id,convert(forums.parent_id USING “utf8”) AS parent_id,convert(forums.forum_topics USING “utf8”) AS forum_topics,convert(forums.forum_posts USING “utf8”) AS forum_posts,convert(forums.forum_topics_real USING “utf8”) AS forum_topics_real,convert(forums.forum_name USING “utf8”) AS forum_name,convert(forums.forum_desc USING “utf8”) AS forum_desc,convert(forums.left_id USING “utf8”) AS left_id,convert(forums.forum_type USING “utf8”) AS forum_type,convert(forums.forum_status USING “utf8”) AS forum_status FROM phpbb_3forums AS forums LIMIT 0, 100’
What am I doing wrong?
Hello,
i have a problem with bbpress, when bbpress is activated, the SlimStat plugin stops working/monitoring my website, and this error is appear in the SlimStat page:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/…/public_html/wp-includes/functions.php on line 3370
please help, how to fix this. thanks
Just like any normal spam attack, automated scripting, because the codex was “open” to anyone with a wordpress.org account that was all that was needed to create (or edit) any pages on the codex 🙁
I’ll make sure we add yourself to that said list of users with permissions though 🙂