1
DreamNight
Global Search
  • 2006/9/12 13:48

  • DreamNight

  • Just popping in

  • Posts: 4

  • Since: 2006/9/12


I make a website based on Xoops. All it's greath. But, I have a little problem.
I have a module that I put it hide for users, but it's active. I wanna hide this module for the Global Search. I don't wanna enybody know what's in this module. In System module it's Search Options but only Global Search on or off.
The question is:
How I select the modulse that users can search in specific modules, not in all modules.
Thank you.

2
zyspec
Re: Global Search
  • 2006/9/12 14:03

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


It might be relatively simple, depending on the module you're using. Can you tell us which module you'd like to "hide" from search?

3
DreamNight
Re: Global Search
  • 2006/9/12 15:26

  • DreamNight

  • Just popping in

  • Posts: 4

  • Since: 2006/9/12


It's about debaser. I wanna use just the players. So... I give acces to this module, but i hide it from the manu list. The user can acces a song from a link in a content module page, but the must don't see the entire list of audio files. And i wanna hide search to this module (debaser). How can i do that?

4
zyspec
Re: Global Search
  • 2006/9/12 16:04

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Edit lines 112-114 in /modules/debaser/xoops_version.php (on version 0.92 - may be different lines in another version).

Change:
Quote:

$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "debaser_search";


To:
Quote:

$modversion['hasSearch'] = 0;
//$modversion['search']['file'] = "include/search.inc.php";
//$modversion['search']['func'] = "debaser_search";


Then in Admin > Modules make sure you update the debaser module. That should do it.

Login

Who's Online

468 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 468


more...

Donat-O-Meter

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

Latest GitHub Commits