xoops forums

madDan

Not too shy to talk
Posted on: 2010/11/16 21:58
madDan
madDan (Show more)
Not too shy to talk
Posts: 105
Since: 2010/1/6 1
#1

2.5 user profile permissions

Having a strange one here

Two seperate new builds of 2.5 both give same issue

When trying to set permissions for user profile when selecting visibility option I am met with a blank page

and using debug the following
Quote:

Fatal error: Call to undefined function loadmoduleadminmenu() in D:\*************************\modules\profile\admin\visibility.php on line 23
None All Errors (2) Deprecated (0) Queries (20) Blocks (0) Extra (2) Timers(5)
Errors
Notice: Undefined variable: current in file /modules/system/class/gui.php line 128
Notice: Undefined index: in file /modules/system/class/menu.php line 139


I have tried updateing module both before and after updating system module and tried differing frontend and backend themes

anyone have similar?

madDan

Not too shy to talk
Posted on: 2010/11/16 22:01
madDan
madDan (Show more)
Not too shy to talk
Posts: 105
Since: 2010/1/6 1
#2

Re: 2.5 user profile permissions

Oh and looking at my DB table for visibility it only allows groups 1 2 3 to view profile info, not other usergroups

blackrx

Quite a regular
Posted on: 2010/11/17 2:05
blackrx
blackrx (Show more)
Quite a regular
Posts: 227
Since: 2008/2/5 1
#3

Re: 2.5 user profile permissions

Having the same problem

blackrx

Quite a regular
Posted on: 2010/11/17 2:09
blackrx
blackrx (Show more)
Quite a regular
Posts: 227
Since: 2008/2/5 1
#4

Re: 2.5 user profile permissions

another thing in

a. I have 5 group > 2 customs, anonymous, registered, webmaster
in "Field Editable from profile"
only the name of webmaster is visible..the checkboxes of other groups are visible but not the name..


b. in the same section "Field editable from profile"

when we click the all checkboxes ..nothing happen..

demian

Quite a regular
Posted on: 2010/11/17 3:57
demian
demian (Show more)
Quite a regular
Posts: 225
Since: 2008/4/29
#5

Re: 2.5 user profile permissions

Quote:

madDan wrote:
When trying to set permissions for user profile when selecting visibility option I am met with a blank page


open up

...modules\profile\admin\visibility.php

and remove this line

loadModuleAdminMenu(5, "");

madDan

Not too shy to talk
Posted on: 2010/11/17 7:22
madDan
madDan (Show more)
Not too shy to talk
Posts: 105
Since: 2010/1/6 1
#6

Re: 2.5 user profile permissions

Cheers for that

anyone know why it's in the release version build?

kerkyra

Just can't stay away
Posted on: 2010/11/25 17:18
kerkyra
kerkyra (Show more)
Just can't stay away
Posts: 553
Since: 2005/2/14
#7

Re: 2.5 user profile permissions

Hallo there. I'm having some trouble with profile module.

First of all i added a new user group. And then i created a user for that group.

Even though i had set the basic permissions in group access and in profile module, the user of this new group could not see his own profile details. It just shows the edit buttons and nothing more. Visibility permissions should be set seperatelly!

Shouldn't it be by default that every user CAN see his own profile details no matter what group he belongs to?

Also a button to have one group inherit another groups permisions would be handy, as the way we have to set them up right now is not very handy.

Cheers

www.guidemap.gr - Beta is out...

hipoonios

Friend of XOOPS
Posted on: 2010/11/27 17:22
hipoonios
hipoonios (Show more)
Friend of XOOPS
Posts: 298
Since: 2005/9/24
#8

Re: 2.5 user profile permissions

Same problem for me. Still no fix?

Removing loadModuleAdminMenu(5, ""); from visibility.php is not really a fix.

I think this is a bug in the profile module. I have made a a lot of tests. (with different php versions, os, clean install etc).

And.. If you have created a custom group, then the user in that group can't edit or view his or any other users user profile even if the permissions is set right.
I love Xoops!

mjoel

Quite a regular
Posted on: 2010/12/1 12:19
mjoel
mjoel (Show more)
Quite a regular
Posts: 307
Since: 2006/12/9
#9

Re: 2.5 user profile permissions

Quote:

blackrx wrote:
another thing in

a. I have 5 group > 2 customs, anonymous, registered, webmaster
in "Field Editable from profile"
only the name of webmaster is visible..the checkboxes of other groups are visible but not the name..


b. in the same section "Field editable from profile"

when we click the all checkboxes ..nothing happen..


Having the same problem

jcweb

Quite a regular
Posted on: 2010/12/3 18:15
jcweb
jcweb (Show more)
Quite a regular
Posts: 253
Since: 2005/4/25
#10

Re: 2.5 user profile permissions

Hi friends

First, the fix works for me. I bring with two error warning i did not see, i dont know if this warnings habe something to do with this problem. In the admin section of the profile module, if i choose the visibility option, i see:

- Undefined variable: current in file /modules/system/class/gui.php line 128
- Undefined index: in file /modules/system/class/menu.php line 139

The other options works fine.

Greetings Andy