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

Jim Kinson replied to FedMedic's discussion Getting the 500: Unexpected Error... Anyone else?
"My 2.0 has been down for hours. I called Ning and waited 45 mins after they tried to connect me to …"
6 minutes ago
FedMedic replied to FedMedic's discussion Getting the 500: Unexpected Error... Anyone else?
"I agree Trad, not good. I'm about to launch a national promotion and this crap happens. I'm at my w…"
36 minutes ago
Radhika Bista replied to JFarrow's discussion TIP: How to Quickly Change Network Background and Track Pageloads
"That's good JFarrow. By the way, which tool you used above animated image. Is it GIF animator?"
40 minutes ago
Traddie replied to FedMedic's discussion Getting the 500: Unexpected Error... Anyone else?
"I have been down now for 3 hours exactly and still not sorted.  This is not good guys. "
59 minutes ago
Kos replied to FedMedic's discussion Getting the 500: Unexpected Error... Anyone else?
"Both my 2.0 and 3.0 seem ok.  Sre hope this gets resolved fast 4 u"
1 hour ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"No idea what you are trying to 'say' with the tv, JF....  ??"
7 hours ago
Vickie replied to Vickie's discussion Cannot Upload Photos
"Thanks so much for fixing this lickety split!"
9 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"not sure what your sayin there lol
but i am loving being able to upload full length hd videos up to…"
15 hours ago
JFarrow replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
""
18 hours ago
JFarrow replied to JFarrow's discussion Trick: How to Add Related Photos, Forum Posts and Blogs Widget
"i know right"
18 hours ago
JFarrow replied to Ryan O'Rourke's discussion Alternative to LinkWithin for Ning 2.0?
"Ryan... addthis.com also has a pretty easy and configurable recommended posts widget you could inst…"
18 hours ago
JFarrow replied to JFarrow's discussion Trick: How to Add Related Photos, Forum Posts and Blogs Widget
"cool glad you liked it..."
18 hours ago
JFarrow replied to JFarrow's discussion Trick: How to Add Related Photos, Forum Posts and Blogs Widget
"you're welcome"
18 hours ago
Mandie is now a member of Creators Dashboard
23 hours ago
Jonathan Aquino, Jie Huang, Pamela Hirschhorn and 7 more joined Ning Creators Network
23 hours ago
Kos replied to Connie enriquez's discussion Feature/functionality question - Member Video Upload
"Uploading videos was allowed under Ning's old 2.0 platform which is being phased out.  The new 3.0…"
yesterday
SweetPotato left a comment for Steph Garcia
"Welcome, Steph"
yesterday
Kos replied to Vickie's discussion Cannot Upload Photos
"Success! lol"
yesterday
SweetPotato replied to Vickie's discussion Cannot Upload Photos
"From Ning on Twitter......

@DeferoLaw Hi there! Our engineering team was able to resolve this issu…"
yesterday
Kos replied to Vickie's discussion Cannot Upload Photos
"They are on Pacific time so doors only opened recently.  It'll be a bit (I'm sure lots of tickets p…"
yesterday
More…