1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove Members Online Now 1.3

Removes Members Online Now panel from sidebar.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Remove Members Online Now - Removes Members Online Now block.

    Read more about this resource...
    erich37 likes this.
  2. erich37

    erich37 Well-Known Member

    great Addon!

    it would be great if there would be an option for hiding it for "guests" only.

    Many thanks!

  3. AndyB

    AndyB Well-Known Member

    erich37 likes this.
  4. imthebest

    imthebest Formerly Super120

    Hi @AndyB, I actually want people to be able to see the Members Online Now widget at the sidebar. What I want to prevent is to allow them to view more details about other's activity which is available at /online/. It would be a good idea if you can include that functionality to your add-on or maybe take in consideration this idea for a further add-on.
  5. Lexy

    Lexy Active Member

    will try it thanks
  6. Lexy

    Lexy Active Member

    Last edited: Aug 9, 2014
  7. AndyB

    AndyB Well-Known Member

    tonnyz likes this.
  8. mfman

    mfman Member

    Hello Andy. I am having an issue with your add-on "Remove Members Online Now 1.2". In my AdminCP User Group Permissions area, I have set the Administrators user group to "Allow" and all other user groups to "No", but the "Members Online Now" sidebar still shows to all user groups. Any idea what I might be doing wrong?

    I have these add-ons, created by you, currently installed:

    Sidebar Positions
    Staff Online Now
    Members Online Now
    New Profile Posts
    Share This Page
  9. tonnyz

    tonnyz Member

  10. denisx04

    denisx04 Active Member

    Whichever permissions I set it to it does nothing, no matter what it always shows the members online now tab. Any updates on this?

    Edit: Fixed
    Last edited: Feb 4, 2015
    Glockie likes this.
  11. ActorMike

    ActorMike Member

    Doesn't working with BD widget Framework. :-( Once I installed the BD Widget Framework, all the members online, etc came back.
  12. drastic

    drastic Well-Known Member

    I couldn't get it to work on 1.5.

    Can I simply remove or comment out contents of the template that contains that info?

    I use PE's stats on the bottom and want to remove stats and users from the sidebar to make room for different things.
  13. drastic

    drastic Well-Known Member

    If this helps anyone, I commented it out like this. My question is this - will it still cause DB queries when commented out like this? If so, how to eliminate those?

    I did this on forum_list template.

            <xen:if is="{$canViewMemberList}">
                <xen:include template="sidebar_online_users" />
    Addon is great, but for some reason it didn't work for me on 1.5.

  14. AndyB

    AndyB Well-Known Member

  15. Sean Kendle

    Sean Kendle Member

    <!-- block: sidebar_online_users -->
    <div class="section membersOnline userList">       
        <div class="secondaryContent">
            <h3><a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase members_online_now}</a></h3>
            <xen:if is="{$onlineUsers.records}">
                <xen:if is="{$visitor.user_id}">
                    <xen:if hascontent="true">
                    <h4 class="minorHeading"><a href="{xen:link account/following}">{xen:phrase people_you_follow}:</a></h4>
                    <ul class="followedOnline">
                            <xen:foreach loop="$onlineUsers.records" value="$user">
                                <xen:if is="{$user.followed}">
                                    <li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
                    <h4 class="minorHeading"><a href="{xen:link members}">{xen:phrase members}:</a></h4>
                <ol class="listInline">
                    <xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
                        <xen:if is="{$i} <= {$onlineUsers.limit}">
                            <xen:if is="{$user.user_id}">
                                <a href="{xen:link members, $user}"
                                    class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
                            <xen:else />
                                {xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
                    <xen:if is="{$onlineUsers.recordsUnseen}">
                        <li class="moreLink">... <a href="{xen:link online}" title="{xen:phrase see_all_visitors}">{xen:phrase and_x_more, 'count={xen:number $onlineUsers.recordsUnseen}'}</a></li>
            <div class="footnote">
                {xen:phrase online_now_x_members_y_guests_z_robots_a, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}', 'robots={xen:number $onlineUsers.robots}'}
    <!-- end block: sidebar_online_users -->
    @AndyB - Please update the "find" portion to the code above. I found that the template modification does not work in v1.5.2

Share This Page