Modifying Vibes Course Module and update

Home Forums Legacy Support Support queries How-to & Troubleshooting Modifying Vibes Course Module and update

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4408
    esteeb
    Spectator
    Good Morning, I have a question regarding future updates. My developer has modified quite a bit on the Vibe Course Module to make it work for our needs. Now with the new theme update available, I'm afraid to update in case it gets overwritten and also that the other plugins that requires updating might affect the integrity of the modifications. What would be the best solution for future updates? Should we be using the customizer plugin? Your advise would be greatly appreciated. Thanks
    #4701
    Anshuman Sahu
    Keymaster
    All the customizations are recommended to be done in the customizer plugin and in your child theme  . if you have modified the code directly of your vibe course module plugin files then all the changes will be lost on update . For the other plugin update ,this will depend on your customization and the other plugins .
    #5424
    esteeb
    Spectator
    Rather than hooking into the predefined hooks, we simply want to overload the existing functions. We have overwritten the following functions: the_course_button get_the_course_details unit_traverse If the plugin were written with the conventional if (!function_exists('p_wpse_95799')) this would not be an issue.  However, because that is not the case I had to comment out the plugins in the function before overwriting them in the child theme.  Is there a way around directly modifying the plugin as such? Thanks.
    #5602
    Anshuman Sahu
    Keymaster
    Yes if you completely want to modify the key functions then please follow the check functions exists or not  and make your modified function t load before the actual functions load .
    #5623
    esteeb
    Spectator
    The child theme functions load before the plugin functions, however, because the core plugin does not include check function exists it bricks the whole website.  Is there a way I can prevent those files from loading within the functions.php of the child theme?  Are there any expected updates to the plugin that would include check function exists?
    #5853
    Anshuman Sahu
    Keymaster
    We have function check on " the_unit  " function but do not have any function check on the " the_course_button " . We would include the function check in next update of vibe course module . Can you list the function names that you would override ?
    #6365
    esteeb
    Spectator
    These are the three that we would like to override: <span style="color: #4b4d4d; font-family: Lato; font-size: 14px; line-height: 22px;">the_course_button</span><br style="box-sizing: border-box; color: #4b4d4d; font-family: Lato; font-size: 14px; line-height: 22px;" /><span style="color: #4b4d4d; font-family: Lato; font-size: 14px; line-height: 22px;">get_the_course_details</span><br style="box-sizing: border-box; color: #4b4d4d; font-family: Lato; font-size: 14px; line-height: 22px;" /><span style="color: #4b4d4d; font-family: Lato; font-size: 14px; line-height: 22px;">unit_traverse</span> Thanks, Lauren
    #6688
    Anshuman Sahu
    Keymaster
    the_course_button
    get_the_course_details
    unit_traverse Thanking you for sharing the functions names we will have a check for it in the vibe course module update  .
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Modifying Vibes Course Module and update’ is closed to new replies.