noob braucht hilfe: Probs bei MOD
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
noob braucht hilfe: Probs bei MOD
Hi,
bei einem MOD steht dies:
#
#-----[ ACTION ]------------------------------------------
#
# You will need to add one new field into your users table in your SQL database.
SQL-query:
INSERT INTO config (config_name, config_value) VALUES ('custom_overall_footer', '[YOUR CUSTOM FOOTER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_overall_header', '[YOUR CUSTOM HEADER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_simple_footer', '[YOUR CUSTOM FOOTER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_simple_header', '[YOUR CUSTOM HEADER HERE]');
## If you have a table prefix then put it before config.
was heißt das genau und was muss ich da machen???
bitte um Hilfe
bei einem MOD steht dies:
#
#-----[ ACTION ]------------------------------------------
#
# You will need to add one new field into your users table in your SQL database.
SQL-query:
INSERT INTO config (config_name, config_value) VALUES ('custom_overall_footer', '[YOUR CUSTOM FOOTER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_overall_header', '[YOUR CUSTOM HEADER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_simple_footer', '[YOUR CUSTOM FOOTER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_simple_header', '[YOUR CUSTOM HEADER HERE]');
## If you have a table prefix then put it before config.
was heißt das genau und was muss ich da machen???
bitte um Hilfe
Das heisst schlicht und ergreifend, dass du, nach erfolgreicher Installation von phpMyAdmin (oder halt der Konsole) vor das config noch ein Prefix tippern musst.
Wie das aussieht, steht in der config.php:
Der Wert aus $table_prefix (in diesem Fall) phpbb_ muss noch vor das 'config' geschrieben werden, sonst hagelts Fehler!
t'lo
Wie das aussieht, steht in der config.php:
Code: Alles auswählen
<?php
//
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
//
$dbms = 'mysql';
$dbhost = 'xxx';
$dbname = 'xxx';
$dbuser = 'xxx';
$dbpasswd = 'xxx';
$table_prefix = 'phpbb_';
define('PHPBB_INSTALLED', true);
?>
t'lo
mmmhhh,
also habe diese ganzen Sachen nun gemacht, jedoch geht das nicht wirklich (
(muss man irgendwas ändern oder umbennen? - habe alles genau so übernommen wie es da steht
also habe diese ganzen Sachen nun gemacht, jedoch geht das nicht wirklich (
(muss man irgendwas ändern oder umbennen? - habe alles genau so übernommen wie es da steht
Code: Alles auswählen
#
#-----[ ACTION ]------------------------------------------
#
# You will need to add one new field into your users table in your SQL database.
SQL-query:
INSERT INTO config (config_name, config_value) VALUES ('custom_overall_footer', '[YOUR CUSTOM FOOTER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_overall_header', '[YOUR CUSTOM HEADER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_simple_footer', '[YOUR CUSTOM FOOTER HERE]');
INSERT INTO config (config_name, config_value) VALUES ('custom_simple_header', '[YOUR CUSTOM HEADER HERE]');
## If you have a table prefix then put it before config.
#
#-----[ OPEN ]------------------------------------------
#
language/lang_xxx/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Cookie_settings'] = "Cookie settings";
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['Custom_Footer_and_Header_settings'] = "Custom Footer and Header Setings";
$lang['Custom_Overall_Header'] = "Custom Overall Header";
$lang['Custom_Overall_Footer'] = "Custom Overall Footer";
$lang['Custom_Simple_Header'] = "Custom Simple Header";
$lang['Custom_Simple_Footer'] = "Custom Simple Footer";
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]------------------------------------------
#
"L_COOKIE_SETTINGS" => $lang['Cookie_settings'],
#
#-----[ BEFORE, ADD ]------------------------------------------
#
"L_CUSTOM_FOOTER_AND_HEADER_SETTINGS" => $lang['Custom_Footer_and_Header_settings'],
"L_CUSTOM_OVERALL_HEADER" => $lang['Custom_Overall_Header'],
"L_CUSTOM_OVERALL_FOOTER" => $lang['Custom_Overall_Footer'],
"L_CUSTOM_SIMPLE_HEADER" => $lang['Custom_Simple_Header'],
"L_CUSTOM_SIMPLE_FOOTER" => $lang['Custom_Simple_Footer'],
#
#-----[ FIND ]------------------------------------------
#
"COOKIE_DOMAIN" => $new['cookie_domain'],
#
#-----[ BEFORE, ADD ]------------------------------------------
#
"CUSTOM_OVERALL_HEADER" => $new['custom_overall_header'],
"CUSTOM_OVERALL_FOOTER" => $new['custom_overall_footer'],
"CUSTOM_SIMPLE_HEADER" => $new['custom_simple_header'],
"CUSTOM_SIMPLE_FOOTER" => $new['custom_simple_footer'],
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'PAGE_TITLE' => $page_title,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'CUSTOM_OVERALL_HEADER' => $board_config['custom_overall_header'],
'CUSTOM_OVERALL_FOOTER' => $board_config['custom_overall_footer'],
'CUSTOM_SIMPLE_HEADER' => $board_config['custom_simple_header'],
'CUSTOM_SIMPLE_FOOTER' => $board_config['custom_simple_footer'],
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/admin/board_config_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<th class="thHead" colspan="2">{L_COOKIE_SETTINGS}</th>
</tr>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<tr>
<th class="thHead" colspan="2">{L_CUSTOM_FOOTER_AND_HEADER_SETTINGS}</th>
</tr>
<tr>
<td class="row1">{L_CUSTOM_OVERALL_HEADER}</td>
<td class="row2"><textarea name="custom_overall_header" rows="5" cols="30">{CUSTOM_OVERALL_HEADER}</textarea></td>
</tr>
<tr>
<td class="row1">{L_CUSTOM_OVERALL_FOOTER}</td>
<td class="row2"><textarea name="custom_overall_footer" rows="5" cols="30">{CUSTOM_OVERALL_FOOTER}</textarea></td>
</tr>
<tr>
<td class="row1">{L_CUSTOM_SIMPLE_HEADER}</td>
<td class="row2"><textarea name="custom_simple_header" rows="5" cols="30">{CUSTOM_SIMPLE_HEADER}</textarea></td>
</tr>
<tr>
<td class="row1">{L_CUSTOM_SIMPLE_FOOTER}</td>
<td class="row2"><textarea name="custom_simple_header" rows="5" cols="30">{CUSTOM_SIMPLE_HEADER}</textarea></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/overall_footer.tpl
#
#-----[ FIND ]------------------------------------------
#
<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- Custom Header and Footer MOD | Begin //-->
<div align="center">
{CUSTOM_OVERALL_FOOTER}
</div>
<!-- Custom Header and Footer MOD | Finish //-->
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/overall_header.tpl
#
#-----[ FIND (line 253 - end of file) ]------------------------------------------
#
<br />
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Custom Header and Footer MOD | Begin //-->
<div align="center">
{CUSTOM_OVERALL_HEADER}
</div>
<!-- Custom Header and Footer MOD | Finish //-->
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/simple_footer.tpl
#
#-----[ FIND ]------------------------------------------
#
<div align="center"><span class="copyright"><br />
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- Custom Header and Footer MOD | Begin //-->
<div align="center">
{CUSTOM_SIMPLE_FOOTER}
</div>
<!-- Custom Header and Footer MOD | Finish //-->
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/simple_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<span class="gen"><a name="top"></a></span>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Custom Header and Footer MOD | Begin //-->
<div align="center">
{CUSTOM_SIMPLE_HEADER}
</div>
<!-- Custom Header and Footer MOD | Finish //-->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------