Moodle
  1. Moodle
  2. MDL-20886

In some roles, a message popup may show up for guest users

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6
    • Fix Version/s: 1.9.7
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      31863

      Description

      We have a client that we have just upgraded to 1.9.5+ - as soon as we upgraded them, they started some major changes to their site, including a lot of new role definitions.

      All of a sudden, we find that whenever someone visits the site (http://www.snwtp.co.uk/) a window pops up in front of the main site window that is the exact size and shape of the messaging window, but containing the login page. If you then log in, it turns into the messaging window. The main site page meanwhile is unchanged, until you refresh it then it displays your name as a logged in uyser.

      The client has no idea how they managed this. Neither have we.

      I am stumped. I've completely refreshed the userbase and the theme, in case they had made changes to either of those but it made no difference. I can't see anything in the content on the front page of the site that might be launching the messaging window.

      The only thing that I could think of is that they might have made some change to a role, that forces the messaging system to load, even for not-logged-in visitors to the site. But I can't find what that might be, and changing the default role for not-logged-in users, and even deleting the two new roles they created for guests and visitors does not seem to have fixed it.

      Could someone take a look at this for me, and possibly point me in the right direction?

      This is fairly urgent - despite the fact that the client must have caused it himself.

      I can provide admin access if required.

      thanks

      Sean K

        Activity

        Hide
        Dongsheng Cai added a comment -

        feel free to reopen if you find any problem

        Show
        Dongsheng Cai added a comment - feel free to reopen if you find any problem
        Hide
        Andrew Davis added a comment -

        Closing although Im not sure why the empty check is even necessary. "and !isguestuser()" looks like it should be handling this case.

        Show
        Andrew Davis added a comment - Closing although Im not sure why the empty check is even necessary. "and !isguestuser()" looks like it should be handling this case.
        Hide
        Dongsheng Cai added a comment -

        Hi, Andrew, this website changed the user rules, so isguestuser doesn't work here.

        Show
        Dongsheng Cai added a comment - Hi, Andrew, this website changed the user rules, so isguestuser doesn't work here.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: