[3.2][3.3][RC] Random Banner

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][RC] Random Banner

Post by HiFiKabin »

3.2.0_RC4 now available. Title tag added, phpBB3.3.x compatible Image Image

Each banner's link can be ignored, opened in the same or new tab

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Random Banner in the ACP
  • Delete randombanner folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable Random Banner in the ACP
Driver80
Registered User
Posts: 58
Joined: Fri Jan 03, 2020 8:35 pm

Re: [3.2][3.3][RC] Random Banner

Post by Driver80 »

how to disable banner for mobile version starting from 700px?

You have a demo example, a very large banner in height.
I have height 160px banners and when scaling in the browser, the website logo climbs out of the banner.
How to fix it? Here on this forum everything is OK and the logo is in place
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

As I have mentioned before, zooming in with the browser will always give unreliable results no matter what the website. Use Emmet Re:view (Chrome Addon) or Blisk (stand alone browser emulator) to see what your site will look like
Driver80
Registered User
Posts: 58
Joined: Fri Jan 03, 2020 8:35 pm

Re: [3.2][3.3][RC] Random Banner

Post by Driver80 »

all the same, you can’t do without a mobile version here.
Need a mobile version of the same as in the "headerbanner".
I copied part of the code from the "headerbanner", a mobile version appeared in the admin panel, but the settings are not saved.
Can make an option with the mobile version? it is difficult?

and I have another question.
I have a website logo through "overall_header", but the banner closes all logos. on top of them. How can I make the logos be on top of the banner?
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

Did you bother to look at the screenshots or use either of the emulators I sent to you? This extension is FULLY mobile compatible, but zooming in is not the way to show it. See the screenshot below that proves my point.

screenshot_318.jpg

There is no separate banner for Mobile devices, it scales the one to fit.

Also as you can see the logo is displayed correctly. If yours does not it is because it has not been saved in the default location. Check your settings.
You do not have the required permissions to view the files attached to this post.
Driver80
Registered User
Posts: 58
Joined: Fri Jan 03, 2020 8:35 pm

Re: [3.2][3.3][RC] Random Banner

Post by Driver80 »

HiFiKabin wrote: Thu Jan 30, 2020 11:12 am Did you bother to look at the screenshots or use either of the emulators I sent to you? This extension is FULLY mobile compatible, but zooming in is not the way to show it. See the screenshot below that proves my point.


screenshot_318.jpg


There is no separate banner for Mobile devices, it scales the one to fit.

Also as you can see the logo is displayed correctly. If yours does not it is because it has not been saved in the default location. Check your settings.
I understood about scaling ...
I need exactly 1 mobile banner with its size so that there are no random banners on mobile devices.
To make the random banner work only on PC
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

If you had said that at the start I would have understood your request.

I can build you something but it will take a little while as I am busy right now.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

PM on the way as I can not attach the zip here
User avatar
ninouee
Registered User
Posts: 90
Joined: Thu Aug 07, 2014 7:31 pm
Location: France

Re: [3.2][3.3][RC] Random Banner

Post by ninouee »

Hello,

I use your extension on my site and it works wonders. However I meet 2 problems of adjustment and I would need your help.

When my site is in full screen the banner is not centered, would you be able to tell me how to modify the code?


And when I do the test on a smartphone, the banner is not reduced to the size of the screen so I don't really have a responsive style.
What can I do to correct this?

My site is here https://ddstv.fr/forum/

Thank you.
Sorry for my poor english, it’s not my first langage but i work on it ;)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

Can you let me have a copy of the style and banners you are using and I'll look into it. It certainly does not behave as I expect it to.
User avatar
ninouee
Registered User
Posts: 90
Joined: Thu Aug 07, 2014 7:31 pm
Location: France

Re: [3.2][3.3][RC] Random Banner

Post by ninouee »

The banners are this pictures :
http://ddstv.fr/galerie/albums/userpics ... V5-L02.png
http://ddstv.fr/galerie/albums/userpics ... V5-L01.png

And this is my style file :
DdSTV5.txt
Thank you for your help.
You do not have the required permissions to view the files attached to this post.
Sorry for my poor english, it’s not my first langage but i work on it ;)
User avatar
ninouee
Registered User
Posts: 90
Joined: Thu Aug 07, 2014 7:31 pm
Location: France

Re: [3.2][3.3][RC] Random Banner

Post by ninouee »

Hello

I have a question.

Is-it possible to link the randombanner to au style?

I have au project of forum game (RPG) who will use many of style. One by universe. And if i use the randombanner, ilts the same banner for all the styles. Is it possible to chose the style when we ad a banner?

This is the project https://ddstv.fr/unys/index.php

Thank you
Sorry for my poor english, it’s not my first langage but i work on it ;)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

Just to clarify what you are asking. is it:-

Style a -> banner 1

Style b -> banner 2

OR

Style a -> random banner 1, 2, 3 or 4

Style b -> random banner 5, 6, 7 or 8

Neither are possible with the extension as it stands but I might be able to make something that works once I know exactly what you want.
User avatar
ninouee
Registered User
Posts: 90
Joined: Thu Aug 07, 2014 7:31 pm
Location: France

Re: [3.2][3.3][RC] Random Banner

Post by ninouee »

Good evening!

You ask a good question. In reality I had not thought about these possibilities.

In fact, I simply thought of adding a drop-down menu linked to each banner that would allow you to choose either the basic style or a specific style. So the two propositions you are thinking of are possible?
Sorry for my poor english, it’s not my first langage but i work on it ;)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6769
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Random Banner

Post by HiFiKabin »

The first option is easy(ish) with a work around solution. The second is far more involved, and a great idea, but would need more time to implement than I have right now unless I can think of a shortcut.

Return to “Extensions in Development”