1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    Dismiss Notice

FREE "Current Visitors" for logged in members only.

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 23, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    854
    Trophy Points:
    113
    Gender:
    Male
    This modification makes sure that visitors can't see your "Current Visitors" list.

    Go to the template called online_list

    Search
    Code:
    <ol class="section memberList">
    Add in front of it:
    Code:
    <xen:if is="{$visitor.user_id}">
    ----------

    Search
    Code:
    </ol>
    Add after:
    Code:
    <xen:else />
        {xen:phrase must_be_registered}
    </xen:if>
     
    Insomniac likes this.
  2. 4pf3ls4ft

    4pf3ls4ft Registered REGISTERED

    Likes Received:
    0
    Trophy Points:
    1
    Thank you! This is pretty helpful!
     
  3. iGhosTT

    iGhosTT Registered REGISTERED

    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Comi teu cu e sai correndo
     
  4. Insomniac

    Insomniac Registered REGISTERED

    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    thanks it works great
     
    Last edited by a moderator: May 17, 2016

Share This Page

Post thread