Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Arantor on February 08, 2014, 11:43:12 PM

Title: Remove Quick Search if no Permission
Post by: Arantor on February 08, 2014, 11:43:12 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3834)

In SMF 2.0, if a user cannot use the search function, the search menu is disabled as it should be - but quick search is not.

Now, there is a previous mod (http://custom.simplemachines.org/mods/index.php?mod=2461) that removes the quick search box by way of a template edit. This mod should, on almost every single theme, remove the search box from users who cannot see it - without having to edit the theme.


This is licensed under the 3 Clause BSD licence (http://opensource.org/licenses/BSD-3-Clause) as it was derived from code I wrote for SimpleDesk (http://custom.simplemachines.org/mods/index.php?mod=2491)'s "Standalone" mode.
Title: Re: Remove Quick Search if no Permission
Post by: coltp45 on May 13, 2014, 07:35:38 PM
hello.  i Install this mod on my forum 2.0.7
users can not enter the topics.
Only users who have search permissions can.
Title: Re: Remove Quick Search if no Permission
Post by: Arantor on May 13, 2014, 07:40:36 PM
Link to site?
Title: Re: Remove Quick Search if no Permission
Post by: coltp45 on May 13, 2014, 07:47:59 PM
www.futbol-argento.com.ar

User prueba  pass 123456789

Title: Re: Remove Quick Search if no Permission
Post by: Arantor on May 13, 2014, 07:58:12 PM
Considering that you're using Google search mod, it's hardly surprising mine is acting up, fairly sure it's because of whatever you did to splice Google's code into there. Just remove my mod.
Title: Re: Remove Quick Search if no Permission
Post by: coltp45 on May 13, 2014, 08:41:50 PM
Quote from: Arantor on May 13, 2014, 07:58:12 PM
Considering that you're using Google search mod, it's hardly surprising mine is acting up, fairly sure it's because of whatever you did to splice Google's code into there. Just remove my mod.

Ok thanks