Poste uns doch mal aus der Datei portal.php die Zeilen 162-164.Anonymous hat geschrieben:Parse error: parse error in /usr/www/users/nb2007/board/portal.php on line 163
phpbb 2.0.3 läuft, nun will ich noch ein portal, geht das ?
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.1, 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.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
hoffe das sind sie aber denke mal schon//
// Fetch Poll
//
$poll_forum_id = 1; // Change this with yours
$fetchpoll = phpbb_fetch_poll($poll_forum_id);
if (!empty($fetchpoll))
{
$template->assign_vars(array(
'S_POLL_QUESTION' => $fetchpoll['vote_text'],
'S_POLL_ACTION' => append_sid('posting.'.$phpEx.'?'.POST_TOPIC_URL.'='.$fetchpoll['topic_id']),
'S_TOPIC_ID' => $fetchpoll['topic_id'],
'L_SUBMIT_VOTE' => $lang['Submit_vote'],
'L_LOGIN_TO_VOTE' => $lang['Login_to_vote']
)
);
for ($i = 0; $i < count($fetchpoll['options']); $i++)
{
$template->assign_block_vars('poll_option_row', array(
'OPTION_ID' => $fetchpoll['options'][$i]['vote_option_id'],
'OPTION_TEXT' => $fetchpoll['options'][$i]['vote_option_text'],
'VOTE_RESULT' => $fetchpoll['options'][$i]['vote_result'],
)
);
}
}
else
{
$template->assign_vars(array(
'S_POLL_QUESTION' => $lang['No_poll'],
'DISABLED' => 'disabled="disabled"'
)
);
}
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
-
- Mitglied
- Beiträge: 22
- Registriert: 13.12.2002 20:51
Hi Simpson, ich hab das mal installiert und auch alles wie im file phpBB Portal.txt geändert und auf den server kopiert. aber wie mach ich es das er vom normalen forum zum portal rüber wechselt ???Simpson hat geschrieben:hold on
Geh mal besser, besser is das
http://phpbbhacks.com/viewhack.php?id=694
EDIT
oder direkt http://smartor.is-root.com
-
- Mitglied
- Beiträge: 22
- Registriert: 13.12.2002 20:51
könnte mir mal jemand helfen??? in der install anleitung steht:
#
#-----[ SAVE/UPLOAD ALL FILES ]------------------------------------------
#
# HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
#
# o Method 1: (for Apache server)
# create/modify file .htaccess in phpBB root directory
# add/edit this line:
#
# DirectoryIndex index.html index.htm portal.php index.php
#
# o Method 2: {use JavaScript - if you cannot apply the 1st method)
# create file index.html in phpBB root directory (without #)
# if your phpBB was placed in a subdirectory to the
# webroot, like: http://something.com/forum
# you could create index.html in the webroot and modify the
# line 5 to self.location.href='forum/portal.php';
#
# <html>
# <head>
# <title>Redirecting...</title>
# <script language="JavaScript">
# self.location.href=portal.php;
# </script>
# </head>
# <body>
# </body>
# </html>
Vielleicht bin ich ja zu doof, aber kann mir jemand erklären wie ich es nun machen soll, das das forum zum portal wird???
#
#-----[ SAVE/UPLOAD ALL FILES ]------------------------------------------
#
# HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
#
# o Method 1: (for Apache server)
# create/modify file .htaccess in phpBB root directory
# add/edit this line:
#
# DirectoryIndex index.html index.htm portal.php index.php
#
# o Method 2: {use JavaScript - if you cannot apply the 1st method)
# create file index.html in phpBB root directory (without #)
# if your phpBB was placed in a subdirectory to the
# webroot, like: http://something.com/forum
# you could create index.html in the webroot and modify the
# line 5 to self.location.href='forum/portal.php';
#
# <html>
# <head>
# <title>Redirecting...</title>
# <script language="JavaScript">
# self.location.href=portal.php;
# </script>
# </head>
# <body>
# </body>
# </html>
Vielleicht bin ich ja zu doof, aber kann mir jemand erklären wie ich es nun machen soll, das das forum zum portal wird???
-
- Mitglied
- Beiträge: 22
- Registriert: 13.12.2002 20:51
schaut mal hier:
http://phpbb.de/viewtopic.php?t=19372
einfach mit´m editor als index.html speichern, ins rootverzeichniss un et loift
gruß holger
http://phpbb.de/viewtopic.php?t=19372
einfach mit´m editor als index.html speichern, ins rootverzeichniss un et loift

gruß holger
Hoecker, Sie sind raus!