Organizer Page Taking Over BuddyPress Profile Page

Home Forums Calendar Products Events Calendar PRO Organizer Page Taking Over BuddyPress Profile Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1509692
    jasonfant
    Participant

    I’m having a problem with Events Calendar Pro and BuddyPress playing nicely together. When a user clicks on a BuddyPress member’s link in the members directory, if that member also happens to be an event organizer, The Events Calendar Pro intercepts the request and redirects the user to the Member’s Organizer page.

    The slug for the profile is http://[websiteurl]/members-directory/%5Bmembers-name%5D and the redirect sends the user to http://[websiteurl]/organizers/%5Bmembers-name%5D

    How can I stop this behavior? I can’t find any settings to control this. Thanks.

    #1509807
    jasonfant
    Participant

    So I’ve traced the rewrite to the Tribe__Events__Rewrite code and commented out line 199 which specifies the ORGANIZER_POST_TYPE as a valid candidate for rewriting the URL. I’ve included a snippet below:

    196: $supported_post_types = array(
    197: Tribe__Events__Main::POSTTYPE,
    198: Tribe__Events__Main::VENUE_POST_TYPE,
    199: /*Tribe__Events__Main::ORGANIZER_POST_TYPE,*/
    200: );

    Obviously this isn’t a long term solution because this will get overridden on an update and I’m not sure what else I’m breaking by doing this (though I haven’t found anything broken yet). What is the long term solution for this. Surely this isn’t intentional behavior.

    Thanks in advance for your help. I figured I’d just give an update as to where I am currently.

    Jason

    #1510831
    jasonfant
    Participant

    Just checking in. I haven’t heard anything about this ticket today. Thanks for your help.

    #1511128

    Hi Jason,

    Thanks so much for reaching out!

    Glad that you were able to find the source of the issue.

    Instead of editing our plugin code directly, I’d recommend following the steps outlined in our Themer’s Guide and copying and editing the code there.

    Let me know if you have any other questions on this topic!

     

    Thanks,

    Jaime

    #1528338
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Organizer Page Taking Over BuddyPress Profile Page’ is closed to new replies.