ALTER TABLE `users_profile` ADD `user_5` VARCHAR( 150 ) NOT NULL AFTER `user_4` , ADD `user_6` VARCHAR( 150 ) NOT NULL AFTER `user_5` ;
3. modify these functions inside the file "ext_user_profile.php" a. adding vars
Code:
var $field_five; var $field_six;
b. modify the methods (function) "save_profile_date" and "get_profile_data". Note the var names like $field4 and the contants like TBL_USERFIELD_4
4. after that you can acces the vars $field_five and $field_six in you application
It's better to build this inside a new extenstion of the class because of later updates in this class (this is a hint for the more experienced user)
« Last Edit: May 07, 2006, 09:52:35 pm by olaf »
Chicken-run Manager
Gender:
Posts: 9
62 credits Members referred : 0
« Reply #1 on: Aug 30, 2006, 08:35:31 am »
Easy and convinient way of doing it ! I merely just added a whole array of new items, which did mean some seraious typing had to be done ! But thanks for the good clarification ! Anders
Guest
« Reply #2 on: Nov 28, 2007, 10:55:09 pm »
Great class use it on all my sites
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2345