MyBB Community Forums

Full Version: Banning a user
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can you ban a user from a certain forum only? Not the entire forum as a whole?

I have a sports forum, and would like to ban a user from the forum of just one of the teams.
Create a group that cannot post in the forum, and add him to the group.
Thank you!
While that works, there is a plugin:
http://mods.mybb.com/view/specific-forum...ned-for-14

You just need to edit the file from *14 to *16
There is no *14 or *16 in there... only:

<script type=\"text/javascript\" src=\"jscripts/autocomplete.js?ver=1400\"></script>
You have to edit the plugin file (userbanforum.php) that comes with that mod. Find this:

"compatibility" => "14*",

Replace with this:

"compatibility" => "16*",

Hope this helps! Smile.
That's the problem though...neither of those code snippets are to be found in the php file.
What are you talking about? I just downloaded it and it is right close to the top. Line 22. It is inside of function userbanforum_info().

function userbanforum_info()
{
	return array(
		"name"			=> "Specific forum banning",
		"description"	=> "A plugin that allows you to ban users from specific forums",
		"website"		=> "http://mods.mybboard.net/view/specific-forum-banning",
		"author"		=> "Tikitiki",
		"authorsite"	=> "http://thetikitiki.com",
		"version"		=> "1.0.1",
		"compatibility" => "14*",
		"guid"			=> "bdc1347c9caf40f0e4638911b9038b66",
	);
}

You need to change 14* to 16*, save, and reupload to the ./inc/plugins/ folder.
Wow, VERY sorry..I missed it...and FIND '14' did not find it...very weird.

Thank you very much for the patience!