1
haisam
multiple banners by category, how?
  • 2004/1/11 15:42

  • haisam

  • Just popping in

  • Posts: 45

  • Since: 2003/11/11


I want to be able to have multiple banners which will generate different banners in different blocks. I know how to put banners in a block

echo xoops_getbanner();

If one cannot do what I'm asking is there a way to have random URL's popup in a block?

2
Mithrandir
Re: multiple banners by category, how?

As far as I can see, if you have multiple banners, a random one will be displayed.

Making a block with the xoops_getbanner() should generate another random one (but alas, it may very well be the same banner as has been picked before)

3
fredski
Re: multiple banners by category, how?
  • 2004/4/26 17:28

  • fredski

  • Quite a regular

  • Posts: 265

  • Since: 2004/1/26


I would like two banner sets, one that fits in the standard header part, and another set that would fit into a side block, both sets being random. any idea how i'd go about this?

4
JackJ
Re: multiple banners by category, how?
  • 2004/4/26 18:04

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


You could use the phpadsnew module, which is a pro-standard open source banner module, you can also use it as standalone.

It generates html code for the banners you set up. So you can use generated code in the XOOPS banners facility, and also create a custom block and use generated html code in the block, bypassing the XOOPS banner. Categories can also be set up in phpadsnew

https://xoops.org/modules/mydownloads/singlefile.php?cid=12&lid=123

5
fredski
Re: multiple banners by category, how?
  • 2004/4/27 7:15

  • fredski

  • Quite a regular

  • Posts: 265

  • Since: 2004/1/26


thanks JackJ, i'll try that today.

Login

Who's Online

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


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits