|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
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? ![](https://ubbdev.com/forum/images/graemlins/confused.gif)
|
|
|
|
Joined: Feb 2003
Posts: 196
Member
|
Member
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
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 ![](https://ubbdev.com/forum/images/graemlins/confused.gif)
|
|
|
|
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 at the moment - but expanding all the time....)
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
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.
|
|
|
|
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. ![](https://ubbdev.com/forum/images/graemlins/wink.gif)
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
Joined: Jun 2002
Posts: 670 |
Yes, thank you, Josh ![](https://ubbdev.com/forum/images/graemlins/laugh.gif)
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|