Intro page

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
User avatar
Joost01
Registered User
Posts: 221
Joined: Thu Jan 09, 2014 10:05 am
Location: The Netherlands
Name: Joost

Re: Intro page

Post by Joost01 »

I have place the intro.html in the root map. My page is written in HTML.
Board version: 3.2.9
Style: Prolight

User avatar
janus_zonstraal
Registered User
Posts: 4113
Joined: Sat Aug 30, 2014 1:30 pm

Re: Intro page

Post by janus_zonstraal »

Why only answer the half of the questions?
Sorry! My English is bat ;) !!!

User avatar
Joost01
Registered User
Posts: 221
Joined: Thu Jan 09, 2014 10:05 am
Location: The Netherlands
Name: Joost

Re: Intro page

Post by Joost01 »

janus_zonstraal wrote:
Sun Jan 05, 2020 4:38 pm
Apache?
I don't think I should look into that, I can try. :)
mrgoldy wrote:
Sun Jan 05, 2020 11:51 pm
Is the welkom.php file inside your phpBB root directory?
I have only the file Intro.php
Lumpy Burgertushie wrote:
Mon Jan 06, 2020 1:06 am
and, what is in the welkom.php file? did you also create a welkom.html file to go with it?

robert
I have only the file Intro.php

--

There is no extension for this ? :)
Board version: 3.2.9
Style: Prolight

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22125
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Intro page

Post by Mick »

The way it works is you create a .php file (whatever.php) and an html file (whatever.html). The php file goes in the root of your board and the html file in the template folder of your style.

This is getting on a bit but I believe it still works, I’ve not tried it this the last decade, if not ask: Knowledge Base - Add a New Custom Page to phpBB.

Add the following line to your root .htaccess:

Code: Select all

DirectoryIndex whatever.php index.html index.htm index.php app.php
(tons of info available with a search)

Note: You should have only one DirectoryIndex line in .htaccess.

And then whenever someone accesses the board root the the php file calls the html file.
Joost01 wrote:
Tue Jan 14, 2020 12:33 pm
There is no extension for this ? :)
There’s the Pages extension but I don’t think that does what you want. Maybe you can use it just to make the two files?
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
Joost01
Registered User
Posts: 221
Joined: Thu Jan 09, 2014 10:05 am
Location: The Netherlands
Name: Joost

Re: Intro page

Post by Joost01 »

Solved. ;)
Board version: 3.2.9
Style: Prolight

Post Reply

Return to “phpBB Custom Coding”