News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

help with users logged in it

Started by RICH BEAST, October 27, 2013, 01:46:10 PM

Previous topic - Next topic

RICH BEAST

Hello guys, i downloaded the mod, it works fine only for high staff (like owner) can see it, regular members cant..

boardindex code for users online today

// Users Online Today
   echo '
         <div class="title_barIC">
            <h4 class="titlebg">
               <span class="ie6_header floatleft">
                  <img class="icon" src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['online_users'], '" />', $txt['uot_users_online_'.$modSettings['uot_setting_period']], '
               </span>
            </h4>
         </div>
         <p class="inline smalltext">';
   echo
            $txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';

         if ($context['viewing_allowed'])
   echo
            ' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_users_hidden_today']), ', ', $txt['uot_hidden'], ': ', $context['num_users_hidden_today'], ')';

            // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
            if (!empty($context['users_online_today']) && $context['viewing_allowed'])
            {
   echo
               '<br />', implode(', ', $context['list_users_online_today']);
            }
   echo '
         </p>';

         // If they are logged in, but statistical information is off... show a personal message bar.

This is how it shows for regular members

And its normal for high ranks


What should i do ?

Ricky.

Since it is about a particular mod then you should use "support topic" for that mod. Since I have not used this mod, I have no clear idea what is it about, actually you have not even given name of mod.

RICH BEAST

Quote from: Ricky. on October 27, 2013, 01:54:37 PM
Since it is about a particular mod then you should use "support topic" for that mod. Since I have not used this mod, I have no clear idea what is it about, actually you have not even given name of mod.
mod name Users Online Today
im using smf 2.0.6 zone99 theme ..

Ricky.

Best way to get help about this mod is at :
http://www.simplemachines.org/community/index.php?topic=55513.0

It is because not everyone has used that mod and there you will find many people using it and can help you straight away.

RICH BEAST

Quote from: Ricky. on October 27, 2013, 02:10:04 PM
Best way to get help about this mod is at :
http://www.simplemachines.org/community/index.php?topic=55513.0

It is because not everyone has used that mod and there you will find many people using it and can help you straight away.
Mod already edited for the theme, its only working for high ranks thats the problem ..

Chalky

This really should be asked in the mod's support thread, however, since we're here, have you looked in Admin > Configuration > Modification Settings > Miscellaneous?  The settings for the mod are there, including the setting for whether the list of names can be seen by admins, registered members or everyone.

RICH BEAST

Quote from: Witch's Black Cat on October 27, 2013, 02:18:00 PM
This really should be asked in the mod's support thread, however, since we're here, have you looked in Admin > Configuration > Modification Settings > Miscellaneous?  The settings for the mod are there, including the setting for whether the list of names can be seen by admins, registered members or everyone.
Thank you very much, its fine now, thank you guys for the help

Chalky


Advertisement: