Seite 2 von 7

Verfasst: 17.11.2006 20:07
von Julian87
Manu_93 hat geschrieben:ich will nur rauskriegen wo ich diese dinger hintuhn muss, und vllt bin ich ja zu dumm um es im text zu lesen
Das nenn ich mal perfekte Selbsteinschätzung.
Manu_93 hat geschrieben:aber wenn ich das nicht verstehe könnt ihr mir es aber erklären ohne dumme bemerkungen zu machen! :wink:
Ich habe bisher keine dumme Bemerkung gelesen ... Und erklärt hat es dir auch einer, haste aber warscheinlich nicht gelesen - genau wie die Anleitungen.
Manu_93 hat geschrieben:EDIT: und braucht man den easy mod installer um mods zu installieren?
Und wenn schon, würde dir doch eh nichts bringen, weil du den Easy MOD auch erstmal installieren musst. :o

Verfasst: 17.11.2006 20:11
von Manu_93
also ich fang mal so an:

ich will intro und portal installieren, muss ich dann den ordner IntroPortalMOD_root in dem verzeichnis admin/mods/ uploaden?

Verfasst: 17.11.2006 20:20
von Lohgock-Trainer
Lies die Anleitung die dabei ist. Übrigens musst du auch noch ein paar alte Dateien ändern

Verfasst: 17.11.2006 20:21
von Manu_93
die anleitung versteh ich auch nur halb :cry:
## EasyMod 0.0.7 compliant
##############################################################
## MOD Title: Intro + Portal - Full Install 1.50a
## MOD Author: AWSW <> http://www.awsw.de
##
## MOD Description: Adds an Intro and Portal to your phpBB2, that can be managed over the Administration Panel. All knwon addons of the MOD in before released versions, are included in this new MOD and can be enabled or disabled in the Administration Panel. Funktions for the Birthday MOD, Last Visit MOD, Chat Box MOD and the Global Announcement MOD are also installed, and can be activated in the ACP. You´ll find more notes there.
##
## MOD Version: 1.50
##
## Installation Level: moderate
## Installation Time: 15 Minutes
##
## Generator: phpBB2 Mod Maker 0.1.67
##############################################################
## This MOD is released under the GPL License. Intellectual Property is retained by the MOD Author(s) listed above. http://www.gnu.org
##############################################################
## For Security Purposes, Please Check: http://www.awsw.de/ for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. You´ll find support to this MOD at http://www.phpbb.de/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up Your Complete Database And All Files Related To This MOD !
##############################################################
## INSTALLATION OF THE INTRO + PORTAL - MOD:
##############################################################

#
#-----[ COPY TO FOLDER ]------------------------------------------
#
# german: Dateien in vorgesehene Verzeichnisse kopieren
#

COPY IntroPortalMOD_root/intro_portal_mod_db_install.php TO intro_portal_mod_db_install.php
copy IntroPortalMOD_root/admin/admin_introportalmod.php to admin/admin_introportalmod.php
copy IntroPortalMOD_root/admin/admin_introportalmodnav.php to admin/admin_introportalmodnav.php
copy IntroPortalMOD_root/language/lang_english/lang_introportal.php to language/lang_english/lang_introportal.php
copy IntroPortalMOD_root/language/lang_german/lang_introportal.php to language/lang_german/lang_introportal.php
copy IntroPortalMOD_root/templates/subSilver/intro_body.tpl to templates/subSilver/intro_body.tpl
copy IntroPortalMOD_root/templates/subSilver/portal_body.tpl to templates/subSilver/portal_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmod_body.tpl to templates/subSilver/admin/introportalmod_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmodnav_body.tpl to templates/subSilver/admin/introportalmodnav_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmodnavedit_body.tpl to templates/subSilver/admin/introportalmodnavedit_body.tpl
copy IntroPortalMOD_root/.htaccess to .htaccess
copy IntroPortalMOD_root/intro.php to intro.php
copy IntroPortalMOD_root/portal.php to portal.php
copy IntroPortalMOD_root/portal_heise_ticker.php to portal_heise_ticker.php
copy IntroPortalMOD_root/portal_poll.php to portal_poll.php

#
#-----[ SQL ]------------------------------------------
#
# german: SQL Datenbankänderungen ausführen
#

FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS DEM FORUMROOT (Hauptverzeichnis Deines Forums) AUS UND LÖSCHE SIE DANACH !!!

Beispiel: http://www.domain.de/phpbb2/intro_porta ... nstall.php

RUN THE FILE intro_portal_mod_db_install.php FROM THE FORUMROOT (main-directory of your forum) AND DELETE IT AFTER THAT !!!

Example: http://www.domain.com/phpbb2/intro_port ... nstall.php

#
#-----[ 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 !
#
# HTH AWSW
# http://www.awsw.de
#
# EoM
da steht das hier drin, doch daraus werde ich nicht schlau...

Verfasst: 17.11.2006 20:24
von Julian87
Hi,

du brauchst die Anleitung hier nicht extra zu posten somit viel Speicher verbrauchen und das Thema unübersichtlich machen.
COPY IntroPortalMOD_root/intro_portal_mod_db_install.php TO intro_portal_mod_db_install.php
Heißt auf Deutsch:
KOPIER IntroPortalMOD_root/intro_portal_mod_db_install.php NACH intro_portal_mod_db_install.php
Und ich dachte immer in der 5. Klasse hat man Englisch. :D

Julian

Verfasst: 17.11.2006 20:30
von area57
Moin,

und ausserdem werden dir alle Befehle in den KB:18 beschrieben, was sie bedeuten.

Also RTFM

Verfasst: 17.11.2006 20:35
von Manu_93
ich wohne in luxembourg und habe grade erst mit englisch angefangen!!!

Verfasst: 17.11.2006 20:38
von Manu_93
Zitat:
KOPIER IntroPortalMOD_root/intro_portal_mod_db_install.php NACH intro_portal_mod_db_install.php
soll ich das einfach isn hauptverzeichnis kopieren? da wo auch faq und das steht?

Verfasst: 17.11.2006 20:54
von Julian87
Manu_93 hat geschrieben:
Zitat:
KOPIER IntroPortalMOD_root/intro_portal_mod_db_install.php NACH intro_portal_mod_db_install.php
soll ich das einfach isn hauptverzeichnis kopieren? da wo auch faq und das steht?
Hi,

jo da wo auch die Datei memberlist.php ist.

Julian

Verfasst: 17.11.2006 21:00
von Manu_93
bin ich dumm oder warum versteh ich überhaupt nix??!!

muss ich den ganzen ordner "IntroPortalMOD_root" ins hauptverzeichnis kopieren wo auch faq ist?