Log in

View Full Version : Changing Thread Visible


mescalin
05-09-2012, 01:30 PM
Hello,

As a plugin in newpost_complete hook i use that code to make a thread as moderation required.

$dataman->set('visible', 0);
$post['visible'] = 0;

I also tried $thread['visible'] = 0; and didnt work.

However even if it says ne thread needs moderation control while posting, it's visible without moderation control.

How can i make a new thread to be in mod control?

--------------- Added 1336574771 at 1336574771 ---------------

Sorry my bad..

newpost_process is the correct hook.. It works now..