MyBB Community Forums

Full Version: Thread/Post Moderation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
zaher1988 Wrote:open ./admin/forums.php

Find
$db->insert_query(TABLE_PREFIX."moderators", $newmod); 

below it add

 $subsc = array(
			"fid" => $fid,
			"uid" => $user['uid']
			);
			$db->insert_query(TABLE_PREFIX."forumsubscriptions", $subsc);

So now when you go and input someone's name in add a moderator then adds him, he will automaticaly subscribe in this forum.

Zaher, should that be
 $subsc = array(
			"1,2,4,7,56" => $fid,
			"$newmod" => $user['uid']
			);
			$db->insert_query(TABLE_PREFIX."forumsubscriptions", $subsc);
so the new moderator gets subscribed to particular forums? (With each forum being added separately.)
Pages: 1 2