Problema Con Mod "Custom Profile Fields"
Publicado: 12 Dic 2006, 20:23
hola, es mi primer post, me llamo joan y soy de barcelona
llevo dias leyendo y documentandome, pero llega un momento en que te encallas, pues aqui estoy buscando ayuda
a ver si soy capaz de documentar el tema correctamente, un saludo
http://www.bmwclub.cat/phpbb2
phpbb2 - 2.0.21
plantilla aluminoid "modificada"
easymod beta (0.3.0)
hosting de pago windows
plesk 7.6.1 for windows
phpMyAdmin 2.6.0-pl3 - via plesk
MySQL 4.1.18-nt - via plesk
mods instalados: ninguno "edito: custom profile fields"
estoy intentando instalar el mod "Custom Profile Fields" y tanto si lo intento directamente via sql como con el asistente "db_installer.php" tengo problemas
el txt de instalacion del mod:
#-----[ SQL ]-------
#
# If you do not wish to manually execute this query, or you do not know how to execute it,
# you can place goodies/db_installer.php into your root directory and run that.
#
CREATE TABLE `phpbb_profile_fields` (
`field_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT,
`field_name` VARCHAR( 255 ) NOT NULL ,
`field_description` VARCHAR( 255 ) NULL ,
`field_type` TINYINT( 4 ) UNSIGNED NOT NULL DEFAULT '0',
`text_field_default` VARCHAR( 255 ) NULL ,
`text_field_maxlen` INT UNSIGNED NOT NULL DEFAULT '255',
`text_area_default` TEXT NULL ,
`text_area_maxlen` INT UNSIGNED NOT NULL DEFAULT '1024',
`radio_button_default` VARCHAR( 255 ) NULL ,
`radio_button_values` TEXT NULL ,
`checkbox_default` TEXT NULL ,
`checkbox_values` TEXT NULL ,
`is_required` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
`users_can_view` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '1',
`view_in_profile` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '1',
`profile_location` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '2',
`view_in_memberlist` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
`view_in_topic` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
`topic_location` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '1',
`linkify` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (field_id),
INDEX ( `field_type` ) ,
UNIQUE (`field_name`)
);
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('collapse_fields', '0');
#
#-----[ COPY ]-------------------
#
copy root/admin/admin_profile_fields.php to admin/admin_profile_fields.php
copy root/includes/functions_profile_fields.php to includes/functions_profile_fields.php
copy root/templates/subSilver/admin/add_profile_field.tpl to templates/subSilver/admin/add_profile_field.tpl
copy root/templates/subSilver/admin/add_profile_field_list.tpl to templates/subSilver/admin/add_profile_field_list.tpl
copy root/templates/subSilver/admin/edit_cpf_settings.tpl to templates/subSilver/admin/edit_cpf_settings.tpl
os pongo capturas de pantalla de cada caso con los errores
gracias por vuestra ayuda



una vez supere esto "espero" no se muy bien a que se refieren estas instrucciones del txt
PRIMARY KEY (field_id),
INDEX ( `field_type` ) ,
UNIQUE (`field_name`)
);
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('collapse_fields', '0');
llevo dias leyendo y documentandome, pero llega un momento en que te encallas, pues aqui estoy buscando ayuda
a ver si soy capaz de documentar el tema correctamente, un saludo
http://www.bmwclub.cat/phpbb2
phpbb2 - 2.0.21
plantilla aluminoid "modificada"
easymod beta (0.3.0)
hosting de pago windows
plesk 7.6.1 for windows
phpMyAdmin 2.6.0-pl3 - via plesk
MySQL 4.1.18-nt - via plesk
mods instalados: ninguno "edito: custom profile fields"
estoy intentando instalar el mod "Custom Profile Fields" y tanto si lo intento directamente via sql como con el asistente "db_installer.php" tengo problemas
el txt de instalacion del mod:
#-----[ SQL ]-------
#
# If you do not wish to manually execute this query, or you do not know how to execute it,
# you can place goodies/db_installer.php into your root directory and run that.
#
CREATE TABLE `phpbb_profile_fields` (
`field_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT,
`field_name` VARCHAR( 255 ) NOT NULL ,
`field_description` VARCHAR( 255 ) NULL ,
`field_type` TINYINT( 4 ) UNSIGNED NOT NULL DEFAULT '0',
`text_field_default` VARCHAR( 255 ) NULL ,
`text_field_maxlen` INT UNSIGNED NOT NULL DEFAULT '255',
`text_area_default` TEXT NULL ,
`text_area_maxlen` INT UNSIGNED NOT NULL DEFAULT '1024',
`radio_button_default` VARCHAR( 255 ) NULL ,
`radio_button_values` TEXT NULL ,
`checkbox_default` TEXT NULL ,
`checkbox_values` TEXT NULL ,
`is_required` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
`users_can_view` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '1',
`view_in_profile` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '1',
`profile_location` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '2',
`view_in_memberlist` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
`view_in_topic` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
`topic_location` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '1',
`linkify` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (field_id),
INDEX ( `field_type` ) ,
UNIQUE (`field_name`)
);
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('collapse_fields', '0');
#
#-----[ COPY ]-------------------
#
copy root/admin/admin_profile_fields.php to admin/admin_profile_fields.php
copy root/includes/functions_profile_fields.php to includes/functions_profile_fields.php
copy root/templates/subSilver/admin/add_profile_field.tpl to templates/subSilver/admin/add_profile_field.tpl
copy root/templates/subSilver/admin/add_profile_field_list.tpl to templates/subSilver/admin/add_profile_field_list.tpl
copy root/templates/subSilver/admin/edit_cpf_settings.tpl to templates/subSilver/admin/edit_cpf_settings.tpl
os pongo capturas de pantalla de cada caso con los errores
gracias por vuestra ayuda



una vez supere esto "espero" no se muy bien a que se refieren estas instrucciones del txt
PRIMARY KEY (field_id),
INDEX ( `field_type` ) ,
UNIQUE (`field_name`)
);
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('collapse_fields', '0');