Hello, I need to be able to approve topics and responses automatically for the Participant role. I tried to look for plugins, but they are all years without updates. I’ve also tried wordpress plugins for roles and even though they seem to have capabilities set up well (publish_topics, edit_topics, publish_replies, edit_replies). So it always requires approval when I publish. When I add a topic as an unsigned user it works fine. Is there a simple snippet that can do that?
I read through the posts here, but they didn’t help me.
Thank you.
One of them I checked and his message was inside the control panel awaiting approval, and then I realized from him that he was not successful
Hello,
I was a bit worried about the activity of my forum since the last update and I’ve found out what happened.
I got thousands of replies pending “waiting for approval”, maybe because they use links to pics in their posts.
I need to disable this “protection” asap! If someone can help me to make this protection less secure…
Best regards.
mgeer: I’m not sure if you’re asking me? I found the setting of forum posts going to moderation due to links:
Settings –> Discussion Settings … scroll down… Comment Moderation:
“Hold a comment in the queue if it contains __ or more links. (A common characteristic of comment spam is a large number of hyperlinks.)” I simply upped the number of links so the reply wasn’t held for approval.
Note there is a category above this for “Before a comment appears” with a slightly different instruction to hold for approval.
ajtruckle: I don’t know enough about adding information to .php instruction or manual plugin changes without fearing I will mess up something unintentionally. I’ve done it before but just not confident it will work so finding the ‘regular’ solution was good for me.
For anyone else having this same problem my adjustment to up the number of links included before manually needing approval has worked. Posting has resumed as before.
Ah – I did not have that check box marked for comments needing approval. BUT I believe the problem I’ve been having is due to the Comment Moderation if it contains links! We use links a lot so this is likely the culprit.
looks like there’s no notification. Not to user. Not to moderators.
And same “approval” procedure for topics users create or edit.
Cmon, maybe that’s a good options for some forums. But for active communities, this is just a pile of s…
This has to be moved to an option. With settings.
Whatever, had to approve 173 post and 18 topics today. And it’s only 5:30 PM here… And it’s a not very active day, no way I can face it on a monday.
As every post with picture/link or quote is now waiting for approval, this new moderation thing is just a nightmare.
So far, using GD Toolbox Report function to let users report posts in need of moderation (and a very secure anti-spam^^). And this was perfect for my needs.
Now, forum is almost unusable with dozens posts per hour to approve only because some member quoted another. Or added a picture. Discussions are a nightmare to follow with posts validated too late, with many other answers in between. And, of course, users posting many times in a row because their posts wasn’t added to discussion.
My community is too active to ask for moderators to validate posts. This is a non-sens for my usage : posts are legit until proven not.
So : is there any way to remove this moderation option ?
Or i’ll have to remove bbpress. After many years of service and so much time to improve my forums, time may have come to make that switch to Discourse… And, yes, it may be a conflict with Toolbox tools. But there’s no way I use bbpress without GD addon.
It turns out to be horribly messy in my original approach. I had to poke around to pick up stuff in different places depending on whether it was invoked from the font or backend. As an example:
$forum_id = bbp_get_topic_forum_id($topic_id); // This often does not work here
if (!$forum_id){ // need to find it elsewhere, which is different for front and backend submissions
$forum_id = $_POST['bbp_forum_id'] ? $_POST['bbp_forum_id'] : $_POST['parent_id'];
}
Note for frontend it is to be found in $_POST[‘bbp_forum_id’] and for backend submissions $_POST[‘parent_id’]
In the end I adopted Robin’s suggestion for hooking onto bbp_topic_attributes_metabox_save for backend and onto bap_new_topic and bap_new_reply for frontend.
So I now have a much simpler plugin which is sending notifications when topics or replies are actually published (even after moderation) and which works with publication from front or back ends and for moderation approval in front or backends.
Subscription choices are lost during moderation and not available in the backend. So I force-subscribe users to their own topics and to topics they reply to on publication. (They can unsubscribe later if they wish.)
Thank you very much to those who contributed to me getting there.
Code is to be found here
@Barry – thanks for your interest.
Standard WP and bbPress email notifications fall short because
- When a WP post is held for moderation, admin/moderators do not get any notification.
- When a WP post or comment is held for moderation and subsequently approved, subscribers are not notified
- When bbPress topics or replies are held for moderation and subsequently approved, subscribers are not notified.
- Sometimes it is best for admin or moderator to create or moderate topics or replies in the backend. Standard bbPress does not send subscriber notifications when they are published from the backend.
I am working on a plugin which uses the transition_post_status hook to look for publications of the above and make notifications. I show the full plugin as of now here.
The section above line 76 deals with WP posts held for moderation and subsequently approval. It is basically cloned from another plugin as acknowledged.
From line 72 is my work. It looks for a topic or reply status changing to ‘publish’.
It works when a topic or reply is published from the frontend but not from the backend. The relevant bit of code gets executed correctly, but the relevant variables are not set up correctly. I suspect that some of the functions I am calling rely on globals that are set up by the bbPress frontend but these are not in place for backend actions.
My trace statements reveal that:
- Publishing a topic from the frontend works fine – BUT trace shows that $forum_id is set to zero. So the bbPress_notify_forum_subscribers call works without the $forum_id parameter being set. It must work it out otherwise.
- Publishing a topic from the backend fails to notify subscribers. bbPress_notify_forum_subscribers presumably fails to workout the forum-id behind the scenes.
- On reply publication, the code gets the $reply_id OK but the notifications do not get sent, so it must fail to work out the missing information.
I think my basic approach of using the transition_post_status hook is good as it allows me to act when a post changes to publish from draft/pending etc. whether from the front or backends. But the calls to collect the required ids are not all they seem and rely on behind the scenes poking around in stuff that is not in place when invoked from the backend.
Thanks for the suggestions. I just installed this plugin and found some uncertainties with this plugin.
If a user posts any topic then it first goes for moderation approval that’s fine. But once the topic is approved then for the second topic onwards it’s not going for moderation for that user.
Any suggestions would be much appreciated.
Thanks
I have installed the plugin suggested by you. I am trying to test it with two users(subscribers). I am still facing an issue that when a subscriber creates a Topic in the forum that topic is visible to another subscriber.
I want if any new Topic or Reply is created, it should be held for moderation(pending for approval) and after approval only by Administrator, it should get displayed to the frontend.
Please suggest.
Thanks
I don’t know of any plugins that do this, and it si not settings, so you would need someone to write code to do this
You will also under most countries data protection laws need the approval of users to their email address being published to other users.
I have installed bbPress plugin on my WordPress site. I just wanted to know if there is any moderator approval option is available. I want Topics and Replies get visible only when they are approved by Administrator.
Hi
I have a multi vendor store, and a privat vendor forum. In order to be a vendor, you must register and get approved on my site. After that, your user role is vendor and you are able to see link to vendor forum.
As the settings are right now, the vendors have to apply for membership to a forum, which I have to approve. Can that be done automatically? Meaning that a user with the user role “vendor” will automatically be able to access the forum.
I hope someone knows how 🙂
Interesting.
Every now and then due to my spam settings, some topics and replies do not get published and await moderation approval.
However neither the poster or the moderator is aware.
The poster as you note will sometimes try to re-post many times.
The moderator does not get an e-mail to say there is a comment in need of moderation.
I agree that features like this would be very useful.
in no particular order
If you’re not using buddypress, then better to deactivate.
in terms of having users with different access, then my private groups plugin will let you do that
Private groups
There are several plugins that have new user approval such as
New User Approve
I’m testing version 2.6rc5 – everything works, moderators are added.
You need to enter: “user1, user2, user3”
They do not have access to the backend (this is superfluous …).
All actions with topics and answers (moving, splitting, merging, approval, etc.) are available from the frontend.
So, the developer for the moderation plugin provided a fix for this (you can see it here: https://wordpress.org/support/topic/moderated-topics-dont-send-new-topic-notifications-on-approval/). Their plugin adds a front-end option for managing topics, so this works through the front-end. They mentioned that it could also work through the back-end/Dashboard by using “transition_post_status”. Anyway, thanks again for your feedback and help with this.
Matt
Hi Robin,
Sorry for the late reply. I had a health issue that set me back a few weeks. I did some testing on a vanilla WordPress install this morning, and it looks like this issue affects standard BBPress as well. Here’s what I did:
1.) Set up a local WordPress installation. Added Buddypress, BBPress and WP Mail Logging as the only plugins (latest versions on everything).
2.) Created several users and a forum. Logged in with each user account and subscribed it to the forum.
3.) Went to Settings->Discussion from the WP Dashboard and set it to hold a comment in the moderation queue if it has one or more hyperlinks
4.) Created a new topic that had no hyperlinks (i.e., did not go to moderation). WP Mail Logging showed that a new topic notification was sent and all subscribed users were BCC’d on the email.
5.) Created a new topic with a hyperlink. The topic went to moderation.
6.) Approved/published the topic with an admin account. No new topic notification email was sent.
Another issue is that new topics that are added directly from the Dashboard (i.e., by going to Dashboard->Topics->New Topics) also did not generate a new topic notification. The moderation approvals have to be done from the backend/Dashboard, so maybe these two issue are related?
Thanks again for your help with this! The moderation plugin author finally did get back to me and said they’ve added the issue to their backlog, but now I’m wondering if this is something that should be fixed in standard BBPress?
If necessary, the site owner I’m working said they might be willing to pay directly to get this issue fixed. However, their company is a small non-profit, so they probably won’t have a lot of extra funds for this sort of thing.
Matt
New update (see images below). I’ve now finished off building a custom API and front end in the app for user registration, user editing of profile (avatar, display name, email, password). Since the bbPress forum I’m integrating this with at UteHub.com uses a combination of bbPress and BuddyPress, I’ve tied into the BuddyPress user registration workflow. That helps weed out a few spammers and verifies email etc. This is a pretty big update.
I’ve also implemented api and front end for the user and an admin to edit topics and replies.
Also something I haven’t mentioned here yet, is I built a wordpress plugin for “sports schedules and results” and also implemented an API for that and front end in the app. So you can see the team’s schedules and scores both on the www version and the app!
Edit Profile:

Register:

Schedule:

The Android version is now available and of course the iOS version is “awaiting approval.” Check the Android version out here: https://play.google.com/store/apps/details?id=com.tmkpro.utehub&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1
Hi all,
We have set a few rules to moderate topics with too many links, etc. We also have new topic notifications set up and working when topics don’t go to moderation. However, if a topic goes to moderation, the new topic notification does not go out when the topic is approved. Is that normal? If so, is there any way to hook the new topic notifications into the approval process so that the notifications are sent out when the topic is approved?
Thanks for any help with this!
Matt
bbPress version: 2.5.14
WP version: 4.7.7
Hi there,
I am a newbie to wordpress. I am using bbPress for my site. I have an existing form that doesn’t have any approval process. I am manually adding the users after receiving the forms. I did some digging and found the “New User Approve” plugin. I went ahead and installed the plugin. But not sure how to link/connect the plugin to my form so that the new user registrations can be moderated (approve or deny). Any help will be greatly appreciated.
Along the same lines, does bbPress have an option to hold comments/new topics for approval?
Hi! It appears that my forum participants can write posts. They can even write a reply. However, they can’t read the actual post or even the replies. When they click on the post to read, it takes them directly to reply. None of the post is visible.
I have installed bbPress correctly within Optimize Member. I am using GeneratePress as the theme. I tried swapping out to Twenty Seventeen – same issue.
As a keymaster, I can read and edit posts and replys from the dashboard. I have looked for a possible need for an approval from a Moderator. Nope. What am I missing?
Any help would be fabulous!
Once subscribers have logged in (we use manual approval of users) I would like a link to our forum titled “Discussion Group” to appear in the wpAdmin bar at the top of the page, preferably adjacent to their login name. How do I make this happen?
WP 4.7.5
BBPress 2.5.12
Using Fire Department Theme
home page: bdpnnetwork.org