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

mastnacek
Users
Users
Posts: 8
Joined: 04 Nov 2018, 17:15
    Windows 7 Firefox

Re: Custom Header Logo

Post by mastnacek »

Heelo man. Is in new version header image responsive and works in all pages in forum? Forexample knowledge base, search engine like my topics, last topics and so on? If its true so ia make donate :thumbup:

User avatar

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

Re: Custom Header Logo

Post by dmzx »

mastnacek wrote: 16 Jan 2019, 08:09 Heelo man. Is in new version header image responsive and works in all pages in forum? Forexample knowledge base, search engine like my topics, last topics and so on? If its true so ia make donate :thumbup:
Yes must be, also FAQ see here and kb/index here.
I set all with this extension :wink:

User avatar

mastnacek
Users
Users
Posts: 8
Joined: 04 Nov 2018, 17:15
    Windows 7 Firefox

Re: Custom Header Logo

Post by mastnacek »

Its better remove old version and install and configure new? I have some modifications of your code that make responsive background in mobile phones also.

User avatar

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

Re: Custom Header Logo

Post by dmzx »

mastnacek wrote: 16 Jan 2019, 09:17 Its better remove old version and install and configure new? I have some modifications of your code that make responsive background in mobile phones also.
PM me your code so I can check what can be used.
You can reinstall but all must be set again...

User avatar

seacoast
Users
Users
Posts: 159
Joined: 28 Aug 2017, 19:58
    Windows 10 Firefox

Re: Custom Header Logo

Post by seacoast »

Great extension, but how can I get the bg image to stay for my whole board? Do I have to define the bg image for every single page?
I have it on index, then I go to UCP and get phpbb logo. Am I doing something wrong?

User avatar

SnowBlind
Users
Users
Posts: 32
Joined: 03 May 2016, 03:29
    Windows 10 Firefox

Re: Custom Header Logo

Post by SnowBlind »

seacoast wrote: 05 Apr 2019, 20:21 Great extension, but how can I get the bg image to stay for my whole board? Do I have to define the bg image for every single page?
I have it on index, then I go to UCP and get phpbb logo. Am I doing something wrong?
You pretty much have to assign the bg image and logo to every page.

These links may help. They are in the Custom Header Logo for PHPBB 3.1. All have to do with the ACP, Extensions, Custom Header Logo. Forums & categories logo assignment and Custom page logo assignment. It may help to look through that whole topic.

Custom Header Logo
Custom Header Logo
Custom Header Logo

Have fun ... :whistl:

User avatar

MarcB
Users
Users
Posts: 4
Joined: 18 Nov 2019, 13:54
    Windows 10 Firefox

Re: Custom Header Logo

Post by MarcB »

A great extension saving a lot of coding :smile:

In combination with this Custom Header Logo 3.2.x extension, I would like to use my board on the maximum browser width. To do so, I changed the common.css wrap section from 1152px to 100% so the board is shown in full browser width.

Unfortunately, the Banner does not automatically scale when changing the browser width. The maximum banner sizes we use are 2560x250 pixels, so if you change the browser view from full screen on a 2560x1440 monitor to half screen, the banner is cut in half while you would like to scale down to 50%. Any suggestion how to get this solved? Style is Prosilver.

The old board that I am upgrading gives a good impression what I mean, see below URL's.

Old forum : https://www.blackbirdownersclub.eu/phpB ... /index.php
New forum: https://www.blackbirdownersclub.eu/phpBB3/index.php
Last edited by MarcB on 20 Nov 2019, 21:51, edited 1 time in total.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Linux Chrome

Re: Custom Header Logo

Post by Sniper_E »

Answer: You can use a max-width: 100%; on your logo image. Or the biggest screen size, max-width: 1920px;

But stretching your opened widow across two screens is not normal. That logo image at 100% will stretch across two screens also.
I have four screens now on my computer and I would never stretch one window across two monitors.

But there is always other ways to set that width. If both screens have 1920px resolution then try that. Play with it...
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

MarcB
Users
Users
Posts: 4
Joined: 18 Nov 2019, 13:54
    Windows 10 Firefox

Re: Custom Header Logo

Post by MarcB »

Sniper_E wrote: 20 Nov 2019, 08:02 Answer: You can use a max-width: 100%; on your logo image. Or the biggest screen size, max-width: 1920px;

But stretching your opened widow across two screens is not normal. That logo image at 100% will stretch across two screens also.
I have four screens now on my computer and I would never stretch one window across two monitors.

But there is always other ways to set that width. If both screens have 1920px resolution then try that. Play with it...
Sorry Sniper but I do not understand. I am not using two screens. The question is how to automatically scale the Banner if you change the view size of your Browser. If you look at the demo link and change the view size you can see that the Banner automatically scales with the view size of the Browser. I wrote this in phpBB3.0.11 but that code cannot be used anymore on phpBB3.2.8.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »

Yes I just went to your site and I saw that in the div.headerbar img tag you had max-width: 100%;
And it worked fine when I shrunk the screen.

What exactly is the issue you are asking about?

User avatar

MarcB
Users
Users
Posts: 4
Joined: 18 Nov 2019, 13:54
    Windows 10 Firefox

Re: Custom Header Logo

Post by MarcB »

Sniper_E wrote: 20 Nov 2019, 20:46 Yes I just went to your site and I saw that in the div.headerbar img tag you had max-width: 100%;
And it worked fine when I shrunk the screen.

What exactly is the issue you are asking about?
What you have seen is the old forum that cannot be used anymore. This old forum runs under phpBB3.0.11 and is not compatible with php 7.2. I only referred to this to show how the new forum under phpBB3.2.8 should work with respect to the Banner automatic resizing.

New forum: https://www.blackbirdownersclub.eu/phpBB3/index.php

I hope this explains my question?
Last edited by MarcB on 22 Nov 2019, 21:09, edited 1 time in total.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »

It would have explained your question if you would have sent me to the site needing help.

The prosilver/theme/common.css has this in it.

Code: Select all

.site_logo {
    display: inline-block;
    width: 1140px;
    height: 111px;
}
Replace that with...

Code: Select all

.site_logo {
    max-width: 100%;
}

User avatar

MarcB
Users
Users
Posts: 4
Joined: 18 Nov 2019, 13:54
    Windows 10 Firefox

Re: Custom Header Logo

Post by MarcB »

Thanks Sniper_E and sorry for not being clear. I setup a test board, implemented "Custom Header Logo 3.2.x" and changed the settings as mentioned by you.

If you make the browser view smaller, the banner width stays within the margins of the forum but, the banner itself is not automatically resized. I mean, the full Banner is not shown with different width's of the browser view.


This is how the Banner looks on the test forum
Image


Below shows how it should look
Image

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »

Well buddy, this ext is setup to give you different background images and site_logo images on different pages.
And all of the sizes deal with pixels for the width and height. This extension will not work for your project.

Now if there were enough of you that would want a different full width banner image on the different pages then I could heavily modify this Custom Header Logo 3.2.x extension and make it work. But if I were to spend all that time re-shaping this extension for that, I'm sure dm would place it in the VIP forum. Would you and maybe a few others want to donate here for me to create this special extension for you? Or do we have enough donors here already that would be interested in this page selected full banner image extension? You guys could push into spending that time also.

User avatar

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

Re: Custom Header Logo

Post by martin »

Dam i would donate for that no doubt.
Image

Post Reply Previous topicNext topic