1
lubdub
any way to prevent access to user pages?
  • 2004/9/2 13:42

  • lubdub

  • Just popping in

  • Posts: 64

  • Since: 2002/2/28


I handle a small student fellowship site. Students grow and become workers, but they are still members "forever" and still visit the site.
I recently received a complaint from one of my user because the first result returned by Google on his name is his user page on our site. He doesn't want any future employer to see that.

Is there any way to easily allow access to those pages only to registered users?

(it's a 1.x version, but I will upgrade to X² within a few weeks)

2
Mithrandir
Re: any way to prevent access to user pages?

At the top of userinfo.php (after mainfile.php)
if (!$xoopsUser) {
    
redirect_header('index.php'2_NOPERM);
}

3
lubdub
Re: any way to prevent access to user pages?
  • 2004/9/2 16:30

  • lubdub

  • Just popping in

  • Posts: 64

  • Since: 2002/2/28


Thanks, that was fast!

4
Mithrandir
Re: any way to prevent access to user pages?

Don't get used to it - answer times may vary

Login

Who's Online

61 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 61


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