Sorry corrected the code ,please copy the corrected the code from above.
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 .
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 .
can you share some details maybe we can check , can you share us the plugin and share what it does
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 :
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 .
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 .
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/
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
- This reply was modified 3 months, 1 week ago by Food-interactive.
The topic ‘query in the course of the database’ is closed to new replies.