1
Kasch
Anonymous visitors can view user info - how to change?
  • 2004/6/2 19:13

  • Kasch

  • Not too shy to talk

  • Posts: 109

  • Since: 2004/2/9 2


Non registered visitors to my site cam view user info by clikcing usernames at forum subjects or in comments. Why? How can I change this? According to the group permissions, users should not be able to view this. The forums are public and that is OK, but I do not want anonymous visitors to ba able to view registered users information.

2
Dave_L
Re: Anonymous visitors can view user info - how to change?
  • 2004/6/2 19:17

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Here's my hack for that:

userinfo.php:

include_once XOOPS_ROOT_PATH.'/class/module.textsanitizer.php';

[
color=ff0000]$xoopsUser or redirect_header('index.php'3_NOPERM);[/color]

$uid intval($HTTP_GET_VARS['uid']);

3
Kasch
Re: Anonymous visitors can view user info - how to change?
  • 2004/6/2 19:29

  • Kasch

  • Not too shy to talk

  • Posts: 109

  • Since: 2004/2/9 2


Help within five minutes? Great! Thanks a lot - it seems to work fine!

Login

Who's Online

611 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 611


more...

Donat-O-Meter

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

Latest GitHub Commits