Het modden wil niet!

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Het modden wil niet!

Bericht door AircooledBjorn » 12 apr 2005, 20:28

Heren,

Ik heb een premodded attach mod geïnstalleerd op mijn forum. Bij administration zie ik alles staan en bijna alle functies werken nou. Alleen wordt er tot nu toe nog niets op het forum weergegeven. Ook lukt het niet om leden in een udergroup de permissie te geven om te up-loaden.

Nou schijnt het dat ik het één en ander nog moet aanpassen zoals hieronder beschreven:

Nadat je de mod hebt gedownload unzip je de MOD. Open daarna het instructie bestand (meestal install.txt of readme.txt) en volg de instructies.

1) De "COPY" actie :

Als je in de installatie-instructies zoiets als dit tegenkomt:

Code:


#
#-----[ COPY ]------------------------------------------
#

copy file.php to file.php
copy file.tpl to templates/subSilver/file.tpl

Alleen zou ik begod niet weten waarmee en hoe ik dit moet doen! Kan mij iemand even een duwtje de goede richting in geven???

Alvast hartelijk bedankt!

Groetjes Bjorn! :wink:

wizzzzzzzz
Berichten: 661
Lid geworden op: 05 feb 2005, 14:26
Locatie: Op zolder
Contacteer:

Re: Het modden wil niet!

Bericht door wizzzzzzzz » 12 apr 2005, 20:32

AircooledBjorn schreef:Heren,

Ik heb een premodded attach mod geïnstalleerd op mijn forum. Bij administration zie ik alles staan en bijna alle functies werken nou. Alleen wordt er tot nu toe nog niets op het forum weergegeven. Ook lukt het niet om leden in een udergroup de permissie te geven om te up-loaden.

Nou schijnt het dat ik het één en ander nog moet aanpassen zoals hieronder beschreven:

Nadat je de mod hebt gedownload unzip je de MOD. Open daarna het instructie bestand (meestal install.txt of readme.txt) en volg de instructies.

1) De "COPY" actie :

Als je in de installatie-instructies zoiets als dit tegenkomt:

Code:


#
#-----[ COPY ]------------------------------------------
#

copy file.php to file.php
copy file.tpl to templates/subSilver/file.tpl

Alleen zou ik begod niet weten waarmee en hoe ik dit moet doen! Kan mij iemand even een duwtje de goede richting in geven???

Alvast hartelijk bedankt!

Groetjes Bjorn! :wink:

Dat zijn files die je dus moet uploaden in je forum map de eerste in de root van je forum map en de tweede wordt toch erg duidelijk aangegeven

AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Bericht door AircooledBjorn » 12 apr 2005, 21:21

OK ff twee flinke lappen met text:
# STEP NUMBER I: Uploading all new Files
#
# Copy/Upload all files to their respective Location (the directory structure is in the folder root)
# The left side shows the location of the file you should have after decompressing the package,
# the right side shows the location the file must be copied to, it is always the phpBB Root path (where the config.php file is stored at).
#
# attach_mod/root/download.php -> download.php
# attach_mod/root/uacp.php -> uacp.php
# attach_mod/root/attach_rules.php -> attach_rules.php
# attach_mod/root/admin/admin_attach_cp.php -> admin/admin_attach_cp.php
# attach_mod/root/admin/admin_attachments.php -> admin/admin_attachments.php
# attach_mod/root/admin/admin_extensions.php -> admin/admin_extensions.php
# attach_mod/root/attach_mod/attachment_mod.php -> attach_mod/attachment_mod.php
# attach_mod/root/attach_mod/displaying.php -> attach_mod/displaying.php
# attach_mod/root/attach_mod/index.htm -> attach_mod/index.htm
# attach_mod/root/attach_mod/pm_attachments.php -> attach_mod/pm_attachments.php
# attach_mod/root/attach_mod/posting_attachments.php -> attach_mod/posting_attachments.php
# attach_mod/root/attach_mod/includes/constants.php -> attach_mod/includes/constants.php
# attach_mod/root/attach_mod/includes/functions_admin.php -> attach_mod/includes/functions_admin.php
# attach_mod/root/attach_mod/includes/functions_attach.php -> attach_mod/includes/functions_attach.php
# attach_mod/root/attach_mod/includes/functions_delete.php -> attach_mod/includes/functions_delete.php
# attach_mod/root/attach_mod/includes/functions_filetypes.php -> attach_mod/includes/functions_filetypes.php
# attach_mod/root/attach_mod/includes/functions_includes.php -> attach_mod/includes/functions_includes.php
# attach_mod/root/attach_mod/includes/functions_selects.php -> attach_mod/includes/functions_selects.php
# attach_mod/root/attach_mod/includes/functions_thumbs.php -> attach_mod/includes/functions_thumbs.php
# attach_mod/root/attach_mod/includes/index.htm -> attach_mod/includes/index.htm
# attach_mod/root/files/index.php -> files/index.php
# attach_mod/root/images/icon_clip.gif -> images/icon_clip.gif
# attach_mod/root/images/icon_disk.gif -> images/icon_disk.gif
# attach_mod/root/images/icon_disk_gray.gif -> images/icon_disk_gray.gif
# attach_mod/root/templates/subSilver/add_attachment_body.tpl -> templates/subSilver/add_attachment_body.tpl
# attach_mod/root/templates/subSilver/posted_attachments_body.tpl -> templates/subSilver/posted_attachments_body.tpl
# attach_mod/root/templates/subSilver/posting_attach_body.tpl -> templates/subSilver/posting_attach_body.tpl
# attach_mod/root/templates/subSilver/posting_attach_rules.tpl -> templates/subSilver/posting_attach_rules.tpl
# attach_mod/root/templates/subSilver/uacp_body.tpl -> templates/subSilver/uacp_body.tpl
# attach_mod/root/templates/subSilver/viewtopic_attach_body.tpl -> templates/subSilver/viewtopic_attach_body.tpl
# attach_mod/root/templates/subSilver/admin/attach_cat_body.tpl -> templates/subSilver/admin/attach_cat_body.tpl
# attach_mod/root/templates/subSilver/admin/attach_cp_attachments.tpl -> templates/subSilver/admin/attach_cp_attachments.tpl
# attach_mod/root/templates/subSilver/admin/attach_cp_body.tpl -> templates/subSilver/admin/attach_cp_body.tpl
# attach_mod/root/templates/subSilver/admin/attach_cp_search.tpl -> templates/subSilver/admin/attach_cp_search.tpl
# attach_mod/root/templates/subSilver/admin/attach_cp_user.tpl -> templates/subSilver/admin/attach_cp_user.tpl
# attach_mod/root/templates/subSilver/admin/attach_extension_groups.tpl -> templates/subSilver/admin/attach_extension_groups.tpl
# attach_mod/root/templates/subSilver/admin/attach_extensions.tpl -> templates/subSilver/admin/attach_extensions.tpl
# attach_mod/root/templates/subSilver/admin/attach_forbidden_extensions.tpl -> templates/subSilver/admin/attach_forbidden_extensions.tpl
# attach_mod/root/templates/subSilver/admin/attach_manage_body.tpl -> templates/subSilver/admin/attach_manage_body.tpl
# attach_mod/root/templates/subSilver/admin/attach_quota_body.tpl -> templates/subSilver/admin/attach_quota_body.tpl
# attach_mod/root/templates/subSilver/admin/attach_shadow.tpl -> templates/subSilver/admin/attach_shadow.tpl
# attach_mod/root/templates/subSilver/admin/extension_groups_permissions.tpl -> templates/subSilver/admin/extension_groups_permissions.tpl
# attach_mod/root/language/lang_english/lang_admin_attach.php -> language/lang_english/lang_admin_attach.php
# attach_mod/root/language/lang_english/lang_faq_attach.php -> language/lang_english/lang_faq_attach.php
# attach_mod/root/language/lang_english/lang_main_attach.php -> language/lang_english/lang_main_attach.php
# attach_mod/root/install/mod_table_inst.php -> install/mod_table_inst.php
# attach_mod/root/install/schemas/attach_mysql_basic.sql -> install/schemas/attach_mysql_basic.sql
# attach_mod/root/install/schemas/attach_mysql_schema.sql -> install/schemas/attach_mysql_schema.sql
# attach_mod/root/install/schemas/attach_mssql_basic.sql -> install/schemas/attach_mssql_basic.sql
# attach_mod/root/install/schemas/attach_mssql_schema.sql -> install/schemas/attach_mssql_schema.sql
# attach_mod/root/install/schemas/attach_postgres_basic.sql -> install/schemas/attach_postgres_basic.sql
# attach_mod/root/install/schemas/attach_postgres_schema.sql -> install/schemas/attach_postgres_schema.sql
#

#
#-----[ COPY ]---------------------------
# This is for EasyMod and Mod Template compliance

copy attach_mod/root/download.php to download.php
copy attach_mod/root/uacp.php to uacp.php
copy attach_mod/root/attach_rules.php to attach_rules.php
copy attach_mod/root/admin/admin_attach_cp.php to admin/admin_attach_cp.php
copy attach_mod/root/admin/admin_attachments.php to admin/admin_attachments.php
copy attach_mod/root/admin/admin_extensions.php to admin/admin_extensions.php
copy attach_mod/root/attach_mod/attachment_mod.php to attach_mod/attachment_mod.php
copy attach_mod/root/attach_mod/displaying.php to attach_mod/displaying.php
copy attach_mod/root/attach_mod/index.htm to attach_mod/index.htm
copy attach_mod/root/attach_mod/pm_attachments.php to attach_mod/pm_attachments.php
copy attach_mod/root/attach_mod/posting_attachments.php to attach_mod/posting_attachments.php
copy attach_mod/root/attach_mod/includes/constants.php to attach_mod/includes/constants.php
copy attach_mod/root/attach_mod/includes/functions_admin.php to attach_mod/includes/functions_admin.php
copy attach_mod/root/attach_mod/includes/functions_attach.php to attach_mod/includes/functions_attach.php
copy attach_mod/root/attach_mod/includes/functions_delete.php to attach_mod/includes/functions_delete.php
copy attach_mod/root/attach_mod/includes/functions_filetypes.php to attach_mod/includes/functions_filetypes.php
copy attach_mod/root/attach_mod/includes/functions_includes.php to attach_mod/includes/functions_includes.php
copy attach_mod/root/attach_mod/includes/functions_selects.php to attach_mod/includes/functions_selects.php
copy attach_mod/root/attach_mod/includes/functions_thumbs.php to attach_mod/includes/functions_thumbs.php
copy attach_mod/root/attach_mod/includes/index.htm to attach_mod/includes/index.htm
copy attach_mod/root/files/index.php to files/index.php
copy attach_mod/root/images/icon_clip.gif to images/icon_clip.gif
copy attach_mod/root/images/icon_disk.gif to images/icon_disk.gif
copy attach_mod/root/images/icon_disk_gray.gif to images/icon_disk_gray.gif
copy attach_mod/root/templates/subSilver/add_attachment_body.tpl to templates/subSilver/add_attachment_body.tpl
copy attach_mod/root/templates/subSilver/posted_attachments_body.tpl to templates/subSilver/posted_attachments_body.tpl
copy attach_mod/root/templates/subSilver/posting_attach_body.tpl to templates/subSilver/posting_attach_body.tpl
copy attach_mod/root/templates/subSilver/posting_attach_rules.tpl to templates/subSilver/posting_attach_rules.tpl
copy attach_mod/root/templates/subSilver/uacp_body.tpl to templates/subSilver/uacp_body.tpl
copy attach_mod/root/templates/subSilver/viewtopic_attach_body.tpl to templates/subSilver/viewtopic_attach_body.tpl
copy attach_mod/root/templates/subSilver/admin/attach_cat_body.tpl to templates/subSilver/admin/attach_cat_body.tpl
copy attach_mod/root/templates/subSilver/admin/attach_cp_attachments.tpl to templates/subSilver/admin/attach_cp_attachments.tpl
copy attach_mod/root/templates/subSilver/admin/attach_cp_body.tpl to templates/subSilver/admin/attach_cp_body.tpl
copy attach_mod/root/templates/subSilver/admin/attach_cp_search.tpl to templates/subSilver/admin/attach_cp_search.tpl
copy attach_mod/root/templates/subSilver/admin/attach_cp_user.tpl to templates/subSilver/admin/attach_cp_user.tpl
copy attach_mod/root/templates/subSilver/admin/attach_extension_groups.tpl to templates/subSilver/admin/attach_extension_groups.tpl
copy attach_mod/root/templates/subSilver/admin/attach_extensions.tpl to templates/subSilver/admin/attach_extensions.tpl
copy attach_mod/root/templates/subSilver/admin/attach_forbidden_extensions.tpl to templates/subSilver/admin/attach_forbidden_extensions.tpl
copy attach_mod/root/templates/subSilver/admin/attach_manage_body.tpl to templates/subSilver/admin/attach_manage_body.tpl
copy attach_mod/root/templates/subSilver/admin/attach_quota_body.tpl to templates/subSilver/admin/attach_quota_body.tpl
copy attach_mod/root/templates/subSilver/admin/attach_shadow.tpl to templates/subSilver/admin/attach_shadow.tpl
copy attach_mod/root/templates/subSilver/admin/extension_groups_permissions.tpl to templates/subSilver/admin/extension_groups_permissions.tpl
copy attach_mod/root/language/lang_english/lang_admin_attach.php to language/lang_english/lang_admin_attach.php
copy attach_mod/root/language/lang_english/lang_faq_attach.php to language/lang_english/lang_faq_attach.php
copy attach_mod/root/language/lang_english/lang_main_attach.php to language/lang_english/lang_main_attach.php
copy attach_mod/root/install/mod_table_inst.php to install/mod_table_inst.php
copy attach_mod/root/install/schemas/attach_mysql_basic.sql to install/schemas/attach_mysql_basic.sql
copy attach_mod/root/install/schemas/attach_mysql_schema.sql to install/schemas/attach_mysql_schema.sql
copy attach_mod/root/install/schemas/attach_mssql_basic.sql to install/schemas/attach_mssql_basic.sql
copy attach_mod/root/install/schemas/attach_mssql_schema.sql to install/schemas/attach_mssql_schema.sql
copy attach_mod/root/install/schemas/attach_postgres_basic.sql to install/schemas/attach_postgres_basic.sql
copy attach_mod/root/install/schemas/attach_postgres_schema.sql to install/schemas/attach_postgres_schema.sql

#
# If you want/have another language, please visit http://www.opentools.de, and download your
# Language if it is available. If you have a multi-national board you may want to upload all language files.
# Please make sure you download the Language Pack for at least Version 2.3.9 of the Attachment Mod.
#

#
# STEP NUMBER II: Installing the Attachment Mod (Database)
#
# You should have uploaded the install folder (above), which is only needed for running the database installer.
#
# Upload the Schema Files (those files ending in .sql) in ASCII Mode (This is the Layout and Data for your Database):
#

#
# Now we want to create the tables, therefore we run mod_table_inst.php (http://www.yoursite.com/phpBB2/install/ ... e_inst.php)
# Please be sure to enter the correct URL, the mod_table_inst.php file has to be placed within the install folder.
# If it is not within the install folder, you get errors.
Ik deed het bovenstaande stap voor stap en toen kreeg ik dit:

Running :: CREATE TABLE phpbb_attachments_config ( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name) ) -> FAILED ---> Table 'phpbb_attachments_config' already exists

Running :: CREATE TABLE phpbb_forbidden_extensions ( ext_id mediumint(8) UNSIGNED NOT NULL auto_increment, extension varchar(100) NOT NULL, PRIMARY KEY (ext_id) ) -> FAILED ---> Table 'phpbb_forbidden_extensions' already exists

Running :: CREATE TABLE phpbb_extension_groups ( group_id mediumint(8) NOT NULL auto_increment, group_name char(20) NOT NULL, cat_id tinyint(2) DEFAULT '0' NOT NULL, allow_group tinyint(1) DEFAULT '0' NOT NULL, download_mode tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, upload_icon varchar(100) DEFAULT '', max_filesize int(20) DEFAULT '0' NOT NULL, forum_permissions varchar(255) default '' NOT NULL, PRIMARY KEY group_id (group_id) ) -> FAILED ---> Table 'phpbb_extension_groups' already exists

Running :: CREATE TABLE phpbb_extensions ( ext_id mediumint(8) UNSIGNED NOT NULL auto_increment, group_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, extension varchar(100) NOT NULL, comment varchar(100), PRIMARY KEY ext_id (ext_id) ) -> FAILED ---> Table 'phpbb_extensions' already exists

Running :: CREATE TABLE phpbb_attachments_desc ( attach_id mediumint(8) UNSIGNED NOT NULL auto_increment, physical_filename varchar(255) NOT NULL, real_filename varchar(255) NOT NULL, download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, comment varchar(255), extension varchar(100), mimetype varchar(100), filesize int(20) NOT NULL, filetime int(11) DEFAULT '0' NOT NULL, thumbnail tinyint(1) DEFAULT '0' NOT NULL, PRIMARY KEY (attach_id), KEY filetime (filetime), KEY physical_filename (physical_filename(10)), KEY filesize (filesize) ) -> FAILED ---> Table 'phpbb_attachments_desc' already exists

Running :: CREATE TABLE phpbb_attachments ( attach_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, privmsgs_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, user_id_1 mediumint(8) NOT NULL, user_id_2 mediumint(8) NOT NULL, KEY attach_id_post_id (attach_id, post_id), KEY attach_id_privmsgs_id (attach_id, privmsgs_id), KEY post_id (post_id), KEY privmsgs_id (privmsgs_id) ) -> FAILED ---> Table 'phpbb_attachments' already exists

Running :: CREATE TABLE phpbb_quota_limits ( quota_limit_id mediumint(8) unsigned NOT NULL auto_increment, quota_desc varchar(20) NOT NULL default '', quota_limit bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (quota_limit_id) ) -> FAILED ---> Table 'phpbb_quota_limits' already exists

Running :: CREATE TABLE phpbb_attach_quota ( user_id mediumint(8) unsigned NOT NULL default '0', group_id mediumint(8) unsigned NOT NULL default '0', quota_type smallint(2) NOT NULL default '0', quota_limit_id mediumint(8) unsigned NOT NULL default '0', KEY quota_type (quota_type) ) -> FAILED ---> Table 'phpbb_attach_quota' already exists

Running :: ALTER TABLE phpbb_forums ADD auth_download TINYINT(2) DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'auth_download'

Running :: ALTER TABLE phpbb_auth_access ADD auth_download TINYINT(1) DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'auth_download'

Running :: ALTER TABLE phpbb_posts ADD post_attachment TINYINT(1) DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'post_attachment'

Running :: ALTER TABLE phpbb_topics ADD topic_attachment TINYINT(1) DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'topic_attachment'

Running :: ALTER TABLE phpbb_privmsgs ADD privmsgs_attachment TINYINT(1) DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'privmsgs_attachment'

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('upload_dir','files') -> FAILED ---> Duplicate entry 'upload_dir' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('upload_img','images/icon_clip.gif') -> FAILED ---> Duplicate entry 'upload_img' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('topic_icon','images/icon_clip.gif') -> FAILED ---> Duplicate entry 'topic_icon' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('display_order','0') -> FAILED ---> Duplicate entry 'display_order' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_filesize','262144') -> FAILED ---> Duplicate entry 'max_filesize' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('attachment_quota','52428800') -> FAILED ---> Duplicate entry 'attachment_quota' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_filesize_pm','262144') -> FAILED ---> Duplicate entry 'max_filesize_pm' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_attachments','3') -> FAILED ---> Duplicate entry 'max_attachments' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_attachments_pm','1') -> FAILED ---> Duplicate entry 'max_attachments_pm' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('disable_mod','0') -> FAILED ---> Duplicate entry 'disable_mod' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('allow_pm_attach','1') -> FAILED ---> Duplicate entry 'allow_pm_attach' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('attachment_topic_review','0') -> FAILED ---> Duplicate entry 'attachment_topic_review' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('allow_ftp_upload','0') -> FAILED ---> Duplicate entry 'allow_ftp_upload' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('show_apcp','0') -> FAILED ---> Duplicate entry 'show_apcp' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('attach_version','2.3.11') -> FAILED ---> Duplicate entry 'attach_version' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('default_upload_quota', '0') -> FAILED ---> Duplicate entry 'default_upload_quota' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('default_pm_quota', '0') -> FAILED ---> Duplicate entry 'default_pm_quota' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_server','') -> FAILED ---> Duplicate entry 'ftp_server' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_path','') -> FAILED ---> Duplicate entry 'ftp_path' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('download_path','') -> FAILED ---> Duplicate entry 'download_path' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_user','') -> FAILED ---> Duplicate entry 'ftp_user' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_pass','') -> FAILED ---> Duplicate entry 'ftp_pass' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_pasv_mode','1') -> FAILED ---> Duplicate entry 'ftp_pasv_mode' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_display_inlined','1') -> FAILED ---> Duplicate entry 'img_display_inlined' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_max_width','0') -> FAILED ---> Duplicate entry 'img_max_width' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_max_height','0') -> FAILED ---> Duplicate entry 'img_max_height' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_link_width','0') -> FAILED ---> Duplicate entry 'img_link_width' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_link_height','0') -> FAILED ---> Duplicate entry 'img_link_height' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_create_thumbnail','0') -> FAILED ---> Duplicate entry 'img_create_thumbnail' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_min_thumb_filesize','12000') -> FAILED ---> Duplicate entry 'img_min_thumb_filesize' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_imagick', '') -> FAILED ---> Duplicate entry 'img_imagick' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('use_gd2','0') -> FAILED ---> Duplicate entry 'use_gd2' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('wma_autoplay','0') -> FAILED ---> Duplicate entry 'wma_autoplay' for key 1

Running :: INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('flash_autoplay','0') -> FAILED ---> Duplicate entry 'flash_autoplay' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (1,'php') -> FAILED ---> Duplicate entry '1' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (2,'php3') -> FAILED ---> Duplicate entry '2' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (3,'php4') -> FAILED ---> Duplicate entry '3' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (4,'phtml') -> FAILED ---> Duplicate entry '4' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (5,'pl') -> FAILED ---> Duplicate entry '5' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (6,'asp') -> FAILED ---> Duplicate entry '6' for key 1

Running :: INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (7,'cgi') -> FAILED ---> Duplicate entry '7' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (1,'Images',1,1,1,'',0,'') -> FAILED ---> Duplicate entry '1' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (2,'Archives',0,1,1,'',0,'') -> FAILED ---> Duplicate entry '2' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (3,'Plain Text',0,0,1,'',0,'') -> FAILED ---> Duplicate entry '3' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (4,'Documents',0,0,1,'',0,'') -> FAILED ---> Duplicate entry '4' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (5,'Real Media',0,0,2,'',0,'') -> FAILED ---> Duplicate entry '5' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (6,'Streams',2,0,1,'',0,'') -> FAILED ---> Duplicate entry '6' for key 1

Running :: INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (7,'Flash Files',3,0,1,'',0,'') -> FAILED ---> Duplicate entry '7' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (1, 1,'gif', '') -> FAILED ---> Duplicate entry '1' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (2, 1,'png', '') -> FAILED ---> Duplicate entry '2' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (3, 1,'jpeg', '') -> FAILED ---> Duplicate entry '3' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (4, 1,'jpg', '') -> FAILED ---> Duplicate entry '4' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (5, 1,'tif', '') -> FAILED ---> Duplicate entry '5' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (6, 1,'tga', '') -> FAILED ---> Duplicate entry '6' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (7, 2,'gtar', '') -> FAILED ---> Duplicate entry '7' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (8, 2,'gz', '') -> FAILED ---> Duplicate entry '8' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (9, 2,'tar', '') -> FAILED ---> Duplicate entry '9' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (10, 2,'zip', '') -> FAILED ---> Duplicate entry '10' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (11, 2,'rar', '') -> FAILED ---> Duplicate entry '11' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (12, 2,'ace', '') -> FAILED ---> Duplicate entry '12' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (13, 3,'txt', '') -> FAILED ---> Duplicate entry '13' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (14, 3,'c', '') -> FAILED ---> Duplicate entry '14' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (15, 3,'h', '') -> FAILED ---> Duplicate entry '15' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (16, 3,'cpp', '') -> FAILED ---> Duplicate entry '16' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (17, 3,'hpp', '') -> FAILED ---> Duplicate entry '17' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (18, 3,'diz', '') -> FAILED ---> Duplicate entry '18' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (19, 4,'xls', '') -> FAILED ---> Duplicate entry '19' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (20, 4,'doc', '') -> FAILED ---> Duplicate entry '20' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (21, 4,'dot', '') -> FAILED ---> Duplicate entry '21' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (22, 4,'pdf', '') -> FAILED ---> Duplicate entry '22' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (23, 4,'ai', '') -> FAILED ---> Duplicate entry '23' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (24, 4,'ps', '') -> FAILED ---> Duplicate entry '24' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (25, 4,'ppt', '') -> FAILED ---> Duplicate entry '25' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (26, 5,'rm', '') -> FAILED ---> Duplicate entry '26' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (27, 6,'wma', '') -> FAILED ---> Duplicate entry '27' for key 1

Running :: INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (28, 7,'swf', '') -> FAILED ---> Duplicate entry '28' for key 1

Running :: INSERT INTO phpbb_quota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (1, 'Low', 262144) -> FAILED ---> Duplicate entry '1' for key 1

Running :: INSERT INTO phpbb_quota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (2, 'Medium', 2097152) -> FAILED ---> Duplicate entry '2' for key 1

Running :: INSERT INTO phpbb_quota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (3, 'High', 5242880) -> FAILED ---> Duplicate entry '3' for key 1


COMPLETE!

Some queries failed.
This is sometimes due to tables already there (from a previous installation), therefore please READ the errors and warnings and use common sense in interpreting them. Support is offered at http://www.opentools.de for questions you might have regarding those errors/warnings.

NOW DELETE THIS FILE


Nou moet ik de fouten lezen maar het zijn er zoveel! Is iemand bekent met dit probleem???

B.v.d.!

Bjorn.

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 12 apr 2005, 21:43

Deze fouten zijn niet erg, ze geven aan dat de database installatie al gedaan is.
... Maar ik modereer (nog) niet.

abcde
Berichten: 1494
Lid geworden op: 19 feb 2004, 16:02

Bericht door abcde » 12 apr 2005, 21:49

Database install file weghalen.
Bijna 1500 posts!

AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Bericht door AircooledBjorn » 12 apr 2005, 22:03

Dus nu doen we het volgende:

For Uninstallation (this file will delete all of your Attachments):
# Upload attach_mod/scripts/mod_table_uninst.php -> mod_table_uninst.php
# Run the script and delete it after execution
#

#
# If you don't want to edit the Files by hand, you are free to use the following methods:
#
# 1) You are able to use the pre-edited files (found in the contrib-directory).
#
# You only need to replace your original phpBB Files with the pre-edited files. Please only use this method if
# you are using phpBB 2.0.11 without any other mods installed. If you have mods installed changing one of the pre-edited
# files, you have to re-apply the mods to them.
#
# If you use the pre-edited files, you can skip this Step Number III.
# Directly continue with Step Number IV.
#
#
#
# STEP NUMBER III: Modifying existing phpBB2 Files
#
# Now you have to alter existing phpBB2 files, read the instructions carefully and make sure you find the right lines.
# The Line Numbers are only a hint, most times they are not correct, especially if you have Mods installed.
# The Line Numbers are taken from phpBB 2.0.11
#
#

#
#-----[ OPEN ]---------------------------------------------
#
common.php

#
#-----[ FIND ]---------------------------------------------
# around line 220
$board_config[$row['config_name']] = $row['config_value'];
}

#
#-----[ AFTER, ADD ]--------------------------------------
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);

#
#-----[ OPEN ]---------------------------------------------
#
faq.php

#
#-----[ FIND ]---------------------------------------------
# around line 62
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx);

#
#-----[ AFTER, ADD ]---------------------------------------
#
attach_faq_include($lang_file);

#
#-----[ OPEN ]---------------------------------------------
#
modcp.php

#
#-----[ FIND ]---------------------------------------------
# around line 338
remove_search_post($post_id_sql);

#
#-----[ AFTER, ADD ]---------------------------------------
#
delete_attachment(explode(', ', $post_id_sql));

#
#-----[ FIND ]---------------------------------------------
# around line 1184
'TOPIC_ID' => $topic_id,

#
#-----[ AFTER, ADD ]---------------------------------------
#
'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($row['topic_attachment']),

#
#-----[ OPEN ]---------------------------------------------
#
posting.php

#
#-----[ FIND ]---------------------------------------------
# around line 412
$attach_sig = ( $submit || $refresh ) ? ( ( !empty($HTTP_POST_VARS['attach_sig']) ) ? TRUE : 0 ) : ( ( $userdata['user_id'] == ANONYMOUS ) ? 0 : $userdata['user_attachsig'] );

#
#-----[ AFTER, ADD ]---------------------------------------
#
execute_posting_attachment_handling();

#
#-----[ FIND ]---------------------------------------------
# around line 570
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}

#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
$attachment_mod['posting']->insert_attachment($post_id);

#
#-----[ FIND ]---------------------------------------------
# around line 704
'preview' => 'posting_preview.tpl')
);

#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the ');'
$attachment_mod['posting']->preview_attachments();

#
#-----[ OPEN ]---------------------------------------------
#
privmsg.php

#
#-----[ FIND ]---------------------------------------------
# around line 131
// ----------
// Start main

#
#-----[ BEFORE, ADD ]--------------------------------------
#
execute_privmsgs_attachment_handling($mode);

#
#-----[ FIND ]---------------------------------------------
# around line 350
//
// Pick a folder, any folder, so long as it's one below ...

#
#-----[ BEFORE, ADD ]--------------------------------------
#
$attachment_mod['pm']->duplicate_attachment_pm($privmsg['privmsgs_attachment'], $privmsg['privmsgs_id'], $privmsg_sent_id);

#
#-----[ FIND ]---------------------------------------------
# around line 490
$user_id_to = $privmsg['user_id_2'];

#
#-----[ AFTER, ADD ]---------------------------------------
#
init_display_pm_attachments($privmsg['privmsgs_attachment']);

#
#-----[ FIND ]---------------------------------------------
# around line 742
unset($delete_type);
}

#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
$attachment_mod['pm']->delete_all_pm_attachments($mark_list);

#
#-----[ FIND ]---------------------------------------------
# around line 1284
if ( $mode != 'edit' )
{
//
// Add to the users new pm counter
//

#
#-----[ BEFORE, ADD ]---------------------------------------
# The Line have to be added BEFORE 'if ( $mode != 'edit' )'
$attachment_mod['pm']->insert_attachment_pm($privmsg_id);

#
#-----[ FIND ]---------------------------------------------
# around line 1586
"preview" => 'privmsgs_preview.tpl')
);

#
#-----[ AFTER, ADD ]---------------------------------------
# The Line have to be added AFTER the ');'
$attachment_mod['pm']->preview_attachments();

#
#-----[ FIND ]---------------------------------------------
# around line 2128
'DATE' => $msg_date,

#
#-----[ AFTER, ADD ]---------------------------------------
#
'PRIVMSG_ATTACHMENTS_IMG' => privmsgs_attachment_image($privmsg_id),

#
#-----[ OPEN ]---------------------------------------------
#
viewforum.php

#
#-----[ FIND ]---------------------------------------------
# around line 370
$s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';

#
#-----[ AFTER, ADD ]---------------------------------------
#
attach_build_auth_levels($is_auth, $s_auth_can);

#
#-----[ FIND ]---------------------------------------------
# around line 648
'NEWEST_POST_IMG' => $newest_post_img,

#
#-----[ AFTER, ADD ]---------------------------------------
#
'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($topic_rowset[$i]['topic_attachment']),

#
#-----[ OPEN ]---------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]---------------------------------------------
# around line 151
AND f.forum_id = t.forum_id
$order_sql";

#
#-----[ AFTER, ADD ]---------------------------------------
#
attach_setup_viewtopic_auth($order_sql, $sql);

#
#-----[ FIND ]---------------------------------------------
# around line 585
$s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';

#
#-----[ AFTER, ADD ]---------------------------------------
#
attach_build_auth_levels($is_auth, $s_auth_can);

#
#-----[ FIND ]---------------------------------------------
# around line 815
//
// Update the topic view counter

#
#-----[ BEFORE, ADD ]---------------------------------------
#
init_display_post_attachments($forum_topic_data['topic_attachment']);

#
#-----[ FIND ]---------------------------------------------
# around line 1210
'U_POST_ID' => $postrow[$i]['post_id'])
);

#
#-----[ AFTER, ADD ]---------------------------------------
# The Line have to be added AFTER the ');' and BEFORE the '}'
display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);

#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_forumauth.php

#
#-----[ FIND ]---------------------------------------------
# around line 72
$forum_auth_const = array(AUTH_ALL, AUTH_REG, AUTH_ACL, AUTH_MOD, AUTH_ADMIN);

#
#-----[ AFTER, ADD ]---------------------------------------
#
attach_setup_forum_auth($simple_auth_ary, $forum_auth_fields, $field_names);

#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_forums.php

#
#-----[ FIND ]---------------------------------------------
# around line 52
//
// Mode setting

#
#-----[ BEFORE, ADD ]---------------------------------------
#
$forum_auth_ary['auth_attachments'] = AUTH_REG;
$forum_auth_ary['auth_download'] = AUTH_REG;

#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_groups.php

#
#-----[ FIND ]---------------------------------------------
# around line 59
if ( isset($HTTP_POST_VARS['edit']) || isset($HTTP_POST_VARS['new']) )

#
#-----[ BEFORE, ADD ]---------------------------------------
#
attachment_quota_settings('group', $HTTP_POST_VARS['group_update'], $mode);

#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_ug_auth.php

#
#-----[ FIND ]---------------------------------------------
# around line 91
// ---------------
// Start Functions

#
#-----[ BEFORE, ADD ]---------------------------------------
#
attach_setup_usergroup_auth($forum_auth_fields, $auth_field_match, $field_names);

#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_users.php

#
#-----[ FIND ]---------------------------------------------
# around line 62
//
// Ok, the profile has been modified and submitted, let's update

#
#-----[ BEFORE, ADD ]---------------------------------------
#
attachment_quota_settings('user', $HTTP_POST_VARS['submit'], $mode);

#
#-----[ OPEN ]---------------------------------------------
#
includes/auth.php

#
#-----[ FIND ]---------------------------------------------
# around line 105
case AUTH_ATTACH:
break;

default:
break;
}

#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
attach_setup_basic_auth($type, $auth_fields, $a_sql);

#
#-----[ OPEN ]---------------------------------------------
#
includes/functions.php

#
#-----[ FIND ]---------------------------------------------
# around line 264
//
// Set up style

#
#-----[ BEFORE, ADD ]---------------------------------------
#
include_attach_lang();

#
#-----[ OPEN ]---------------------------------------------
#
includes/functions_admin.php

#
#-----[ FIND ]---------------------------------------------
# around line 146
message_die(GENERAL_ERROR, 'Could not update topic', '', __LINE__, __FILE__, $sql);
}
}

#
#-----[ AFTER, ADD ]---------------------------------------
# After the last closing brace, before the break;
attachment_sync_topic($id);

#
#-----[ OPEN ]---------------------------------------------
#
includes/prune.php

#
#-----[ FIND ]---------------------------------------------
# around line 113
remove_search_post($sql_post);

#
#-----[ AFTER, ADD ]---------------------------------------
#
prune_attachments($sql_post);

#
#-----[ OPEN ]---------------------------------------------
#
includes/topic_review.php

#
#-----[ FIND ]---------------------------------------------
# around line 43
WHERE t.topic_id = $topic_id
AND f.forum_id = t.forum_id";

#
#-----[ AFTER, ADD ]---------------------------------------
#
$tmp = '';
attach_setup_viewtopic_auth($tmp, $sql);

#
#-----[ FIND ]---------------------------------------------
# around line 120
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...

#
#-----[ BEFORE, ADD ]---------------------------------------
#
init_display_review_attachments($is_auth);

#
#-----[ FIND ]---------------------------------------------
# around line 203
'L_MINI_POST_ALT' => $mini_post_alt)
);

#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the ');'
display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);

#
#-----[ OPEN ]---------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]---------------------------------------------
# around line 170
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

#
#-----[ AFTER, ADD ]---------------------------------------
#
display_upload_attach_box_limits($profiledata['user_id']);

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/modcp_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 27
<td class="row1">&nbsp;<span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span></td>


#-----[ IN-LINE FIND ]---------------------------------------------
# around line 27 (directly in that line)
{topicrow.TOPIC_TYPE}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
{topicrow.TOPIC_ATTACHMENT_IMG}

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/posting_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 258
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

#
#-----[ REPLACE WITH ]---------------------------------------
#
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>

#
#-----[ FIND ]---------------------------------------------
# around line 462
{POLLBOX}

#
#-----[ BEFORE, ADD ]---------------------------------------
#
{ATTACHBOX}

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/posting_preview.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 13
<span class="postbody">{MESSAGE}</span>

#
#-----[ AFTER, ADD ]---------------------------------------
#
<!-- BEGIN postrow -->
{ATTACHMENTS}
<!-- END postrow -->

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/posting_topic_review.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26
<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{postrow.MESSAGE}</span>

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
#
{postrow.ATTACHMENTS}

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/privmsgs_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 15
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
<td align="right">
<!-- BEGIN switch_box_size_notice -->
<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
<tr>
<td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></td>
</tr>
<tr>
<td colspan="3" width="175" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
<!-- END switch_box_size_notice -->
</td>

#
#-----[ FIND ]---------------------------------------------
# around line 106
<td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 106 (directly in that line)
<span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
{listrow.PRIVMSG_ATTACHMENTS_IMG}

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/privmsgs_preview.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 23
<td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span></td>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do not form one line out of this, a <!-- --> template statement has to be on one seperate line
<td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
{ATTACHMENTS}
<!-- END postrow -->
</td>

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/privmsgs_read_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 47
<td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span></td>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do not form one line out of this, a <!-- --> template statement has to be on one seperate line
<td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
{ATTACHMENTS}
<!-- END postrow -->
</td>

#
#-----[ FIND ]---------------------------------------------
# around line 74
<input type="submit" name="delete" value="{L_DELETE_MSG}" class="liteoption" />

#
#-----[ AFTER, ADD ]---------------------------------------
# Do not form one line out of this, a <!-- --> template statement has to be on one seperate line
<!-- BEGIN switch_attachments -->
&nbsp;
<input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" />
<!-- END switch_attachments -->

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/profile_view_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 41
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
<!-- BEGIN switch_upload_limits -->
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
<td>
<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
<tr>
<td colspan="3" width="100%" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
<b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
<span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
</td>
</tr>
<!-- END switch_upload_limits -->

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/viewforum_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{topicrow.NEWEST_POST_IMG}

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
#
{topicrow.TOPIC_ATTACHMENT_IMG}

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 39
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 39 (directly in that line)
{postrow.SIGNATURE}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
</span>{postrow.ATTACHMENTS}<span class="postbody">

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/admin/group_edit_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 48
<!-- END group_edit -->

#
#-----[ BEFORE, ADD ]---------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
<td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
<td class="row2">{S_SELECT_PM_QUOTA}</td>
</tr>

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 267
<td class="row1" colspan="2"><span class="gensmall">{L_SPECIAL_EXPLAIN}</span></td>
</tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
<td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
<td class="row2">{S_SELECT_PM_QUOTA}</td>
</tr>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

#
# STEP NUMBER IV: Additional Instructions
#
# In this installation i have put three little icons (icon_disk.gif, icon_disk_gray.gif, icon_clip.gif) for attachments into.
# Put it to your images, or whereever you want.
#
# The standard path for your files is 'files' and the standard upload image is images/icon_clip.gif.
# If you want to change it, go to your Administration Panel under Attachments->Management.
#
# You'll have to create the upload path and chmod it to 777 (or change the owner to you httpd-servers owner) to upload files if
# you don't use the ftp upload feature.
# if you have only plain ftp-access change the 'Attribute' of your files-directory to rwxrwxrwx.
#
# If you are using the ftp-upload feature, enter the relevant information in Attachments->Management.
# The password is stored in plaintext into the database. You don't have to chmod the directory (ftp-path).
#
# it would be wise that you put the provided index.php to this directory to prevent directory indexing.
#
# Before you make anything, i suggest you go to your Administration Panel->Attachments->Management and prove
# that uploading is working with the Test Upload button. ;)
#
# CONFIG CACHING
#
# If you want the Attachment Mod config table to be cached (reduce of one query on all phpBB2 Pages), you
# have to create a directory 'cache' within your phpBB2 root folder.
# This directory have to be chmodded to 777 (see above instructions on how to do this).
#



Groetjes Marieke!

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 12 apr 2005, 22:34

Deinstalleren hoef je niet dus je hoeft dat .php bestand niet uit te voeren ;)
# You only need to replace your original phpBB Files with the pre-edited files. Please only use this method if
# you are using phpBB 2.0.11 without any other mods installed. If you have mods installed changing one of the pre-edited
# files, you have to re-apply the mods to them.
Als het goed is heb je versie 2.0.13, zo niet updaten!, de premodded bestanden zijn alleen voor 2.0.11 dus je zult alles met de hand moeten installeren.

Kijk hier anders eens:
:arrow: http://www.phpbb.nl/kb.php?mode=article&k=24
Afbeelding

XP-Rene
Berichten: 2168
Lid geworden op: 01 dec 2004, 19:33
Locatie: Vlissingen
Contacteer:

Bericht door XP-Rene » 13 apr 2005, 07:46

Mijn ervaring is dat de pre-modded bestanden ook werken op versie 2.0.13, dus niet alleen voor 2.0.11....
Vorige week een versie installatie van het forum gedaan, en meteen de attachment Mod erop met pre-modded files, geen enkel probleem hoor :thumb:
KNAVIVO DIERENHULP
Stimuleer verdraagzaamheid. Wees eens wat vaker irritant.

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 13 apr 2005, 09:07

Moet je wel niet vergeten functions.php weer aan te passen, en alle andere bestanden die je vervangt die aangepast zijn in 2.0.12 en 2.0.13.
Afbeelding

AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Bericht door AircooledBjorn » 13 apr 2005, 15:28

Het spijt me zeer mannen maar dit wordt mij echt te gek....

Ik denk dat ik maar op zoek ga naar een andere oplossing!

I.i.g. allemaal hartelijk bedankt voor het support!

Groetjes Bjorn! :wink:

abcde
Berichten: 1494
Lid geworden op: 19 feb 2004, 16:02

Bericht door abcde » 13 apr 2005, 16:10

AircooledBjorn schreef: Ik denk dat ik maar op zoek ga naar een andere oplossing!
Je kan dan het beste een premodded phpBB versie nemen (kijk maar eens goed in mijn posts. :wink: )
Bijna 1500 posts!

AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Bericht door AircooledBjorn » 13 apr 2005, 16:51

Ik heb eigenlijk de oplossing al gevonden:

4images!

Dit is ook eigenlijk wat ik zocht. Ik hang hier een apart forum aan waar bezoekers hun bericht kwijt kunnen.

Ken je dit trouwens?? Het werkt echt super!

Groetjes Bjorn! :wink:

abcde
Berichten: 1494
Lid geworden op: 19 feb 2004, 16:02

Bericht door abcde » 13 apr 2005, 17:10

Nee, wat is het exact, een ander forumsoort.
Bijna 1500 posts!

AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Bericht door AircooledBjorn » 13 apr 2005, 17:34


abcde
Berichten: 1494
Lid geworden op: 19 feb 2004, 16:02

Bericht door abcde » 13 apr 2005, 17:45

Een fotoalbum dus.
Bijna 1500 posts!

AircooledBjorn
Berichten: 29
Lid geworden op: 09 apr 2005, 17:22

Bericht door AircooledBjorn » 13 apr 2005, 17:53

Jep en verder kunnen er nog andere type bestanden worden ge-upload, precies goed voor mij!

Als het spulletje af ik dan geef ik je de link wel even, dan kan je kijken hoe het geworden is!

Groetjes Bjorn! :thumb:

Gesloten