11
noisia
Re: Banner Manager module
  • 2005/2/18 0:24

  • noisia

  • Not too shy to talk

  • Posts: 123

  • Since: 2004/8/24


Quote:
Why can't you just place the code in a custom block you create? What's the advantage of using TinyD?

You can create a block in the block admin and set it to "PHP Script"
Then copy the invocation code into block:

le="color: #000000"><?php // First ad if (@include(getenv('DOCUMENT_ROOT').'/new/modules/phpads/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('zone:6', 0, '', 'source of the ad', '0', $phpAds_context); echo $phpAds_raw['html']; } echo "<br><br>"; // Second ad if (@include(getenv('DOCUMENT_ROOT').'/new/modules/phpads/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('zone:11', 0, '', '', '0', $phpAds_context); echo $phpAds_raw['html']; } . . // Third ad


You can create various blocks and place them where ever you like. It is a bit of work, but once you set them up, PHPAds will take care of all the rest.

12
twitaman
Re: Banner Manager module
  • 2005/2/18 1:31

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Okay, I got that to work. But what it comes surrounded by the border line that I have set for my normal blocks. I don't think I want borders around the ads. And it was left justified, is there a way to easily center all ads in blocks?

I would still like to know why someone suggested using TinyD to display ads. And how do you use TinyD to do this?

13
twitaman
Re: Banner Manager module
  • 2005/2/18 20:01

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I'd still like to know exactly how you use TinyD to display ads with phpAdsNew?
Quote:

twitaman wrote:
Okay, I got that to work. But what it comes surrounded by the border line that I have set for my normal blocks. I don't think I want borders around the ads. And it was left justified, is there a way to easily center all ads in blocks?

I would still like to know why someone suggested using TinyD to display ads. And how do you use TinyD to do this?

14
twitaman
Re: Banner Manager module
  • 2005/2/21 17:50

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


just trying to see if someone has any tinyd info -- how do you use it with phpadsnew?

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits