MU Advanced: Issues and Discussion
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • March 15, 2010, 08:14:48 PM
Home Forums Contact Tags FAQ Links News Login Register
* *
Navigation Menu
Search

Random Quotes
Everything takes longer than you think.
- Murphy's Law
Pages: [1]   Go Down
  Print  
Author Topic: custom favicons?  (Read 1338 times)
0 Members and 1 Guest are viewing this topic.
ZappoMan
Full Member
***

Karma: 1
Offline Offline

Posts: 157



View Profile
« on: September 29, 2008, 06:54:07 PM »

has anyone written a plugin or seen a plugin that lets users set their own favicons for their blog?

I can imagine how I'd write this... but if someone has one done already, that would be cool.
Logged

Yep, that's me... riding my bike 204 miles in one day.
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #1 on: September 29, 2008, 07:25:16 PM »

We talked about this once a long while ago when Andrew first came out with his blog avatar plugin.  The idea was to take the uploaded blog avatar and change it into a favicon at the same time it made all those different sized avatars.  The issue was there's no function in php to actually create an icon file although some browsers would support a (I believe it was) *.png as a favicon.

The discussion didn't do any further than that.
Logged

ZappoMan
Full Member
***

Karma: 1
Offline Offline

Posts: 157



View Profile
« Reply #2 on: September 29, 2008, 07:35:09 PM »

That's way more fancy than I need... I just want the simple, if you have a favicon.ico you can upload it and we'll serve it for you...

right now favicon.ico is served from the core in the wordpress(mu) root directory...

If I get around to it, I'll probably just hook the url in php and serve up a file from an alternate location.


Logged

Yep, that's me... riding my bike 204 miles in one day.
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #3 on: September 29, 2008, 09:58:52 PM »

Really?  I always though that was the easy way out.  Use the upload that's already there.  Just create anothe rimage where you;re already creating 4 or 5 of them.  You probably would have to rewrite the header.php's of all of your themes and change over the line that actually serves the favicon but you would probably have to do that with any solution since usually the favicon is already hardcoded into the theme.

Could just write a simple admin plugin with a single line form and tell your endusers to put the url of the favicon into that and serve that infor in the header.php.
Logged

Andrea_R
Key Master
*****

Karma: 5
Offline Offline

Posts: 1573


The spiky-haired mistress of homeschooling. (R)


View Profile WWW
« Reply #4 on: September 30, 2008, 07:44:31 AM »

Ah, I remember James asking about this somewhere...

http://wordpress.org/extend/plugins/maxblogpress-favicon/
http://wordpress.org/extend/plugins/blog-icons/

There's two to pick from.
Logged

Am I the only one with a sig?
Ah well, might as well read my blog for lols.
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #5 on: October 01, 2008, 03:09:57 PM »

ANyone know if either on eof those have issues with mu?
Logged

drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #6 on: October 03, 2008, 07:46:15 AM »

My concern with this is that if you use the premium's blog and user avatar plugins, this make a total of three avatars now that endusers have to keep track of.
Logged

Andrea_R
Key Master
*****

Karma: 5
Offline Offline

Posts: 1573


The spiky-haired mistress of homeschooling. (R)


View Profile WWW
« Reply #7 on: October 03, 2008, 08:34:59 AM »

The issue was there's no function in php to actually create an icon file although some browsers would support a (I believe it was) *.png as a favicon.

If you rename a .jpg as a .ico, it works.
Logged

Am I the only one with a sig?
Ah well, might as well read my blog for lols.
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #8 on: October 03, 2008, 01:51:19 PM »

So convert from *.png to *.jpg and then just rename?

I believe there's a function call that can do the conversion.

thanks
Logged

Andrea_R
Key Master
*****

Karma: 5
Offline Offline

Posts: 1573


The spiky-haired mistress of homeschooling. (R)


View Profile WWW
« Reply #9 on: October 03, 2008, 03:54:40 PM »

I've been making favicons from jpg's directly, so not sure. Smiley

But yeah, that'd probably work.
Logged

Am I the only one with a sig?
Ah well, might as well read my blog for lols.
Luke
Key Master
*****

Karma: 5
Offline Offline

Posts: 3592



View Profile WWW
« Reply #10 on: October 03, 2008, 04:26:44 PM »

That's cheating... Tongue

I had to get a Photoshop plugin for those dumb things. lol
Logged

10 frames?
Heh, that's for Quakers.

Note: This message may be Canadian friendly.

"Pornographic monster on the floor"
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #11 on: October 03, 2008, 05:58:01 PM »

I'll have to try that on the testbed then. 

Or should we just allow a separate upload for favicons?  Have to admit that since the blog avatar is a lot bigger than an favicon, chances are it's not going to come out too well.
Logged

Andrea_R
Key Master
*****

Karma: 5
Offline Offline

Posts: 1573


The spiky-haired mistress of homeschooling. (R)


View Profile WWW
« Reply #12 on: October 04, 2008, 06:27:49 AM »

Yeah, I'd allow it separate. For one, it;s tiny. For the other, less people are going to know what the heck it is.
Logged

Am I the only one with a sig?
Ah well, might as well read my blog for lols.
Tags: favicon 

Pages: [1]   Go Up
  Print  
 
Jump to:  


Login
 
 
Recent Posts
Recent Topics
No new topics.
Hot Tags
Whos Online
2 Guests, 0 Users
Home Forums Contact Tags FAQ Links News Login Register