1
montoya
banners not showing in custom block
  • 2005/7/29 18:49

  • montoya

  • Just popping in

  • Posts: 5

  • Since: 2005/7/18


Hi all.

I have a custom block i was using for some 120 width banners. I was just ussing html generated by the phpmyadsnew modual, but things stopped working after i upgraded to 2.0.13. The block shows the right code

<a href='http://ads.airsoftnewmexico.com/adclick.php?n=a60f5205' target='_blank'><img src='http://ads.airsoftnewmexico.com/adview.php?clientid=2&n=a60f5205' border='0' alt=''>a>


but XOOPS won't show the banner at all. In fact I looked at the html code, and the ad code is not there. I tried creating a brand new block with the same banner code, which ended with the same negative results. I unistalled the modual and installed the stand alone version of phpmyadsnew but I still can't get the banner to display. Will an upgrade to XOOPS 2.2 solve the problem? I'd rather not upgrade till a stable release is out. The block is @ airsoftnewmexico.com its called "off base". I thought perhaps my browser was blocking it, and after trying the site with konqueror I got the result. This normaly would not be a big deal, but I have been getting requests from businesses to advertise on my site, and I'd be insane to turn that down. Thanks for any help.

-adam


edit: I just turned on php debug, and this is what i got:

Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 628
Notice [PHP]: Undefined index: story_id in file templates_c/%%9A^9A3^9A3195A9%%db%3Anews_block_bigstory.html.php line 6
Notice [PHP]: Undefined index: xoops_ccblocks in file class/smarty/Smarty.class.php line 628
Notice [PHP]: Undefined index: xoops_rblocks in file class/smarty/Smarty.class.php line 628
Notice [PHP]: Undefined index: name in file templates_c/%%06^06C^06CE9EC4%%db%3Asystem_block_siteinfo.html.php line 12
Notice [PHP]: Undefined index: name in file templates_c/%%06^06C^06CE9EC4%%db%3Asystem_block_siteinfo.html.php line 12
Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084
Notice [PHP]: Undefined index: stories in file class/smarty/Smarty.class.php line 628
Notice [PHP]: Undefined index: xoops_module_header in file templates_c/%%02^02D^02DF536F%%theme.html.php line 35
Notice [PHP]: Undefined index: xoops_clblocks in file templates_c/%%02^02D^02DF536F%%theme.html.php line 112
Notice [PHP]: Undefined index: xoops_crblocks in file templates_c/%%02^02D^02DF536F%%theme.html.php line 131

2
rowdie
Re: banners not showing in custom block
  • 2005/7/29 20:31

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Did you update the system module?

3
montoya
Re: banners not showing in custom block
  • 2005/7/29 21:14

  • montoya

  • Just popping in

  • Posts: 5

  • Since: 2005/7/18


You know. I thought I did. I went thru all the trouble of regenerating all the templates etc. I reupdate it, and it works. Now I feel damn silly. Thanks

-adam

4
Gambero[removed]
Re: banners not showing in custom block

I really don't know ... try with this code:

<div align="center">
<
a href="http://ads.airsoftnewmexico.com/adclick.php?n=a60f5205" target="_blank">
<
img src="http://ads.airsoftnewmexico.com/adview.php?clientid=2&n=a60f5205">a>
div>

Login

Who's Online

245 user(s) are online (172 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits