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>
User avatar

Exabot
Users
Users
Posts: 46
Joined: 22 Mar 2020, 12: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.

User avatar

Exabot
Users
Users
Posts: 46
Joined: 22 Mar 2020, 12:59
    Mac OS X Firefox

Re: Custom Header Logo

Post by Exabot »

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

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6586
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Custom Header Logo

Post by dmzx »

Kurv wrote: 21 Apr 2020, 15:26 How to display it on mobile?
Edit: solution found.
:thumbup:

User avatar

Kevicar
Donator
Donator
Posts: 89
Joined: 20 Sep 2015, 19: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

User avatar

martin
Admin
Admin
Posts: 5139
Joined: 06 Apr 2014, 16: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

User avatar

Kevicar
Donator
Donator
Posts: 89
Joined: 20 Sep 2015, 19: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:

User avatar

Aforce
Users
Users
Posts: 13
Joined: 09 Jan 2020, 11: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

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6586
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Custom Header Logo

Post by dmzx »

Aforce wrote: 12 May 2020, 14: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

User avatar

Aforce
Users
Users
Posts: 13
Joined: 09 Jan 2020, 11:21
    Windows 10 Firefox

Re: Custom Header Logo

Post by Aforce »

Thanks dmzx, that worked a treat. :smile:

User avatar

Tharius
Users
Users
Posts: 3
Joined: 29 Dec 2020, 20: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.

User avatar

Tharius
Users
Users
Posts: 3
Joined: 29 Dec 2020, 20:47
    Windows 10 Chrome

Re: Custom Header Logo

Post by Tharius »

Any thoughts on what I have done wrong here?

Thanks

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6586
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Custom Header Logo

Post by dmzx »

Tharius wrote: 07 Jan 2021, 01: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',

User avatar

Tharius
Users
Users
Posts: 3
Joined: 29 Dec 2020, 20:47
    Windows 10 Chrome

Re: Custom Header Logo

Post by Tharius »

dmzx wrote: 07 Jan 2021, 14:38
Tharius wrote: 07 Jan 2021, 01: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.

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23: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)

User avatar

martin
Admin
Admin
Posts: 5139
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Custom Header Logo

Post by martin »

Thats a php error prob 8.1.x

Post Reply Previous topicNext topic