Use Key on Dev and Live sites on same domain

Home Forums Calendar Products Events Calendar PRO Use Key on Dev and Live sites on same domain

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1074477
    James
    Participant

    Hi, we’ve just purchased a single site licence and added the key to our dev.mydomain.com development site. When we’ve come to update the live site, the licence key is out of installs. We thought that, as this is effectively a single domain name, it would work on both sites. Is this possible?

    Many thanks

    Dean

    #1074490
    James
    Participant

    Also, it appears that the ‘tax-tribe_events_cat’ class is no longer added to the body tag. Is this something that was removed from the plugin functionality?

    #1074492
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    The license system works for individual installs of WordPress and not the domain itself.

    However, the license is only needed for automatic updates and not for the plugin to work.

    So you can add the license to the site you are doing the automatic updates and the other does not need it.

    You can also move the license from site to site following this guide:

    https://theeventscalendar.com/knowledgebase/using-one-license-for-your-live-and-dev-sites/

    And we have move license related guides here:

    https://theeventscalendar.com/knowledgebase-category/install-licenses/

    Let me know if you have any follow up questions.

    Thanks

    #1074494
    James
    Participant

    Thanks Brian, just wanted to repost this incase you didn’t see it:

    Also, it appears that the ‘tax-tribe_events_cat’ class is no longer added to the body tag. Is this something that was removed from the plugin functionality?

    #1074518
    James
    Participant

    Sorry, my manager has mentioned that it might be a pain for us to have to keep moving the licence key from one site to the other. Ideally, we’d like to have it running on both sites concurrently. Is that possible?

    #1074527
    Brian
    Member

    What version did you update from?

    I do not see it in 4.0 or 3.12, which are the last two versions.

    #1074547
    James
    Participant

    We’ve updated from 3.7.

    If you look here: http://hallsgb.com/auction/category/fine-art-auctions/decorative-arts, the body tag has the ‘tax-tribe_events_cat’ class. This version of the site is still on 3.7.

    The dev site is now on 4.0.5, and doesn’t have this class on the bdoy tag: http://dev.hallsgb.com/auction/category/fine-art-auctions/decorative-arts

    Thanks for your assistance.

    #1074694
    Brian
    Member

    I am not sure when it was changed there is 6 major releases between them.

    This snippet added to a child theme’s functions.php will add the class back:

    // Add specific CSS class by filter
    add_filter( 'body_class', 'tribe_body_class' );
    function tribe_body_class( $classes ) {
    if ( tribe_is_event_category() ) {
    $classes[] = 'tax-tribe_events_cat';
    }
    return $classes;
    }

    As for the license we only have the ability to have one license per install for the personal license and there is no way around that. The license is not needed for the plugin to work so you could have it in one and do manual updates of the plugin in another.

    #1074849
    James
    Participant

    Thanks, that has fixed some of the styling issues. Is it possible to do something similar to the post container div? It’s missing these classes:

    .hentry .vevent

    #1075120
    Brian
    Member

    Hi,

    For the most part themes are responsible for adding in those classes and some like Genesis are removing them on purpose.

    This filter should add it back:
    add_filter( 'post_class', 'tribe_post_class_filter' );
    function tribe_post_class_filter( $classes ) {
    if ( tribe_is_event() && is_single() ) {
    $classes[] = 'hentry vevent';
    }
    return $classes;
    }

    #1078040
    Brian
    Member

    Since this is marked with a correct answer I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Use Key on Dev and Live sites on same domain’ is closed to new replies.