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 [ban+edit] user link on topic

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

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    593
    Trophy Points:
    113
    Gender:
    Male
    template: message_user_info

    find:
    Code:
    <xen:if hascontent="true">
            <div class="extraUserInfo">
    replace for:
    Code:
    <div class="extraUserInfo"><xen:if hascontent="true">


    find:
    Code:
    </xen:if>
    </div></xen:if>
    
    </xen:if>
    
            <span class="arrow"><span></span></span>
        </div>
    </div>
    replace for:

    Code:
    </xen:if>
        <xen:if is="{$visitor.is_admin}">
    <a href="admin.php?banning/users/{$post.username}.{$post.user_id}/add">{xen:phrase ban_user}</a><br>
    <a href="admin.php?users/{$post.username}.{$post.user_id}/edit">{xen:phrase edit}</a><br />
    </xen:if></div>
    
    </xen:if>
    
            <span class="arrow"><span></span></span>
        </div>
    </div>
     

Share This Page