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:
    580
    Trophy Points:
    113
    Gender:
    Male
    This mod add a link for ban user directly on popup card to user

    • In "member_card" template, find:
    Code:
    <h3 class="username"><a href="{xen:link members, $user}">{$user.username}</a></h3>
    • Replace with:
    Code:
    <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