Pagina 1 van 1

?!?

Geplaatst: 07 sep 2003, 15:06
door hotrid
wat moet ik hierbij doen bvd

Code: Selecteer alles

#
# 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';

Geplaatst: 07 sep 2003, 15:35
door headout
Wat begrijp je hier niet aan?

Code: Selecteer alles

# 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
# 
Heb je beschikking over .htaccess bij je host?
Zo ja, maak een bestand aan genaamd htaccess.txt
Voeg dit stuk code daaraan toe:

Code: Selecteer alles

DirectoryIndex index.html index.htm portal.php index.php
Sla het op, en upload het naar de root van je forum. Verander daar de naam van het bestand in .htaccess (niets voor de punt zetten). That's all.

Ezportal config? wat begrijp je daar niet aan?

In het vervolg is het handig om wat meer info te plaatsen dan alleen "wat moet ik hierbij doen bvd". Het is hier namelijk niet: "u vraagt, wij draaien" :wink: