Hi
This is a simple yet potentially lucrative tip to insert Google Adsense or Yahoo/Bing Ads (or anything really) after the first paragraph (defined by <p> tags) in all content in forum or blog posts (including member posts).
ADS IN BLOGS:
Click to enlarge preview
Here is the script to insert adverts under the first paragraph in BLOG POSTS. The red script will need to be replaced with your own Google Adsense or Yahoo/Bing ads script.
Put it in your custom code box:
ADS IN FORUM POSTS - same as above but use this code and change the red script.
I have tested this pretty thoroughly and only come across a couple of instances where the ads weren't where I expected them to be. 95% of the time they are after the first paragraph, assuming that the html generated in the content has the correct <P>tags.
If your ads are not going to fill the width of the page, for example if they are 200px wide, and you want the following paragraph to wrap around the advert then add this css to your advanced css section:
#ContentAdverts{
width:220px;
float:left;
margin-right:15px;
}
If you want to remove the 'Continued after the jump wording then delete <p style="font-weight:bold;">Continued after the jump ....</p></br> from the code above.
Play around with it and see how you get along.
Enjoy
SP
Tags: , Insert, , , Paragraph, , Paragraph, Paragraph, Adverts, Adverts inside Blogs, Forum", Insert Adverts in Content after the First Paragraph, Paragraph, Paragraph", inside
Permalink Reply by M.Tariq Malik on October 26, 2012 at 8:45am 
This week seems to be getting better. We can say tips week. Another great tip. Keep it up SP.

SP your code is awesome. I also was on jensocial that AD can be infront of the text. I was wondering if you know how to do that.
With this you dont get a space between the paragraphs.
Found it on thispage http://jensocial.com/group/ningnetworktips/forum/topics/crazy-desig...

did you add the css that I mention above?
Great. It worked.I salute you boss. Enjoy your day.

Great stuff. Pleased it works.
SP
Hi SP,
I saw this from jen and I was wondering if you could combine it with yours so we have one add after the first paragraph and one at the button?
http://jensocial.com/forum/topic/show?id=2154984%3ATopic%3A477210&a...

Permalink Reply by mobile.ning.com on November 6, 2012 at 1:44pm Testing <!-- Insert Ads INSIDE Blog Posts by SweetPotato --> with good results.
I also replace "Continued after the jump ...." which appears in the output for a link to my site. Looks good, too and I have not generated any problem.
I really do not have any idea of what "Continued after the jump ...." means or what is intended to do?

Andrew Sanderson replied to Andrew Sanderson's discussion 'Video chat for ning network'
Kos replied to Diego Biasi's discussion 'Remove SignUp function (but keep SignIn)'
Kos replied to Elshara Silverheart's discussion 'More Feature Requests'
Diego Biasi joined claudio falvo's group© 2013 Created by Ning.
