Accessdenied Publish time 2014-08-12 09:36

can you me help wihte User extended costum information

Zuletzt bearbeitet von Accessdenied um 2014-8-12 11:18

i´m go here mysql
pre_common_member_profile
make new in pre_common_member_profileCREATE TABLE dummy (
    `field9` TEXT NOT NULL
)
CREATE TABLE dummy (
    `field10` TEXT NOT NULL
)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 ".
toadd to p.field9,p.field10p.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 ".and change
Line 1792
$field['customable'] = preg_match('/^field$/i', $fieldid);to
$field['customable'] = preg_match('/^field$/i', $fieldid);
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, '', '');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',);
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');

then as you continue ?


vot Publish time 2014-08-13 10:57

make new in pre_common_member_profile

    CREATE TABLE dummy (
      `field9` TEXT NOT NULL
    )
    CREATE TABLE dummy (
      `field10` TEXT NOT NULL
    )
It is a mistake.
You must add extended fields into the pre_common_member_profile table.
Pages: [1]
View full version: can you me help wihte User extended costum information