1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you want premium products then purchase our VIP or SVIP plans
  3. Dont forget read our rules HERE Also anyone caught Leeching this content or Scamming will be banned on numerous networks.
    Dismiss Notice
  4. Dont forget we do not allow Multiple Accounts, so all of your accounts as well as your IP will be banned.
    Dismiss Notice
  5. Tired of Download Limits ? UPGRADE Today!
    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:
    1,932
    Trophy Points:
    113
    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