This board has been optimised for Firefox, the fast and secure web browser. : Download Firefox

[3.2][RC] Cosmos Banner

My little contributions to the phpBB 3.1.x and 3.2.x world. Please read the note on Version Numbering to ensure you download the correct Extension version.
Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

[3.2][RC] Cosmos Banner

Post by Administrator » Mon Mar 18, 2019 1:15 pm

Extension Name: Cosmos Banner
Author: HiFiKabin

Extension Description: A combination of my Header banner, Moon Phases and Sun Spots extension that overlay the banner with either or both of the Sun and Moon image. The sun/moon images are shown on all screen sizes although reduced in size at screens of 900px and 600px. Clicking on the sun or moon takes you to their respective sites.

As the Sun and Moon images rely on Javascript they are hidden if the user has JS disabled.

You can hide the existing header background colour, radius the corners of the banner, as well as set its maximum size. The search (if enabled) can be placed on the header (top left/top right/bottom left/bottom right) moved to the NavBar or hidden.

You can have a separate banner for mobile devices (<700px) if you wish

The banner is linked to the url that the site_logo is linked to

Notes:
  • NOTE If you are upgrading from my Moon Banner extension, please Disable and Delete its data and files before installing Cosmos banner.
  • The banner image must be a standard image extension eg .jpg .gif .png etc
  • If you host the image on your own server, place it in the images directory in the form root. To ensure it will appear on all pages, please still enter the full URL eg http://mysite.com/images/banner.jpg
  • You can use the images I have on my demo by seeing This Post
  • By setting the maximum width you can widen a small banner but it may distort of become pixilated.
  • The Banner Image is ALWAYS show at full width when using Internet Explorer
  • The image of the Sun Spots is © NASA/SDO and used with permission. It is cached in your browser for one hour before being refreshed.
  • The image of the moon is © http://www.calendrier-lunaire.net and remotely loaded from their website with permission.It is cached in your browser for one day before being refreshed.
  • This extension is best viewed in Firefox and Chrome. When viewed in IE or Edge (and some other browsers) there is a black box surrounding the SunSpot image. This is purely cosmetic and has no effect on the SunSpot image it self.
  • Compatible with my Google Search Extension
  • Automatic RLT switching
Language:
  • EN
Extension Version: 3.2.0-RC6

Supported Styles:
  • prosilver

Live Demo: HERE


Screenshots:

cosmos-index.jpg
acp.png

Download:

cosmosbanner_3_2_0-RC6.zip

Installation:
  • Download the latest release and unzip it.
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP
Support:

The contact us link at the bottom of this Forum or phpBB forum

Previous Versions
You do not have the required permissions to view the files attached to this post.

Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][RC] Cosmos Banner

Post by Administrator » Tue Mar 19, 2019 11:34 am

To use the images I have on my demo site:
  • Download the the attached zip and unzip it.
  • Disable Cosmos Banner in the ACP
  • Upload the folders images and ext to your boards root overwriting one file and enable it in the ACP
The image url setting on the configuration page will no longer have any effect. To reverse this just upload the current Cosmos Banner Extension files.

cosmosbanner-images.zip

The 2 banner images are © Doug Hubbell and used with permission
You do not have the required permissions to view the files attached to this post.

Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][RC] Cosmos Banner

Post by Administrator » Tue Mar 19, 2019 5:30 pm

3.2.0-RC2 CSS errors corrected, code tidied. Live demo link added in first post

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Cosmos Banner in the ACP
  • Delete cosmosbanner folder from the server
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP

Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][RC] Cosmos Banner

Post by Administrator » Wed Mar 20, 2019 5:31 pm

3.2.0-RC3 Sun and moon are now shown on all screen sizes, albeit smaller at screen width less than 900px

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Cosmos Banner in the ACP
  • Delete cosmosbanner folder from the server
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP

Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][RC] Cosmos Banner

Post by Administrator » Thu Mar 21, 2019 5:32 pm

3.2.0-RC4 Sun and moon are now also reduced in size on screens 600px and less

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Cosmos Banner in the ACP
  • Delete cosmosbanner folder from the server
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP

Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][RC] Cosmos Banner

Post by Administrator » Sat Mar 23, 2019 1:32 pm

3.2.0-RC5 Bug Fix

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Cosmos Banner in the ACP
  • Delete cosmosbanner folder from the server
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP

Administrator
Site Admin
Posts: 381
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][RC] Cosmos Banner

Post by Administrator » Sat Apr 13, 2019 10:01 am

3.2.0-RC6 Code tidied As the Sun and Moon images rely on Javascript they are hidden if the user has JS disabled.

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Cosmos Banner in the ACP
  • Delete cosmosbanner folder from the server
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP