| Autor |
Nachricht |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Do 10 Jun, 2004 18:05 |
  |
How can I make the index page of my directory to be directed to portal.php instead of it pointing to the forums ? |
|
|
   |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
oxpus
phpBB2.de User

Anmeldungsdatum: 11.02.2003
Beiträge: 8613
Wohnort: Bad Wildungen
|
Verfasst am:
Do 10 Jun, 2004 18:14 |
  |
Change in the login.php all values like "index" to "portal". Then you will ever return to the portal.
Also look for .htaccess-Files and change in these files the order to "portal.php portal.php index.php index.php". |
_________________ Karsten Ude
Support nur im Forum! || Support just on Forum!
OXPUS's Mods |
|
    |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Do 10 Jun, 2004 18:46 |
  |
Hmm sorry I mean I wanted
http://www.mysite.com/forums to point to
portal.php by default instead of index.php (the forums)
If I try and access /forums now I get a 403 error
BTW is the download module installed by default, cos I can't seem to find it anywhere ? |
|
|
   |
 |
jonny-b
phpBB2.de User


Anmeldungsdatum: 19.05.2004
Beiträge: 2400
Wohnort: New York City
|
Verfasst am:
Do 10 Jun, 2004 19:33 |
  |
|
     |
 |
oxpus
phpBB2.de User

Anmeldungsdatum: 11.02.2003
Beiträge: 8613
Wohnort: Bad Wildungen
|
Verfasst am:
Do 10 Jun, 2004 22:30 |
  |
Look for a .htaccess-File or index.htm(l) in this folder and replace in these files "index" with "portal"... |
_________________ Karsten Ude
Support nur im Forum! || Support just on Forum!
OXPUS's Mods |
|
    |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Fr 11 Jun, 2004 23:22 |
  |
Thanks will make the changes ...
I also seem to have a cookie issue in that whenver I return to the forums I have to login again ? I would also like to customize the portal itself, what are the exact files in the templates folder do I have to edit ? |
|
|
   |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Fr 11 Jun, 2004 23:24 |
  |
Oh yah and the Mods DB doesn't install the mod for you does it? Isit just a place to list the mods you install there ? |
|
|
   |
 |
oxpus
phpBB2.de User

Anmeldungsdatum: 11.02.2003
Beiträge: 8613
Wohnort: Bad Wildungen
|
Verfasst am:
Sa 12 Jun, 2004 18:25 |
  |
The cookie will contains the domain you are logged on. This will not affect any changes on your settings on .htaccess or index.htm(l).
To edit the portal use the files portal.php and templates/subSilver/portal_body.tpl.
And at least: Yes the mod database only will list the mods for download. Installing the mods must be done by yourself. |
_________________ Karsten Ude
Support nur im Forum! || Support just on Forum!
OXPUS's Mods |
|
    |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Sa 12 Jun, 2004 21:21 |
  |
However the cookie doesn't seem to remember me cos everytime I return to the forums I have to logon ? |
|
|
   |
 |
OliverS
phpBB2.de User

Anmeldungsdatum: 25.05.2003
Beiträge: 78
Wohnort: Ludwigsburg
|
Verfasst am:
Sa 12 Jun, 2004 23:08 |
  |
Hier mal ein Auszug aus der Anleitung vom ezPortal, wenn ich das richtig verstehe worum es hier geht.
| Code: |
# 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';
|
|
|
|
    |
 |
capi-lisa
phpBB2.de User


Anmeldungsdatum: 08.06.2004
Beiträge: 17
Wohnort: Belgium (poor speaking english)
|
Verfasst am:
Di 15 Jun, 2004 09:50 |
  |
you can forward the index file to portal file like the code below
your text can be erase if you want it
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="refresh" CONTENT="1; URL=URL TO YOUR PORTAL.PHP ">
<script>
if (parent.frames.length > 0)
parent.location.href = location.href
</script>
<title>TITLE OF YOUR HOMEPAGE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p align="center"><font color="#FF0000" size="+2"><strong>Even geduld ...........................</strong></font>
</p>
<p align="center"><strong><font color="#0000FF" size="+4">TEXT YOU WANT
</font></strong></p>
<p align="center"><strong><font color="#FF0000" size="+6"TEXT YOU WANT.................
</font></strong></p>
<p align="center"><strong><font color="#FF00FF" size="+7">TEXT YOU WANT</font></strong><font color="#FF00FF" size="+7"> </font></p>
</body>
</html>
|
|
|
|
   |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Do 17 Jun, 2004 18:40 |
  |
Hmm I get this error when I tried to upload pics, is this a permissions problem or ?
Warning: copy(album_mod/upload/e3a9e26263a7a8ee0209467b8f67096b.jpg): failed to open stream: Permission denied in c:\home\ericcantona.com\forums\album_upload.php on line 488
Warning: copy(album_mod/upload/cache/e3a9e26263a7a8ee0209467b8f67096b.jpg): failed to open stream: Permission denied in c:\home\ericcantona.com\forums\album_upload.php on line 494
Warning: getimagesize(album_mod/upload/e3a9e26263a7a8ee0209467b8f67096b.jpg): failed to open stream: No such file or directory in c:\home\ericcantona.com\forums\album_upload.php on line 504
Warning: getimagesize(album_mod/upload/cache/e3a9e26263a7a8ee0209467b8f67096b.jpg): failed to open stream: No such file or directory in c:\home\ericcantona.com\forums\album_upload.php on line 523
Warning: Cannot modify header information - headers already sent by (output started at c:\home\ericcantona.com\forums\album_upload.php:488) in c:\home\ericcantona.com\forums\includes\page_header.php on line 786
Warning: Cannot modify header information - headers already sent by (output started at c:\home\ericcantona.com\forums\album_upload.php:488) in c:\home\ericcantona.com\forums\includes\page_header.php on line 788
Warning: Cannot modify header information - headers already sent by (output started at c:\home\ericcantona.com\forums\album_upload.php:488) in c:\home\ericcantona.com\forums\includes\page_header.php on line 789 |
|
|
   |
 |
jonny-b
phpBB2.de User


Anmeldungsdatum: 19.05.2004
Beiträge: 2400
Wohnort: New York City
|
Verfasst am:
Do 17 Jun, 2004 19:22 |
  |
change the folder to 777 (chmod 777) |
|
|
     |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Do 17 Jun, 2004 21:22 |
  |
I've changed permission (I'm using Windows) to the equivalent of it, is there anywae I could manually upload it instead ? |
|
|
   |
 |
linuskmj
phpBB2.de User

Anmeldungsdatum: 10.06.2004
Beiträge: 22
|
Verfasst am:
Sa 19 Jun, 2004 02:20 |
  |
Where do the polls have to be posted on before they will be seen on the portal page ? |
|
|
   |
 |
|
|
|
|