MyBB Community Forums

Full Version: "New thread" plugin: only certain forums?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have activated "new thread" plugin, can you tell me if is possible to select only certain forums in new.php page?

Link new thread plugin: http://mods.mybb.com/view/new-thread

Show for example: 1,3,5 forums, hide 2 and 4 forums from the list.

Code plugin:
<snip>

I think I have to edit $forums[fid] but I don't know how..

Thank you in advance
Please don't share plugins code that way if not necessary and allowed.

Find:
            if($forums['type'] != "c")

Replace:
			if(in_array($forums['fid'], array(1,2,3,4,5)))
			{
				continue;
			}
            if($forums['type'] != "c")

This will only remove the forums from the select form.
Thank you very much, it works! and sorry for code
Hi, New thread plugin is compatible with 1.8 and xthreads?
No news? Sad It would like very nice and useful a plugin like NewThread also for Mybb 1.8 and compatible with xThreads