Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

NC for Hire

Hi folks,

I think many NCs were desperately looking for a solution to embed paypal widget in their blogs lately. 

So here is the solution:

Use this code in Custom code area.

THIS CODE IS FOR ALL BLOGS

<script type="text/javascript">
x$(document).ready(function() {
x$(".xg_span-16 .xg_blog .postbody").after('<div style="float:right;">PAYPAL EMBED CODE GOES HERE</div>');
});
</script>

 

THIS CODE IS FOR SPECIFIC BLOG
<script type="text/javascript">
if (window.location.href.split('blogs/')[1] == 'YOUR_BLOG_NAME') {
x$(".xg_span-16 .xg_blog .postbody").after('<div style="float:right;">PAYPAL EMBED CODE GOES HERE</div>');
}
</script>

Understanding YOUR_BLOG_NAME http://www.YOURSITE.com/profiles/blogs/YOUR_BLOG_NAME

You may want to contact me for custom design and custom solution @ bernardmax2@gmail.com

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • Hi

    nice tip!

    do you have a similar code for adsense adverts? I tried the above the absense and didnt work

    thanks

  • thanks

    i wish a code that makes it appear on the very bottom - that one in the link make it appear after paragraph

    • NC for Hire

      Credit goes to Sweetpotato

      Why don't you the same code after modifying a little bit...

      give this a try..

       

      <!-- Insert Ads INSIDE Blog Posts by SweetPotato -->
      <div id="ad_after_jump" style="display:none;">
      <!-- Advert Script START -->
      Your google ads goes here
      <!-- Advert Code END -->
      </div><script type="text/javascript">if (typeof(x$) != 'undefined') {  x$('.xg_widget_profiles_blog_show .postbody ').after('<p style="font-weight:bold;"><div id="ContentAdverts"></div>');    var inject_SPadverts = document.getElementById('ad_after_jump');    var SPadverts = document.getElementById('ContentAdverts');    SPadverts.innerHTML = inject_SPadverts.innerHTML; }</script>

      • hey!! thanks a lot  - it worked!

      • somehow using this code my adsense adverts are appearing perfectly when using Firefox and Opera browsers but do not appear at all when using internet explorer - the other adsense adverts not using this code are appearing okay using IE

        • NC for Hire

          I Need to check it. I will check it when I get time. Thanks

          • no problem

            • Hey Bernard, thanks for this post. Is there a way to repeat this for forum discussions? I would like to be able to create a series of helpful forum discussion about products that support the free educations videos and articles we post. I find that my PayPal form codes and content are always stripped from any forum discussions I add.

              Thanks!

              • NC for Hire

                Hey James. You are welcome.

                 

                Use this class

                .xg_span-16 .description

                instead of this class

                .xg_span-16 .xg_blog .postbody

  • This doesn't work on my network and I tried everything,I dont know why????

    Waiters Today Social Network

     

This reply was deleted.

Search the Creators Network

Latest Activity

⚡JFarrow⌁ replied to Andrzej Góralczyk's discussion How to list all tags used in the site?
"indeed it is.. thanks!"
6 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"glad you found it useful...  for some reason the load time is still there but the ads aren't  need…"
10 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion Megaload of Ning Tips, Tricks and Hacks (over 200+)
"Garfield, that is AWESOME... thank you so much for letting me know.  Great work bud!"
10 hours ago
Garfield Archivist replied to ⚡JFarrow⌁'s discussion Megaload of Ning Tips, Tricks and Hacks (over 200+)
"Hey J Farrow,
Just wanted to again acknowledge you for sharing this and let you and everyone else k…"
15 hours ago
Fire-Tech replied to Alyce Keegan's discussion Problems reverting to old site theme
"Will do girl. I'll hit you up on JS"
16 hours ago
Steve C replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"Thank you, JFarrow!!! I just saw them this morning and was had a cow when I saw the ads on my site.…"
16 hours ago
Garfield Archivist replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"Looks like they are back again."
17 hours ago
Kos replied to Vickie's discussion Ad Choice Advertisements
"You may want to join in this discussions already taking place http://creators.ning.com/forum/topics&hellip;"
17 hours ago
martinanaya replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"YES! It just started happening to me today! Why?? Help! I contacted the INDIA based customer servic…"
20 hours ago
Jen replied to Alyce Keegan's discussion Problems reverting to old site theme
"Fire-Tech, if you haven't moved forward yet, let's talk. =)"
22 hours ago
Just Asking replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"This is actually scary when you point all that out. That's the kind of thing that Experience Projec…"
yesterday
Garfield Archivist replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"Looks like they went away."
yesterday
Kos replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"I checked Suzie's 2.0 and there's nothing there (yet). You have to laugh - they don't finish buildi…"
yesterday
Garfield Archivist replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
""
yesterday
Just Asking replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"That's so weird. I didn't get them, but I'm glad you asked about a fix. I'll be popping that code i…"
yesterday
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"nope they just started showing up, but i had to remove them because like 40 members were complainin…"
yesterday
Just Asking replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"Oh my gosh. They just appeared on a Ning 2 site? You don't run any other ads at all that you could…"
yesterday
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"add this to your design studio CSS
#glm-sto-tel1-wrap {  display: none!important;}"
yesterday
Mandy replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"OMG just noticed them today!
How can we stop these, opt-out? I don't want them either!"
yesterday
Kos replied to ⚡JFarrow⌁'s discussion MODE ADS ? Really?? Anyone Else?
"Not me but my site doesn't have the draw that yours does."
yesterday
More…