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 Add ban user link to profile page

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

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    853
    Trophy Points:
    113
    Gender:
    Male
    This mod add a link for ban user directly on profil page
    Inspire to this mod: Add Edit User Button to Profile page

    • In "member_view" template, find:
    Code:
    <div class="followBlock">
    • Replace with:
    Code:
    <xen:if is="{$visitor.is_admin}">
    <a href="admin.php?banning/users/{$user.username}.{$user.user_id}/add">{xen:phrase ban_user}</a><br />
    </xen:if>
    PS: Only show for administrators
     

Share This Page

Post thread