MyBB Community Forums

Full Version: Disable / Enable Search
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How/Where do we disable/enable the search function for our forums?
For the whole site or individual forums?
Oh I guess tell me how to do the

1. Whole Site
2. Individual Forums

That'd be great!

Smile
It's a setting for each usergroup; ACP > Users & Groups > ** choose group** > Forums and Posts > Can search forums?

It's also on a per-forum basis; ACP > Forums & Posts > **choose forum** > Options > Permissions > **choose group** > Set Custom Permissions > Miscellaneous > Can search forum?
Thanks Guys!

...actually one more thing,

And the tab that says "Search" how do we hide that since search is disabled?
ACP >> Templates & Style >> Templates >> *yourtheme* >> Header Templates >> header

Find and delete:
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
Thanks a ton!
(2010-10-23, 06:05 PM)AJS Wrote: [ -> ]ACP >> Templates & Style >> Templates >> *yourtheme* >> Header Templates >> header

Find and delete:
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>

That will just remove the link if a user goes to forumurl.com/search.php he can still search...
Maybe delete/chmod/rename search.php
I don't know if this can mess with your forum but trial and error is best for everything.
(2010-10-23, 06:17 PM)LowPriceBargains Wrote: [ -> ]That will just remove the link

Yes, that's exactly what they asked for.

(2010-10-23, 06:17 PM)LowPriceBargains Wrote: [ -> ]Maybe delete/chmod/rename search.php

That's completely unnecessary if they've already followed the advice Matt gave above.
Oh right sorry i read the thread quickly,
I didn't see he's reply lol i need glasses sorry ;P