ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Restricting access to member directory

June 26, 2008 12:18pm

Subscribe [2]
  • #1 / Jun 26, 2008 12:18pm

    Kernon

    173 posts

    I’ve been using a set of customized member templates, but I’ve run into a problem in that I also need to restrict access to the membership directory to members only.  I don’t see a way to do that unless I switch everything to regular EE templates, where I can set access privileges.

    Is this correct?  Or, is there a workaround?

  • #2 / Sep 16, 2009 1:29pm

    mediasauce

    14 posts

    Anyone got an answer to this? I also need to do the same thing within my member templates.

  • #3 / Sep 16, 2009 1:45pm

    mediasauce

    14 posts

    Figured it out. In the mod.member.php file of the Member Module, there’s a $no_login variable that accepts an array of pages that are accessible without being logged in. Just take the Member List and whatever else out and you should be good to go.

  • #4 / Sep 16, 2009 3:59pm

    Lisa Wess

    20502 posts

    You can also set “can view public member profiles” to no in the member group preferences.

  • #5 / Sep 16, 2009 4:00pm

    Kernon

    173 posts

    Actually, there’s another way using the control panel.  See the following thread:

    Restricting access to member directory

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases