'Guest' issues & user confusion

'Guest' issues & user confusion

از Ian Usher در
Number of replies: 2
(apologies for this oldish chestnut, but it's definitely the source of many of my users' complaints...)
smile Our main Moodle site allows guest access by default to almost all of its resources
approve Some resources are restricted - but at the moment it's not many, and this number will increase
thoughtful Many of our users still think they need to log in to access the resources, even though they're open to guests (they see "Login" and click on it, even when the link to the resource they're looking for is in front of them
thoughtful In their heads they think "Is there more? After all, I'm 'only' logged in as a Guest..."

so, is there any way I can change the "You are logged in as a Guest" tag line to be something more descriptive? In the language pack I can change "You are logged in as $user" but this will change everything, even when my registered users are logged in - I'd like to give appropriate information to Guests which allows them to see that they are fine as they are. Better still... I'd like to be able to hide the 'You are logged in as a Guest' - but still allow registered users to see who they're logged in as.
Picky, I know... but I'm trying to smooth things out for some v busy teachers and headteachers.

Any ideas? Anyone else come across this issue?
cheers
Ian.
میانگین امتیازات:  -
In reply to Ian Usher

Re: 'Guest' issues & user confusion

از Helen Foster در
عکس Core developers عکس Documentation writers عکس Moodle HQ عکس Particularly helpful Moodlers عکس Plugin developers عکس Testers عکس Translators
Hi Ian,

To hide "You are logged in as a Guest" you could try adding the following code to footer.html in your theme folder:

<!-- START OF FOOTER -->
<hr size="1" noshade="noshade" />
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<?php if (isset($USER) && isset($USER->username) && $USER->username == 'guest') { ?>
<td align="center"><p class="logininfo"><?php echo $homelink ?></p></td>
<?php } else { ?>
<td align="center"><p class="logininfo"><?php echo $loggedinas ?> | <?php echo $homelink ?></p></td>
<?php } ?>
</tr>
</table>

</body>
</html>

(from a fan of Buckinghamshire Grid for Learning smile)