Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
I've tried adding a right-hand skyscraper and nothing appeared, even though I simply copied and pasted the code into the footer.php file. I gave up and then tried to add Google Adsense Search to the footer, but that's not appearing neither. I used the View Source function in my browser and the code is not even there, yet it is there in the footer.php file. What's up? It works just fine in the header.php file, so why not in the footer?

Sponsored Links
Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
I think Google Adsense we facing problems today, my site was not showing the ads for couple of hours and I thought I had the source wrong or something. But it worked again.

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
It can't be that because I have an add in the header.php file and it worked the whole time. It's the one I put into the footer.php that never showed up

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Does other code appear if you insert it - say a word or an image?


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
[]Ian_W said:
Does other code appear if you insert it - say a word or an image? [/]

Not only do I have an Adsense Search box in the footer.php file not appearing, I just added the img tag going to my site's banner, just as a test. Neither show up. If I didn't know any better, I'd say that footer.php was left out of the send footer function in ubbt.inc.php. I'll look into it now.

EDIT:
I opened ubbt.inc.php in a text editor and used the find function to look for footer.php and it only shows up in one spot:

[] if ($fheader) {
$file = "footer_$Board.php";
}
else {
$file = "footer.php";
}

@include("$thispath/templates/$tempstyle/ubbt_footer.tmpl");
} [/]

Does that look right?

Last edited by donJulio; 10/09/2004 11:12 PM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I fixed this - you were using an old version of ubbt_footer.tmpl which didn't have the include for the footer file.

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Yes, thank you, Josh


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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)