MyBB Community Forums

Full Version: Disable quick reply in one forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I have only one forum I do not wish to have the quick reply in, and so far the only option I have found is this: (http://mods.mybb.com/view/add-forum-options) but unfortunately it doesn't work well with the Side Boxes Plus (http://mods.mybb.com/view/side-boxes-plus-2). What happens is the quick reply shows to the right of the post, not below.

So...
1) Would there be a way to fix it, to make it show below the last post, not to the right of the first post. (I'm not sure where to start).

2) Is there some custom code I can place and enter a forum ID for example where the quick reply won't be shown in the specified forum?

Thanks
There is no such thing as a core feature for this unfortunately, so you need a plugin that works. You can use Templates Conditionals plugin to do so, just go to your showthread template and search:
{$quickreply}

Replace with:
<if $thread['fid'] != 'X' then>{$quickreply}</if>

For one forum, or:
<if !in_array($thread['fid'], array('X', 'Y', 'Z')) then>{$quickreply}</if>

For multiple forums.

If you want support to make "Add Forum Options" plugin to work, you can try opening a support thread in the Plugins & Code Modifications / Support support forum.

EDIT: If you want to know my opinion, I will simply drop the side boxes plugin, there is no real problem with the Add Forum Options one.
The issue with the quick reply not showing properly was with the side boxes mod. I've noticed it's not that great, but if a fix could be found that would be great. I don't know if anybdoy would be able to think of how to do it that easily, I sure cant.

Thanks

Oh, thank you for your quick response.
I've decided to leave the side boxes mod behind, so essentially the issue is fixed, but I will give your code a go to see how it goes.
Thanks