Digital Arm
Forum Replies Created
-
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Un-report a reported topicYou currently can’t clear reports without removing the meta data from the database. However, this option has been added to the next version which is due for release soon!
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Hold post for moderation for ANY linkAn unapproved user is not core bbPress/WordPress functionality. This plugin adds a flag to a user once they have a post that has been approved.
In an upcoming release the moderation function will be filterable, which means you will be able to add custom moderation code via your theme or a custom plugin. This would enable you to achieve what you’re trying to do.
There is also documentation coming soon which will explain the above in more detail, so keep an eye out for that with the next release!
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Guest posts are unmoderatedGlad that’s working for you. This is certainly the type of solution I was thinking of so the fix should still work for you once the next release is ready.
I’ll mark this as resolved for now but get back in touch if you need to.
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Guest posts are unmoderatedLooks like you found a bug! Thanks for pointing this out, we’ll add a fix into the next release.
Glad to hear that’s working for you ??
In the next version, it’s looking likely that we’ll trigger the following bbPress actions when approving posts:
– bbp_new_topic
– bbp_new_replyUsing this approach means that notifications will be triggered, and things like freshness will be updated. It’s possible that AsynCRONous BBPress Subscriptions plugin uses these actions to trigger notifications; so when upgrading to the next version of Mod Tools, you should test and possibly remove the code you’ve just added.
Forum: Plugins
In reply to: [bbPress - Moderation Tools] delete reportYou would need to run a query in the database on your wp_postmeta table.
DELETE FROM wp_postmeta WHERE meta_key = ‘_bbp_modtools_post_report’;
If you wanted to delete reports only for a certain post:
DELETE FROM wp_postmeta WHERE post_id = ’20’ AND meta_key = ‘_bbp_modtools_post_report’; // Edit 20 to your post ID.
If you don’t have access to the database or aren’t comfortable running this then probably best to wait until the next release which will have a “Clear Reports” action.
Let me know how you get on.
- This reply was modified 7 years, 1 month ago by Digital Arm.
Hi Matt,
I am working on the next release for Moderation Tools but it may be a while before it is ready and I’m yet to decide how to best implement a solution to this. In the meantime, you should be able to use the code below to trigger notifications for subscribed users when approving topics and replies from the front end.
<?php add_action( 'bbp_approved_topic', function( $topic_id ) { $forum_id = bbp_get_topic_forum_id( $topic_id ); bbp_notify_forum_subscribers( $topic_id, $forum_id ); }, 10, 1 ); add_action( 'bbp_approved_reply', function( $reply_id ) { $topic_id = bbp_get_reply_topic_id( $reply_id ); $forum_id = bbp_get_topic_forum_id( $topic_id ); bbp_notify_topic_subscribers( $reply_id, $topic_id, $forum_id ); }, 10, 1 );
You can put this code in your themes functions.php file.
If you also wanted to trigger notifications when publishing posts from the back end, you could do something similar to the above, but using “transition_post_status”: https://developer.www.ads-software.com/reference/hooks/transition_post_status/
I’d be happy to help out with that if required.
Let me know how you get on!
Forum: Plugins
In reply to: [bbPress - Moderation Tools] delete reportCertainly! The data is stored in the database as post meta with a key: _bbp_modtools_post_report
Does that give you enough to go on?
Forum: Plugins
In reply to: [bbPress - Moderation Tools] 404 errorHi,
Sorry for the delay responding to this query. Having now tested this I can see the issue is with your URL structure. Your URL contains 2 params using “?”. This is a bug with the bbPress Moderation Tools plugin which I have scheduled to be fixed in a future release.
In the meantime, if you changed your website URL structure to use pretty URLs it will fix the issue. See here for more: https://codex.www.ads-software.com/Using_Permalinks
Thanks!
Hi,
Sorry for the delay getting back to you on this query. I agree this is an issue and it’s been added to the backlog to be fixed in a future release.
Thanks!
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Pre-Approve existing usersOnce you have approved posts by those users, they will be able to post links in the future.
I really like the idea of having an option to skip moderation for users with a certain number of posts, adding that to the backlog now.
Thanks!
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Topic Freshness not updatedHi,
This is because we don’t change the date of a reply when it is approved. However having looked into it there is post meta we could change on the topic (_bbp_last_active_time) to update freshness. I think this would be a good addition so have added it to the backlog for a future release.
Thanks.
Forum: Plugins
In reply to: [bbPress - Moderation Tools] delete reportHi,
Currently there isn’t a way to clear the reports but this task is on the backlog for a future release.
Thanks.
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Open Replies After Topic is ApprovedOk that makes sense. Unfortunately I don’t think you could achieve that at the moment.
I could add a setting to select if only topics or replies should be moderated then I believe that would do the trick. I’ll leave the ticket open for now and update you as soon as that’s included in an update.
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Open Replies After Topic is ApprovedIf you could give me the exact steps to recreate the scenario that would help to make sure I answer this accurately. Thanks.