Securing the calendar

Home Forums Calendar Products Events Calendar PRO Securing the calendar

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #916382
    chriscassidy
    Participant

    Hi guys,

    I’m using Magic Members to create a secure website for a organisation. The idea I had was to use a calendar plugin behind this secure area so only logged in members can view the calendar events. Magic Members restricts access depending on Page, Category etc. Now, after purchasing Calendar PRO I’ve realised that the calendar does not embed itself into a page, it means that the calendar can not be secure. Do you guys know of any way around this?

    Thanks!

    #916748
    Barry
    Member

    Hi Chris,

    You could certainly craft a custom solution for this by combining a few different things:

    • You could hook into pre_get_posts to test and see if a calendar page has been requested
    • Test if the user is logged in using is_user_logged_in()
    • Take them some place else if necessary via wp_safe_redirect()

    It’s verging on custom development territory so it’s really something you’d need to drive forward yourself – but the above should provide the basic building blocks (and/or you could potentially leverage existing tools within the membership plugin you are using).

    Good luck!

    #926332
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Securing the calendar’ is closed to new replies.