je hebt tog die install.xml?
je moet wel meer editen

ik kan de gemodde bestande wel geven alleen heeft dat niet veel nut denk ik omdat ik brushed metal gebruik en jij subblue als ikme nie vergis
Files To Edit:
language/en/common.php,
language/en/acp/common.php,
language/pl/common.php,
language/pl/acp/common.php,
includes/constants.php,
includes/fuctions.php,
styles/subSilver/template/overall_header.html
Included Files:
recent/includes/recent_panel.php,
recent/includes/acp/acp_recent_panel.php,
recent/includes/acp/info/acp_recent_panel.php,
recent/styles/subSilver/template/recent_panel.html,
recent/adm/style/acp_recent_panel.html
je moet sql ook runnen
Code: Selecteer alles
DROP TABLE IF EXISTS phpbb_recent_panel_modules;
CREATE TABLE phpbb_recent_panel_modules (
module_name varchar(255) DEFAULT '' NOT NULL,
module_active smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
module_order smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
check_permissions tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (module_name),
KEY module_order (module_order)
);
INSERT INTO phpbb_recent_panel_modules VALUES ('recent_topics', 1, 0, 1);
INSERT INTO phpbb_recent_panel_modules VALUES ('global_announcments', 1, 1, 0);
INSERT INTO phpbb_recent_panel_modules VALUES ('recent_posts', 1, 2, 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_on', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_module_width', '300');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_max_rows', '5');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_require_read', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_exclude_forums', '');
Hier de install.xml
Code: Selecteer alles
Installation instructions for 'Recent Topics, Posts and Global Announcments MOD' Version 1.1.1
About this MOD
Title:
Recent Topics, Posts and Global Announcments MOD
Description:
Shows links to selected number of recent topics, posts and global announcments in overall header.
Version:
1.1.1
Installation Level:
Easy
Installation Time:
~8 minutes
Files To Edit
language/en/common.php,
language/en/acp/common.php,
language/pl/common.php,
language/pl/acp/common.php,
includes/constants.php,
includes/fuctions.php,
styles/subSilver/template/overall_header.html
Included Files
recent/includes/recent_panel.php,
recent/includes/acp/acp_recent_panel.php,
recent/includes/acp/info/acp_recent_panel.php,
recent/styles/subSilver/template/recent_panel.html,
recent/adm/style/acp_recent_panel.html
SQL
DROP TABLE IF EXISTS phpbb_recent_panel_modules;
CREATE TABLE phpbb_recent_panel_modules (
module_name varchar(255) DEFAULT '' NOT NULL,
module_active smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
module_order smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
check_permissions tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (module_name),
KEY module_order (module_order)
);
INSERT INTO phpbb_recent_panel_modules VALUES ('recent_topics', 1, 0, 1);
INSERT INTO phpbb_recent_panel_modules VALUES ('global_announcments', 1, 1, 0);
INSERT INTO phpbb_recent_panel_modules VALUES ('recent_posts', 1, 2, 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_on', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_module_width', '300');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_max_rows', '5');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_require_read', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('recent_panel_exclude_forums', '');
File Copy
Copy: recent/includes/recent_panel.php
To: includes/recent_panel.php
Copy: recent/includes/acp/acp_recent_panel.php
To: includes/acp/acp_recent_panel.php
Copy: recent/includes/acp/info/acp_recent_panel.php
To: includes/acp/info/acp_recent_panel.php
Copy: recent/styles/subSilver/template/recent_panel.html
To: styles/subSilver/template/recent_panel.html
Copy: recent/adm/style/acp_recent_panel.html
To: adm/style/acp_recent_panel.html
Edits
Click on the action name or in the code box to select the code. You may also hit 's' on your keyboard to go to the first code box and the up and down arrows to scroll through the code boxes.
Open: language/en/common.php
Comment:
Adding english language variables on the end of the file.
Find
Tip: This may be a partial find and not the whole line.
?>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
// Recent Panel MOD 1.1 (2006-12-17)
$lang = array_merge($lang, array(
'RECENT_TOPICS' => 'Recent topics',
'RECENT_POSTS' => 'Recent posts',
'GLOBAL_ANNOUNCMENTS' => 'Global announcments',
));
Open: language/en/acp/common.php
Comment:
Adding english language variables on the end of the file.
Find
Tip: This may be a partial find and not the whole line.
?>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
// Recent Panel MOD 1.1 (2006-12-17)
$lang = array_merge($lang, array(
'ACP_RECENT_PANEL' => 'Recent Topics, Posts and Global Announcments',
'ACP_RECENT_PANEL_EXPLAIN' => 'Recent Topics, Posts and Global Announcments MOD 1.0 by LEW21 - settings',
'MODULES' => 'Modules',
'RECENT_PANEL_ON' => 'Display panel',
'RECENT_PANEL_MAX_ROWS' => 'Max. number of rows',
'RECENT_PANEL_MAX_ROWS_EXPLAIN' => 'Max. number of topics or posts displayed in every module',
'RECENT_PANEL_MODULE_WIDTH' => 'Width of every module',
'RECENT_PANEL_MODULE_WIDTH_EXPLAIN' => 'In pixels',
'RECENT_PANEL_REQUIRE_READ' => 'Require permission to read',
'RECENT_PANEL_REQUIRE_READ_EXPLAIN' => 'Select "yes" if script should require permission to read topics on forum to display topic / post on the list of recent topics / posts. Select "no" if script should only require permission to see forum.',
'RECENT_PANEL_EXCLUDE_FORUMS' => 'Exclude forums with IDs',
'RECENT_PANEL_EXCLUDE_FORUMS_EXPLAIN' => 'Seperate IDs with a comma.',
'LOG_CONFIG_RECENT_PANEL' => '<b>Altered Recent Topics, Posts and Global Announcments settings</b>',
));
Open: language/pl/common.php
Comment:
Adding polish language variables on the end of the file.
Find
Tip: This may be a partial find and not the whole line.
?>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
// Recent Panel MOD 1.1 (2006-12-17)
$lang = array_merge($lang, array(
'RECENT_TOPICS' => 'Najnowsze tematy',
'RECENT_POSTS' => 'Najnowsze posty',
'GLOBAL_ANNOUNCMENTS' => 'Ogłoszenia globalne',
));
Open: language/pl/acp/common.php
Comment:
Adding polish language variables on the end of the file.
Find
Tip: This may be a partial find and not the whole line.
?>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
// Recent Panel MOD 1.1 (2006-12-17)
$lang = array_merge($lang, array(
'ACP_RECENT_PANEL' => 'Najnowsze tematy, posty i ogłoszenia globalne',
'ACP_RECENT_PANEL_EXPLAIN' => 'Recent Topics, Posts and Global Announcments MOD 1.0 by LEW21 - ustawienia',
'MODULES' => 'Moduły',
'RECENT_PANEL_ON' => 'Włącz wyświetlanie panelu',
'RECENT_PANEL_MAX_ROWS' => 'Maksymalna liczba linii',
'RECENT_PANEL_MAX_ROWS_EXPLAIN' => 'Maksymalna liczba tematów lub postów wyświetlanych w każdym module.',
'RECENT_PANEL_MODULE_WIDTH' => 'Szerokość jednego modułu',
'RECENT_PANEL_MODULE_WIDTH_EXPLAIN' => 'Podaj liczbę pikseli.',
'RECENT_PANEL_REQUIRE_READ' => 'Wymagaj zezwolenia do czytania',
'RECENT_PANEL_REQUIRE_READ_EXPLAIN' => 'Wybierz "tak", jeżeli chcesz żeby skrypt wymagał pozwolenia na czytanie forum aby wyświtlić temat na liście. Wybierz "nie", aby wystarczyło pozwolenie na zobaczenie forum.',
'RECENT_PANEL_EXCLUDE_FORUMS' => 'Nie wyświetlaj postów i tematów napisanych na forach o ID',
'RECENT_PANEL_EXCLUDE_FORUMS_EXPLAIN' => 'Oddziel numery ID przecinkami.',
'LOG_CONFIG_RECENT_PANEL' => '<b>Zmieniono ustawnienia najnowszych tematów, postów i globalnych ogłoszeń</b>',
));
Open: includes/constants.php
Comment:
Defining name of table with Recent Panel modules
Find
Tip: This may be a partial find and not the whole line.
define('RANKS_TABLE', $table_prefix . 'ranks');
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
define('RECENT_PANEL_MODULES', $table_prefix . 'recent_panel_modules'); // Recent Panel MOD 1.1 (2006-12-17)
Open: includes/fuctions.php
Comment:
Including includes/recent_panel.php.
Find
Tip: This may be a partial find and not the whole line.
// application/xhtml+xml not used because of IE
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
// Recent Panel MOD 1.1 (2006-12-17)
include($phpbb_root_path . 'includes/recent_panel.' . $phpEx);
Open: styles/subSilver/template/overall_header.html
Comment:
Including recent_panel template.
Find
Tip: This may be a partial find and not the whole line.
<div id="wrapcentre">
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
<!-- INCLUDE recent_panel.html -->
DIY Instructions
These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.
Clear cache/ folder (delete everything without .htaccess)
Install ACP module (group "Recent Topics, Posts and Global Announcments [acp_recent_panel]", name "Recent Topics, Posts and Global Announcments")
--------------------------------------------------------------------------------
Save all files. End of MOD.
You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.
MOD UA XSLT File Copyright © 2006 The phpBB Group, this MOD is copyright to the author listed above.