48: Valentijn L has earned 48 Hero Points by being an active WPMU DEV member. They can use these to buy real stuff!
87: Valentijn L has earned 87 Reputation Points by getting involved in the WPMU DEV community.

Valentijn L
Amsterdam, NL · Coach and Freelancer Amsterdam, NL Coach and Freelancer Design Lord, Child of Thor
race biking, music
Member since July 2016
Not a WPMU DEV member?
Sign up today and get access to 100+ plugins, plus 24/7 support and private member forums!
Get a membership Already a member? Login

-
Valentijn L commented on CoursePress - Show student overview on front end.Nov 24, 2017
One thing : how to output also in one page instead of delivering of list of links to the workbooks. One page thought would be nice. How to handle : CoursePress_Data_Student in order to get workbook units content output. Now my students have to click 5 links to have an overview. Any suggestions? thx so far! -
Valentijn L commented on CoursePress - Show student overview on front end.Nov 24, 2017
Hi Did a bit of tweaking using arrays now : //* cp show workbook */ function wpmu_student_workbooks_shortcode( ) { $return = ''; $current_user_id = get_current_user_id(); $workbooks = array(); if ( class_exists( 'CoursePress_Data_Student' ) && $current_user_id ) { $student_courses = CoursePress_Data_Student::get_enrolled_courses_ids( $current_user_id ); foreach ( $student_courses as $course_id ) { $workbook_is_active = CoursePress_Helper_Utility::checked( CoursePress_Data_Course::get_setting( $course_id, 'allow_workbook', false ) ); if ( $workbook_is_active ) { $workbook_url = CoursePress_Data_Student::get_workbook_url( $course_id ); $course = CoursePress_Data_Course::get_course( $course_id ); $return = '<a href="' . $workbook_url . '" target="blank" description="open this workbook" title="open this workbook">' . $course->post_title . '</a>'; //$return .= '<a href="' . $workbook_url . '" target="blank" description="open deze werkboek" title="open deze werkboek">' . $course->post_title . '</a><br>'; array_push($workbooks, $return); } } } sort($workbooks); //var_dump($workbooks); foreach($workbooks as $key => $value) { echo $value.'<br>'; } } add_shortcode( 'wpmu_student_workbooks_shortcode', 'wpmu_student_workbooks_shortcode' ); -
Valentijn L commented on CoursePress - Show student overview on front end.Nov 24, 2017
Wow great ! Will check now... MU plugins why? : I assume I insert this in my function.php within my theme child? Is there a downside of doing that content wise or performance wise? -
Valentijn L commented on CoursePress - Show student overview on front end.Nov 22, 2017
Hi Not specific : is it possible to create a list of all workbooks links for 1 student visible for the logged in students. -
Valentijn L commented on CoursePress - Show student overview on front end.Nov 21, 2017
Hi Looks great but how to make a workbook overview with direct links for the students based on Members Pro membership selections? I guess matching active members of their relevant group : How to correct this for each active student (want an extra link on top showing at the end all workbook of all courses and modules clickable) foreach ( $students as $student ) { $new_user = wp_set_current_user( $student->ID ); if ( !empty( $new_user->ID ) ) { $return .= ' ' . sprintf( __( 'WORKBOOK OF %s' ), $new_user->data->user_nicename ); $return .= CoursePress_Data_Shortcode_Student::student_workbook_table( array() ); } } Now students have to go inside an active course and press on workbook -
Valentijn L commented on CoursePress 2.0.2 course_list shortcode filteringSep 29, 2017
Note for everyone struggling with sorting courses in CP you can use : https://nl.wordpress.org/plugins/post-types-order/ Which works fine sorting the courses manually WPMUDEV : why isn't this implemented by default??? -
Valentijn L commented on CoursePress Pro "units" not showingSep 29, 2017
Same issue here. As admin I see everything but as member (membership 2 pro) is have issues... Units are not visible. Also updating units is very slow... don't trust the saving action at the moment... -
Valentijn L commented on CoursePress Pro Feature Request: Custom Upload DirectoriesSep 20, 2017
Hi This is something that I need. Especially to prevent full servers. Seperate student content with date: year/month/day even would help a lot... -
Valentijn L commented on Course Press and upload files for the studentSep 20, 2017
Hi Is it possible to create a sub folder within the upload folder in order to keep the upload files separated from student material! Would save me a lot of time. Options: zip files after uploading -
Valentijn L commented on CoursePress is not updating CP2Jul 17, 2017
Hello Got the same issue upgrading from CP 1 ->2 newest as of 17th July. Even with 1x tweak update stream. This is very annoying won't the streamline this process every 6 months not rebulding this by every upgrade. Php mode : 7.0 in compatbility mode (others modes won't' work). CP says it's upgrading by actually doing nothing I guess..
Upgrade Membership
Hello - you seem to have stumbled upon a super-secret ultra-private members-only page on the WPMU DEV forums. This is where people go to discuss their business secrets and development tips. Want in?
- Access to business, marketing and development sparring with peers
- Access to business, marketing and development sparring with peers
- Access to all our 100+ plugins
- Access to all our 100+ plugins
- Full Security, SEO, Backup and Performance service suites
- Full Security, SEO, Backup and Performance service suites