Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57635

User Tours: Restrict tours to account creation date, first login date or last login date

    XMLWordPrintable

Details

    • MOODLE_32_STABLE, MOODLE_36_STABLE, MOODLE_38_STABLE
    • MOODLE_39_STABLE
    • MDL-57635-38_tool_usertours_filter_shown
    • Hide
      1. Log in as Admin
      2. Create a new user account and record the login username and password so you can log into it later
      3. Navigate to Site Administration > Appearance > User tours
      4. Click 'Create a new tour' and create a new tour in the form setting the Apply to URL match to `/user/profile.php%` and ensuring the Tour is enabled checkbox is selected
      5. Enable the Access date filter by selecting the checkbox beside the setting under the Tour filters section of the form
      6. From the dropdown box that displays under the checkbox, select User account creation date within and set the duration to 1 seconds
      7. Save these changes to the new tour
      8. Click on the `View` action beside your new tour (It's the list icon similar to just hover over them to find which is view)
      9. Click the `New Step` hyperlink
      10. Create a step with Target type = `Display in middle of page`, and add a Title and Content of your choosing
      11. Save these changes
      12. Logout as Admin and in as your created user
      13. Click on the user name at top right and from the dropdown select `Profile` (this is the page we set up to display the tour)
      14. You should not see the tour, as it has been set to only display to people who have created accounts within the last 1 second.
      15. Navigate to Site Administration > Appearance > User tours and delete the tour you just tested.
      16. Repeat the above steps creating a new user and tour each time, then logging in as the user and seeing if the tour displays, the results for different configs should be as follows:
        Filter Range Should the user see the tour?
        User account creation date within 1 seconds No
        User account creation date within 90 days Yes
        User's first access date within 1 seconds No
        User's first access date within 90 days Yes
        User's last access date within 1 seconds No
        User's last access date within 90 days Yes

       

      Show
      Log in as Admin Create a new user account and record the login username and password so you can log into it later Navigate to Site Administration > Appearance > User tours Click 'Create a new tour' and create a new tour in the form setting the Apply to URL match to `/user/profile.php%` and ensuring the Tour is enabled checkbox is selected Enable the  Access date  filter by selecting the checkbox beside the setting under the Tour filters section of the form From the dropdown box that displays under the checkbox, select User account creation date within and set the duration to 1 seconds Save these changes to the new tour Click on the `View` action beside your new tour (It's the list icon similar to ☰ just hover over them to find which is view) Click the `New Step` hyperlink Create a step with Target type = `Display in middle of page`, and add a Title and Content of your choosing Save these changes Logout as Admin and in as your created user Click on the user name at top right and from the dropdown select `Profile` (this is the page we set up to display the tour) You should not see the tour, as it has been set to only display to people who have created accounts within the last 1 second. Navigate to Site Administration > Appearance > User tours and delete the tour you just tested. Repeat the above steps creating a new user and tour each time, then logging in as the user and seeing if the tour displays, the results for different configs should be as follows: Filter Range Should the user see the tour? User account creation date within 1 seconds No User account creation date within 90 days Yes User's first access date within 1 seconds No User's first access date within 90 days Yes User's last access date within 1 seconds No User's last access date within 90 days Yes  

    Description

      Hi,

      I requested this feature already at the time, when the plugin was not yet part of Moodle core.
      Because of the integration, I think feature requests should be created here in the Moodle tracker, am I right?

      Here's the link to the GitHub issue with Andrew's comment to it:
      https://github.com/andrewnicols/moodle-local_usertours/issues/24

      My request is:
      Assuming, I create a tour for the target group teacher for getting familiar with a new course. Then only the ones that are new to Moodle would need to see this tour. The ones that are using Moodle for several years would probably be annoyed when the tour pops up because they know Moodle very well or think they do.

      So I think it would be helpful if the tour could be connected not only to a certain role but also to the creation date of the accounts. This query could be in words: the account creation is not longer ago since now for x day/months. Or also queried for last access to Moodle or something like that.

      What do you think about this?

      Cheers, Kathrin

      Attachments

        1. 57635-checkfirst.png
          57635-checkfirst.png
          43 kB
        2. 57635-drop.png
          57635-drop.png
          111 kB
        3. Confirmed fixed.png
          Confirmed fixed.png
          306 kB

        Issue Links

          Activity

            People

              tom_d Tom Dickman
              kosswa Kathrin Osswald
              Andrew Madden Andrew Madden
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 5 minutes
                  7h 5m