1
draxan
Search core file hack
  • 2005/4/15 13:10

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Hi
How to hack search.php file to remove module and block permission
$groups = ( $xoopsUser ) ? $xoopsUser -> getGroups() : XOOPS_GROUP_ANONYMOUS;
$gperm_handler = & xoops_gethandler'groupperm' );
$available_modules $gperm_handler->getItemIds('module_read'$groups);

a need to do to search in all block and modules without permission.

Thx in advance for any info

2
ackbarr
Re: Search core file hack

wouldn't it be easier to adjust the permissions in System -> Groups so that all groups have full permissions?

3
draxan
Re: Search core file hack
  • 2005/4/16 9:42

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Yes that will be easier but I got problem to find permission in WF-Section module in that case when not logged user try to find something, search not working in WF-Section module. So it easier for me to change core file or if U know where set up permissions for not logged users is WF module I will be glad.

THX!!! AND HELP!!!!!

4
jdseymour
Re: Search core file hack

Hi draxan,

What version of WF-Section are you using? In version 2.07 beta 3 these settings are set when you edit or create each new document. In the admin section or WF-Section select to edit a document - First line includes "Document Access Permissions:" select the groups you want to have access to that document (Press and hold the Ctrl key to select multiple groups).

Also check your module access rights for WF-Sections in System Admin - Groups.

Earlier versions of WF-Section I am not familiar with.

HTH.

Login

Who's Online

119 user(s) are online (56 user(s) are browsing Support Forums)


Members: 0


Guests: 119


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