API integration for puling the content from other website

Home Forums Legacy Support Support queries Update Issues API integration for puling the content from other website

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #351860
    LSFglobal
    Participant
    Hi team, I am using the parent theme and done the api integration with other website for the loading of the content. But i am getting issue in loading the content whenever i update the wplms plugin or update the theme my code file gets removed and also it dont work. Please suggest me what changes i can make in my code so that it works all the time. I can share my code with you Thanks in Advance Naveen
    #351959
    Anshuman Sahu
    Keymaster
    Well yes it will be removed on update . WE do not recommend to make changed directly into the core files of the plugins and themes . Please use child theme or wplms customizer plugin to make the code changes to support updates . Please refer https://wplms.io/support/knowledge-base/how-to-use-child-theme/ you need to use wordpress hooks and filters to customize : https://developer.wordpress.org/plugins/hooks/
    #352148
    LSFglobal
    Participant
    HI, I have seen the way you guys respond on the ticket. Which is not of use and sometime i get some code which also dnt work when i implement over here. So please suggest me with any developer from your team whom we can hire and make this project complete. Please suggest someone, otherwise it not worth it to continue with this theme. Thanks & Regards, Naveen
    #352154
    Anshuman Sahu
    Keymaster
    Please share us the details how, where and what you are customizing? Due to covid situation we are not at our full strength hence running low on resources and times . We can indicate how you can customize a module in theme without overwriting existing files of theme or plugin .
    #352288
    LSFglobal
    Participant
    This reply has been marked as private.
    #352388
    Anshuman Sahu
    Keymaster
    Well first of all the wp-includes folder is not a place to customize . You should create a child theme or plugin in which you can place this file . Secondly please share some more details .We do not directly check your customization code as this is not customization support , its theme support .We can correct if its not working and tell anything about our own code.This is not covered at all in theme support . But still I checked your code where our filter and found the issue : this wont give your user id : //$user = vibebp_expand_token($request['token']); this will : $body = json_decode($request->get_body(),true); $user = apply_filters('vibebp_api_get_user_from_token','',$body['token']); I have updated the code at the path in your site , you can check .
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘API integration for puling the content from other website’ is closed to new replies.