Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

Edit User Button in user profile 1.0

Edit User Button in user profile

  1. DEXTER
    Compatible XF Versions:
    • 1.1
    • 1.2
    • 1.3
    • 1.4
    Edit "member_view" template

    find
    Code:
    <div class="secondaryContent pairsJustified
    And replace it with
    Code:
    <xen:if is="{$visitor.is_admin}">
                                        <dd><a href="admin.php?users/{$user.username}.{$user.user_id}/edit"><input type="submit" class="button primary" value="{xen:phrase edit_user}" /></a></dd>
                                    </xen:if>
                <div class="secondaryContent pairsJustified">
    DONE!!
    Screenshot
    ccc.PNG
    nick9700 and DrReventon like this.