wwwroot); } if (empty($CFG->messaging)) { error("Messaging is disabled on this site"); } /// Script parameters $userid = required_param('id', PARAM_INT); /// Check the user we are talking to is valid if (! $user = get_record('user', 'id', $userid)) { error("User ID was incorrect"); } /// Select encoding if (!empty($CFG->unicode)) { $encoding = 'utf-8'; } else { $encoding = get_string('thischarset'); } /// Print frameset to contain all the various panes ?> <?php echo get_string('discussion', 'message').': '.fullname($user) ?> Sorry, but support for Frames is required to use Messaging