1
Hotwire
PHPadsnew Code Insertion
  • 2004/6/27 1:18

  • Hotwire

  • Just popping in

  • Posts: 18

  • Since: 2004/6/10


I have 2 questions.

I created my own block, and called it advertisers. I then inserted the phpadsnew code. And i got a few problems. Here are my questions. I will post there code under them so you can see just what i did.

First one:
When I use the php insertion code it shows in the preview, but it wont work when i submit it to XOOPS. It wont even show the button. but the block title shows.







Second Question:
I then tried the java script insertion code. It worked, but i cant center the button on the block. here is my code.







If you can help me out at all that would be great.

Thanks.

2
jctsup1
Re: PHPadsnew Code Insertion
  • 2004/6/27 2:01

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


Can't answer the 1st part of your question but you can use the DIV tag to center your button in the block


Your Code


Please let me know how this goes as I am very intereted in this module.


3
Hotwire
Re: PHPadsnew Code Insertion
  • 2004/6/27 2:29

  • Hotwire

  • Just popping in

  • Posts: 18

  • Since: 2004/6/10


Thanks but it didnt work. The button still shows up with the java script, but its not centered at all. Ill try to play around with it, but im not too sure why its doing that.

4
evylrat
Re: PHPadsnew Code Insertion
  • 2004/7/3 11:09

  • evylrat

  • Not too shy to talk

  • Posts: 164

  • Since: 2004/2/25


It works on mine. Using Javascript for the Banner. Tried the IFrame option, which requires modding the THEME.HTML. Also tried putting the Javascript straight into THEME.HTML, all work!

<div align="center">
<
script language='JavaScript' type='text/javascript'>

script><noscript><a href='http://ads.cheshair.homedns.org/adclick.php?n=ab9d9926' target='_blank'>
<
img src='http://ads.cheshair.homedns.org/adview.php?what=zone:5&n=ab9d9926' border='0' alt=''>a>noscript>
<
BR>
Please support this website by visiting our affiliatesdiv>


Here is my block on http://www.cheshair.com for the banner.

Login

Who's Online

329 user(s) are online (228 user(s) are browsing Support Forums)


Members: 0


Guests: 329


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