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 114
Edited by muscapaul on 23-08-2006 10:57

Posted by muscapaul on 09-05-2006 12:54
#2

After the critical update of PHP-Fusion to v6.00.307 an included modified core file had to be updated. Hence the new version.

Download v6.00_extended_profile_v2.03.RC1.09.05.2006.zip

Posted by muscapaul on 31-07-2006 17:15
#3

Please note: An update for PHP-Fusion v6.01.x wil be released when the update to v6.01.4 becomes available.

Posted by bronx on 22-08-2006 19:58
#4

Anything new? :|

Posted by muscapaul on 23-08-2006 01:04
#5

Thanks for the reminder. :D

After the update to PHP-Fusion v6.01.4 several of the included modified core files had to be updated. Hence this new version.

Download v6.00_extended_profile_v2.11.RC1.22.08.2006.zip

Posted by bronx on 23-08-2006 02:27
#6

Thanx alot muscapaul :D


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by bronx on 23-08-2006 02:28

Posted by Adrenaline on 25-09-2006 22:53
#7

Is this version supposed to work with v6.01.3? I tried it, but when i infused it and tries to access the extended profile admin, a blank came up.. I did the mods exactly as shown above, but left a blank line between the code i inserted and the code what's below that... does this matter? or is there something else wrong?
Sorry for my bad english :(
Thanks

Posted by muscapaul on 26-09-2006 02:21
#8

I will see if I can repeat the problem and see if I can then help you on the way. Bear with me... ;)

Posted by muscapaul on 21-11-2006 13:33
#9

After the update of ../includes/update_profile_include.php for PHP-Fusion core I also updated the modified version in the package. Version v2.12 is now available for download.

DOWNLOAD


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 21-11-2006 13:37

Posted by w00t on 28-01-2007 17:49
#10

Hello,
I have a nasty problem :(
I installed Extended Profile. Everything seems to be working all right, but this infusion don't understand UTF-8 encoding.
This is really important to me.. in my language there is many UTF-8 characters like ā č ļ ķ ? ? ņ ū ē .. but this infusion transforms them to this>> ?a33;?a33;?

so what do I have to do ?

Please help me.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by w00t on 28-01-2007 17:50

Posted by muscapaul on 29-01-2007 00:43
#11

Hmm, I'll have to sort that out, but may not have enough time in the sort run. If the solution keeps waiting too, long, remind me to look into it.

Posted by muscapaul on 23-02-2007 03:27
#12

After the update of ../edit_profile.php for PHP-Fusion core (PHP-Fusion v6.01.6->v6.01.7) I also updated the modified version in the package. Version v2.13 is now available for download.

DOWNLOAD


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 23-02-2007 13:28

Posted by Turbo_dk on 28-02-2007 01:01
#13

How to add a field? Please help me :(

Posted by muscapaul on 28-02-2007 01:17
#14

Go to Admin Panel -> Infusions -> Extended Profile. There you should see the appropriate fields to enter.

Posted by Turbo_dk on 28-02-2007 02:31
#15

Yes but i dont know what to insert in that Database field? :(

Posted by muscapaul on 28-02-2007 03:29
#16

First will be the name the field will get in the database, for example birth_city. The next will be the text given in the profile that shows the contents for that field, for example City where you were born.

Posted by Turbo_dk on 02-03-2007 03:19
#17

It doesnt appear in my edit user profile, or in the user profile?

Posted by muscapaul on 02-03-2007 14:58
#18

Have you replaced the original core files with the ones in the folder changed-files?

Posted by muscapaul on 02-03-2007 15:00
#19

Have you dealt with the original core files that need editing? There are five core files that either need to be edited (see the read-me) or replaced with the ones in the folder changed-files.

Posted by Turbo_dk on 02-03-2007 19:45
#20

Ive done that.