Home › Forums › Calendar Products › Events Calendar PRO › Event Access
- This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by
Brook.
-
AuthorPosts
-
February 4, 2014 at 11:35 pm #100907
megswhite
ParticipantI am using The Events Calendar with PRO, Facebook and Community Events add-ons.
I have an issue with making the events private to members of my website only. At the moment I am using the User Access Manager plugin and have created an access group, however all of the information for the event is still published, only the body text is what is hidden from the public. Seems a bit silly!
Is there anyway I am missing something? If I make the event private, only I see it so it defeats the purpose. I want the event to only be seen by members. Or at least open the event and them not able to see where/when it is (and get an error message to sign up and/or login instead).
Thanks
February 4, 2014 at 11:41 pm #100909megswhite
ParticipantTo add: this is the URL of the event. You should be able to see all of the information in regards to the time/place, but just not the description.
http://adelaidemummymeetings.com.au/wordpress/event/adelaide-mummy-meetings-seacliff/
I don’t want the public to be able to see that information, I want them to only be able to get a message asking them to sign up or log in.February 6, 2014 at 10:21 am #101400Brook
ParticipantHowdy megswhite,
I am not aware of any plugin that does exactly what you need. However, I do have a handy snippet that accomplishes this. You will need to modify it a bit to fit your needs, but that should be easy enough if you know a bit of PHP.
What that snippet does is selectively hide events within certain categories from user roles. For instance, if you wanted to hide all events from a category, and the slug for that category is “exclude-slug”, then you specify “exclude-slug” on line 13 as I did in the example. As you can see on lines 11 & 12, it will only excludes those events if the user is not an administrator. So, anything less than an admin will not see it. This can easily be modified to hide multiple categories, multiple roles, etc. But, you will need to know PHP.
If the above sounds like Greek or is hard to follow, you might have to hire a developer to accomplish this task. We keep a list of knowledgeable ones on hand if you ever need. Just email [email protected] and request it.
Does that make sense? Did it answer your question? Please let me know. Cheers!
– Brook
-
AuthorPosts
- The topic ‘Event Access’ is closed to new replies.
