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 Trish White's discussion TEXT BOX NOT WORKING AGAIN
"Trish it must have something to do with the code you have added.  It's not happening to us so if I…"
38 minutes ago
Valerie commented on Crystal's blog post Migration to Ning 3.0 - Demo and Q&A Recording
"What's the cut off date to migrate to 3.0? Sorry but I don't want to have to read through a ton of…"
47 minutes ago
Luke Jones replied to Ning's discussion Update to Product Roadmap and Communication Changes
"does*"
1 hour ago
marshall blake replied to marshall blake's discussion Ning Announcements
"Thanks"
2 hours ago
Luke Jones replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Yep, this is the last update :sI said it to ning, their killing themselves, when they go under, the…"
2 hours ago
Nicolas replied to Nicolas's discussion Sorry! We're under maintenance.
"thanks Kos"
2 hours ago
Thiago Santos de Moraes replied to Jorge Vila's discussion Events
"You can create an event feature. See this simple solution."
2 hours ago
Jorge Vila replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Complaint to  Nings's parent company Mode Media Corporation"
3 hours ago
Jorge Vila replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Complaint to  Nings's parent company Mode Media Corporation"
3 hours ago
Jorge Vila replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Complaint to  Nings's parent company Mode Media Corporation"
3 hours ago
Jorge Vila replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Complaint to  Nings's parent company Mode Media Corporation"
3 hours ago
Jorge Vila replied to Ning's discussion Update to Product Roadmap and Communication Changes
"You should raise the complaint up to Mode Media Corporation, Nings parent company!"
3 hours ago
Jorge Vila replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Is this the latest Update from Ning? May 31,2014!"
3 hours ago
Jorge Vila replied to Jorge Vila's discussion Events
"Really? Is there anything that can be done? Anyone we can contact?"
4 hours ago
Strumelia replied to Luke Jones's discussion Cometchat are going to be the ones to save Ning
"Happily, I purchased the (correct) self-hosted option for my Jamroom site. But it was rather confus…"
4 hours ago
Kos replied to jean luc lebouteiller's discussion About Member page
".profileCoverArea {height: 125px;}

Or whatever you require."
6 hours ago
Kos replied to Nicolas's discussion Sorry! We're under maintenance.
"Yep, you're down.  The only way to contact Ning is here http://ec2-75-101-132-140.compute-1.amazona&hellip;"
6 hours ago
Nicolas replied to Nicolas's discussion Sorry! We're under maintenance.
"Good evening. My network is down.. know why sees this message?"
7 hours ago
Luke Jones replied to Luke Jones's discussion Cometchat are going to be the ones to save Ning
"I'm on it thank you :) ahaNathan Lewis from your team has access to my control panel and is adding…"
8 hours ago
Anant Garg replied to Luke Jones's discussion Cometchat are going to be the ones to save Ning
"Please email us at help (at) cometchat.com and our team will assist you further."
8 hours ago
More…