Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: RICH BEAST on October 27, 2013, 01:46:10 PM

Title: help with users logged in it
Post by: RICH BEAST on October 27, 2013, 01:46:10 PM
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F1FP6xlx.png&hash=078457aaf9a856a973136d6bb219d102141761c0)
And its normal for high ranks
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FVnCvFHk.png&hash=03678d41149e668d8efea5d66062c599fc359f0e)

What should i do ?
Title: Re: help with users logged in it
Post by: 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.
Title: Re: help with users logged in it
Post by: RICH BEAST on October 27, 2013, 02:00:18 PM
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 ..
Title: Re: help with users logged in it
Post by: 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.
Title: Re: help with users logged in it
Post by: RICH BEAST on October 27, 2013, 02:13:26 PM
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 ..
Title: Re: help with users logged in it
Post by: Chalky 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.
Title: Re: help with users logged in it
Post by: RICH BEAST on October 27, 2013, 02:23:43 PM
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
Title: Re: help with users logged in it
Post by: Chalky on October 27, 2013, 02:37:23 PM
Cool, glad that sorted it  :)