WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Private Events (12 posts)

  1. phil_ilo
    Member
    Posted 2 years ago #

    If I post an event and instead of making it public i select private, what does it do?

    I want to make my event private like a wordpress page, I want subscribers to be able to see it but not every day visitors!

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    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.

  3. phil_ilo
    Member
    Posted 2 years ago #

    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.

  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    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.

  5. danix1
    Member
    Posted 1 year ago #

    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 http://www.example.com/events it shows ok. Please fix this, thank you so much.

  6. jonahcoyote
    Member
    Posted 1 year ago #

    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

  7. jonahcoyote
    Member
    Posted 1 year ago #

    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.

  8. mattmilner
    Member
    Posted 1 year ago #

    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?

  9. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    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.

  10. jonahcoyote
    Member
    Posted 1 year ago #

    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

  11. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    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!

  12. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic