Entries by Ken Young

Configure Group Emails

Email Settings As of version 3.0.3, all email settings are now available in their own tab. From the email tab you can set the From Email, From Name, and the Reply To  for all group email communication, using the email templates provided by the plugin. There are 5 built in email templates to set up and automate communications when users are added to groups. Note that all email templates are global; there is no way to send different communications to different groups, or to allow Group Leaders to add their own personal messages. The variables associated with each template allow you to include personalized information (such as #FirstName, #LastName) for each user. Please take note of the variables for each template and their description below: The Add and invite (new user) email is sent when a Group Leader selects the Add and invite option in the Add user dialog, and the user is not already registered on the site.  When this email is sent, the user is automatically registered as a new WordPress user and added to the LearnDash Group.  This template includes the #Password variable because passwords are randomly generated for new users.  If you would prefer to have users select their own […]

New Mark Complete Button Options in Tin Canny!

Our Tin Canny LearnDash Reporting plugin offers the easiest way to add modules from tools like Articulate Storyline, Adobe Captivate, Rise, and iSpring to your LearnDash courses. It’s our second most popular LearnDash plugin and gives thousands of LearnDash sites xAPI and SCORM capabilities that rival bigger LMS vendors. Since it was introduced, we gave LearnDash users a way to control progress in courses based on how learners interacted with uploaded modules. It was pretty simple: users could only click the LearnDash Mark Complete button to move forward if they completed, passed, or achieved some other condition inside the module. For Tin Canny some users, that wasn’t enough. We got a lot of questions about Tin Canny like these: Can we hide the Mark Complete button completely until the learner completes a module? Can we change the text on the Mark Complete button if there’s Tin Canny content on the page? Can we automatically mark the lesson/topic complete when the learner completes the module? Can we automatically move the learner to the next lesson when they complete the module? We wrestled with changes for a long time and couldn’t settle on the right way to handle autocompletion and autoadvancing for […]

Certificate Preview

The Certificate Preview module is part of the Pro Suite of modules for the Uncanny LearnDash Toolkit. It lets you preview what a LearnDash .pdf certificate will look like without having to leave the certificate editing interface by adding a metabox with a Certificate Preview button to the Edit Certificate page. Troubleshooting If your certificate doesn’t seem to be rendering correctly in the preview, here are a few things to check: Be sure save changes to your certificate before you click the preview button; unsaved changes will not be reflected in the preview. LearnDash shortcodes (such as quizinfo and courseinfo) will be replaced with static preview values. Non-LearnDash shortcodes may not render at all and are not supported.  

Template Overrides

As of Uncanny LearnDash Groups version 3.0.4, developers can edit template files in an upgrade-safe way using overrides.   Copy the template file into a directory within your theme named /uncanny-groups/, keeping the same file and folder structure but removing the /templates/ subdirectory. For example, to override the controls above the users table, copy: wp-content/plugins/uncanny-learndash-groups/src/templates/frontend-uo_groups/users-table-actions.php to wp-content/themes/yourtheme/uncanny-groups/frontend-uo_groups/users-table-actions.php The copied file will now override the default. Warning: Do not edit these files within the the Uncanny Groups plugin itself, as they are overwritten during the upgrade process and any customizations will be lost. Uncanny LearnDash Groups is a complex plugin with integrations into LearnDash, WooCommerce, Gravity Forms and Theme My Login.  Customizations should only be attempted by experienced developers, as we cannot provide support for custom code.

Template Overrides

As of Uncanny LearnDash Enrollment Codes version 3.0.3, developers can edit template files in an upgrade-safe way using overrides.   Copy the template file into a directory within your theme named /uncanny-codes/, keeping the same file and folder structure but removing the /templates/ subdirectory. For example, to override the Codes registration form, copy: wp-content/plugins/uncanny-learndash-codes/src/templates/frontend-user-registration-form.php to wp-content/themes/yourtheme/uncanny-codes/frontend-user-registration-form.php The copied file will now override the default. Warning: Do not edit these files within the the Uncanny Codes plugin itself, as they are overwritten during the upgrade process and any customizations will be lost. Customizations should only be attempted by experienced developers, as we cannot provide support for custom code.

Adding Credits to Student Transcript

Uncanny Continuing Education Credits integrates with the Learner Transcript module in the Uncanny LearnDash Toolkit Pro by adding a column that shows credits earned or credits available for each course in which the user is enrolled. In the screenshot above, credits have been renamed to “Hours” (in the Uncanny CEU plugin settings). To use this functionality: Enable and set up the Learner Transcript module of the Uncanny LearnDash Toolkit Pro. Install and activate the Uncanny Continuing Education Credits plugin.  The column will automatically be added to the transcript.

Actions/Filters for Developers

Uncanny LearnDash Groups provides the hooks below for advanced developers to use when developing custom functionality that integrates with the plugin.  No support is provided for the use of these filters. When an existing user is added on front end do_action( ‘ulgm_existing_group_user_added’, $user_data, $group_id, $order_id ); $do_not_send_emails = apply_filters( ‘ulgm_do_not_send_existing_user_email’, $do_not_send_emails, $user_data, $group_id, $order_id ); Before user is added on front end returns true or false if group leader allowed to add user wp_get_current_user() = (object) of current logged in user details $group_email_data[‘group_id’] = (int) LD Group ID $user_data = (object) user data, user_email is part of the array and recommended method to verify user v/s group leader $ulgm_gdpr_compliance = apply_filters( ‘ulgm_gdpr_is_group_leader_allowed’, true, wp_get_current_user(), (int) $group_email_data[‘group_id’], $user_data ); After user is added on front end do_action( ‘ulgm_group_user_invited’, $user_data, $group_id, $order_id ); $do_not_send_emails = apply_filters( ‘ulgm_do_not_send_new_user_email’, $do_not_send_emails, $user_data, $group_id, $order_id ); When redemption email is sent out do_action( ‘ulgm_redemption_email_sent’, $user_data, $group_id ); $do_not_send_emails = apply_filters( ‘ulgm_do_not_send_redemption_email’, $do_not_send_emails, $user_data, $group_id ); When group leader is added on front end do_action( ‘ulgm_group_leader_added’, $user_data, (int) $_POST[‘group-id’], $order_id ); When group leader is removed on front end do_action( ‘ulgm_group_leader_removed’, $user_id, (int) $group_id ); When user is removed on front end do_action( ‘ulgm_group_user_removed’, $user_id, (int) $group_id […]

Autocomplete Lessons & Topics when Quiz is Graded

When lesson or topic quizzes are manually graded in LearnDash (and the user receives a passing mark), users have to return to the associated lesson or topic to manually mark it complete.  When enabled, this module automatically marks the lesson or topic associated with the quiz complete so the learner doesn’t have to take that step. The lesson or topic will not be marked complete if the lesson or topic contains additional quizzes that have not yet been completed successfully.

Group Login Redirect

The Group Login Redirect module enables you to redirect group members to a group-specific page on login. Once the module is enabled, it adds the login fields below to LearnDash Group edit pages. Simply enter the redirect URL in the Redirect members on login field. In most cases, you should leave the Redirect priority field blank.  There are two situations in which you may want to enter a number in the field: If users are in multiple groups with login redirects, the redirect with the highest Redirect priority will take precedence. If you find that users are not being redirected to the desired URL on login, it’s likely that another plugin on your site is overriding the redirect with a redirect of a higher priority.  Enter a number larger than 99 in the Redirect priority field (try 99999 if you absolutely want this redirect to take priority over all others). Shortcodes The Group Login Redirect module includes two shortcodes that enable you to create a link to the Group Login Redirect URL. These are: [uo_group_login_redirect_url] This shortcode outputs the URL exactly as it is typed into the Redirect members on login field (see above).  This enables usage in a menu […]