Leaderboard according batches

Home Forums WPLMS AddOns WPLMS Batches Leaderboard according batches

Viewing 15 posts - 31 through 45 (of 88 total)
  • Author
    Posts
  • #237361
    Scott Lang
    Moderator
    Hi, We are able to view files using your FTP credentials. Can you let me know the path where you have added your code? We can check your code which you have written and guide you on how to do but at this time we are unable to take customization requests. Is that this: http://prnt.sc/qcxo7d  is written by you then you must have followed these steps to work. 1- Add button for show my cred point form for a particular user 2- Add my cred point form which will open at button click 3 - Handle ajax submission for that form for that user.[i.e. Update user's my-cred points]  
    #237386
    ratlsadmin
    Spectator
    This reply has been marked as private.
    #237556
    Scott Lang
    Moderator
    Hi, Issue fixed. The issue is just $ for Jquery refer this: http://prntscr.com/qejigx Error: http://prntscr.com/qejj6g Also, the path is themes/maxplore/includes/wplms-action.php  
    #237581
    ratlsadmin
    Spectator
    This reply has been marked as private.
    #237586
    Scott Lang
    Moderator
    Hi, Can you let me know where you have written the code for the leaderboard and graph to get data?? And which page that widget is showing. Is this specific for the course??
    #237587
    ratlsadmin
    Spectator
    This reply has been marked as private.
    #237589
    Scott Lang
    Moderator
    Hi, We have added a test API endpoint for you in themes/maxplore/includes/wplms-function.php . You can create more API according to your need and get data which format you need refer to this image:http://prntscr.com/qenhgf
    #237591
    ratlsadmin
    Spectator
    This reply has been marked as private.
    #237640
    Scott Lang
    Moderator
    Hi, We are using wordpress rest API. In wplms-functions.php we have added a sample API on how to create a single route. After all, the evaluation that you return will be the response of that API. You can create many more only return things matters. We can guide you but things will be done from you. Also, you have knowledge about Wordpress and PHP itself.  
    #238531
    ratlsadmin_598
    Participant
    This reply has been marked as private.
    #238654
    Scott Lang
    Moderator
    Refer this function code to fetch batch members:http://prntscr.com/qkp50b Also, you don't need to connect your database, Wordpress will do internally. Then just join points and fetch_batch_member query and sort by points.
    #238662
    ratlsadmin_598
    Participant
    This reply has been marked as private.
    #238778
    Scott Lang
    Moderator
    "Then just join points and fetch_batch_member query and sort by points"   Means If you have  user_ids of batches table and point table thus you have to do join both table by user_id and sort by points for user_id We need you point table structure[where user_id and points are present] and where you have written your API Please share We will check.
    #238781
    ratlsadmin_598
    Participant
    This reply has been marked as private.
    #238916
    Scott Lang
    Moderator
    This reply has been marked as private.
Viewing 15 posts - 31 through 45 (of 88 total)
  • The topic ‘Leaderboard according batches’ is closed to new replies.