Notifications
Clear all

wpForo 1.x.x [Solved] Moderating

19 Posts
8 Users
2 Reactions
7,628 Views
Posts: 42
 cwjs
(@cwjs)
Trusted Member
Joined: 7 years ago

Hi,

Sorry,  I am asking because the "little bug" means it is not working and this thread was started 8 months ago, do you have any release date for 1.2.0 yet ? I like this plugin , which is why I am asking and not just going elsewhere. It is just missing two things to make it perfect for me, the moderation, which I am sure most users would want and the ability for guests to comment.

Thanks

 

Posts: 316
(@1sharonkat)
Reputable Member
Joined: 8 years ago

do you have any release date for 1.2.0 yet ?

It is was rolled out 3 months ago.

 

1 Reply
 cwjs
(@cwjs)
Joined: 7 years ago

Trusted Member
Posts: 42

OK, I meant the version where moderation would be working for comments properly. Is there a fix to the code we can use for now ?

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Sure, we did many changes, but the base change should be this one. Please open wpforo/wpf-includes/class-moderation.php file and find this line:

if( !$this->wpforo->perm->usergroup_can( 'aup' ) ){
            add_filter('wpforo_add_topic_data_filter', array(&$this, 'auto_moderate'));
            add_filter('wpforo_add_topic_data_filter', array(&$this, 'auto_moderate'));
}

Change to this:

if( !$this->wpforo->perm->usergroup_can( 'aup' ) ){
            add_filter('wpforo_add_topic_data_filter', array(&$this, 'auto_moderate'));
            add_filter('wpforo_add_post_data_filter', array(&$this, 'auto_moderate'));
 }
Posts: 42
 cwjs
(@cwjs)
Trusted Member
Joined: 7 years ago

Thank you but this still shows the reply to everyone, it just says "awaiting moderation" is there another piece of code to stop it showing until passed, please

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

But this was not for that.  Reply will be available for every one if the topic is approved. This bug fix is a bit long, I can't it put here. Please just wait for the next release, it'll be available very soon.

Page 3 / 4