Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi phil_ilo. If I understand the issue correctly, you’re just wondering how public events work…correct? The public/private functionality in the plugin should work exactly the same as any other WP post; so, if you leave an event public, it’ll be visible to anyone who visits the URL on the frontend.

    Let me know if I misunderstood the request here and I can elaborate as needed.

    Thread Starter phil_ilo

    (@phil_ilo)

    If a post is private, anybody on the backend can see it, correct?

    This is how I would like to use the plugin. I have events that are private, for logged in users only. The private events are now showing on the grid view, it is showing on the event list view however.

    If you would like to email me directly, I will be willing to give you authorization to show you my example.

    Hi Phil. I believe we’ve been exchanging emails on this, so I’m going to hold off on responding here. Let me know if I’m incorrect there.

    Hi, I use private posts and events like phil_ilo. I created private post/event and users with permissions “view private post/event” must see this content. Whitch is a bug in The Events Calendar, when I create a private event other users with right permissions dont see this event, nor on witget or calendar view. In https://www.example.com/events it shows ok. Please fix this, thank you so much.

    Hi guys we have a patch for this available here: https://gist.github.com/2149250

    I’ll look into getting this implemented in core ASAP.

    Thanks,
    Jonah

    We do have this on the plate to fix in 2.1 but that won’t be out for a month or two. For now you can use the patch and that will work.

    So the patch makes sure private events show up in the grid calendar? just downloaded pro – they’re not there, but they’re in the list view.
    where does the patch go exactly? a separate php file in resources?
    also is there an error in $args=” in the declaration? weird – double apostrophe or two or?

    Hey mattmilner. It’s very possible that the code has changed enough since this was first proposed that this needs some tweaking. Not positive but since Jonah is back from his vacation on Monday we can see if he’s got the knowledge to point you in the right direction with this.

    Hey Matt,

    I just updated the Gist, you’re right there was a syntax error. You need to modify the core file /wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on currently lines 2478 – 2489.

    The code should make it so private events show in the gridview and list. Please try the updated code and let me know if that works for you. And note, since you are editing a core file you will need to apply this patch every time you update until it becomes part of the core code.

    I hope that helps!

    – Jonah

    Hey Matt. Just wanted to follow-up on this one; I assume you’re all set based on Jonah’s last response, but can you confirm? I’d like to mark this resolved and close out the issue in our internal support system if so. Thanks!

    Hey again Matt. Since we haven’t heard anything back here, I’m going to assume you either moved on or got this sorted, and am marking the thread RESOLVED accordingly. Please let me know if you disagree and we can keep troubleshooting. Cheers!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: The Events Calendar] Private Events’ is closed to new replies.