Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Show certificate on course and profile separately
Tagged: certificate, profile
- This topic has 12 replies, 2 voices, and was last updated 6 years, 4 months ago by Diana.
Viewing 13 posts - 1 through 13 (of 13 total)
-
AuthorPosts
-
June 13, 2018 at 9:05 am #165176hannes.kloepperSpectatorHi 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?June 14, 2018 at 5:40 am #165309DianaParticipant@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.June 14, 2018 at 6:49 am #165314hannes.kloepperSpectatorI 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.June 14, 2018 at 2:36 pm #165407hannes.kloepperSpectatorTo 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?June 15, 2018 at 5:59 am #165463DianaParticipant@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/jv6prwJune 15, 2018 at 10:05 am #165506hannes.kloepperSpectatorHi 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.June 18, 2018 at 9:04 am #166198DianaParticipant@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 contentJune 27, 2018 at 7:05 pm #167432hannes.kloepperSpectatorHi As per your suggestion, I did. Have a look on output. http://prntscr.com/jzo20u Its weird. There issue inside file, course/single/plugins.phpJune 28, 2018 at 12:54 pm #167539DianaParticipant@hannes.kloepper can you please tell me what steps did you followed?June 29, 2018 at 10:06 am #167643hannes.kloepperSpectatorSame steps as described in link you givenJune 30, 2018 at 12:56 pm #167779DianaParticipant@hannes.kloepper, Okay, I'll check and then update youJuly 2, 2018 at 11:53 am #167893hannes.kloepperSpectator@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.July 3, 2018 at 9:59 am #168013DianaParticipant@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..
-
AuthorPosts
Viewing 13 posts - 1 through 13 (of 13 total)
- The topic ‘Show certificate on course and profile separately’ is closed to new replies.