3.2 & 3.3 Extensions Database 3.2 / 3.3Custom Header Logo

<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

Exabot
Users
Users
Status: Offline
User theme: Dark
Posts: 46
Joined: Mar 22nd, '20, 11:59
    Mac OS X Firefox

Re: Custom Header Logo

Post by Exabot »

Estonian translation.
et.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Exabot
Users
Users
Status: Offline
User theme: Dark
Posts: 46
Joined: Mar 22nd, '20, 11:59
    Mac OS X Firefox

Re: Custom Header Logo

Post by Exabot »

How to display it on mobile?
Edit: solution found.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Android Chrome

Re: Custom Header Logo

Post by dmzx »

Kurv wrote: Apr 21st, '20, 13:26 How to display it on mobile?
Edit: solution found.
:thumbup:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Kevicar
Donator
Donator
Status: Offline
User theme: Dark
Posts: 89
Joined: Sep 20th, '15, 17:34
    Windows 10 Chrome

Re: Custom Header Logo

Post by Kevicar »

Hello,

The extension works perfectly, but there is a small problem (W3C validation).
What is the problem for it to be valid?

https://validator.w3.org/nu/?doc=https: ... x-web.net/

Thank you for your help and for this extension
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Custom Header Logo

Post by martin »

Should be

<style> and max-width

example

Code: Select all

@media all and (min-width : 350px) and (max-width : 700px) {
	.mchat-rooms-body {
	    min-width: 100% !important;
	}
}
W3c has changed since this ext was made.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Kevicar
Donator
Donator
Status: Offline
User theme: Dark
Posts: 89
Joined: Sep 20th, '15, 17:34
    Windows 10 Chrome

Re: Custom Header Logo

Post by Kevicar »

As I understand it, these instructions are obsolete and should be removed. :roll:

overall_header_stylesheets_after.html
Find This may be a partial find and not the whole line

Code: Select all

<style type="text/css">
Replace with Replace the preceding lines with the following

Code: Select all

<style>
( 2x )

and
Find This may be a partial find and not the whole line

Code: Select all

@media only screen and (max-width: 850px), only screen and (max-device-width: 850px)
Replace with Replace the preceding lines with the following

Code: Select all

@media only screen and (max-width: 850px)
Thank you for your help and thank you for telling me if this is correct.

I have no more errors ...
:roll:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Aforce
Users
Users
Status: Offline
User theme: Dark
Posts: 13
Joined: Jan 9th, '20, 10:21
    Windows 10 Firefox

Re: Custom Header Logo

Post by Aforce »

Hi

I was wondering if you could advise on the best way to show the Custom Header Logo on the FAQ page, for example?

I can't seem to get it to work

The 'Page Name' is faq and I have set the 'Path To The Page' as help

However, when I look at the full path it shows /app.php/help/faq ? Anything with app.php seems to present an issue.

Thanks

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Custom Header Logo

Post by dmzx »

Aforce wrote: May 12th, '20, 12:48 Hi

I was wondering if you could advise on the best way to show the Custom Header Logo on the FAQ page, for example?

I can't seem to get it to work

The 'Page Name' is faq and I have set the 'Path To The Page' as help

However, when I look at the full path it shows /app.php/help/faq ? Anything with app.php seems to present an issue.

Thanks
use app/help/faq

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Aforce
Users
Users
Status: Offline
User theme: Dark
Posts: 13
Joined: Jan 9th, '20, 10:21
    Windows 10 Firefox

Re: Custom Header Logo

Post by Aforce »

Thanks dmzx, that worked a treat. :smile:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Tharius
Users
Users
Status: Offline
User theme: Dark
Posts: 3
Joined: Dec 29th, '20, 19:47
    Windows 10 Chrome

Re: Custom Header Logo

Post by Tharius »

Hi @dmzx

This extension was exactly what I needed. I can edit style sheets manually but I shouldn't have to maintain a GitHub repository to keep track of all the files I've tweaked along the way just to keep a forum configured.

Things were going well once I bypassed the phpbb site and came here directly. I'm sure I'll be looking at a bunch of your add ons, thanks for writing them.

I used one of the page 1 posts and tried to decipher what was required and most of my site is showing my logo. I got cocky and tried to figure out the ACP's format from an example […]/adm/index.php?i=-dmzx-chl-acp-acp_chl_module&sid=c14baaf1d0dbc8edf4b6900b5f26daff&mode=pages

Well, the page is index and the path is adm … but no luck.
Screenshot 2020-12-30 194834.png
As you see here I tried a few variants, even hoped that acp would be enough, and would appreciate your insight as to what would work to get the ACP to show the logo.

Note that I have url rewriting enabled.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Tharius
Users
Users
Status: Offline
User theme: Dark
Posts: 3
Joined: Dec 29th, '20, 19:47
    Windows 10 Chrome

Re: Custom Header Logo

Post by Tharius »

Any thoughts on what I have done wrong here?

Thanks

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Custom Header Logo

Post by dmzx »

Tharius wrote: Jan 7th, '21, 00:27 Any thoughts on what I have done wrong here?

Thanks
No this is not possible for ACP pages.
The extension is active only on 'core.page_header_after' => 'page_header_after',

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Tharius
Users
Users
Status: Offline
User theme: Dark
Posts: 3
Joined: Dec 29th, '20, 19:47
    Windows 10 Chrome

Re: Custom Header Logo

Post by Tharius »

dmzx wrote: Jan 7th, '21, 13:38
Tharius wrote: Jan 7th, '21, 00:27 Any thoughts on what I have done wrong here?

Thanks
No this is not possible for ACP pages.
The extension is active only on 'core.page_header_after' => 'page_header_after',
Thanks dmzx, if it's not possible I'll stop worrying about it.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

TrekRed
Users
Users
Status: Offline
User theme: Dark
Posts: 93
Joined: Oct 27th, '19, 22:54
    Windows 10 Chrome

Re: Custom Header Logo

Post by TrekRed »

PHPBB 3.3.5 PHP 8.1
An excellent extension, but where there is no logo, an error pops up, and where it is, there is no such error.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/chl/event/listener.php on line 99: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/chl/event/listener.php on line 100: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Custom Header Logo

Post by martin »

Thats a php error prob 8.1.x