Member's only

Home Forums Calendar Products Community Events Member's only

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1098702
    danielle
    Participant

    Hello.

    I purchased the community event calendar and everything has been going great so far.

    I need to know, however, how I can make my default calendar page visible to members only. I have set up all the permissions with the community submissions, however, if someone is to directly go to http://behsolutions.com/cliniccalendar/ they can still view my calendar. Is there a way to change this? 3rd party plugin? I already have a third party plugin that makes many of my pages accessible to members only but I cannot see how to do this with your calendar.

    My field is very sensitive to privacy (therapy) so this is a necessary component.

    Thanks!
    Dani

    #1099145
    danielle
    Participant

    I can make each event private and this would remove it from the public calendar for those not logged in, however, I cannot find a way to make community submitted events automatically be made available to members only.

    #1099218
    Geoff
    Member

    Hello Dani and welcome to the forums. 🙂

    Great question! To make the calendar itself private, you could add something like this to the default-template.php file:

    <?php
    if ( is_user_logged_in() ) {
    // This is where the calendar code would go.
    } else {
    echo 'Sorry, this calendar is private. Please log in to see it.';
    }
    ?>

    If you haven’t modified one of our plugin’s template files before, then I would suggest checking out our Themer’s Guide to get acquainted with how to do it first.

    Cheers!
    Geoff

    #1105469
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Member's only’ is closed to new replies.