vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - Have a Forum Favicon (https://vborg.vbsupport.ru/showthread.php?t=216686)

smartkidbk5 06-20-2009 10:00 PM

Have a Forum Favicon
 
1 Attachment(s)
This hack is very simple. And creates a forum favicon on your site. A favicon is the small image that appears next to your site title in your browser's tabs.

To create a favicon:
First you need to create an image that is 16x16. It must be saved as "favicon.ico" You must save it as an ICO file, you cannot save it as another file type & just change it to a ".ico"

To Save an Image as an ICO file:
For Adobe Photoshop: Download the Plugin (Attached) & Move it to (In your Adobe Photoshop Folder)- Plug-Ins>File Formats
Now you need to create an image that is 16x16. Also remember, if you want your image to be transparent, make sure you delete the background layer. Once you are done creating your image, Click "File>Save As". Now you will see the option to save it as an ICO file, make sure you save it as an ICO file. Then save the file as "favicon.ico".

For GIMP (To Download GIMP, go to: http://www.gimp.org):
Create a 16x16 Image. If you want your image to be transparent: Click Layer>New Layer, then delete the background layer. Once you are done creating the image, click "File>Save As". Click the "+" that is next to "Select File Type (By Extension)", a dropdown will appear. Scroll down to "Microsoft Windows icon". Then save the file as "favicon.ico".

Now to put it on your forum:
First, upload the "favicon.ico" file into your directory. (You may upload it to any place you wish in your directory)
For Firefox:
In your AdminCP, go to: Styles & Templates>Style Manager
Select the style, and click the dropdown and go to: Edit Templates
Find the template named "headinclude" and click on it
At the very top of the template insert this text:
PHP Code:

<link rel="icon" href="http://yoursite.com/images/favicon.ico" type="image/x-icon" />
<
link rel="shortcut icon" href="http://yoursite.com/images/favicon.ico" type="image/x-icon" /> 

Insert the link to where you previously uploaded your "favicon.ico" file instead of both of the: "http://yoursite.com/images/favicon.ico"

For IE:
Upload the "favicon.ico" file to the root of your directory.
(Ex. If your site domain is "http://exngaming.com", then upload it right into that directory,
so the link would be "http://exngaming.com/favicon.ico")

smartkidbk5 06-21-2009 05:17 AM

Reserved*

raja811 06-21-2009 10:36 AM

thanks

80's 06-21-2009 07:28 PM

Is it necessary? I think you should only change favicon file in forum's froot directory.

smartkidbk5 06-21-2009 08:26 PM

Quote:

Originally Posted by 80's (Post 1834286)
Is it necessary? I think you should only change favicon file in forum's froot directory.

That only works for IE, it doesnt work for Firefox.

Extreme24 06-21-2009 08:51 PM

Quote:

Originally Posted by smartkidbk5 (Post 1834319)
That only works for IE, it doesnt work for Firefox.

Really? It works just fine for me... :confused:

Takes a while to update (cache) but it changes just fine for me (I'm on the newest Firefox version.)

smartkidbk5 06-21-2009 09:45 PM

Quote:

Originally Posted by Extreme24 (Post 1834330)
Really? It works just fine for me... :confused:

Takes a while to update (cache) but it changes just fine for me (I'm on the newest Firefox version.)

I even tried removing the code from the template, & it doesnt appear in firefox. also even if it works for your firefox it might not for others.

Also im not sure which way does it, but it also makes it work in Google Chrome and Opera.
Also its better to do both ways just incase, because there are always some people who are on older browser versions...

Extreme24 06-22-2009 02:25 AM

Yeah I guess you're right. No harm I guess in adding it in to make sure it shows up instead of wondering if it is or not. :)

Xeyn 07-01-2009 09:42 AM

Works on Firefox & Opera for me too.

MattZ DSLR 07-10-2009 02:51 AM

thank you this worked great :)

armthehomeless1 07-14-2009 05:23 AM

I've just got a favicon.ico in my domain root and it works for me in all browsers. It just doesn't appear straight away - takes a day or so to refresh.

knucklenitz 08-05-2009 04:19 AM

I made the custom icon and added to my forum root. It hasn't 'refreshed' yet but I also don't recall seeing the 'V' there either. Is there some other setting in IE or VB that needs to change?

I have visited others sites that say they have the icon and all that I see is the 'e' in front of a page for internet explorer. I tried Firefox and it does show up. Strange.

Thanks!

R1lover 08-05-2009 04:56 AM

There isn't any reason for a mod for this... all you do (as mentioned above) is place a favicon.ico file in your root directory. This works for IE, Opera, FF, and just about every browser.

If it's not working for you them clear your browser cache and try it again.

R1lover 08-05-2009 04:57 AM

Quote:

Originally Posted by knucklenitz (Post 1861615)
I made the custom icon and added to my forum root. It hasn't 'refreshed' yet but I also don't recall seeing the 'V' there either. Is there some other setting in IE or VB that needs to change?

I have visited others sites that say they have the icon and all that I see is the 'e' in front of a page for internet explorer. I tried Firefox and it does show up. Strange.

Thanks!

What version of IE are you running?

The latest versions of IE work as well with just the favicon file in the root directory, both on the address bar and the tabs as well.

ry215 08-05-2009 07:22 AM

This is not a Modification.

and have a tut for favicon:
https://vborg.vbsupport.ru/showthread.php?t=131191

Slugger00001 08-05-2009 10:05 AM

Theres no reason for this mod.. just replace the current favicon..

apiasto 08-05-2009 01:50 PM

was looking for this but its only working on FF not on ie. i did tried just by changing favicon in root directory before but it didn't work.it worked after adding code in temp

mabersoft 08-06-2009 12:18 PM

Thanks for this.

PS: Every 1 make sure the file is a .ico or it will not work. (I think)

knucklenitz 08-11-2009 05:03 PM

IE 6.0 SP2 for me.

Like others have said, it works in FF but not IE. Strange.

yamahapaul 08-16-2009 12:35 PM

1 Attachment(s)
Quote:

Originally Posted by R1lover (Post 1861626)
There isn't any reason for a mod for this... all you do (as mentioned above) is place a favicon.ico file in your root directory. This works for IE, Opera, FF, and just about every browser.

If it's not working for you them clear your browser cache and try it again.

Can anyone tell me where to add it on this pic please :o

Attachment 103296

H22A 12-02-2009 07:38 PM

thanks

necie_r 03-08-2010 03:29 AM

Thanks so much! I thought I was going crazy - I updated my new favicon, cleared the cache and the darn thing just wouldn't update. But now all is well. Thanks!

BirdOPrey5 05-17-2010 02:04 PM

Quote:

Originally Posted by yamahapaul (Post 1868457)
Can anyone tell me where to add it on this pic please :o

Attachment 103296

Exactly where you are, web root.

HondaStreetCult 05-19-2010 01:20 PM

what program are you guys using to create your on .ICO files?

I cant do it on CS4...

yamahapaul 05-19-2010 01:31 PM

Quote:

Originally Posted by HondaStreetCult (Post 2039833)
what program are you guys using to create your on .ICO files?

I cant do it on CS4...

I changed the file extension of mine using Gimp and its free too!

BirdOPrey5 05-20-2010 07:47 PM

Quote:

Originally Posted by HondaStreetCult (Post 2039833)
what program are you guys using to create your on .ICO files?

I cant do it on CS4...

A program called "Microangelo" is kind of the photoshop of icon files, been around since as long as photoshop itself almost. I know they offer a free trial but you do have to eventually pay for it. Might be overkill for a favicon but consider it if you think you have a need for other icon files.

sarasotarepub 09-27-2011 12:30 PM

Question...

I have my Favicon working for FireFox and Chrome users but I and other users have IE. I'm using IE 9 and the Favicon is still not showing. Any suggestions??? Thanks!

sarasotarepub 09-28-2011 10:45 AM

OK I have had the ICO file in the right place for over 2 days now and I even did a server reboot yesterday but my Microsoft IE useres (including me) still can't see the the new Favicon. My Chrome and FireFox people can see it.

Followed the directions, any ideas as to why the thing is still AWOL??? Thanks!!!

sarasotarepub 09-28-2011 05:57 PM

Oops! Nevermind.:o

It finally showed!


All times are GMT. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01321 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete