Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.
<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Apr 9th, '21, 13:44
Extension Name: Custom index page
Author: dmzx
Special thanks to: martin
Extension Description:
With Custom index page you can create a index page before showing your forum, all forum items are hided with this extension
Basic knowledge of HTML, CSS and coding is needed to adjust and make a beautiful index page.
../..
Screenshots:
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `customindexpage `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
Copy the `customindexpage ` folder to `/ext/dmzx/ ` if done correctly, you'll have the main extension class at
(your forum root)/ext/dmzx/customindexpage/composer.json
Navigate in the ACP to `Customise -> Manage extensions`
Look for `Custom index page ` under the Disabled Extensions list, and click its `Enable ` link.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Apr 9th, '21, 13:45
Taken for explain.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 11th, '21, 14:29
Hi
Don't quite understand how or where to change yourdomain.com {{SITENAME}} to my name ?
Thanks
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Apr 11th, '21, 14:31
clight77 wrote: Apr 11th, '21, 14:29
Hi
Don't quite understand how or where to change yourdomain.com {{SITENAME}} to my name ?
Thanks
no {{ SITENAME }} is default in phpbb for your boardname.
out of the box it will take all, just install it and logout to check it.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 11th, '21, 14:39
Hmmm thought that, but on my test site it just says yourdomain.com.
Must be issue with default phpbb file.
I will leave it till Martin can have a look. :)
THKS
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Apr 11th, '21, 14:42
Yes sitename is default (clean installation) yourdomain.
If ACP on your main has your domain name it will take the correct name in the extension.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 11th, '21, 14:45
Found it in ACP/General/Board Settings, I never use that setting. DUH...
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Apr 11th, '21, 14:48
clight77 wrote: Apr 11th, '21, 14:45
Found it in ACP/General/Board Settings, I never use that setting. DUH...
It must be working out of the box, but if you want to wait np
your site give me the idea but you already know it
Like it here and will leave it installed.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 11th, '21, 15:01
Yep works good after putting my site name in ACP, I never use that.
Just now looking at changing main background color to my site image :)
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Apr 11th, '21, 15:06
clight77 wrote: Apr 11th, '21, 15:01
Yep works good after putting my site name in ACP, I never use that.
Just now looking at changing main background color to my site image :)
look into the css part in acp of the extension.
look for body part and change it to:
Code: Select all
body {
background: #2D3142;
font-family: 'Raleway', sans-serif;
background-image: url(/to_image);
height: 100%;
background-repeat: no-repeat;
background-size: cover;
}
change /to_image above to your url of the image.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 11th, '21, 15:08
Will do, need a coffee and walk the muttonhead :)
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 11th, '21, 15:36
This worked good.
Just have to add it to magic so it works for both light and dark :)
Thanks
Code: Select all
body {
color: #F2F2F2;
font-family: 'Raleway', sans-serif;
background-image: url(/images/cssmagic_images/black_stripe4.png);
height: 100%;
background-repeat: no-repeat;
background-size: cover;
}
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
clight77
Donator
Status:
Offline
User theme: Dark
Posts: 502 Joined: Sep 24th, '15, 14:23
Post
by clight77 » Apr 12th, '21, 00:51
The result :)
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5107 Joined: Apr 6th, '14, 14:12
Post
by martin » Apr 12th, '21, 01:41
Back it up as i just fixed a small bug/style issue
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Anders
Users
Status:
Offline
User theme: Dark
Posts: 80 Joined: Sep 15th, '15, 06:15
Post
by Anders » Jun 17th, '21, 06:26
Goodmorning got my site up again some work lol and did see your custom index and did test it and i get this
Forbidden
You don't have permission to access /adm/index.php on this server.
Have inactivate all other extensions and still no good
And have version 3.3.4
SOLVED
it was darn mod security