ez portal
Verfasst: 01.04.2003 13:19
wie kann ich das so eitellen, dass wenn auf auf die hauptseite geht auf das portal weitergeleitet wird, und nicht auf die foren-übersicht?
[...]
# HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
# You can use one of the following methods! Lots of luck!
#
#
# 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 #)
#
# <html>
# <head>
# <title>Redirecting...</title>
# <script language="JavaScript">
# self.location.href='portal.php';
# </script>
# </head>
# <body>
# </body>
# </html>
#
# 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';
#
#
# o Method 3: I think maybe you can find out method 3 yourself
#
#--------------------------------------------------------------------
# CONFIGURATION FOR ezPortal
#
# OPEN: portal.php
#
# FIND:
//
// Set configuration for ezPortal
//
// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';
// Number of news on portal
$CFG['number_of_news'] = '5';
// Length of news
$CFG['news_length'] = '200';
// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
$CFG['news_forum'] = '1';
// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
$CFG['poll_forum'] = '1';
//
// END configuration
// --------------------------------------------------------
#
# Adjust the above values in portal.php
#
#--------------------------------------------------------------------
#
# EoM
ist da ein fehler drin?<html>
<head>
<title>Redirecting...</title>
<script language="JavaScript"> http://web400.essen082.server4free.de/p ... portal.php';
</script>
</head>
<body>
</body>
</html>
<html>
<head>
<title>Redirecting...</title>
<script language="JavaScript">self.location.href='portal.php';
</script>
</head>
<body>
</body>
</html>
Code: Alles auswählen
# 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
in der portal.php etwas verändern muss, aber was muss ich für die 1 einsetzen?$announcements_forum_id = 1;