![]() |
Shortcut Icon in Address Bar
(not sure which 'prefix' to use here)
I hadn't seen this anywhere when I did a search, so here goes...: Add a unique Shortcut Icon (related to your forum content) in the browser address bar in front of the 'http://...." CNN has it, NOAA has it,IMDB has it.... lots of folks have it... why not YOUR forum! just add this code below/after the </title> tag in the templates (ie FORUMHOME, FORUMDISPLAY, GENERIC SHELL, search_forums, search_results....etc) Code:
<link rel="SHORTCUT ICON" href="http://*****.***/*****/imagename.gif" /> examples below: |
Reserved for future use
|
um dont vbulletin have this stock i see my fav icon in firefox and didnt change nothing except the icon in root...
|
Not really sure DM, I hadn't found it in my searches there or here. It works in Mozilla for my forum... replaced the 'standard' one that mozilla sticks up there with the image I chose to use....
the attachments below shcut-ex1 and shcut-ex2 show the 'standard' one mozilla sticks in there, shcut-ex3 show the one i use for my website and forum. |
yeah you have to change the favicon.ico in root then it will display im lookin at mine on firefox now :)
|
ahhh, thanks, i did this awhile back while i was still using phpbb2, i muxt have forgotten about changing that too i guess, tho i don't really remember doing so.... i'm a bit of a goofball anyway... lol
|
np :)
|
A Favicon is considered a hack? You don't even need to make the changes listed here if you REPLACE THE EXISTING FAVICON FILE IN YOUR FORUM ROOT.
This is practically a web standard, do a search for "favicon". You definately do not need to modify a template to get this to work! |
Quote:
I just placed my favicon in my forum's root and it does not do anything??? |
well then you didnt do something right... did you overwrite the stock vbulletin one?
|
every vbulletin comes stock with there icon as default well 3.5 and up.... im not sure about other version like 3.0 and stuff i never used them....
|
Quote:
http://www.weapondepot.com/forums/favicon.ico |
I put a copy in my forum root and my absolute root just to be sure.
|
I tried doing the favicon.ico thing (and I *did* upload to the correct place) but it didn't change anything. The only way it worked was to add the Shortcut Icon code with the path to a gif/jpg/png/etc image to the various templates...
|
nah it will work as long as its in the root... i had my vbulletin one in there for months... i-e sometimes dont show it until you book mark it but firefox will :)
|
You need to bookmark it as most browsers seem to cache it. If you add the bookmark it will usually display it properly (IE is still a bit wierd about it).
|
Why don't you just put your file with the name 'favicon.ico' into you forum's folder? The browser will automatically search for it and display it when needed. :)
|
how can i create my own favicon?
|
Not sure what this hack does, but I previously customized my favicon by following these instructions:
https://vborg.vbsupport.ru/showpost....40&postcount=2 I copied a new favico into my webtoot and then I pasted this line into my headinclude-template: Code:
<link rel="shortcut icon" href="favicon.ico" /> That's the only way I got it to work for all browsers. |
Quote:
|
exactly
The only work around for it I found was changing the templates by adding the code in the first post. Again it still doesn't work for IE, but does for Mozilla and FF |
For further reference: http://www.chami.com/html-kit/services/favicon/
|
[QUOTE=xtremeoff-road]Are you sure about that?
I just placed my favicon in my forum's root and it does not do anything???[/QUOTE] clear your history files, temp internet files, cookies, re-bookmark your page, lol. if none of those don't work, you didn't do it right. |
All you need to do is overwrite the current Favicon.ico
|
If it doesn't work, just clear your cache and try again. Worked for me after I did that on my boards.
|
ok i had same problems using .gif so i changed it all too "favicon.ico" put it in root folder, closed my browser, cleared the cache and temp finternet files etc etc , reloaded and it worked great in FF
|
OFFICIALLY SPEAKING:
FAVICON HTML Tag in HEAD Section: To link your html or xhtml file to a favicon, there are some different approaches: Standard: <link rel="shortcut icon" href="/favicon.ico" /> W3C Standard "best practised": <link rel="icon" type="image/x-icon" href="/favicon.ico" /> DepreciatedA.1:<link rel="SHORTCUT ICON" href="/favicon.ico" />A.3) So it is best practise to use just 2 tags: (for "official" compliance) <link rel="icon" href="/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/> for some custom templates, just replacing the default favicon doesn't do it and you gotta add the code to templates, like the header or forumhome etc. |
It needs to be added to the Header Template in order to appear on all pages with FF. Just include the code at the very top
|
Thank you very much!!
|
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|