Advertisement:

Author Topic: Remove/suppress Search  (Read 3928 times)

Offline RobGullen

  • Semi-Newbie
  • *
  • Posts: 18
Remove/suppress Search
« 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

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,969
Re: Remove/suppress Search
« Reply #1 on: November 18, 2015, 05:41:43 PM »
are you using SMF 2.1?

Offline RobGullen

  • Semi-Newbie
  • *
  • Posts: 18
Re: Remove/suppress Search
« Reply #2 on: November 19, 2015, 02:35:27 AM »

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Remove/suppress Search
« Reply #3 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 ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline RobGullen

  • Semi-Newbie
  • *
  • Posts: 18
Re: Remove/suppress Search
« Reply #4 on: November 19, 2015, 05:16:39 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

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Remove/suppress Search
« Reply #5 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 ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,969
Re: Remove/suppress Search
« Reply #6 on: November 19, 2015, 05:39:25 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?

Offline RobGullen

  • Semi-Newbie
  • *
  • Posts: 18
Re: Remove/suppress Search
« Reply #7 on: November 19, 2015, 05:42:52 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

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Remove/suppress Search
« Reply #8 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.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,316
  • Gender: Male
    • Kindred-999 on GitHub
Re: Remove/suppress Search
« Reply #9 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?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,937
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • What's Ur Beef
Re: Remove/suppress Search
« Reply #10 on: December 15, 2015, 08:06:46 PM »
Did ya get this figured out Rob. ??