Edit User Profile Mod

From TNG_Wiki
Jump to navigation Jump to search
Ambox notice.png The Edit User Profile Mod was added to TNG version 8 to allow users to edit their own profiles.

This mod is not required in TNG V9 in order to allow users to edit their own profiles. It only adds some additional display fields.
TNG 8.0


Edit User Profile
Summary Allows logged in users to modify their own profile without the assistance of an admin.
Validation This mod is XHTML compliant.Valid-xhtml10.png for TNG 8.1.2
Mod Updated {{{mod_last_update}}}
Download link For
TNG 9.0.2
Edit_User_Profile_Mod_v9.0.2.2.zip
For
TNG 9.0
Edit_User_Profile_Mod_v9.0.0.1.zip
For
TNG 8.1.2
edit_user_profile_v8.1.2.zip
edit_user_profile_v8.1.1.zip
for
TNG 8.0
edit_user_profile_v8.1.0.zip
Download stats {{{download_stats}}}
Author(s) Kimon Andreou with packaging done by Ken Roy
Homepage Edit User Profile Mod
Mod Support
Contact Developer
Latest Mod 9.0.0.0 for TNG V9
8.1.1 for TNG 8.1.2
8.1.0 for TNG V8 only
Min TNG V 8.0.0
Max TNG V 9.x
Files modified
processlogin.php
edituser.php
self_updateuser.php
index.php
topmenu.php
topmenu_graphics.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
languages/Greek/cust_text.php
languages/Greek-UTF8/cust_text.php
languages/Spanish/cust_text.php
languages/Spanish-UTF8/cust_text.php
TNG file list (V9) = ajx_editprofile.php
Related Mods
Notes


Introduction

TNG version: 8.1.3
TNG version: 8.0

This mod allows logged in users that lack any administrative privileges to modify their own user profiles.


TNG version: 9.0

TNG V9 provides the capability for the users to edit their own profiles, so you may not need this mod in TNG V9.

This mod only adds a couple of additional display fields to the TNG V9 capability as shown below.

TNG 8 TNG 9
They can edit the following fields of their profiles:
built-in capability in TNG V9
  • Description
  • Password
  • Real name
  • Phone
  • Email
  • Web site
  • Address
  • City
  • State/Province
  • Zip/Postal code
  • Country
  • Username*
  • Password*
  • Real Name*
  • Phone
  • E-mail*
  • Web Site
  • Address
  • City
  • State/Province
  • Zip/Postal Code
  • Country

Items flagged with an asterisk (*) indicate Required Fields

Users can also see (but not edit) the following information:
Following fields were added by this mod in TNG V9
  • username
  • activation date
  • last login
  • Date Registered
  • Date Activated
  • Last Login

The mod is based on the administrative versions of the files, modified for usage by regular users. There are built in checks to prevent a user from modifying the profile of another.

Developer

The TNG V8 of this mod was developed by Kimon Andreou and the Mod Manager packaging was done by Ken Roy.

The TNG V9 mod was developed by Oname.gif.

Requirements

  • A working TNG installation.
  • A backup of the following files in TNG V8:
    • index.php
    • topmenu.php
    • topmenu_graphics.php
    • processlogin.php
  • A backup of the following file in TNG V9:
    • ajx_editprofile.php

Revision History

Version Date Contents
v9.0.2.1 05 April 2012 Mod was reworked by Oname.gif to fix the changes of TNG 9.0.2,
Separate language text messages (Dutch-UTF8,German-UTF8) (admintext.php-changes in TNG 9.0.2)
v9.0.2.2 05 April 2012 Mod was reworked by Oname.gif to fix the changes of TNG 9.0.2, one mod-file
v9.0.0.1 22 March 2012 Mod was reworked by Oname.gif to fix the Enlarging of the pop-up window
v9.0.0.0 2 February 2012 Mod was reworked by Oname.gif to add additional display fields.
v8.1.2 16. Jul. 2011 {$edituser_url} instead of edituser.php, if different folders are used.(updated by Oname.gif)
v8.1.1 30. Apr. 2011 TNG V8.1.2
v8.1.0 16. Feb. 2011 for TNG V8 only

Automated Installation

  1. Download the appropriate zip file from the Mod Summary in the upper right hand corner
  2. After downloading the zip file, unzip it into your mods folder
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the edit_user_profile.cfg.

Visualization of mod

TNG V8

User Profile link

The Edit User Profile mod adds a User Profile link following the Welcome user message on templates that have a welcome message. The image on the right shows the one added to template 4 topmenu.
Template 4 topmenu message
The Edit User Profile mod adds a User Profile link to the Info pull down menu as shown in the image on the right.
Info pull down menu

User Profile screen

Private Flag Backup

TNG V9

User Profile link

TNG V9 provides the Edit Profile capability, unless the Administrator unchecked the Allow to edit user profile privilege. For example, a Guest username to allow login to a closed TNG web site, should not allow Edit Profile. Edit Profile Link

User Profile screen

Edit User Mod Profile screen

Note that the Edit User Profile Mod adds some additional fields to the above display.

In the event of a problem with your TNG site

  1. Try using the Mod Manager Remove capability
  2. Or copy your backup files to your TNG admin directory
    • all should be well now


Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version/TNG-Version User-language
The Andreou Vergara Genealogy site Kimon Andreou Mod Developer for TNG V8 of the mod V8.1.1/8.0.2 EL, EN
Our Family Histories Bryan Larson V8.1.1/8.0.2 EL, EN
Chamberlain-Eidenbenz Genealogy Graham Chamberlain V8.1.1/8.0.2 EL, EN
My Genealogy TNG-Test site Oname.gif Mod Developer for TNG V9 of the mod V9.0.2.1/TNG 9.0.2 DE, EN
... ... ... ... ...