ElkArte Community

Title: Adding an ad banner
Post by: elk_is_cool on July 15, 2016, 06:21:22 pm
My 3 Elk forums were all down for a day  (who knows if it was an a attack on my host or what, there not saying) but when my forums came back up the one with a banner ad at the footer was  missing the banner.  I forgot where I go to place the code to display it again.    Thanks....
Title: Re: Adding an ad banner
Post by: badmonkey on July 16, 2016, 12:47:37 am
The code shouldn't have changed due to being down unless you restored a backup.  Were you using an add on mod, or did you custom code it?  It may be missing a file.  Check the banner image file itself.  Hth!
Title: Re: Adding an ad banner
Post by: emanuele on July 16, 2016, 03:17:01 am
What badmonkey said.
Anyway, if I were to add ads, I would touch index.template.php.
But then again, it depends what you did. ;)
Title: Re: Adding an ad banner
Post by: elk_is_cool on July 23, 2016, 12:16:43 pm
I thought it my be easiest to just display the banner ad again, (I have the coding snippet for the banner), I just cant remember how I did it.  If it was a "post banners on your forum" plugin,  or an option that comes with Elkarte core.
Title: Re: Adding an ad banner
Post by: emanuele on July 23, 2016, 01:55:39 pm
It is easy, but it can be done in many (each of one easy) ways, so tell you which one to use is kind of difficult because we'd have to pick from several different options. So we'd have to either give them all, or pick one at random.

If it was me, I would have used http://addons.elkarte.net/feature/Simple-Ads.html
But I'm not you, so you may have edited a template file (index.template.php for example), or you may have used a SimplePortal html block.
Just to mention the first three options. ;)
Title: Re: Adding an ad banner
Post by: elk_is_cool on July 23, 2016, 06:56:41 pm
THAT was what I was looking for Emanuele!    Thanks much, that was what I used.   I don't want to mess with core files if I don't have to.  Off to get the Simple Ads addon....