Hi I’ve been asked to hook in some email notification for every time a user posts on the forum.
`add_action( ‘bbp_new_reply_pre_insert’, ‘bbp_notification_hack’ );
function bbp_notification_hack( $data, $meta ) {
$user = get_userdata( $data[‘post_author’] );
$email = “Author: ” . $user->data->display_name . ” [” . $user->data->user_email . “]\n”;
$email .= “Post Title: ” . $data[‘post_title’] . “\n”;
$email .= “Post Content: ” . $data[‘post_content’] . “\n”;
$email .= “Post Status: ” . $data[‘post_status’] . “\n”;
$email .= “Post Type: ” . $data[‘post_type’] . “\n”;
mail( ’emailaddress’, ‘Notification: new forum post’, $email );
return;
}`
The problem is the post is not being inserted! I get the error
ERROR: The following problem(s) have been found with your reply:Please try again.
Does anyone know why this is?
When bbpress and mingle active in one time, forum access deny(error 404) for Participants and Moderators. Keymaster and Spectators works well. It doesnt depend on the theme.
Ive done a lot of work to customize mingle for my WP. But now i need a forum. Please help.
WP 3.5, mingle and bbpress latest versions.
I’ve noticed this for a while, and I’m not sure what is causing it.
Whenever I use an @mention in my forum posts I get a DB error reported in my server’s error log.
Here is an example:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘http://www.mysite.com/members/dave/’ rel=’nofollow’>@cdave is’ at line 1 for query SELECT ID FROM wp_posts WHERE post_type = ‘reply’ AND post_status != ‘trash’ AND post_author = 11 AND post_content = ‘@cdave is this still happening Dave?’ AND post_parent = ‘11990’ LIMIT 1 made by
Any idea if this is actually my DB or is it BBPress at fault?
My site title also has an apostrophe in it, and this appears as raw HTML in all notification emails.
Any idea on these 2 things guys?
Hi,
I posted this under an existing thread but there was no response, so I assume it wasn’t seen.
I set up two private forums with my WP blog, following the Getting Started steps. Everything looked great (mostly). Then I created a category (also private) and made it a Parent to the forums. I ordered the forums #1 and #2.
As soon as I did that, the forums ceased to be visible as a list on one page, though they briefly had been. I have to click on them directly (from the edit page) to see them. My members need a direct link to access them.
I changed it back to how it had been, so they could access the main forum through the navigation bar (I created a menu button). But this morning, when I went to check this in Theme 2012, I saw that they again had the category as Parent and were ordered. Like I hadn’t changed them. I don’t know what that’s about.
Btw, I’ve set this as private b/c I didn’t see a way to have people log in, so this would only be available to members. Don’t know if this is part of the issue.
I have the latest versions of WP (3.5) and bbPress (2.2.3). Find my site here.
It’s been rather difficult to work things out, even following the steps you provide, especially regarding this parent issue. Then today I made a reply to a thread and it refuses to show up, though it’s in the list of Replies on my dashboard. I know that’s a separate issue, so I can make a separate post for it.
Thank you for your time.
Some my user with Samsung galxy s3 can’t user “star topic” in bbpress forum (version 2.2.3)
buddypress v.1.6.2 + WordPress 3.5
hey i install bbpress to my domain.so i found domain.com/forums as forum section
in a while time i found bbpress is excellent feature as forum so i created a subdomain as forum.domain.com. i install wordpress in my subdomain and bbpress plugin in it but i need your help to explain how to make forum.domain.com/forums into just forum.domain.com ??
thanks
I am trying to add social media share buttons under the topics and replys. I can make it appear on the Pages by toggling the Sharing setting. Yes the share setting for topics and reply is enable and also the forum has show button checked.
I have a WP 3.4.2 site, and I’m trying to import a forum from bbPress 1.1. I go to the import tool, enter in all the information, and it starts the import just fine. But it always hangs around topic 31000 (it’s a HUGE forum – it’s been very active for several years). I’ve tried several times with fresh copies of the site, and every time I get the same problem.
Is there anything I can do about this?
Thanks!
I’m not sure what is happening here but can’t seem to make a post in this support forum. Here’s my problem again:
I uninstalled bbPress from my blog but found that the additional roles (e.g. Keymaster, Spectator etc) remain. How can I get rid of these additional forum roles now that bbPress has been uninstalled? Thanks
WordPress version: 3.5, bbPress version: 2.2.3