Extending Venues

Home Forums Calendar Products Events Calendar PRO Extending Venues

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #64476
    Stephen
    Participant

    Hello,
    I am looking to make a directory listing on my site, and I have Events Calendar Pro installed. I was creating a custom post type called Places and realized Venues is essentially the same. Do you have any recommendations on how to create an Extension for Events Calendar Pro that would extend the Venues features. For example, changing the slug from venue to place, adding custom taxonomy to venues, adding more custom meta to a place, and creating a custom archive for places/venues with filters.
    Thanks

    #64577
    Julie Kuehl
    Participant

    Hey Stephen,

    The folks in our The Events Calendar PRO forum are going to be better able to answer your question over there. I’m going to transfer this topic to them.

    They’ll be more than happy to help!

    — Julie

    #64883
    Stephen
    Participant

    Great Thanks Julie, is this in the right forum now?

    #64991
    Kelly
    Participant

    Hi, Stephen. This is definitely the right place. Sorry for the delay in response.

    It looks like we won’t be able to get you an answer today, but we’ll be back in touch on Monday. Thank you for your patience!

    #65296
    Barry
    Member

    Hi Stephen,

    Thanks for your patience.

    I’m afraid it’s rather outside the scope of offered support to guide you through this one – to create and maintain a set of customizations like this you’re really going to need solid WP development skills/spend time digging through the Codex (or work with someone who can offer that sort of capability).

    Sorry we can’t do more here.

    #65648
    Stephen
    Participant

    No suggestions or anything? I have a solid knowledge of wordpress and development skills, but I was hoping you might have some suggestions that would help me. Like has anyone extended your plugin, has anyone work with customizing venues?
    Your email notifications don’t work by the way, it says I’m subscribed to the email updates but I’m not getting them.

    #65656
    Barry
    Member

    There are quite a few customizations and extensions out there I’m sure – in terms of offering up suggestions, is there any particular part of the puzzle you’re stuck on?

    Your email notifications don’t work by the way, it says I’m subscribed to the email updates but I’m not getting them.

    Sorry to hear that, perhaps they are being filtered out by a spam or junk filter? If that’s definitely not the case do let us know and we can certainly look into it (so far as I know we haven’t seen a particular surge in people reporting this one though – not that that means there is no problem, of course).

    Thanks!

    #65672
    Stephen
    Participant

    Hi Barry,
    Hmm not getting stuck in the spam filter.

    One element I’m stuck on now is changing the Venue slug. I would like to rename Venue to Place, throughout my site, I should be able to do that with a translation file, but I can’t change the slug from /venue/ to /place/
    Thanks

    #65696
    Barry
    Member

    Hmm not getting stuck in the spam filter.

    OK, we’ll definitely keep an eye out for further reports of this, right now though I’m not sure there is much we can do about this one, unfortunately 🙁

    One element I’m stuck on now is changing the Venue slug.

    You can filter the arguments used during post registration with tribe_events_register_venue_type_args (and indeed you can alter properties like this immediately post registration – the registered_post_type action could be leveraged here as your possible trigger to do this).

    #66066
    Stephen
    Participant

    Thanks Barry,

    Could you possibly provide a basic example of changing one post type variable using the tribe_events_register_venue_type_args filter? I am familiar with using WordPress’ filters and actions however, in this case, the registered “Venue” post type does not appear to be using my modified variables.

    #66072
    Barry
    Member

    I’m afraid you’d have to dig in and do a little debugging to see what’s happening – as I noted above we can’t help a great deal with customization work of this nature. If it helps we can provide a list of experienced freelancers who might be able to assist?

    #66112
    Stephen
    Participant

    Actually, what appears to be happening is that the Events Calendar Pro plugin, when activated, is preventing the overwrites added with the tribe_events_register_venue_type_args filter from taking effect. Perhaps the Pro add-on is overwriting the post type arguments with it’s own defaults later in the initialization. I’m not sure, either way it doesn’t look like the tribe_events_register_venue_type_args filter functions as intended with the Pro add-on. Would that fall more under the support / bugfixes scope?

    #66130
    Barry
    Member

    Hi Stephen,

    Events Calendar PRO uses the very same filter – but unless you are trying to remove one of the changes that PRO makes I’m not sure why you’d run into difficulties here.

    It’s entirely possible that there is a bug here and if you think that may be the case please do give an example ideally sharing the code you are using, along with a note of what you expect to happen, and we’ll certainly look into it 🙂

    (Do note that the forum does not currently do a great job of handling any code you might paste in, so instead please share code using a service like Pastebin or Gist – thanks!)

    #66132
    Stephen
    Participant

    Hello Barry.
    Thanks for the reply. I’ve continued digging into this and my best guess at this point involves the function on line 1446 events-calendar-pro.php
    It looks like this function re-registers the “Venues” custom post type to change the argument for “exclude_from_search”, but I am guessing that it uses the pre-filtered venue arguments and, as such, does not include any changes made by the tribe_events_register_venue_type_args filter.

    #66133
    Stephen
    Participant

    sorry, the Events Calendar Pro function I’m referring to is allow_cpt_search()

Viewing 15 posts - 1 through 15 (of 22 total)
  • The topic ‘Extending Venues’ is closed to new replies.