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

XF 1.4 how to change what guests can see

Discussion in 'XenForo Questions and Support' started by marissa Desanta, Nov 9, 2014.

  1. So far all you can see is our log in page but I want to make it so they can see the rules, staff, and other harmless areas. How do I do that?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Update the various view permissions for the Unregistered / Unconfirmed user group to Allow.
  3. I've done that and I'm not seeing changes before I log in the forum is still hidden :(
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I can view the forum index and members page of the site which is currently set against your license, as a guest.
  5. Thank you so much!! Also one last question lol is there a way for me to display staff online only? Not the members
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the sidebar_online_users template and remove this section of code:

    <!-- 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 -->
  7. flitigalisa

    flitigalisa Active Member

    @marissa Desanta I don't know but have you checked your web hosting's cache options?

    Myself realized the hard way our new web hosting company have an insane cache setting on by default that made me go almost mental when updating the majority o our sites not being able to see any changes at all.
    marissa Desanta likes this.

Share This Page