Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 + 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Autocenter Module Group Permission Problem
by orgunozcu on 2006/11/26 23:42:03

may you share this modul?? many xoopser looking for this modul..
Thank..

(if you share we can also taste..)
Re: Autocenter Module Group Permission Problem
by zeroram on 2006/10/27 19:51:04

hi thank for answering.

i think you didnt get my question...:)

my problem is when you allow permission to a user that belong to a group wich have admin right only to this module.

i know is not a problem of XOOPS or something that suppost to be that way. because i can see it work properly with other modules.

working example if i want to grant admin rights to mydowloads module only to a user in group 4 (custom group) that work perfect.. he/she can access without a problems to the preferences of the module.

but not in my module...

is there a place where i can see any special rules or tutorial when creatin XOOPS modules ?
Re: Autocenter Module Group Permission Problem
by Quest on 2006/10/27 19:36:53

I don't have a fix but Preferences are normally a system webmaster right unless admin/moderator is granted system permissions too. As for them seeing the admin link to the module after they click on the module link and not before, I believe that is the way XOOPS is designed and the way it is supposed to be.

Quest
Re: Autocenter Module Group Permission Problem
by zeroram on 2006/10/27 16:51:00

anyone?
Autocenter Module Group Permission Problem
by zeroram on 2006/10/26 22:11:56

Hi everyone.. hope someone understand my problem.

We are creating a Module call autocenter on XOOPS 2.13.2 but we have a problem with permissions.

Wwe have the username: prueba and we create a group call "concecionarios"

on groups we allow this group concecionarios to have admin rights on the module autocenter (only)

when user login , it does not get the administration link. unles he go to autocenter module. ( that make sense..)

but when the user go to ADMIN page of the module everything work, exept PREFERENCES wich give the message saying " you dont have permissions to access this area"


Here is the error debug on site.com/admin.php
le="color: #000000"><?php Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 57




Here are the Debug on the "you dont have permission text"

le="color: #000000"><?php Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386


Here is the DEBUG on MSQL /blocks

le="color: #000000"><?php Queries SELECT * FROM cote_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC SELECT sess_data FROM cote_session WHERE sess_id = '1667c495ca9923c4163bcac5c3cdff01' SELECT * FROM cote_users WHERE uid=5 SELECT COUNT(*) FROM cote_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_admin' AND gperm_itemid = '1' AND (gperm_groupid = '2' OR gperm_groupid = '6')) SELECT COUNT(*) FROM cote_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_admin' AND gperm_itemid = '1' AND (gperm_groupid = '2' OR gperm_groupid = '6')) SELECT COUNT(*) FROM cote_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_admin' AND (gperm_groupid = '2' OR gperm_groupid = '6')) SELECT * FROM cote_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '2' OR gperm_groupid = '6')) Total: 7 queries Blocks Total: 0 blocks Execution Time XOOPS took 0.062299013137817 seconds to load. Extra

Who's Online

210 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits