Entries by Ken Young

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.

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 ); When 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 ); Email filters $to = apply_filters( ‘ulgm_redemption_email_to’, $user_email, $user_data, $group_id ); $subject = apply_filters( ‘ulgm_redemption_email_subject’, $redemption_template_subject, $user_data, $group_id ); $body = apply_filters( ‘ulgm_redemption_email_body’, $redemption_template_body, $user_data, $group_id ); $to = apply_filters( ‘ulgm_welcome_email_to’, $user_email, $user_data, $group_name ); $subject = apply_filters( ‘ulgm_welcome_email_subject’, $welcome_template_subject, $user_data, $group_name ); $body = apply_filters( ‘ulgm_welcome_email_body’, $welcome_template_body

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 […]

Managing Elearning Content

Tin Canny LearnDash Reporting provides an easy-to-use interface for managing uploaded content. Access the page at Tin Canny Reporting > Manage Content to: Upload new content Search uploaded content by title Sort uploaded content by upload date Preview uploaded content (note that xAPI statements will be tracked when you preview content) Delete uploaded content Replace content (beta) Replacing Content (beta) The ability to easily replace existing content with updated content was added in version 3.2.  Previously, to replace content meant: Uploading the updated content as a new module Replacing all existing shortcodes/blocks to point to the new module Deleting the previous content This process also meant that any completion records tied to the previous module would be lost, since the module’s ID would have changed. In version 3.2 a Replace content feature was added (in beta).  To replace an existing module, you simply click Replace (beta) from the Actions menu: This launches a dialog that asks what you want to do with data recorded for the existing module.  There are two options: Delete bookmark (resume) data only:  This option deletes stored the bookmark data that prompts users to resume from where they left off in the module the next time […]

Frequently Asked Questions

How does Uncanny LearnDash Groups manage user roles? When you add Group Leaders using this plugin (by ecommerce, from the Group Management page or as an admin), the system adds the Group Leader role to any roles the user may already have. Some sites do not natively look for users to have multiple roles though, and what can happen is that if you edit a Group Leader from the user’s profile page in the back end then the Group Leader role can be removed. This will revoke access to things that normally require Group Leader permissions. If you do plan to update Group Leader profiles manually, we strongly recommend adding a plugin that supports multiple roles for a user, like the widely used User Role Editor. This will allow you to make profile updates and retain all assigned roles for your users. Can I show or hide content for specific groups? An added benefit of the Uncanny LearnDash Groups plugin is you can now create targeted messages to members of specific groups on any page or post using a shortcode: [uo_groups_restrict_content user_groups=”123″]Welcome![/uo_groups_restrict_content] In the example above, content wrapped in the shortcodes will be seen by everyone who is part of the group whose ID […]

Uncanny LearnDash Groups Changelog

3.1.3 Updated: If the number of users in an uploaded .csv exceeds the available seats, an error message is displayed and no users are imported Fixed: The Course dropdown in the Course Report did not allow selection of a course 3.1.2 Fixed: Fatal error if WooCommerce is not installed Fixed: Issue on some sites where seat count would not increment if Not Started user is removed from front end 3.1.1 Added: Ability to automatically assign dynamically created group license products to a category for improved integration with other functions (e.g. category-specific coupons) Updated: Improved compatibility with email service plugins (Amazon SES, Mandrill, etc.) Updated: Improved Add Seats and Add Courses purchase workflow – “Credit for existing seats” calculations are now done behind the scenes Updated: Front End Essay/Assignment Management – After updating an essay or assignment using the modal dialog, the table reloads with all previous filters, searches and sorting Updated: Bulk discounts table now hidden when bulk discounts are not enabled Updated: Improved compatibility with local development environments Updated: Made settings page slugs independent of plugin translation Fixed: Added pricing field to Group product type Fixed: Group product type would revert to Simple product type on save Fixed: Some […]