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

XF 1.3 Limit "Show Online Status" only for Staff

Discussion in 'XenForo Questions and Support' started by imthebest, Jul 7, 2014.

  1. imthebest

    imthebest Formerly Super120

    Hi, I'd like to only allow my Staff to be able to use the "Show Online Status" feature. Is that doable? It looks like there isn't an usergroup permission for that...
     
  2. Jon W

    Jon W Well-Known Member

    You can edit the account_preferences template and add an appropriate if statement to the option:
    HTML:
    <xen:if is="{$user.is_staff}">
        <li><label><input type="checkbox" name="visible" value="1" {xen:checked $visitor.visible} />{xen:phrase show_your_online_status}</label>
            <p class="hint">{xen:phrase this_will_allow_other_people_to_see_what_page_you_currently_viewing}</p>
        </li>
    </xen:if>
     
  3. imthebest

    imthebest Formerly Super120

    I'm using your add-on: http://xenforo.com/community/resources/disable-invisible-status-by-waindigo.2354/

    This would be awesome: http://xenforo.com/community/threads/disable-invisible-status-by-waindigo.59891/page-2#post-790168
     

Share This Page