Hide My Profile -> Forum Posts from Navigation

To hide the navigation: My Profile > Forum Posts for all users: 1. This is set by the configuration value navadduserpostslinks 2. You can either update the value of this in the database (config table) from 1 to 0 OR you can add an entry in config.php where you set $CFG->navadduserpostslinks = 0; 3. Clear…

Hide Navigation for My Profile > Messages

To hide the navigation: My Profile > Messages for all users: 1. This is set by the configuration value messaging 2. You can either update the value of this in the database (config table) from 1 to 0 OR you can add an entry in config.php where you set $CFG->messaging = 0; 3. Clear the…

Assign site admins through the database

The following steps can be used to add your user as a siteadmin in the database if required. Step 1: Find your moodle user ID select id from mdl_user where username = ‘{username}’; Step 2: Get the list of current siteadmin IDs select value from mdl_config where name = ‘siteadmins’; This gives you a list…