Member directory read only for non-admin users?

About Support Directory Member directory read only for non-admin users?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2827
    Avatar for SherylSheryl
    Member

    Hi Andy – We’re setting up our member directory / address list to be accessible by non-logged in users (but on a password protected page). We’re in the US so this is legal, and many in our congregation are tech averse so requiring them to log in would be a non-starter. Having said this, we want the entries to be editable on the front end only by logged in users. If I read the documentation correctly, this should be possible by setting updateable=1 in the shortcode, but I’ve tried every permutation I can think of and the entries are editable by a non-logged in user. Can you help me understand what I’m missing?

    Thanks
    Sheryl

    #4073
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    You are missing nothing!
    The problem is that the directory is cached – so if it’s updateable=1 it’ll have the edit link for all users logged in or not. A non logged in user will get the screen that allows them to login or register.
    Mmm – I think the only way round will be to add a cache=0 flag so the user gets served an edit link if logged in and nothing if not.

    Done for v1.5210

    #4075
    Avatar for SherylSheryl
    Member

    Fantastic – works a charm! Thanks!

    #4076
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Great!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.