Module instructions http://ralphwilliams.github.io/DNNVideoCourseModule/
DNN SPA module that uses DNN Security Roles and Security Groups to create dynamic Courses and Categories. The course videos are created with Vimeo videos.
This module currently supports DNN 8 only. DNN 9 has known issues with managing users from within the module.
- Begin with DNN 8.0.0
- Put the repository into the following folder in your site: ~\DesktopModules\DNNVideoCourse\
- Build
- Make sure the RalphWilliams.DNNVideoCourse.dll file is generated in the website bin folder
- Run the SQL data provider script(s)
- "Install" the module in DNN
- Make sure the module shows on a page without error
- Pick and/or create an issue in GitHub
- Code
- Submit a pull request
The DNN Video Course Module provides a way to create courses using videos that allow only the users in specific roles to view the course. The user can only watch videos that have been previously watched or the next unwatched video. The progress of each user is saved to allow the user to watch portions of the course and return to the site to continue watching at a later time. The progress of all the users can be reviewed by a site administrator. Once a user has completed their course, an email will be sent to the site administrator.
This module leverages the built in functionality of DNN’s Security Categories and Security Roles. When a new category is created through the module, a new Role Group is created with a string of text (“CCV_”) prepended to the name. This allows the module to filter and show only Role Groups associated to the video course module. All Courses added to the Category will be a Security Role within that specific Role Group.
During installation of the module, a new hidden User Profile property is added to the User Profile. As a video has been marked as complete by reaching the end of the video (a listener for the Vimeo API is used) the user’s profile is updated with the id for that video.
This module is installed as any other DNN module is installed.
- Once logged into the site as a host, navigate to Host > Extensions.
- Click the Add Extension button and follow the prompts to install your module.
Once the module has been installed, add the module to a page. Categories and Courses must be added prior to adding a video. There are no module settings for this module. There are 4 views, however. Course List view (default view), Video Player view, User Status view, Edit Categories and Courses view.
- Navigate to the Edit Categories and Courses view by clicking the Course Admin dropdown and selecting “Edit Categories & Courses”.
- Click the “Add A New Category button”.
- Enter a name for the Category and click the “Add Category” button.
- Add Courses to the Category by clicking the “Add A New Course” button.
- Then, enter a name for the Course and click the “Add Course” button.
- Navigate to the Video List view by clicking the “Return to List” button in the top right of the module.
- Navigate to the Edit Categories and Courses view.
- Once a course has been created, add existing users to the course by clicking the Users icon for the course where the user will be added.
- In the popup window, select the user from the dropdown and click the “Add User to Role” button.
- Continue adding users to the course as needed.
- Once all needed users have been added to the course, click the Close button.
- Navigate to the Edit Categories and Courses view.
- Click the Users icon for the course from which the user will be removed.
- In the popup window, click the delete icon for the user that is to be removed.
- Once all needed users have been removed from the course, click the close button.
- Navigate to the Edit Categories and Courses view.
- Click the edit icon to the right of the Category or Course.
- Make the edit to the name and click the “Edit Category/Course Name” button.
A course can be archived, however, it cannot be deleted. If the course needs to be deleted, the role can be removed through the Security Roles in DNN Admin. However, note that deleting a Security Role does fully remove the Role from the database. This means that they Role name will not be able to be reused.
- Navigate to the Edit Categories and Courses view.
- To archive a course toggle the switch for the specified course to grey.
- A course can be reactivated by toggling the switch back to green.
- On the Course List view, click the “Edit Videos in Course” button on the right for the course.
- Add the URL for a Vimeo video in the text box in the “Add new Video to Course” section and click the check mark.
- Continue adding videos for the course.
- To change the sort order, click and drag the thumbnail to the desired location.
- On the Course List view, click the “Edit Videos in Course” button on the right for the course.
- Click the Edit icon to the right of the video to be removed.
- Click the Delete button for the video.