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 popup card to member

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

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    Trophy Points:
    This mod add a link for ban user directly on popup card to user

    • In "member_card" template, find:
    <h3 class="username"><a href="{xen:link members, $user}">{$user.username}</a></h3>
    • Replace with:
    <h3 class="username"><a href="{xen:link members, $user}">{$user.username}</a><xen:if is="{$visitor.is_admin}">
    <font size="1"><a href="admin.php?banning/users/{$user.username}.{$user.user_id}/add">({xen:phrase ban_user})</a></font></xen:if></h3>
    PS: Only show for administrators

Share This Page

Post thread