query in the course of the database

Home Forums Legacy Support Support queries Update Issues query in the course of the database

Viewing 15 posts - 16 through 30 (of 36 total)
  • Author
    Posts
  • #316346
    Anshuman Sahu
    Keymaster
    Sorry corrected the code ,please copy the corrected the code from above.
    #316460
    Food-interactive
    Participant
    This reply has been marked as private.
    #316696
    Anshuman Sahu
    Keymaster
    As this is a custom request and does not comes under theme support you can consider hiring a freelancer for this. We have already told you where and how you will get the user id in unit content. The idea is to run a filter on api which returns course content on course status and push your custom html into it checking with user id .
    #316741
    Food-interactive
    Participant
    This reply has been marked as private.
    #316986
    Anshuman Sahu
    Keymaster
    Yes that's right but in order to change the whole technology we had to take this step. We tried to provide the best to our users , even our addons stopped working in V4 this is why we are supporting old plugins as well with new theme .
    #316987
    Anshuman Sahu
    Keymaster
    can you share some details maybe we can check , can you share us the plugin and share what it does
    #317432
    Food-interactive
    Participant
    This reply has been marked as private.
    #317476
    Anshuman Sahu
    Keymaster
    Well we can then force the wordpress login to the user by removing out login and adding login link to wp-login.php ,there user logs into wordpress and then enable the "Synchronise WP with VibeBP Login " frpm wp-admin -> vibebp -> settings . for this please add this code in your wp-admin -> wplms -> footer -> google anaylitics script :
    <script>jQuery(document).ready(function(){jQuery('a.vibebp-login').on('click',function(event){event.preventDefault();event.stopPropagation();window.location.href='https://food-interactive.de/wp-login.php'});
    });</script>
    #317560
    Food-interactive
    Participant
    This reply has been marked as private.
    #317772
    Anshuman Sahu
    Keymaster
    Because our token system does not set the get_current_user_id therefore suggested to use the wp login where this is set . there will be no security issues . Yes you will get the get the get_current_user_id like before .
    #318076
    Food-interactive
    Participant
    This reply has been marked as private.
    #318303
    Anshuman Sahu
    Keymaster
    Ohh I forgot that the get_current_user_id thing does not works in api's . you have to use the code snippet and suggested previously to run your custom plugin .
    #318356
    Food-interactive
    Participant
    This reply has been marked as private.
    #318544
    Anshuman Sahu
    Keymaster
    Please remove that code in wp-admin -> wplms -> footer -> google anaylitics script as it wont work coz out whole system works on api's now and in api it does not detects the get_current_user_id() . IF forgot this part . You will need to revert to 3.9 in order to make your custom plugin work . please refer : https://wplms.io/support/knowledge-base/reverting-from-4-0-to-3-x/
    #318655
    Food-interactive
    Participant
    that cant be the solution, other plugins also interact with the database or not? how do they store data from user input and read it out? how can we get a user id from the api? we want to use wplms system. we wrote now over weeks here with now nearly 30 posts and you tell us, it wont work? you send us code, which was useless? why? if we revert to 3.9 we are out of updates, right? this cant be so difficult, i appeal on your honor as developer to help us
Viewing 15 posts - 16 through 30 (of 36 total)
  • The topic ‘query in the course of the database’ is closed to new replies.