leaderboard

Home Forums Legacy Support 4.0 Bugs & Issues leaderboard

Viewing 15 posts - 16 through 30 (of 36 total)
  • Author
    Posts
  • #360368
    MrVibe
    Keymaster
    ok, so you have to cached the Course ID in a class to be used in the shortcode because the shortcode execution goes inside the rest API. the actual implementation in your case would be : https://gist.github.com/MrVibe/33425b188c5516c70c4bb40d3f0eee35 You have to add the code like this to get the course_id.
    #360371
    Ernesto Lee
    Participant
    thank you. 1- please let me know where should i place this code?? https://gist.github.com/MrVibe/33425b188c5516c70c4bb40d3f0eee35 in wplms customizer?? 2- as you said this filter is missing add_filter(‘wplms_get_course_tabs’,function($tabs){ so where should i add this filter??
    #360392
    MrVibe
    Keymaster
    1. yes 2. This filter is already there.
    #360569
    Ernesto Lee
    Participant
    this is the complete code i used and it did not work. please test this in your local host then share it with me. it shows fatal error and breaks site. download the entire code from here: https://we.tl/t-4aoI1fXtBM i used it in customizer plugin as mr vibe suggested
    #360762
    Anshuman Sahu
    Keymaster
    try out this code :https://gist.github.com/alexvibealex/0d61687dd2a4139c4f5ed3a7d9212196
    #360801
    Ernesto Lee
    Participant
    this is the issue i am getting: https://share.getcloudapp.com/X6uAz90J a fatal error same as earlier thats why i told you to test in local please.
    #360802
    Ernesto Lee
    Participant
    if possible show a screenshot where should i find this leaderboard
    #360959
    MrVibe
    Keymaster
    updated : https://gist.github.com/MrVibe/33425b188c5516c70c4bb40d3f0eee35 whereever you place this shortcode in the course layout or single course you will get the leaderboard. Note this is a customisation request not a support request
    #361059
    MrVibe
    Keymaster
    Sharing fix.
    #361085
    Ernesto Lee
    Participant
    waiting for the fixes.
    #361109
    MrVibe
    Keymaster
    coming up
    #361153
    MrVibe
    Keymaster
    http://i.prntscr.com/9pqobgRkSoiJ-2enyem5Zw.png Gist updated : https://gist.github.com/MrVibe/33425b188c5516c70c4bb40d3f0eee35
    #361154
    MrVibe
    Keymaster
    WPLMS plugin update is required, we're releasing update in few moments.
    #361178
    Ernesto Lee
    Participant
    is it live, what should i do?? do i need to update the coding as well??
    #361250
    MrVibe
    Keymaster
    not yet, this update will be released on monday. But it seems you are pressed on time. You have to replace the file : wp-content/plugins/wplms_plugin/assets/js/wplms.js with this file : https://drive.google.com/file/d/1p6Mix9s_rMBCr4GxKLU1QTkSQDqwORf5/view?usp=sharing and then clear browser cache and use the above code. That should fix this.
Viewing 15 posts - 16 through 30 (of 36 total)
  • The topic ‘leaderboard’ is closed to new replies.