Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 12:03 pm EDT

Geeklog Forums

Password protect entire site


Theophile

Anonymous
I would like to restrict access to my entire Geeklog installation to registered members in a specific group. In addition, I would like a "request access" link on the login page. How can I do this?

Thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Set the permissions on all Geeklog objects (stories, topics, blocks, etc.) such that anonymous users can't see them - with the exception of the User Functions block. Set $_CONF['loginrequired'] = 1 (or equivalent in the Configuration admin panel in 1.5.0). Also disable new user registration.

Then you could either post a story, visible for anonymous users, explaining how to get a password, or use a static page as a centerblock.

bye, Dirk
 Quote

Theophile

Anonymous
Ah, that would work. Thanks!

Is there a way to bulk update the permissions on, say, 150 stories?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
UPDATE gl_stories SET perm_anon = 0;

That would hide all stories from anonymous users.

bye, Dirk
 Quote

Theophile

Anonymous
Yes it would. Thanks!
 Quote

All times are EDT. The time is now 12:03 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content