- Home
- Moodle and Educational Technology
- Moodle
- Manage Participants
Last Modified on 02/16/2024 3:15 pm EST
" + "
- "; var el, title, navLink, sectionID, sctn, headerNesting; // Grab all the H2s, H3s, H4s and turn them into TOC titles. // Define the heading levels you want to use in ascending order. // Can add additional headers or remove unneeded. $(".hg-article-body h2, .hg-article-body h3, .hg-article-body h4").each(function() { el = $(this); // Shorthand for the header itself title = el.text(); // The text we write in the editor for the header if (title != '') { // If the [title] is not blank... var anchorTitle, level; anchorTitle = el.text().replace(/([~!@"#$%^&*()_+=`{}\[\]\|\\:;'<>,.\/\? ])+/g, '-').toLowerCase().trim(); // Set all headers to a 0-nesting level. headerNesting = 'header-nesting-0'; // Adjust header-nesting layers so that they point to the correct html tag. // header-nesting-1 should match the second .hg-article-body h# listed above; // header-nesting-2 should match the third, etc. // li-h# classes are used to style the links per header level, independent of indentation. if ($(this).is('h2')) { level = 'li-h2'; } else if ($(this).is('h3')) { headerNesting = 'header-nesting-1'; level = 'li-h3'; } else if ($(this).is('h4')) { headerNesting = 'header-nesting-2'; level = 'li-h4'; } navLink = "#" + anchorTitle; newLine = "
- " + "" + title + "" + " "; ToC += newLine; // buttonID and buttonLink used for the 'Copy section link to clipboard' button, // as seen in the subsequent lines starting with el.html var buttonID, realURL, buttonLink; buttonID = anchorTitle + '-button'; // Build buttonLink: realURL = window.location.href; // Grab the page URL as seen in the address bar function cleanURL(URL) { // removes any current hash (#) anchor at the end of the URL if (URL.includes("#")) { let end = URL.search("#"); let washedURL = URL.slice(0, end); return washedURL; } else { return realURL; }; }; buttonLink = cleanURL(realURL) + navLink; el.html(''+ '
'+el.html()+ ''+ '
'); // Wrap" + "" + "
"; // Add the complete ToC to the page above (before) this script. $("#snippet-prepend").before(ToC); /* Junk attempt to adjust the scroll of the toc: var topPad = $('#nav-column').css('top'); var navColumnH = $('#nav-column').height() - topPad; $('#nav-column').css('height', 'navColumnH');// navColumnH -= topPad;// $('#nav-column').height({// $('#nav-column').height() - 80;// });// var navColumnH = $('#nav-column').height();// var navBlockH = navColumnH - 80;// $('#nav-block').height(navBlockH); */ // ---- TIPPY ---- // // Tippy tutorial content: https://tippyjs.bootcss.com/creating-tooltips/ // Create tippyTextAttribute plugin to handle setting the content of the tippy instance: // Necessary to cleanly pass the content from the specific instance's reference to the // initializing script. See the Plugins and FAQ sections of above docs for details. const tippyTextAttribute = { name: 'tippyTextAttribute', defaultValue: true, fn() { return { // onShow() effectively resets the content of the tooltip each time it is triggered // to be shown. Allows simple functionality to keep the "Copied! message (written // below in the on('click') function) as long as it is in focus instead of // automatically resetting after a set amount of time. onShow(instance) { if (!instance.props.tippyTextAttribute) { return; } const tippyText = instance.reference.getAttribute('tippy-text'); if (tippyText) { instance.setContent(tippyText); } } }; } }; // Settings for clipboard-button tooltip: tippy(".clipboard-button", { allowHTML: true, // HTML instead of just a text string placement: 'top', // Appear above button hideOnClick: "toggle", // Don't immediately disappear when mouse is removed distance: 9, // Pixel distance from top border of button theme: 'owlbert', // Custom theme; see Tippy CSS section tippyTextAttribute: true, // Generate tooltip based on an attribute [double check] plugins: [tippyTextAttribute], // Enable above }); // On clicking the button, copy the "clipboard-link" to the clipboard and // set the tippy to show "Copied!" message: $(document).on("click", ".clipboard-button", function () { // On click of clipboard button, do: var button = $(this) // button = the button clicked var copyText = button.attr("clipboard-link"); // Simplify code: set link URL as var navigator.clipboard.writeText(copyText); // Copy URL to PC clipboard this._tippy.setContent('Copied!'); // Make the tooltip show 'Copied' // Overwrite the HTML within the clipboard button (replacing the old icon with check icon): button.html(''); // Set the time before the resetClipTip function (below) is run clipboard-check icon resets to original clipboard icon: setTimeout(resetClipTip, 3000); // delay: 3000ms (3 seconds) function resetClipTip() { // Define the resetClipTip function // Overwrite the button's HTML with the original check-less clipboard icon: button.html(''); }; }); });
Enabling Guest access for a course gives view-only access to people who are not enrolled. This can include people who do not have Bryn Mawr or Haverford credentials, who can log into our Moodle site as guests to access guest-accessible courses.
Before you start, you will need:
- an Instructor of record or Other editing teacher role in a Bryn Mawr Moodle course.
About guest access
- Guests can see everything posted in a Moodle course, including readings, videos, and forum discussions.
- Guests cannot participate in Moodle course activities, quizzes and assignments.
- LITS temporarily enables guest access for academic Moodle courses during pre-registration and registration so that instructors can share share information with students who are not yet enrolled.
- Instructors can enable or disable guest access for their own Moodle courses at any time.
- Anyone can log into our Moodle site as a guest and view guest-accessible courses. We strongly recommend creating a password for courses that will be guest-accessible for long periods of time and sharing it with invited guests.
Warning:If students need to submit assignments or take quizzes in Moodle before they have officially registered for a course, please enroll themas Auditors, but remind them they will need to officially register for the course in Bionic to receiveacademic credit.
Enable/disable guest access to a course
- Log in to your course.
- Click Participants.
- Change the drop-down menu at the top from Enrolled Users to Enrollment Methods.
- Find Guest access and click the toggle as needed:
- (Disable) -- Guest access is on; click to disable.
- (Enable) -- Guest access is off; click to enable.
- If you want to require guests to enter a password:
- Click (Edit).
- Enter your Password.
- Click Save changes.
- Give this password to people who need to enter the course.
Attention:We strongly recommend creating a password for courses that will be permanently guest-accessible.
Find and enter guest-accessible courses
Courses will only show up on your My courses page if you enrolled in them. To find and enter guest-accessible courses:
- Log in to Bryn Mawr Moodle, using the Log in as guest option if you do not have a account. (See Moodle: Log in.)
- Search or browse for guest-accessible courses:
- Click (Search input toggle) and enter a keyword from the course title (all visitors).
- Click Home,scroll down to Course categories, and browse through categories (only visitors logged in with Bryn Mawr and Haverford credentials).
- Guest-accessible courses are marked with a (Guest access) icon.
- Click a course title and enter the guest access password if prompted.
If you don't have a guest access password, contact the Instructor of record or Other editing teacher to request it.
Questions?
If you have any additional questions or problems, don't hesitate to reach out to the Help Desk!
Phone: 610-526-7440 | Library and Help Desk hours
Email: [email protected] |Service catalog
Location: Canaday Library 1st floor
Related Articles
Moodle: Courses Not Showing Up
Moodle: Add files and folders to a course
NameCoach: Add to a Moodle course
LinkedIn Learning: Add content to a Moodle courseNew
Panopto: Add the Panopto block to a Moodle course
Thank you! Your feedback has been submitted.