[DEV] Favicon Animated

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!
Get Involved
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)
Post Reply
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

[DEV] Favicon Animated

Post by Sniper_E »

Extension Name: Favicon

Version: 1.0.1

Author: Sniper_E

Extension Description: Inserts an animated.gif image in your browser's address bar.
For the browsers that do not support animated images a favicon.ico will show. Setup for ACP also.

Screenshots:
Image

Image

Extension Download: Favicon 1.0.1

Installation: Copy contents from download to ext/sniper/favicon/ directory - Enable in ACP

Demo: Sniper_E Styles - Check out your address bar for the image.

Instructions: The favicon is supposed to be a set of 16x16, 32x32 and 48x48 pictures in ICO format.
You can find many .ico generators online to convert your image into a favicon.ico.
Use one frame from your animated.gif image you are using to create a favicon.ico file.
The animated image and favicon are located in ext/sniper/favicon/images/ directory.
Simply replace the images with your own for your site.

Enjoy!
Last edited by Sniper_E on Wed May 30, 2018 3:39 pm, edited 9 times in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
david63
Registered User
Posts: 18090
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Favicon Animated

Post by david63 »

Why do you need an extension for this when just uploading an animated favicon file will work anyway?

















/?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
spaceace
Registered User
Posts: 1985
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Favicon Animated

Post by spaceace »

david63 wrote:Why do you need an extension for this when just uploading an animated favicon file will work anyway?
it adds <link rel="icon" href="" /> that the extension Favicon Notifications needs added to styles that is missing so it's actually a useful extension in my opinion for those that do not want to edit files
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Favicon Animated

Post by Sniper_E »

Well David, after disabling the favicon ext...
I tried to put my animated icon in the root and renamed it to favicon.ico and it would not show.
Even my normal favicon.ico would not show. I'm running 3.1.9 maybe it's not setup for that yet.

I cleared the cache and refreshed my browser. I'll give it more time to see if it will show.
I'll keep testing...
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Lumpy Burgertushie
Registered User
Posts: 67999
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Favicon Animated

Post by Lumpy Burgertushie »

why is it when I click on the link to phpbbmodders in your sig it takes me here:
http://danaefabienne.es/

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Favicon Animated

Post by Sniper_E »

I'll remove that Lumpy. New founder working on site and it's not setup correctly yet.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Favicon Animated

Post by Sniper_E »

david63 wrote:Uploading an animated favicon file will work.
I could not get any animated favicon to show up in the address bar.

You know David, if phpBB would make it where it looks for a second favicon.gif...
It will load a favicon.gif with these <links, then we could place a favicon.ico and a favicon.gif in the root.

It would load the favicon.ico and then load the favicon.gif if the browser was compatible. Like most.
Else it would keep the favicon.ico as the favicon.

Then this ext would not be needed for an animated favicon if that was setup...
And the Favicon Notifications ext wouldn't need this either.

Style updates are not effected neither any browser types or any version of phpBB.
phpBB could have their blue two member icon show and in time fades into another phpBB related icon.
You phpBB guys here should install my ext right away! :lol: just kidding
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Favicon Animated

Post by Sniper_E »

Lumpy Burgertushie wrote:why is it when I click on the link to phpbbmodders in your sig it takes me here: http://danaefabienne.es/
Sniper_E wrote:I'll remove that Lumpy. New founder working on site and it's not setup correctly yet.
I was wrong. My link to phpBB Modders got mixed up. I had the wrong address. I fixed it in my sig.
Our new founder there had everything setup nicely... my bad.

Thanks for pointing that out Robert!
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17287
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Favicon Animated

Post by DavidIQ »

david63 wrote:Why do you need an extension for this when just uploading an animated favicon file will work anyway?
This was probably answered by the first post after you posted, but besides those reasons I find it sometimes unreliable to just plop the file in the site root and assume that viewing from the forum directory will pick it up. That might be because the browser is caching the previous icon it had found.
Sniper_E wrote:It would load the favicon.ico and then load the favicon.gif if the browser was compatible. Like most.
Else it would keep the favicon.ico as the favicon.

Then this ext would not be needed for an animated favicon if that was setup...
And the Favicon Notifications ext wouldn't need this either.
I used to work for a company that had bought error monitoring software for all sites they host. One of the top errors in the IIS logs was always the favicon.ico being missing. In order to "resolve" the error a favicon.ico file was added to every single site root, which made some clients a bit unhappy since it was the company logo, not theirs. In order to keep the same code base for everyone a client specific image was created for those that requested it and it was referenced using the <link> tag to an image processor that would determine which image was the right one.

Now circling back to your extension and thinking about that small and insignificant experience, having 2 references to a couple of images that may or may not exist is not likely something we'd want to do. We currently don't even include a default one either.

P.S. you're missing the proper topic prefix. Please fix.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Favicon Animated

Post by Sniper_E »

Thank you for that explanation and info DavidIQ.
I went simi-idle with this ext but I will proceed with it now.
DavidIQ wrote:P.S. you're missing the proper topic prefix. Please fix.
I set this ext to [RC] for the reason it does what it does and works well just the way it stands.
I see there is no need, imo, to expand this so I will keep it just the way it is. Simple.

I'll submit to the ext db and see what happens. Thanks for your input everyone.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Sniper_E
Registered User
Posts: 813
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [DEV] Favicon Animated

Post by Sniper_E »

DavidIQ wrote:P.S. you're missing the proper topic prefix. Please fix.
Sorry DavidIQ, you ended up being correct. But I forgot to change the prefix after denial. Done!

I'll have to come back and give this ext some more attention. Maybe add some acp options.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
Post Reply

Return to “Extensions in Development”