MyBB Community Forums

Full Version: Disable "search" in home page for guests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry folks if this has been answered already in the past, but I can't really find it. How can I disable the search function for guest in the home page?

Second best is not to return any search result if a guest searches for specific usernames, but since I'm running a private board I'd rather do the former.

I'm running 1.6.9.

Thanks a million!

Cheers

Marco
in header templete find and remove

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

and add "header_welcomeblock_member" templete

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

or

<a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a>
(2013-01-29, 08:39 AM)jack3935 Wrote: [ -> ]in header templete find and remove

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

and add "header_welcomeblock_member" templete

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

or

<a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a>

And if I'm a real human, I'll easily find a way around it by typing the most logical word search appending to the sites domain and off course close it with .php

@OP

Go to your ACP>Users & Groups>Groups>Guests>Find and uncheck "Can use search".