1
Shufflebug
"sorry, you don't have permissions..." msg when trying to display detailed user info.
  • 2003/9/10 14:20

  • Shufflebug

  • Just popping in

  • Posts: 40

  • Since: 2002/6/19


Hi all,

i searched the forums, but didn't find a thread related to my specific problem.
My config: XOOPS 2.0.3, PHP 4.3.1, register_globals = ON


On my productive site anonymous users are able to use the systems member search, but are not able to display the detail view of a user, instead a 'no permissions for this area' message is displayed. The group permissions for 'members' are set for all Groups. When I am logged in as admin, everthing works fine.


I don't know what this behavior is related to. Can anyone help me in this case ?


regards
Shufflebug

2
Shufflebug
Re: "sorry, you don't have permissions..." msg when trying to display detailed user info.
  • 2003/9/17 13:02

  • Shufflebug

  • Just popping in

  • Posts: 40

  • Since: 2002/6/19


bump !

anyone ??

3
costi
Re: "sorry, you don't have permissions..." msg when trying to display detailed user info.
  • 2003/9/18 23:37

  • costi

  • Just popping in

  • Posts: 15

  • Since: 2003/9/12


With me, it's the reverse. I'm trying to hide that information and I can't.

I disabled access for anon users to xoopsmembers module, but they can access userinfo.php file with no problems with links like:

http://trubadur.usr.ro/userinfo.php?uid=1
http://trubadur.usr.ro/userinfo.php?uid=2

And so forth.
They click on the links from "Who's online" and "New members" block, and maybe others.

I'm very interested how you made a "no permision" for that file.

4
costi
Re: "sorry, you don't have permissions..." msg when trying to display detailed user info.
  • 2003/9/25 10:59

  • costi

  • Just popping in

  • Posts: 15

  • Since: 2003/9/12


Forgot to add the link to xoopsmembers module. You can see it's disabled for anonymous users.

http://trubadur.usr.ro/modules/xoopsmembers/

5
Shufflebug
Re: "sorry, you don't have permissions..." msg when trying to display detailed user info.
  • 2003/10/6 11:09

  • Shufflebug

  • Just popping in

  • Posts: 40

  • Since: 2002/6/19


bumpty bump. really noone ???

6
kahumbu
Re: "sorry, you don't have permissions..." msg when trying to display detailed user info.
  • 2003/10/30 15:11

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Quote:

costi wrote:

I'm very interested how you made a "no permision" for that file.


What I did for my site was to add some code I got from the edituser.php file (and changed it a little).

// If not a user, redirect
if ( !$xoopsUser ) {
    
redirect_header('index.php',3,_US_NOPERMISS);
    exit();
}


I just inserted that piece of code a few lines after all the includes were called. I haven't had any major problem with this so far.

Login

Who's Online

223 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

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

Latest GitHub Commits