Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: RobGullen on November 18, 2015, 05:32:24 PM

Title: Remove/suppress Search
Post by: RobGullen on November 18, 2015, 05:32:24 PM
I want to remove the "Search box" option from my Forum ... how do I do that please?

Thanks

Rob
Title: Re: Remove/suppress Search
Post by: Illori on November 18, 2015, 05:41:43 PM
are you using SMF 2.1?
Title: Re: Remove/suppress Search
Post by: RobGullen on November 19, 2015, 02:35:27 AM
Quote from: Illori on November 18, 2015, 05:41:43 PM
are you using SMF 2.1?

Yes

Rob
Title: Re: Remove/suppress Search
Post by: margarett on November 19, 2015, 05:02:33 AM
Just go to Permissions, in every membergroup, and uncheck "Search for posts and topics"

Administrators are allowed to to everything so they will still be able to access it ;)
Title: Re: Remove/suppress Search
Post by: RobGullen on November 19, 2015, 05:16:39 AM
Quote from: margarett on November 19, 2015, 05:02:33 AM
Just go to Permissions, in every membergroup, and uncheck "Search for posts and topics"

Administrators are allowed to to everything so they will still be able to access it ;)

They are all unchecked - I am only using "post count" groups (and Admin etc) to keep it simple - with SMF pretty much straight out of the box. 

Do I need to create and allocate a set of permissions to then be able to uncheck Search?

Rob
Title: Re: Remove/suppress Search
Post by: margarett on November 19, 2015, 05:31:41 AM
Make sure you remove the permission to ALL membergroups - including (and especially) "Registered Members". Every member of your forum which is not part of another "non-post-cont membergroup" is part of this ;)
Title: Re: Remove/suppress Search
Post by: Illori on November 19, 2015, 05:39:25 AM
Quote from: margarett on November 19, 2015, 05:31:41 AM
Make sure you remove the permission to ALL membergroups - including (and especially) "Registered Members". Every member of your forum which is not part of another "non-post-cont membergroup" is part of this ;)

if you remove the search permission that also means the button in the menu will go away. is that what you want?
Title: Re: Remove/suppress Search
Post by: RobGullen on November 19, 2015, 05:42:52 AM
Quote from: margarett on November 19, 2015, 05:31:41 AM
Make sure you remove the permission to ALL membergroups - including (and especially) "Registered Members". Every member of your forum which is not part of another "non-post-cont membergroup" is part of this ;)

Every instance of Search is unchecked in all groups ... I have 2 instances of SMF 2.0.11 running on 2 sites and both are the same?

Is there a way of disabling the Search box via .css or .php files as a permanent solution?

Rob
Title: Re: Remove/suppress Search
Post by: margarett on November 19, 2015, 06:15:43 AM
Is the search button visible to guests?

edit: I just tested and as soon as I uncheck the "Search for posts and topics" permission, both the "Search" button and the quick search at the top right corner disappear.

Remember that for yourself (administrator) everything is allowed so it will not disappear based on permissions.
Title: Re: Remove/suppress Search
Post by: Kindred on November 19, 2015, 07:15:42 AM
Wait....   you said above that you are using 2.1 beta....   but in your last post, you mentioned 2.0.11 -- what version are you running?
Title: Re: Remove/suppress Search
Post by: Bigguy on December 15, 2015, 08:06:46 PM
Did ya get this figured out Rob. ??