Wo muss ich MOD installieren?

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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.
Benutzeravatar
Manu_93
Mitglied
Beiträge: 145
Registriert: 09.11.2006 19:02

Beitrag von Manu_93 »

das hab ich schon gemacht und beim ersten mal als ich es gemacht hatte kam was in frün geschreiebn doch jetzt immer was in rot was ich ja schon gepostet hatte!

muss ich denn in anderen dateien was ändern gehn?
Benutzeravatar
Julian87
Mitglied
Beiträge: 4303
Registriert: 05.11.2005 16:26
Wohnort: Nähe Bonn
Kontaktdaten:

Beitrag von Julian87 »

Manu_93 hat geschrieben:muss ich denn in anderen dateien was ändern gehn?
Ja einfach nach der Anleitung arbeiten, und wenn du da Porbleme hast lies den Inhalt meines 1. Links zu diesem Thema.

Julian
Benutzeravatar
Manu_93
Mitglied
Beiträge: 145
Registriert: 09.11.2006 19:02

Beitrag von Manu_93 »

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

common.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

while ( $row = $db->sql_fetchrow($result) )
{
	$board_config[$row['config_name']] = $row['config_value'];
}

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
$sql = "SELECT * FROM " . INTROPORTALMOD_TABLE;
if( ($result = $db->sql_query($sql)) )
while ( $row = $db->sql_fetchrow($result) )
{
	$introportalmod_config[$row['config_name']] = $row['config_value'];
}
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
# german: Davor einfügen
#

// Intro + Portal MOD START
$lang['Viewing_Intro'] = "Viewing the Intro";
$lang['Viewing_Portal'] = "Viewing the Portal";
$lang['IntroPortalMOD1'] = "Intro";
$lang['IntroPortalMOD2'] = "Portal";
$lang['IntroPortalMOD3'] = "Index";
$lang['IntroPortalMOD4'] = "www.phpbb.de";
$lang['IntroPortalMOD5'] = "www.phpbb.com";
$lang['IntroPortalMOD6'] = "phpBB Support";
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

language/lang_german/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

$lang['Search_new'] = 'Beiträge seit dem letzten Besuch anzeigen';

#
#-----[ REPLACE WITH ]------------------------------------------
#
# german: Ersetze mit
#

$lang['Search_new'] = 'Beiträge seit dem letzten Besuch';

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
# german: Danvor einfügen
#

// Intro + Portal MOD START
$lang['Viewing_Intro'] = "Betrachtet das Intro";
$lang['Viewing_Portal'] = "Betrachtet das Portal";
$lang['IntroPortalMOD1'] = "Intro";
$lang['IntroPortalMOD2'] = "Portal";
$lang['IntroPortalMOD3'] = "Index";
$lang['IntroPortalMOD4'] = "www.phpbb.de";
$lang['IntroPortalMOD5'] = "www.phpbb.com";
$lang['IntroPortalMOD6'] = "phpBB Support";
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

includes/constants.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

define('PAGE_GROUPCP', -11);

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
define('PAGE_INTRO', -12);
define('PAGE_PORTAL', -13);
// Intro + Portal MOD END

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
define('INTROPORTALMOD_TABLE', $table_prefix.'introportalmod');
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

//
// Parse and show the overall header.
//
$template->set_filenames(array(

#
#-----[ BEFORE, ADD ]------------------------------------------
#
# german: Davor einfügen
#

// Intro + Portal MOD START
if( $introportalmod_config['introportalmod_disable'] == "0" )
{
	$template->assign_block_vars('switch_introportalmod_disable', array());
}
// Intro + Portal MOD END

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
'L_IntroPortalMOD1' => $lang['IntroPortalMOD1'],
'L_IntroPortalMOD2' => $lang['IntroPortalMOD2'],
'L_IntroPortalMOD3' => $lang['IntroPortalMOD3'],

'U_IntroPortalMOD1' => append_sid('intro.'.$phpEx),
'U_IntroPortalMOD2' => append_sid('portal.'.$phpEx),
'U_IntroPortalMOD3' => append_sid('index.'.$phpEx),
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

viewonline.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

case PAGE_FAQ:
	$location = $lang['Viewing_FAQ'];
	$location_url = "faq.$phpEx";
	break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
case PAGE_INTRO:
	$location = $lang['Viewing_Intro'];
	$location_url = "intro.$phpEx";
	break;
case PAGE_PORTAL:
	$location = $lang['Viewing_Portal'];
	$location_url = "portal.$phpEx";
	break;
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

admin/index.php

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

case PAGE_FAQ:
	$location = $lang['Viewing_FAQ'];
	$location_url = "index.$phpEx?pane=right";
	break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
case PAGE_INTRO:
	$location = $lang['Viewing_Intro'];
	$location_url = "intro.$phpEx?pane=right";
	break;
case PAGE_PORTAL:
	$location = $lang['Viewing_Portal'];
	$location_url = "portal.$phpEx?pane=right";
	break;
// Intro + Portal MOD END

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

case PAGE_FAQ:
	$location = $lang['Viewing_FAQ'];
	$location_url = "index.$phpEx?pane=right";
	break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

// Intro + Portal MOD START
case PAGE_INTRO:
	$location = $lang['Viewing_Intro'];
	$location_url = "intro.$phpEx?pane=right";
	break;
case PAGE_PORTAL:
	$location = $lang['Viewing_Portal'];
	$location_url = "portal.$phpEx?pane=right";
	break;
// Intro + Portal MOD END

#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

<tr>
	<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
# german: Danach einfügen
#

<!-- Intro + Portal MOD START -->
<!-- BEGIN switch_introportalmod_disable -->
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><b>&nbsp;<a href="{U_IntroPortalMOD1}">{L_IntroPortalMOD1}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD2}">{L_IntroPortalMOD2}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD3}">{L_IntroPortalMOD3}</a>&nbsp;</b></span></td>
</tr>
<!-- END switch_introportalmod_disable -->
<!-- Intro + Portal MOD END -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# german: Speichere/Schließe alle Dateien
#
# The Intro and the Portal should work now !
#
# german: Das Intro und das Portal sollte nun funktionieren !
muss ich genau das tun wie es hier beschreben ist?

und wenn da steht einfügen, muss ich dann den text einfügen untendrunter oder nebendran enfügen oder ist das egal?
spidertimo2
Mitglied
Beiträge: 49
Registriert: 06.09.2006 15:26
Wohnort: zu hause
Kontaktdaten:

Beitrag von spidertimo2 »

bei open öffnest du die angegebene datei aus dem ordner phpbb mit dem editor.

bei find musst du auf suchen und das das da steht suchen.

bei after add musst du das das da steht danach einfügen.


schau einfach mal hier:

http://www.phpbb.de/doku/kb/modsfaq
Benutzeravatar
Julian87
Mitglied
Beiträge: 4303
Registriert: 05.11.2005 16:26
Wohnort: Nähe Bonn
Kontaktdaten:

Beitrag von Julian87 »

Hi,

nicht daneben, drück besser einmal Enter und dann haste ne neue Zeile ;)

Julian
Benutzeravatar
gloriosa
Mitglied
Beiträge: 13770
Registriert: 04.01.2005 20:23
Wohnort: Landeshauptstadt Erfurt

Beitrag von gloriosa »

Hallo,
diese
spidertimo2 hat geschrieben:http://www.phpbb.de/doku/kb/modsfaq
Information liegt Manu_93 bereits seit der 1. Antwort in diesem Beitrag (auf Seite 1) vor und auf das Lesen von >>> KB:18 <<< wurde schon mehrfach hingewiesen. :wink:
Viele Grüße - gloriosa :D
Die einen schützen sich vor frischem Wind, während die anderen ihn nutzen.
Kein kostenloser MOD-Einbau usw. bzw. Support via PN, Email oder IRC !
Benutzeravatar
Manu_93
Mitglied
Beiträge: 145
Registriert: 09.11.2006 19:02

Beitrag von Manu_93 »

ich habe jetzt alles gemacht so wie es da steht, doch jetzt kommt anstatt von meinem forum diese meldung:

Code: Alles auswählen

phpBB : Kritischer Fehler

Could not get theme data for themes_id []
was ist passiert?
Benutzeravatar
Manu_93
Mitglied
Beiträge: 145
Registriert: 09.11.2006 19:02

Beitrag von Manu_93 »

und hier noch mein forum, dan könnt ihr mal schauen gehn:

http://manuelp.funpic.de
Antworten

Zurück zu „phpBB 2.0: Mod Support“