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

Kos replied to Tyler Durbin's discussion 2.0 Sliders instructions?
"Hey Tyler I used to use a slider designed by SweetPotato.  Maybe checkout his page and go through h…"
3 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Scott, I added a @media query that targets the Galaxy 111. Can you go have another look? :-)"
4 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Using either Chrome for IE on my GIII your http://beachcatsaustralia.ning.com site doesn't go respo…"
5 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Scott can you explain to me little more on what problems you are having with the Galaxy III, is it…"
5 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Hey Scott even better use this, I just wrote it :-) Redirect any individual page from your custom…"
5 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Even better. Good find. This one works even better, it's instant. I pasted it to the custom code bo…"
8 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Just an fyi- I tried Chrome too and then cleared cache and cookies, still didn't work. If you could…"
8 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"WOW Thank you for the compliment and the kind words Garfield :) Hope you have an awesome weekend."
11 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Thank you for the compliment Innocent Hami..  "
11 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"301 redirect generator!!Scott this should do the trick for any page you would like to be redirected…"
11 hours ago
Kos replied to Peter Matthews's discussion Faceted search for Ning 3.0?
"Faceted search, or advanced search as it is commonly called, has been around for a long time and ga…"
14 hours ago
Garfield Creator replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"This is a real contribution and service to the community. It would be easy to miss and not get the…"
15 hours ago
Innocent Hami left a comment for George H. Compton IV
""
21 hours ago
Innocent Hami replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"You are amazing George. I am a student and I am just the beginner of designing. Hope i will learn s…"
21 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Strumelia, be careful doing this. I'm not sure if this will pass on SEO for all your pages like a 3…"
yesterday
Kos replied to The Builder :)'s discussion Help! I need to file my ning network 3
"Legal avenues it is.  If they suddenly shut me down, I'll know why."
yesterday
Strumelia replied to The Builder :)'s discussion Help! I need to file my ning network 3
"Ning apparently has their own creative definition of the term "in the near future".
Like remember 3…"
yesterday
Kos replied to The Builder :)'s discussion Help! I need to file my ning network 3
"From Ning:

Thanks for writing us. At this time, we don't have an archiver tool in place that would…"
yesterday
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Scott she needed it for her whole network that's why the custom code box.I'm still working on your…"
yesterday
Fire-Tech replied to Fire-Tech's discussion 3.0 Tip: Message Notification Background
"Thanks guys... super simple.. but may find it handy ;)"
yesterday
More…