Previous Thread
Next Thread
Print Thread
Rate Thread
#279630 09/15/2004 2:12 PM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I created a favicon for my web site -the little icon in the url window. It will display on my index page, and it will display on my ubbthreads.php page. But as soon as I go to the postlist.php script the favicon returns to the windows default. I have the favicon in the root directory of my web server, and in the ubbthreads directory. How can I get the favicon to show up on every page?

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
where does the page source of postlist.php say it is looking for favicon?

234234 #279632 09/16/2004 12:51 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Thanks scroungr! I thought about putting it in the Threads images directory but I wasn't sure until I viewed source on the postlist page...

Edit: I spoke too soon: Even though it's looking for the favicon in /ubbthreads/images and even though I put a copy of it in the images directory it's still not working

Last edited by Dalantech; 09/16/2004 1:38 AM.
234234 #279633 09/16/2004 1:48 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I'm thinkin' it's path related...

<link rel="shortcut icon" href="/ubbthreads/images/favicon.ico" />

I'll look into changing it to an absolute path...

Edit: I changed

<link rel="shortcut icon" href="{$config['images']}/favicon.ico" />

to

<link rel="shortcut icon" href="{$config['imageurl']}/favicon.ico" />

in the ubbt_header.tmpl file so that I'd get the full path to the favicon and still no joy I do get the favicon on the index and the ubbthreads.php page but as soon as I drill deeper into the site, like to the postlist or showflat pages, the favicon changes back to the IE default. Maybe it's a browser bug...

Edit #2: I tested it with the default ubbt_header.tmpl file in Firefox and Safari -both retain the favicon no matter where you are on the board, so it looks like an error with IE...

Last edited by Dalantech; 09/16/2004 2:38 AM.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)