Thread subject: muscapaul's PHP-Fusion website :: Extended Profile v2.xx

Posted by muscapaul on 11-04-2006 14:15
#1

Extended Profile v2.02
PHP-Fusion: v6.00.305
original author for v5: Ronald Iwema
email author: sxqsxqsxq@hotmail.com

Update to v5.01: Carsten Pukafl (web: http://www.phpfus...)
Update to v6.00.1xx Martina Weidemann
Update to v6.00.207-v6.00.304 muscapaul (email: muscapaul@gmail.com; web: http://www.muscap...)
Update to v6.00.305 muscapaul (email: muscapaul@gmail.com; web: http://www.muscap...)
Last updated: 10.04.2006
-------------------------------------------
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 122-125:

<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);

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.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)


Download v6.00_extended_profile_v2.02.RC1.10.04.2006.zip


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 147
Edited by muscapaul on 23-08-2006 10:57