You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 46 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - NukeCops icon in Firefox browser [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
skistyle
Private
Private


Joined: Dec 29, 2004
Posts: 40


PostPosted: Mon Aug 21, 2006 6:25 am Reply with quoteBack to top

Hey,
Anyone know how websites like NukeCops get the custom icons before the web address (in the address bar) and site name (on the window tabs) in the Firefox browser? I've been looking all over for this, but no luck.

Many thanks!
Find all posts by skistyleView user's profileSend private message
HalJordan
Support Staff
Support Staff


Joined: Aug 07, 2004
Posts: 1116

Location: Somewhere around Louisville, Kentucky

PostPosted: Mon Aug 21, 2006 6:48 pm Reply with quoteBack to top

You need a program to convert an image file to favicon.ico, the now-standard browser icon. Just google "favicon.ico convert" and have fun.

_________________
Obedezco, pero no cumplo.

Admin, www.thewyvernportal.com The Wyvern Portal (a Joomla site, sorry!)
Proprietor, www.computernewbie.info
Support staff, www.nukecops.com
Find all posts by HalJordanView user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
perfect-games
Site Admin
Site Admin


Joined: Jun 18, 2004
Posts: 207


PostPosted: Mon Aug 21, 2006 7:03 pm Reply with quoteBack to top

what art package do you use i see if i can find you something that will add support to it

as i use paint shop pro and photoshop myself and have exporter plugins to icon format

Steve
Find all posts by perfect-gamesView user's profileSend private messageSend e-mail
skistyle
Private
Private


Joined: Dec 29, 2004
Posts: 40


PostPosted: Tue Aug 29, 2006 4:35 am Reply with quoteBack to top

I use Illustrator 10 and Photoshop 7.0. I'll look around also, thanks!
Find all posts by skistyleView user's profileSend private message
skistyle
Private
Private


Joined: Dec 29, 2004
Posts: 40


PostPosted: Tue Aug 29, 2006 10:13 am Reply with quoteBack to top

Here's a really good link for a converter that does everything online:

http://www.htmlkit.com/services/favicon/

you can check my icon out at http://www.njdirt.com/06

Thanks again!
Find all posts by skistyleView user's profileSend private message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Sep 10, 2006 4:49 am Reply with quoteBack to top

You can use any image.

Just reduce the size to 16x16 and change the filename to favicon.ico

All of this can be done using MS Paint....simple and included in every version of windows

Smile

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
Fireboar
Corporal
Corporal


Joined: Dec 01, 2006
Posts: 64


PostPosted: Sun Dec 24, 2006 9:49 am Reply with quoteBack to top

True, true. Nobody needs a favicon converter... I got myself a little GIF and just changed the extension, and nobody's any the wiser.

How to implement favicons, though, is quite easy. Simply put favicon.ico in your root directory (normally public_html). I reccommend you add something to the header too. In PHPNuke it's really easy: just one file needs changing. I changed meta.php but I should probably have changed something else instead... anyway, it works. Simply put the following line somewhere in between the head tags:

Code:
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

_________________
http://www.fantasy-pc.com/ - PHP-Nuke website with a growing community where you can talk about anything.

Want a version of PHP-Nuke with all the bells and whistles removed? PHP-Nuke Lite is for you!
Find all posts by FireboarView user's profileSend private messageVisit poster's website
TAC_Double
Nuke Soldier
Nuke Soldier


Joined: Nov 08, 2003
Posts: 11


PostPosted: Tue Jan 23, 2007 11:09 am Reply with quoteBack to top

ok, can anyone tell me what file to change and what exactly to add to make this work on a nuke site.... would love to have it work, not having any luck.

Thanks
Find all posts by TAC_DoubleView user's profileSend private message
Fireboar
Corporal
Corporal


Joined: Dec 01, 2006
Posts: 64


PostPosted: Wed Jan 24, 2007 1:58 pm Reply with quoteBack to top

Well, waddo ya know? I've just rooted around header.php and found this:
Code:
    if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }


This is exactly the line you need. If you want a theme-specific favicon (in other words, a different favicon for each theme), go ahead and put your favicon.ico into the folder "themes/Your_Theme/images/".

If, on the other hand, you want a favicon for everything, you'll need to add something to header.php. Find the lines above, then add this just after the closing curly-bracket:

Code:
    elseif (file_exists("favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"favicon.ico\" TYPE=\"image/x-icon\">\n";
    }



That makes it so that if there's a favicon in your root directory, it'll use that by default, but if there's a favicon in a theme's images folder, that one will override the default favicon. So just make the change then upload the favicon.ico to your root directory.

_________________
http://www.fantasy-pc.com/ - PHP-Nuke website with a growing community where you can talk about anything.

Want a version of PHP-Nuke with all the bells and whistles removed? PHP-Nuke Lite is for you!
Find all posts by FireboarView user's profileSend private messageVisit poster's website
TAC_Double
Nuke Soldier
Nuke Soldier


Joined: Nov 08, 2003
Posts: 11


PostPosted: Thu Jan 25, 2007 6:23 pm Reply with quoteBack to top

FireBoar-


Thanks for you help, it worked great!
Find all posts by TAC_DoubleView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.323 Seconds - 146 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::