Please Log in to join the conversation.
No.Is there a way to have the comments unpublished by default?
Yes, you can use activity_onBeforeCreateStreamComment to modify the reference comment variable and change the published variable of the comment object. The trigger is as follows.Or is there a way to create an auto action that will unpublish the comments after creation?
$_PLUGINS->trigger( 'activity_onBeforeCreateStreamComment', array( $stream, $source, &$row ) );
$variables['var3']->set( 'published', 0 );
Please Log in to join the conversation.
Please Log in to join the conversation.