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 Luke Jones's discussion buying Ning out
"26,000 creators with only around 30 who are happy and satisfied with their support presently..
good…"
1 hour ago
JFarrow replied to Anas Ghanim's discussion Need A Mobile App For My Network
"i second that Scott"
1 hour ago
JFarrow replied to Antonio Ancelmo Matos Santos's discussion A year of neglect!
"If you don't mind me asking what did the whole transition to Jamroom cost?"
1 hour ago
Luke Jones replied to Fred Peters's discussion I can't run a social community like this!
"If everybody could sign this petition please? :) With hope that it actually gets somewhere :) http:…"
3 hours ago
Luke Jones replied to Antonio Ancelmo Matos Santos's discussion A year of neglect!
"Strumelia please sign the petition ? :) I Know there's a good chance it probably wont make a differ…"
3 hours ago
Luke Jones replied to Luke Jones's discussion A social platform ?
"Um.... :P No? :P ,I dont know why, but I fancy having a go at creating my own, I know it sounds stu…"
3 hours ago
Strumelia replied to Luke Jones's discussion A social platform ?
"Take a guess what my answer might be?   :)"
3 hours ago
Strumelia replied to Antonio Ancelmo Matos Santos's discussion A year of neglect!
"Some continue waiting and hoping for Ning to actually give them an archive tool...but they said the…"
4 hours ago
Luke Jones replied to Antonio Ancelmo Matos Santos's discussion A year of neglect!
"Yep :/ sign my petition dude :) you never know it could work :) http://www.ipetitions.com/petition/&hellip;"
8 hours ago
soporte is now a member of Ning China
19 hours ago
Luke Jones replied to Luke Jones's discussion buying Ning out
":p ye but if we all got together :p"
yesterday
SweetPotato replied to Luke Jones's discussion buying Ning out
"Glam bought Ning for over $100m. They have a subscription model that probably yields over $2.5m per…"
yesterday
SweetPotato replied to Fred Peters's discussion I can't run a social community like this!
"PM me :-)"
yesterday
Fred Peters replied to Fred Peters's discussion I can't run a social community like this!
"Do you know how much people would charge to move my 800 members to WP (and still make it look good)?"
yesterday
Paul Asher replied to Fred Peters's discussion I can't run a social community like this!
"OK - Get back to me if you have second thoughts about JR :-)"
yesterday
Paul Asher replied to Fred Peters's discussion I can't run a social community like this!
"Will do"
yesterday
Luke Jones replied to marshall blake's discussion Loving My N3 Network
":) this could work out to be a good partnership lolWhat do you want to work on first ? :)"
yesterday
Strumelia replied to Fred Peters's discussion I can't run a social community like this!
"Paul you can go ahead and add my new site to the list in that "mysites" link if you like.   :)"
yesterday
Fred Peters replied to Fred Peters's discussion I can't run a social community like this!
"Hi Paul,

Many thanks!
Looks cool but I think I'll consider Wordpress first: free hosting and a pla…"
yesterday
marshall blake replied to marshall blake's discussion Loving My N3 Network
"Yes"
yesterday
More…