Support Forum

Any thoughts for a advertisement plugin?

1 2 3 >
kvr28
Member
Free Members
Oct 5, 2014 - 3:02 pm

I know we can edit theme files to insert ads into the forum, but a plugin that you can just paste code and choose where you want it to be seen would be awesome, it's the only thing I miss from mingle, just a idea

Mr Papa
Simi Valley, CA
Member
Free Members
Oct 5, 2014 - 4:49 pm

problem with such a plugin is that it potentially would be very limiting on where to display an ad... remember that by modifying your template files you can completely change the look of your forum... perhaps elements are removed or reordered or new ones added...  would be quite difficult, short of 'before forum' and 'after forum' to guarantee any particular location would be the same from site to site...

putting in the template file yourself is much more powerful and allows complete control...

kvr28
Member
Free Members
Oct 6, 2014 - 1:56 pm

understood, but honestly there are usually only a couple areas where people want ads, top of forum, bottom of forum, in posts, ect. I will see if I still have a copy of mingle, if so, I will upload it on my staging site and see what all the options were, they pretty much covered all the needs, also, from a user perspective, it would be much simpler to paste a code and click a button where it should be shown, for you, it is much easier to edit a file, but for people without the knowledge, it is a struggle

kvr28
Member
Free Members
Oct 19, 2014 - 11:53 am

found a copy, this was the options they had for mingle, you click a box and it gives you an option to paste the code

Image Enlarger

Mr Papa
Simi Valley, CA
Member
Free Members
Oct 19, 2014 - 12:06 pm

Mingle is more fixed format...  with simple press and themes, you can organize it just about any way....  except for before forum and after forum, the 'locations' can vary from theme to theme...

personally, I would rather be able to locate it wherever or exactly where I want it... 

but as I said, can understand how it might aid less technical savvy folks... just hard to do one size fits all...

kvr28
Member
Free Members
Oct 19, 2014 - 12:22 pm

is this something that could be a custom plug in then? I have read through all the adsense posts I can find, and I still screw it up 

Yellow Swordfish
Glinton, England
Member
Oct 19, 2014 - 3:35 pm

well let's take a step backwards. Where do you want the adsense block to appear? If you send us the code you have been given from Google we can advise on where and how to use it.

kvr28
Member
Free Members
Oct 19, 2014 - 6:20 pm

I've tried adding to the header like the one above, I've tried adding after first post by following the directions here

https://simple-press.com/docum.....the-forum/

and this one

https://simple-press.com/suppo.....r-adsense/

and it breaks the forum

Mr Papa
Simi Valley, CA
Member
Free Members
Oct 19, 2014 - 7:19 pm

Andy asked you for the code you are trying to output...  and we can help give the syntax to make it right...

paste it here, then highlight it and select the code button so it shows up properly...  and pick a spot to display - those two examples are not in the same location...

kvr28
Member
Free Members
Oct 19, 2014 - 7:24 pm

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Responsive -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
data-ad-slot="xxxxxxxxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

1 2 3 >