![]() |
Hmmm well if someone installs this can they link me and i'll put it in their post (obviously with their permission :p)
- miSt |
I would install this, but the fact that it is manually edited (to change banners and stuff) that is the con in my view of this hack, the rest looks good.
|
PPN made an advert manager .. isn't this the same?
|
Hello, I'd like to ask where I can put the url for the banners?
I know I can put more banners creating my own variable, they are just images but the url for them? thx |
nice one Mist!
Mist! I would just forget about global.php, why not just insert this code to the phpinclude, it will be easy to mod if you need to add a new banner. Also why list them as $banner[1]="banner1.gif"; $banner[2]="newthread.gif"; Why not make an Array. $banners=array('banner1', 'banner2'); Here is a simple way to do it, only takes 3 lines PHP Code:
DEMO: http://artwork.hololith.com/sigs.php - random http://artwork.hololith.com/sigs.php?show=draco v1 - static http://artwork.hololith.com/sigs.php?show=magal v1 - static http://artwork.hololith.com/sigs.php?show=kinght v1 - static This generates random signature, same way it would a banner ad, but its more advanced when it comes to code, about 13 lines. -------------------------- EDIT - Addon I am geting PMs from people that want diffrent urls to diffrent banners, here is the code This was tested and it works. PHP Code:
|
Your joking?
Just put this in <a href=\"http://url\"><img src=...........></a> And theres your code... Quote:
|
Quote:
Also PPN's hack doesn't currently work :p - miSt |
Quote:
- miSt |
Will this only work in the header?
|
No you can put the $banner variable in any template you wish :)
- miSt |
All times are GMT. The time now is 06:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|