1
madDan
2.5 user profile permissions
  • 2010/11/16 21:58

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


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?

2
madDan
Re: 2.5 user profile permissions
  • 2010/11/16 22:01

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


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

3
blackrx
Re: 2.5 user profile permissions
  • 2010/11/17 2:05

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


Having the same problem

4
blackrx
Re: 2.5 user profile permissions
  • 2010/11/17 2:09

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


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..

5
demian
Re: 2.5 user profile permissions
  • 2010/11/17 3:57

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


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, "");

6
madDan
Re: 2.5 user profile permissions
  • 2010/11/17 7:22

  • madDan

  • Not too shy to talk

  • Posts: 105

  • Since: 2010/1/6 1


Cheers for that

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

7
kerkyra
Re: 2.5 user profile permissions
  • 2010/11/25 17:18

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


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...

8
hipoonios
Re: 2.5 user profile permissions
  • 2010/11/27 17:22

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


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!

9
mjoel
Re: 2.5 user profile permissions
  • 2010/12/1 12:19

  • mjoel

  • Quite a regular

  • Posts: 331

  • Since: 2006/12/9


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

10
jcweb
Re: 2.5 user profile permissions
  • 2010/12/3 18:15

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


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


Login

Username:
Password:

Lost Password? Register now!

Who's Online

62 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 62


more...

Donat-O-Meter

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

Latest GitHub Commits