Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Cobra8007




Joined: May 05, 2005
Posts: 21
Location: Midwest City, Ok

PostPosted: Mon May 30, 2005 4:35 pm
Reply with quote

Where SHOULD I place the favicon statement in my phpnuke site? I have the html statement but I really need to know which file it is best placed for php.

Thanks
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
Ghost




Joined: Jan 08, 2005
Posts: 55
Location: Puyallup, Washington

PostPosted: Mon May 30, 2005 4:49 pm
Reply with quote

What is favicon?
 
View user's profile Send private message Send e-mail MSN Messenger
Cobra8007




Joined: May 05, 2005
Posts: 21
Location: Midwest City, Ok

PostPosted: Mon May 30, 2005 4:54 pm
Reply with quote

It is the icon that represents your site instead of the "blue e" in internet explorer. When a user saves your shortcut it includes the icon for their desktop or favorites folder.

I resolved it. After creating the icon, you can place the image (*.ico) in the root dir. Open header.php and make sure the reference path is directed to the root or in cases where the theme is selectable, you place it in the images folder of each theme and double-check the path in header.php

try it out on my site, http://www.blackopsmercenaries.us
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
Ghost




Joined: Jan 08, 2005
Posts: 55
Location: Puyallup, Washington

PostPosted: Mon May 30, 2005 5:02 pm
Reply with quote

Wow, sounds kool, so is this a downloaded script??? Or is there more thorough instructions?


Ghost
 
View user's profile Send private message Send e-mail MSN Messenger
Cobra8007




Joined: May 05, 2005
Posts: 21
Location: Midwest City, Ok

PostPosted: Mon May 30, 2005 5:08 pm
Reply with quote

Create a 16 pixel wide by 16 pixel high favicon.bmp file in a Program like MS-Paint, then use a program to reduce the colors to 16 colors [Image -> Decrease Color Depth], and then 'save as...' to a Windows Icon Format (favicon.ico). Upload the file with FTP to the root section of your web site (the first page area, where you put files like index.html). Open up index.html, and add this line after any meta tags in the HEAD section but before the </head>.
<link REL="SHORTCUT ICON" HREF="http://yoursitedotcom.here/favicon.ico">
If you are in a user directory, without a domain, add something like this instead:
<link REL="SHORTCUT ICON" HREF="http://yoursitedotcom.here/yourdir/favicon.ico">
Example: If you owned www.stopupgrading.com, you would create the file favicon.ico, and FTP it to your host. Then, you'd use this code:
<link REL="SHORTCUT ICON" HREF="http://www.stopupgrading.com/favicon.ico">
Reload the page... and try adding it to your favorites or bookmarks. Once you've added it to the favorites, close the browser and then open it again, and return to the site? Does it show up now? It should! Smile


FOR PHPNUKE

Place the favicon.ico file in your themes/images folder. I also like to include it in the root directory of my website for compatibility purposes. PHPNUKE themes already contains the code to look for and display/include the icon.
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
Ghost




Joined: Jan 08, 2005
Posts: 55
Location: Puyallup, Washington

PostPosted: Mon May 30, 2005 5:16 pm
Reply with quote

Dude, seriously, Thank you, I think I have an image I want to use...let me find it and I will post the results here!


Thank you,
Ghost
 
View user's profile Send private message Send e-mail MSN Messenger
Colossus
Site Admin
Site Admin



Joined: May 16, 2005
Posts: 23

PostPosted: Tue May 31, 2005 9:35 pm
Reply with quote

Cobra has it nailed with his response, I'm not sure about PHPNuke Vanilla , but I use PHPNuke Platinum and I believe it has the code already written to look for the favicon.ico by default, i think I remember some ways back playing with that and all I did was put it into the root of my site "/" and was ready to go looking through all the header.php and header.html files in my themes' folder and noticed it was already working, but, like I said, I dont know if that it Platinum specific or dependent upon my choice of themes.
Hmmm, maybe I should look into that on my site, you got me curious...........
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Guest







PostPosted: Wed Sep 14, 2005 10:55 am
Reply with quote

you can find how to add a favicon in the nuke how to!

it can be abit of a ball-acher tho, sometimes when you change or tryout a favicon, your server caches it, so it doesnt change until they empty the cache.
 
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©