Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - How 2 upload favicon via ftp
How 2 upload favicon via ftp

10 Replies / 1678 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » How To's

View previous topic :: View next topic


odawgg
Reputation: 8.1 Add RepSubtract Rep
Local time: 7:21 PM

blank.gif

OMG
OMG

0.20 posts per day
Medals: 0

Joined: Jul 01, 2010
Last Visit: 04 Mar 2012
Posts: 142
Points: 5245 

Post How 2 upload favicon via ftp Posted: Mon Oct 11, 2010 12:56 pm

Where do I upload my custom made favicon for my evo site?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 10:21 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: How 2 upload favicon via ftp Posted: Mon Oct 11, 2010 1:25 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

I put mine in the root, then I added this line below the

Code:
    echo "<head>\n";


I put this

Code:
        echo "<link rel=\"shortcut icon\" href=\"./favicon.ico\"/>
    <link rel=\"SHORTCUT ICON\" href=\"favicon.ico\"/>";


Then I canceled out what evo put in like this.

FIND:
Code:
    if ((($favicon = $cache->load('favicon', 'config')) === false) || empty($favicon)) {
       
       if (file_exists(NUKE_BASE_DIR.'favicon.ico')) {
            $favicon = "themes/$ThemeSel/images/favicon.ico";

        } else if (file_exists(NUKE_IMAGES_DIR.'favicon.ico')) {
            $favicon = "images/favicon.ico";
           
        } else if (file_exists(NUKE_THEMES_DIR.$ThemeSel.'/images/favicon.ico')) {
            $favicon = "favicon.ico";

        } else {

            $favicon = 'none';
        }
        if ($favicon != 'none') {
            echo "<link rel=\"shortcut icon\" href=\"$favicon\" type=\"image/x-icon\">\n";
        }
        $cache->save('favicon', 'config', $favicon);

    } else {

        if ($favicon != 'none') {
            echo "<link rel=\"shortcut icon\" href=\"$favicon\" type=\"image/x-icon\">\n";
        }
    }


Change to:
Code:
/*    if ((($favicon = $cache->load('favicon', 'config')) === false) || empty($favicon)) {
       
       if (file_exists(NUKE_BASE_DIR.'favicon.ico')) {
            $favicon = "themes/$ThemeSel/images/favicon.ico";

        } else if (file_exists(NUKE_IMAGES_DIR.'favicon.ico')) {
            $favicon = "images/favicon.ico";
           
        } else if (file_exists(NUKE_THEMES_DIR.$ThemeSel.'/images/favicon.ico')) {
            $favicon = "favicon.ico";

        } else {

            $favicon = 'none';
        }
        if ($favicon != 'none') {
            echo "<link rel=\"shortcut icon\" href=\"$favicon\" type=\"image/x-icon\">\n";
        }
        $cache->save('favicon', 'config', $favicon);

    } else {

        if ($favicon != 'none') {
            echo "<link rel=\"shortcut icon\" href=\"$favicon\" type=\"image/x-icon\">\n";
        }
    }
*/
 

 
View user's profileSend private messageVisit poster's website Reply with quote

odawgg
Reputation: 8.1 Add RepSubtract Rep
Local time: 7:21 PM

blank.gif

OMG
OMG

0.20 posts per day
Medals: 0

Joined: Jul 01, 2010
Last Visit: 04 Mar 2012
Posts: 142
Points: 5245 

Post How 2 upload favicon via ftp Posted: Tue Oct 12, 2010 11:21 pm

which txt. file do I add the code to, configure.php, or is there a special favicon.txt file in my server files
 

 
View user's profileSend private messageVisit poster's website Reply with quote


DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 10:21 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: How 2 upload favicon via ftp Posted: Tue Oct 12, 2010 11:36 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

header.php in the root
 

 
View user's profileSend private messageVisit poster's website Reply with quote

odawgg
Reputation: 8.1 Add RepSubtract Rep
Local time: 7:21 PM

blank.gif

OMG
OMG

0.20 posts per day
Medals: 0

Joined: Jul 01, 2010
Last Visit: 04 Mar 2012
Posts: 142
Points: 5245 

Post How 2 upload favicon via ftp Posted: Sun Nov 07, 2010 3:01 pm

Okay, now which part of the change to code do I add the link to my favicon cause I have it uploaded to photobucket which I might change because they keep messing up on me, have any suggestions for a more stable image host?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 10:21 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: How 2 upload favicon via ftp Posted: Sun Nov 07, 2010 6:32 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

your favicon.ico needs to be on your site, in the root.
 

 
View user's profileSend private messageVisit poster's website Reply with quote


odawgg
Reputation: 8.1 Add RepSubtract Rep
Local time: 7:21 PM

blank.gif

OMG
OMG

0.20 posts per day
Medals: 0

Joined: Jul 01, 2010
Last Visit: 04 Mar 2012
Posts: 142
Points: 5245 

Post How 2 upload favicon via ftp Posted: Sun Nov 28, 2010 6:55 pm

ok, after I change the code, where do I upload the image in my root folder, & where do I add the links to my favicon in the header.php?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 10:21 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: How 2 upload favicon via ftp Posted: Sun Nov 28, 2010 7:07 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

odawgg wrote:
ok, after I change the code, where do I upload the image in my root folder, & where do I add the links to my favicon in the header.php?


Read the post I did above, the answers are right there. I am truly sorry, but questions like where in my root when I said it at least twice in this thread to put it in your root is one of the things that really annoy's me. If it was going to be any where else, I would say that spot, but when I say put it in the root, then it should go in the root folder. If I said put it in the images folder in the root, then that would mean put it in the images folder in the root, public_html/images/

But I did not say that, I said the root, just put it in the root. Please read what instructions we give you for the answers are plain as day. I can not dumb down the answer anymore unless I do it for you or I do a video tutorial, which i wont for this to me is not hard enough to merit me doing one and wasting more of my bandwidth.

As for the coding, its already in the post above also. If you put this into your header.php,
Code:
        echo "<link rel=\"shortcut icon\" href=\"./favicon.ico\"/>
    <link rel=\"SHORTCUT ICON\" href=\"favicon.ico\"/>";
then you already linked it, look at the code, study it a little, work on your problem solving. Its the lack of effort and actually looking at the stuff before posting questions like this that gets to me.

I have no problem helping, but a little effort is required on your part. Also, DO NOT TRY using a .gif, or a .jpg or any other image as a favorite icon. You need to use a .ico and no, they are not created by changing the file type.

Google if you don't know how to, there are favorite icon converters out there online where you upload your image and it converts it for you free.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

odawgg
Reputation: 8.1 Add RepSubtract Rep
Local time: 7:21 PM

blank.gif

OMG
OMG

0.20 posts per day
Medals: 0

Joined: Jul 01, 2010
Last Visit: 04 Mar 2012
Posts: 142
Points: 5245 

Post How 2 upload favicon via ftp Posted: Tue Nov 30, 2010 2:11 pm

I DID IT, I ACTUALLY DID IT, see for yourself http://thedawgclan.000page.com/ , I love you man, sorry for not putting in an effort earlier, also, tell me, does this domain work for you http://thedawgsite.tk/index.php cause it wont work on my computer, & I made the favicon myself, do you like it?
 

 
View user's profileSend private messageVisit poster's website Reply with quote


DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 10:21 PM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.36 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 26 May 2012
Posts: 2331
Points: 136112 

Post Re: How 2 upload favicon via ftp Posted: Tue Nov 30, 2010 3:06 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

both links you posted were dead links

EDIT: It was a comma that was at the end of your URL, I edited your post and put a space after it and now the URL works fine.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

tynman
Reputation: 424.5 Add RepSubtract Rep
Local time: 10:21 PM

usa.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Mar 19, 2007
Last Visit: 26 Nov 2011
Posts: 75
Points: 21781 

Post Re: How 2 upload favicon via ftp Posted: Wed Dec 01, 2010 1:28 am

Shop Purchases:
Call Of Duty (Warrior) Theme · Clan Roster v1.7 Php Nuke Module · Call of Duty 4 SAS Theme · Clan Roster 2.0 · Modern Gamer Evo Xtreme Theme · Call of Duty Black Ops Xtreme Theme · COD7 Video Teaser Splash Screen · Modern Warfare 3 Xtreme Theme

First link is working and Second is dead.

With the first link the favicon is working in IE, but not Firefox for me.
 

WebSite >>>Simple and Superb web Hosting >>> Email admin@DevilDogsHosting.com  
View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » How To's


 
10 Replies / 1678 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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 can download files in this forum