1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[ban+edit] user link on topic

Discussion in 'Template Modifications [Archive]' started by TheLord, Nov 23, 2010.

  1. TheLord

    TheLord Member

    [​IMG]

    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>
    
     
    sonnguyenb2d1, zaiger, Alien and 6 others like this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved to template modifications.
     
    TheLord likes this.
  3. CyberAP

    CyberAP Well-Known Member

    Needs a little screenshot :)
     
  4. TheLord

    TheLord Member

    [​IMG]
     
    arabic and CyberAP like this.

Share This Page