Show certificate on course and profile separately

Home Forums Legacy Support Support queries How-to & Troubleshooting Show certificate on course and profile separately

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #165176
    hannes.kloepper
    Spectator
    Hi I want to do some customisation to design. I want to Show certificate on course and profile separately as a TAB. How I can add separate menu tab and fetch all list of certificates. Which hooks are useful to do fulfill this?
    #165309
    Diana
    Participant
    @hannes.kloepper This hook you can use to add a new subnav tab in courses tab is bp_setup_nav And this is the function http://hookr.io/functions/bp_core_new_subnav_item/ There are no function which will return all certificates. You have to first fetch the user ids and then the you have to fetch the associated information. I guess you want to display the list of users and the certificates they earned beside the list. This is a customization job so I can guide you only. Cannot provide you custom code.  
    #165314
    hannes.kloepper
    Spectator
    I want to display list cetificate earned perticular student on his profile. I just want to field associated with user will give me certificate info. Rest code I will do.
    #165407
    hannes.kloepper
    Spectator
    To show certificate tab on course page I used below code from forum. https://wplms.io/support/knowledge-base/adding-custom-section-in-course-menu/ It shows content from custom function but also shows content from below file course/single/front.php I can prevent content shown from front.php & only show content printed from function wplms_course_custom_section_area?
    #165463
    Diana
    Participant
    @hannes.kloepper, First Post Reply You can fetch the information about users using the function get_user_meta article to use function: https://developer.wordpress.org/reference/functions/get_user_meta/ key will be vibe_course_certificate which you can use in this function. Second Post Reply I think you want to remove related courses field from single course page. Go to wp-admin > WPLMS > Course Manager > disable this. So this will not be visible on your custom section Refer: http://prntscr.com/jv6prw
    #165506
    hannes.kloepper
    Spectator
    Hi About second post reply you didn't understood. Its not related courses. I clearly mentioned about tuts I used in second post. This one. https://wplms.io/support/knowledge-base/adding-custom-section-in-course-menu/ See this http://prntscr.com/jv9g02 Go though above screenshot, that will clarify you. Like there is members, activity etc tabs on course I want to add certificate tab on it.  
    #166198
    Diana
    Participant
    @hannes.kloepper you can use this instead of above tip: https://wplms.io/support/knowledge-base/wplms-course-custom-nav-plugin/ In the above tip the code is written that if the action is custom(when you click on custom nav then it will return the single course page content. You can overwrite this by returning the user content as an array instead of returning template content
    #167432
    hannes.kloepper
    Spectator
    Hi As per your suggestion, I did. Have a look on output. http://prntscr.com/jzo20u Its weird. There issue inside file, course/single/plugins.php
    #167539
    Diana
    Participant
    @hannes.kloepper can you please tell me what steps did you followed?
    #167643
    hannes.kloepper
    Spectator
    Same steps as described in link you given
    #167779
    Diana
    Participant
    @hannes.kloepper, Okay, I'll check and then update you
    #167893
    hannes.kloepper
    Spectator
    @Diana Looks like you are new to support team. I am Makarand, WordPress Developer, using this theme from last 4 years. Issue is in theme templates-> inside theme-> course/single/plugins.php file contains get_header & get_footer function. That's why look was messy. Also plugin you suggested works fine. Issue was I stated above. plugin was not of my use, as it shows static content. I wanted to show dynamic content in tabs. For that I already used proper hooks, which are same present in plugin. I managed to myself to solve my issue. & support is poor from your end. You need to study your theme well.
    #168013
    Diana
    Participant
    @hannes.kloepper, Apologies from my side that you are not satisfied with my assistance. But I thought that you are not using proper hooks to show the content. That's why you are facing the issue. I am also not aware that you are using this theme from so long time and you are a wordpress developer. That's why I was searching for an easy alternative which you could understand because for me you are an user who is unaware about hooks. Apologies once again..
Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Show certificate on course and profile separately’ is closed to new replies.