News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Remove Quick Search if no Permission

Started by Arantor, February 08, 2014, 11:43:12 PM

Previous topic - Next topic

Arantor

Link to Mod

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 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 as it was derived from code I wrote for SimpleDesk's "Standalone" mode.
Holder of controversial views, all of which my own.

coltp45

hello.  i Install this mod on my forum 2.0.7
users can not enter the topics.
Only users who have search permissions can.

Arantor

Holder of controversial views, all of which my own.

coltp45


Arantor

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.
Holder of controversial views, all of which my own.

coltp45

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

Advertisement: