Moodle Plugins directory: Guestcourses: Versions: v2.0.1 | Moodle.org

Guestcourses
Guestcourses v2.0.1
Code prechecks
moodle-block_guestcourses
1. and 2. choice in feedback-generator
A: How to use
B: Settings
C: Capabilitys
D: Changelog
E: Installing via uploaded ZIP file
F: Installing manually
A: How to use
Block that shows a list of all courses with enrolmentmethod guest.
A key-icon indicates if a guestaccesskey is needed.
See chapter settings to get information about the configuration.
B: Settings
- show guestcourselist (set true, if the guestcourses should be listed)
- show invisible (set true, if invisible courses should be added in the list)
- Show guestcourses without login (by default only logged in users can see the list. set true, if not logged in users should see the guest course list)
C: Capabilitys
C1: 'block/guestcourses:myaddinstance'
not set to any role
C2: 'block/guestcourses:addinstance'
not set to any role
only siteadmin is allowed to add block
C3: 'block/guestcourses:viewcontent'
'user' => CAP_ALLOW,
C4: 'block/guestcourses:viewinvisible'
not set to any role
only siteadmin is allowed to view invisible hidden courses
D: Changelog
20220120 - some text strings defined correctly - don't show block when capability is missing - use core_course_category::get_courses() to find alle courses
20220110
- bug missing initialisation of variable
v1.0.1 beta - change footer - indicator for visibility of course instead of text - some languagestrings are missing
v1.0.0 initial
E: Installing via uploaded ZIP file
- Log in to your Moodle site as an admin and go to Site administration > Plugins > Install plugins.
- Upload the ZIP file with the plugin code. You should only be prompted to add extra details if your plugin type is not automatically detected.
- Check the plugin validation report and finish the installation.
F: Installing manually
The plugin can be also installed by putting the contents of this directory to
{your/moodle/dirroot}/blocks/guestcourses
Afterwards, log in to your Moodle site as an admin and go to Site administration > Notifications to complete the installation.
Alternatively, you can run
$ php admin/cli/upgrade.php
to complete the installation from the command line.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Version information
- Version build number
- 2022050201
- Version release name
- v2.0.1
- Maturity
- Beta
- MD5 Sum
- 6bb383efaaec9ec0eed2044852ce2038
- Supported software
- Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0
- Latest release for Moodle 3.4
- Latest release for Moodle 3.5
- Latest release for Moodle 3.6
- Latest release for Moodle 3.7
- Latest release for Moodle 3.8
- Latest release for Moodle 3.9
- Latest release for Moodle 3.10
- Latest release for Moodle 3.11
- Latest release for Moodle 4.0
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS tag
- v2.0.1
Default installation instructions for plugins of the type Blocks
- Make sure you have all the required versions.
- Download and unpack the block folder.
- Place the folder (eg "myblock") in the "blocks" subdirectory.
- Visit http://yoursite.com/admin to complete the installation
- Turn editing on in any home or course page.
- Add the block to the page
- Visit the config link in the block for more options.