Seite 1 von 2

hallo

Verfasst: 06.10.2003 12:03
von Jack9999
hallo weis einer was ich hir machen mus.

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

RUN THE FILE intro_portal_mod_db_install.php AND DELETE IT AFTER THAT !!!

FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS UND LÖSCHE SIE DANACH !!!

Verfasst: 06.10.2003 12:09
von andreasOymann
Kopiere die Datei "intro_portal_mod_db_install.php" in dein phpbb-Verzeichnis auf deinen Server und führe sie aus, indem du in der Adresszeile "http:///www.deineDomain.de/deinphpbbVerzeichnis/intro_portal_mod_db_install.php" eingibst.

Danach lösche die Datei vom Server.

A.

Verfasst: 06.10.2003 12:31
von Jack9999
ok danke

Verfasst: 06.10.2003 13:13
von Jack9999
toll das habe ich gemacht und das ist da bei raus gekommen

phpBB : Kritischer Fehler

Error creating new session

DEBUG MODE

SQL Error : 1054 Unknown column 'PAGE_INTRO' in 'field list'

INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in) VALUES ('5152a711dc045cb6b889610a841392f8', 2, 1065438665, 1065438665, '5088162d', PAGE_INTRO, 1)

Line : 152
File : /data/members/free/tripod/de/j/a/c/jackstest/htdocs/includes/sessions.php

Verfasst: 06.10.2003 13:51
von AWSW
... Du musst auch noch die in der install.txt beschriebenen Änderungen ausführen :wink:

Verfasst: 06.10.2003 13:55
von Jack9999
habe ich habe die intro_portal_mod_db_install.php aus geführt und dan gelöscht.

Verfasst: 06.10.2003 14:04
von andreasOymann
außer

Code: Alles auswählen

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

RUN THE FILE intro_portal_mod_db_install.php AND DELETE IT AFTER THAT !!! 

FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS UND LÖSCHE SIE DANACH !!!
stand nichts in der Anleitung ???

Verfasst: 06.10.2003 14:08
von Jack9999
nein warte kucke
## EasyMod 0.0.7 compliant
##############################################################
## MOD Title: Intro + Portal - MOD
## 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.25
##
## 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/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/.htaccess to .htaccess
copy IntroPortalMOD_root/escalendar.php to escalendar.php
copy IntroPortalMOD_root/intro.php to intro.php
copy IntroPortalMOD_root/intro_portal_mod_db_install.php to intro_portal_mod_db_install.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
#

RUN THE FILE intro_portal_mod_db_install.php AND DELETE IT AFTER THAT !!!

FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS UND LÖSCHE SIE DANACH !!!

#
#-----[ 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";
// Intro + Portal MOD END

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

language/lang_german/lang_main.php

#
#-----[ 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";
// 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

Verfasst: 06.10.2003 14:33
von Jack9999
so habe alles neu gemacht aber das kam bei raus

Warning: main(): Unable to access ./language/lang_german/lang_introportal.php in /data/members/free/tripod/de/j/a/c/jackstest/htdocs/intro.php on line 56

Warning: main(./language/lang_german/lang_introportal.php): failed to open stream: No such file or directory in /data/members/free/tripod/de/j/a/c/jackstest/htdocs/intro.php on line 56

Warning: main(): Failed opening './language/lang_german/lang_introportal.php' for inclusion (include_path='.:/data/apache/php/mmp_lib') in /data/members/free/tripod/de/j/a/c/jackstest/htdocs/intro.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/de/j/a/c/jackstest/htdocs/intro.php:56) in /data/members/free/tripod/de/j/a/c/jackstest/htdocs/includes/page_header.php on line 491

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/de/j/a/c/jackstest/htdocs/intro.php:56) in /data/members/free/tripod/de/j/a/c/jackstest/htdocs/includes/page_header.php on line 493

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/de/j/a/c/jackstest/htdocs/intro.php:56) in /data/members/free/tripod/de/j/a/c/jackstest/htdocs/includes/page_header.php on line 494



Template->make_filename(): Error - file ./templates/subSilver/intro_body.tpl does not exist

Verfasst: 06.10.2003 14:35
von Jack9999
sorry habe vergesen die restlichen datein hoch zuladen