Extended Profile v2.16
PHP-Fusion: v6.01.12+
original author for v5: Ronald Iwema
email author: sxqsxqsxq@hotmail.com
web author: http://ronald.selwerd.nl

Update to v5.01: Carsten Puka (web: http://www.phpfusion.de)
Update to v6.00.1xx Martina Weidemann
Update to v6.00.207-v6.01.11 muscapaul (email: muscapaul@gmail.com; web: http://www.muscapaul.com)
Update to v6.01.12+ muscapaul (email: muscapaul@gmail.com; web: http://www.muscapaul.com)
Last updated: 17.10.2007
-------------------------------------------
Released under the terms and conditions of
the GNU General Public License (Version 2)
-------------------------------------------

CHANGED FILES
-------------
../profile.php
../edit_profile.php
../administration/members.php
../administration/updateuser.php
../includes/update_profile_include.php

FEATURES
--------
* Define your own, additional profile fields.


INSTALLATION INFUSION
---------------------
1. Upload the 'extended_profile' folder to your infusions folder.
2. Go through Admin Panel -> System Admin to Infusions/Infusions Management and install the Extended Profile infusion.
3. Access the administration panel of the Extended Profile, after the file modifications described below, through Admin Panel -> Infusions -> Extended Profile.

FILE MODIFICATIONS - AUTOMATIC
------------------------------

1. Make a buckup of the five files mentioned above.
2. Upload the files in the folder changed-files to their corresponding folders (relative to the root).
3. Finished.


FILE MODIFICATIONS - MANUAL
---------------------------

1. Make a buckup of the five files mentioned above.
2. Open the file ../profile.php in a text editor of your choice and find approx. on lines 80-82:

</table>\n";

	tablebreak();

Immediately after add the following code:

@include INFUSIONS."extended_profile/includes/profile.php";

	tablebreak();

Save the file and close it.


2. Open the file ../edit_profile.php in a text editor of your choice and find approx. on lines 117-120:

<span class='small2'>".sprintf($locale['u022'], parsebytesize(30720), 100, 100)."</span>
</td>
</tr>\n";
	}

Immediately after add the following code:

@include INFUSIONS."extended_profile/includes/edit_profile.php";

Save the file and close it.


3. Open the file ../administration/members.php in a text editor of your choice and find approx. on lines 165-167:

</table>\n";

	tablebreak();

Immediately after add the following code:

@include INFUSIONS."extended_profile/includes/profile_admin.php";

	tablebreak();


In the same file find approx. on lines 328-331:

<span class='small2'>".sprintf($locale['u022'], parsebytesize(30720), 100, 100)."</span></td>
</tr>\n";
}

Immediately after add the following code:

@include INFUSIONS."extended_profile/includes/edit_profile_admin.php";

Save the file and close it.


4. Open the file ../administration/updateuser.php in a text editor of your choice and find approx. on line 14:

if (!isset($user_id) || !isNum($user_id)) fallback(FUSION_SELF.$aidlink);

Immediately after add the following code:

@include INFUSIONS."extended_profile/includes/update_profile_include_admin.php";

Save the file and close it.


5. Open the file ../includes/update_profile_include.php in a text editor of your choice and find approx. on line 13:

if (!iMEMBER) fallback("index.php");

Immediately after add the following code:

@include INFUSIONS."extended_profile/includes/update_profile_include.php";

Save the file and close it.


NOTE
----
This infusion/modification is based on v1.00 as made available by Martina Weidemann on http://www.php-fusion.de. Apparently she perfomed her update to v1.00 from v0.3.2004.12.16 as mentioned below in the CHANGELOG and not from v0.4.2005.06.10. This is made clear by the fact that the readme mentions that it is and update to work under PHP-Fusion v6.00 and that in v1.00 is was not possible for administrators to edit extended profile fields filled in by users. The latter was included in v0.4.2005.06.10 by colgate. For completeness sake, the changes introduced by colgate in v0.4.2005.06.10 are mentioned below, but they did not play a role in the update of this infusion/mod to v2.00. Still, the Danish and Swedish language files were derived from that version.


CHANGELOG
---------

v2.16 (muscapaul)
- Modded version of ../includes/update_profile_include.php updated after core update of PHP-Fusion.
- Modded version of ../administration/members.php updated after core update of PHP-Fusion.
- Modded version of ../administration/updateuser.php updated after core update of PHP-Fusion.

v2.15 (muscapaul)
- All special characters are now displayed properly in the Extended Profile fields and escape slashes are striped. (It may not work on sites with PHP versions before 4.3.0.)
(Note: The Turkish support site also distributed a v2.15 that should display all Turkish special characters properly. The full version here displays ALL special characters and strips slashes.)
- Turkish locale file added.

v2.14 (muscapaul)
- Bug while editing field fixed (field ordering collapsed because the order of an edited field was set to 0) (the bug was fixed by colgate in a branched of version of the Extended Profile but the fix was overlooked)
- A few corrections in the code of extended_profile_admin.php for HTML compliancy
- Version corrected in infusion.php (was not updated since v2.01...)
- Minor corrections in includes/edit_profile.php and in includes/edit_profile_admin.php

v2.13 (muscapaul)
- Modded version of ../edit_profile.php updated after core update of PHP-Fusion.

v2.12 (muscapaul)
- Modded version of ../includes/update_profile_include.php updated after core update of PHP-Fusion.

v2.11 (muscapaul)
- modified core files adapted after update to PHP-Fusion v6.01.4
- empty index.php files added to all folders

v2.10 (muscapaul)
- modified core files adapted after update to PHP-Fusion v6.01.1

v2.03 (muscapaul)
- modified core files adapted after critical update to PHP-Fusion v6.00.307

v2.02 (muscapaul)
- modified core files adapted after critical update to PHP-Fusion v6.00.305

v2.01 (muscapaul)
- modified core files adapted after critical update to PHP-Fusion v6.00.303

v2.00 (muscapaul)
- Complete update to run under v6.00.207 and v6.00.301/2
- Addition of possibility for administrator to edit data in the extended profile fields from the admin panel (member management)
- Display of profile page addapted for v6.00.2xx and v6.00.301/2

v1.00 (Martina Weidemann; not released on http://www.phpfusion-mods.com)
- Incomplete update to run under v6.00.1xx (language support malfunctioning)

[   v0.4.2005.06.10 (colgate) -> see note above]
- All files updated to be compatible with PHP-Fusion v600.103
- Fixed Bug in edit field (screwed up the ordering by setting edited fields to 0)
- Added the custom fields to ./administration/members.php, making it possible for admins to edit the fields of users.
- German language file included (thx Carsten Pukass aka MrX2003)   ]

v0.3.2004.12.16 (scor3p)
- Swedish language included (thx Stefan Svensson)
- Dutch language included (thx me)
- Ignored language file for developement, now corrected :)
- Alfanumeric is spelt Alphanumeric (thx Rayxen)
- Fixed: Screwed up directory structure last release (thx Rayxen)
- Database Name changed to DB Field Name, several ppl suggested several things, maybe this is clear
- Fixed: Ordering did not update on delete (thx for reporting Rayxen)
- Default new order is Last, not First (thx for reporting Rayxen)
- Length custom fields is now identical to existing fields (thx for reporting Rayxen)

v0.2.2004.12.15 (scor3p)
- nice arrows to move fields
- English lang --> "not defined" becomes "Not Specified"
- Underscores allowed in fieldnames
- Danish language included (thx Helmuth Mikkelsen)
