1
jlm69
Banner Hack Question
  • 2004/7/11 21:46

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I have made a hack to put banners (up to 8) in a right block, or anywhere you want. My only problem left is that I want to center the banner in the block. I am using this code in the block as php :

echo xoops_getbanner();

Is there anyway to center it in the block. Nothing i tried would work. Once I get this, and test it for a week or so, I will release it.

2
Herko
Re: Banner Hack Question
  • 2004/7/11 21:48

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


?

Herko

3
jlm69
Re: Banner Hack Question
  • 2004/7/11 21:55

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


That doesn't work. I would have to add

4
ajaxbr
Re: Banner Hack Question
  • 2004/7/11 22:10

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Perhaps
echo '';


If that doesn't work, could you post what HTML are you getting from that block?

5
jlm69
Re: Banner Hack Question
  • 2004/7/11 22:23

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


That Did it , Thanks alot.

This hack will allow you to add up to 9 other banners to your site. EX. banner1,banner2,etc. they are just cloned from the original banner system. You can make each one a different size if needed. Each one works exactly like the original banner system. Does not effect the original banner.
I needed something to put a column of banners down the right side of my site. Didn't want to go outside of Xoops.
Maybe this could be the start of a banner Module.

Is this something people would be interested in?

6
ajaxbr
Re: Banner Hack Question
  • 2004/7/11 22:46

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Could very well be
I'd love to have different banner collections, like one for the header and one for a small block... I guess it'd be feasible by cloning the core stuff and adding (aka borrowing from other modules) blocks and admin stuff. Anyway, I gotta forget XOOPS these next days so good luck

Login

Who's Online

110 user(s) are online (38 user(s) are browsing Support Forums)


Members: 0


Guests: 110


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