Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Have a Forum Favicon Details »»
Have a Forum Favicon
Version: 1.00, by smartkidbk5 smartkidbk5 is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 06-20-2009 Last Update: Never Installs: 51
Template Edits
Code Changes  
No support by the author.

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

Download Now

File Type: zip ICOFormat-mac-CS3-CS4.zip (220.1 KB, 88 views)
File Type: zip ICOFormat-mac-PS3-CS.zip (20.1 KB, 35 views)
File Type: zip ICOFormat-win-32bit.zip (25.1 KB, 196 views)
File Type: zip ICOFormat-win-64bit-CS4.zip (139.8 KB, 104 views)

Screenshots

File Type: jpg faviconchrome.jpg (35.3 KB, 0 views)
File Type: jpg faviconfirefox.jpg (61.9 KB, 0 views)
File Type: jpg faviconie.jpg (31.1 KB, 0 views)
File Type: jpg faviconopera.jpg (39.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-21-2009, 05:17 AM
smartkidbk5 smartkidbk5 is offline
 
Join Date: May 2009
Location: NJ
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved*
Reply With Quote
  #3  
Old 06-21-2009, 10:36 AM
raja811 raja811 is offline
 
Join Date: Oct 2006
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #4  
Old 06-21-2009, 07:28 PM
80's 80's is offline
 
Join Date: May 2009
Location: T?rkiye
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it necessary? I think you should only change favicon file in forum's froot directory.
Reply With Quote
  #5  
Old 06-21-2009, 08:26 PM
smartkidbk5 smartkidbk5 is offline
 
Join Date: May 2009
Location: NJ
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 80's View Post
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.
Reply With Quote
  #6  
Old 06-21-2009, 08:51 PM
Extreme24 Extreme24 is offline
 
Join Date: Oct 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smartkidbk5 View Post
That only works for IE, it doesnt work for Firefox.
Really? It works just fine for me...

Takes a while to update (cache) but it changes just fine for me (I'm on the newest Firefox version.)
Reply With Quote
  #7  
Old 06-21-2009, 09:45 PM
smartkidbk5 smartkidbk5 is offline
 
Join Date: May 2009
Location: NJ
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Extreme24 View Post
Really? It works just fine for me...

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...
Reply With Quote
  #8  
Old 06-22-2009, 02:25 AM
Extreme24 Extreme24 is offline
 
Join Date: Oct 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 07-01-2009, 09:42 AM
Xeyn Xeyn is offline
 
Join Date: Jun 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on Firefox & Opera for me too.
Reply With Quote
  #10  
Old 07-10-2009, 02:51 AM
MattZ DSLR MattZ DSLR is offline
 
Join Date: Dec 2008
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you this worked great
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07039 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete