ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Show members online, EE 1.6.7 latest May build

May 20, 2009 4:00pm

Subscribe [5]
  • #1 / May 20, 2009 4:00pm

    joann22

    176 posts

    Is it me or did something change because right before I did the update, I could see who was logged in, who is online using the conditional as shown at the bottom of the doc page.

    Now, I only see myself logged in as the system admin.

    I tested by logging in as another general user in another browser and this general user does not show up.

    Note. This was working before yesterday. Strange.

    Note 2. I did turn on template caching. But I’ve since turned it off and emptied cache.

    Thoughts?

    Thanks!

  • #2 / May 20, 2009 4:28pm

    Ingmar

    29245 posts

    No, the statistics module should work as before. Yes, it might be caching issue. Do you’ve got a link to your site?

  • #3 / May 20, 2009 4:30pm

    joann22

    176 posts

    The site is not live yet.
    I did turn off the caching on the templates. I emptied cache folder via ftp. so… hmm

  • #4 / May 20, 2009 4:33pm

    Ingmar

    29245 posts

    So, it’s working now, or not?

  • #5 / May 20, 2009 4:35pm

    joann22

    176 posts

    not working

  • #6 / May 20, 2009 4:36pm

    Ingmar

    29245 posts

    Are you using any other caching mechanisms? What’s the code you are using to display online members?

  • #7 / May 20, 2009 5:16pm

    joann22

    176 posts

    ok, I’m going to go check
    be back shortly

  • #8 / May 20, 2009 5:27pm

    Ingmar

    29245 posts

    Just keep us in the loop 😊 Thanks.

  • #9 / May 21, 2009 3:11am

    joann22

    176 posts

    I have this code on another site 1.6.7 March build and it works.

    But it doesn’t work on this May build site.

    {if member_group == "1"}
    {exp:stats}
         {if member_names}
              Online: 
              {member_names  backspace='6'}
                   <a href="http://{member_path=member/index}">{name}</a> 
              {/member_names}
              
         {/if}
    {/exp:stats}
    {/if}

    I’ve turned off all template caching. This code is in the footer template. Neither the calling template nor the embed template are cached. I’ve put the code into another template just for kicks so it is not embedded, and it still doesn’t show the others online.

    I know it is silly, but could you try it?

  • #10 / May 21, 2009 3:34am

    John Henry Donovan

    12339 posts

    jo22,

    I can confirm that your code works on the May build. Is the general user you tested with part of the ‘member’ group?

    Try clearing all your cookies for the second browser you are testing with the other user and login again.

  • #11 / May 21, 2009 12:57pm

    joann22

    176 posts

    Thanks guys.

    John, the other users I’ve tried are another super admin user and a user that is an ‘editor’ member.

    I’ve tried again with clearing the cookies also on the second browser which is on another computer.

    What else should I try/look at?

    Your help is much appreciated.

  • #12 / May 21, 2009 1:14pm

    Sue Crocker

    26054 posts

    {if member_group == "1"}

    You have conditional in there to just show if you are a SuperAdmin. That’s why other members aren’t “seeing” the code.

  • #13 / May 21, 2009 1:27pm

    joann22

    176 posts

    Yes, I have the conditional there, that only SuperAdmins Member Group should see who else is online. None of other member groups will see who is online. That would be me—that I should see other people online.

    So, on the other computer/other browser, I’m logged in as other people.

    On this machine, I want to see other people logged in—I don’t see them. I only see me, one of the super admins.

    I know this is really weird—this was all working a day or two ago.

  • #14 / May 21, 2009 4:45pm

    Ingmar

    29245 posts

    Try some reduced code, removing the conditionals from the template, eg, making the template as simple as possible. Again, make sure to clear all your caches, too, both in EE and your browser. If it still doesn’t work, try to re-upload your EE files, helping us to rule out a corrupted file.

  • #15 / May 21, 2009 5:35pm

    joann22

    176 posts

    Thanks everyone. I will go take another look. It is defying simple logic troubleshooting this. Will kick myself if I find out I have some silly typo somewhere ... 😊

    I will go download the files again and upload again ...

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases