WordPress page i'ds for community event pages?

Home Forums Calendar Products Community Events WordPress page i'ds for community event pages?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #119858
    benjamin1986
    Participant

    Hi,

    I’ve purchase community events add-on, and its great. But is is possible to find the page i’ds of the default community event pages (http://suffolkcinemanetwork.org/events/community/add, http://suffolkcinemanetwork.org/events/community/list) or, do they even have page i’ds. I know how to find page i’ds for all other pages on my site but struggling with these 2, i’m guessing they work in a different way?

    Anyway, reason is I’m restricting my community event submissions page to members only (i don’t want to confuse them with the wordpress backend interface, they are a varied bunch) and i want users to be able to view my ‘members only’ vertical menu on these two pages using the page id’s (if they have them)?

    I hope this makes sense. Thanks. Ben

    #119984
    Casey
    Participant

    Ben,
    Thanks for getting in touch. The Community Add-on uses virtual pages for the Event Submission/Edit form, and the ‘My Events’ listing page, so they don’t have any WordPress page IDs. However, you can restrict access to members only by going to ‘Events->Settings->Community’ and making sure ‘Allow Anonymous’ submissions is turned off (screenshot) so that only logged-in users can submit events.

    We also have some conditional PHP tags for use in your theme:

    • tribe_is_community_edit_event_page() – used for determining if the user is viewing the edit/submission form
    • tribe_is_community_my_events_page() – used for determining if the user is view the ‘My Events’ listing page

    Give those suggestions a try and let me know if you have further questions. Thanks! πŸ™‚

    -Casey-

    #120002
    benjamin1986
    Participant

    Hi,

    Thanks for the speedy response, but not quite what i was after. I’m already restricting access to these pages using 2s member pro plugin.

    Understand about the id’s, though this might be the case. The reason i wanted to use this is that the members menu should only be visible to members, and i was using the i’d’s to specify on the theme which pages it should display on. I guess i could try the reverse and possibily get the result im after (Tell the members menu to show on ALL pages and then use page id’s to add exceptions to this rule – omitting all public facing pages from this rule)

    Slightly long way round, but hopefully might get the menu to display on the virtual pages – will let you know how this goes.

    Thanks again. ben

    #120006
    Casey
    Participant

    Thanks for the reply, Ben. I’ll leave this thread open, for the time being, if you have further questions. Thanks! πŸ™‚

    -Casey-

    #122832
    Casey
    Participant

    I just wanted to follow up and see if you’re all set here or if you still have further questions. Just let me know if you need further help or if I should go ahead and close out this thread. Thanks! πŸ™‚

    -Casey-

    #122844
    benjamin1986
    Participant

    Hi,
    Thanks, sorry for the delay.
    I’ve managed to work around it, and find a decent enough solution. Turning off anonymous submissions will give me what i need as you decribed.

    #122867
    Casey
    Participant

    Great! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5

    Thanks in advance. πŸ™‚

    Cheers,
    Casey

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘WordPress page i'ds for community event pages?’ is closed to new replies.