Zuletzt bearbeitet von Accessdenied um 2014-8-12 11:18
i´m go here mysql
- pre_common_member_profile
Copy the Code
make new in pre_common_member_profile- CREATE TABLE dummy (
- `field9` TEXT NOT NULL
- )
- CREATE TABLE dummy (
- `field10` TEXT NOT NULL
- )
Copy the Code script admincp_members.php
line 138- p.yahoo,p.msn,p.taobao,p.site,p.bio,p.interest,p.field1,p.field2,p.field3,p.field4,p.field5,p.field6,p.field7,p.field8 FROM ".
- to
Copy the Code add to p.field9,p.field10- p.yahoo,p.msn,p.taobao,p.site,p.bio,p.interest,p.field1,p.field2,p.field3,p.field4,p.field5,p.field6,p.field7,p.field8,p.field9,p.field10 FROM ".
Copy the Code and change
Line 1792
- $field['customable'] = preg_match('/^field[1-8]$/i', $fieldid);
Copy the Code to
- $field['customable'] = preg_match('/^field[1-10]$/i', $fieldid);
Copy the Code
mysql pre_common_member_profile_setting
add
- ('field9', 0, 0, 0, 'Benutzerdefinierte Felder 9', '', 101, 0, 0, 0, 0, 0, 0, 'text', 0, '', ''),
- ('field10', 0, 0, 0, 'Benutzerdefinierte Felder 10', '', 102, 0, 0, 0, 0, 0, 0, 'text', 0, '', '');
Copy the Code script spacecp_profile.php
line 350
- $allowitems = array('realname', 'gender', 'birthday', 'birthcity', 'residecity', 'residedist', 'affectivestatus', 'lookingfor', 'bloodtype', 'field1', 'field2', 'field3', 'field4', 'field5', 'field6', 'field7', 'field8',);
Copy the Code
to add , 'field9', 'field10
- $allowitems = array('realname', 'gender', 'birthday', 'birthcity', 'residecity', 'residedist', 'affectivestatus', 'lookingfor', 'bloodtype', 'field1', 'field2', 'field3', 'field4', 'field5', 'field6', 'field7', 'field8', 'field9', 'field10');
Copy the Code
then as you continue ?
|