1
Luminosity
Preventing module from being searched in global search
  • 2004/9/1 2:15

  • Luminosity

  • Just popping in

  • Posts: 37

  • Since: 2004/5/3 1


I am allowing my users to search various modules from the XOOPS global search. There is however one module I am running that I do not want users to be able to search. The module is XF-Section 1.06 and it contains misc. documents that are not needed to be searched by my users. I have tried every trick I know to disable search for this module, but everytime I go to /search.php to make a search, there is XF-Search ready to be searched. In the "Modules Administration" area I have made the "Order" for this module to be 0, as it says it will "Hide" it, but that doesn't seem to do it. Any ideas?

2
tl
Re: Preventing module from being searched in global search
  • 2004/9/1 2:34

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Search is defined in xoops_version.php file

// Search
[color=e84848]$modversion['hasSearch'] = 1;[/color]
$modversion['search']['file'] = 'include/search.inc.php';


change "1" to "0" will disable the search function. Don't forget to Update the module after you have made the change.


3
Luminosity
Re: Preventing module from being searched in global search
  • 2004/9/1 19:59

  • Luminosity

  • Just popping in

  • Posts: 37

  • Since: 2004/5/3 1


Thanks!! That did the trick!

I appreciate your help.

Login

Who's Online

243 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits