vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Shortcut Icon in Address Bar (https://vborg.vbsupport.ru/showthread.php?t=111647)

Rukbat 03-28-2006 10:00 PM

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" />
just insert the path (in red above) to the image you want to use.

examples below:

bada_bing 03-29-2006 03:09 PM

Reserved for future use

DementedMindz 03-29-2006 03:59 PM

um dont vbulletin have this stock i see my fav icon in firefox and didnt change nothing except the icon in root...

Rukbat 03-29-2006 04:09 PM

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.

DementedMindz 03-29-2006 04:17 PM

yeah you have to change the favicon.ico in root then it will display im lookin at mine on firefox now :)

Rukbat 03-29-2006 04:27 PM

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

DementedMindz 03-29-2006 04:30 PM

np :)

Trana 03-29-2006 06:22 PM

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!

dieselpowered 03-29-2006 08:53 PM

Quote:

Originally Posted by Trana
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!

Are you sure about that?

I just placed my favicon in my forum's root and it does not do anything???

DementedMindz 03-29-2006 09:05 PM

well then you didnt do something right... did you overwrite the stock vbulletin one?

DementedMindz 03-29-2006 09:07 PM

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....

DementedMindz 03-29-2006 09:09 PM

Quote:

Originally Posted by xtremeoff-road
Are you sure about that?

I just placed my favicon in my forum's root and it does not do anything???

also you need to check where you upload it too your not in your root..... your in your forums folder if this is your link look here
http://www.weapondepot.com/forums/favicon.ico

Trana 03-29-2006 10:11 PM

I put a copy in my forum root and my absolute root just to be sure.

Rukbat 03-30-2006 12:49 AM

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...

DementedMindz 03-30-2006 01:19 AM

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 :)

Trana 03-30-2006 01:28 AM

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).

MrNase 03-30-2006 09:13 AM

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. :)

Borimikan 03-30-2006 02:19 PM

how can i create my own favicon?

Tralala 03-30-2006 02:31 PM

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.

bada_bing 03-31-2006 01:30 PM

Quote:

Originally Posted by Tralala
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.

This did not work for me either.. Copied the new favicon to my forums root directory and added this above code in my headinclude-template: and saved exit the browser and back in and the icon did not show up in either Firefox or IE..

Rukbat 03-31-2006 02:26 PM

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

silurius 03-31-2006 09:44 PM

For further reference: http://www.chami.com/html-kit/services/favicon/

NR Fatal 03-31-2006 11:59 PM

[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.

NR Fatal 04-01-2006 12:01 AM

All you need to do is overwrite the current Favicon.ico

DerekD 04-04-2006 12:38 AM

If it doesn't work, just clear your cache and try again. Worked for me after I did that on my boards.

merlin101 12-30-2006 09:04 PM

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

GrendelKhan{TSU 02-05-2007 07:15 PM

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.

rjmjr69 03-06-2007 07:58 AM

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

dvbusuario 11-10-2007 05:33 PM

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
  • Page Generation 0.01443 seconds
  • Memory Usage 1,773KB
  • 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
  • (3)bbcode_code_printable
  • (3)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