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

Strumelia replied to Jen's discussion Got Some Great Ideas for Member Gifts, Member Awards, or Contests?
"Hi Jen, I stumbled upon this older thread, but thought I'd post to show the current contest I…"
1 hour ago
Antonio Ancelmo Matos Santos replied to Ning's discussion Update to Product Roadmap and Communication Changes
"In a month, exited from 1.500 to more than 15.000 team members!!! As creator of Orbati Social…"
2 hours ago
Strumelia replied to Steve C's discussion Alternative to Photo Albums Needed
"Thanks TJ.    And isn't it you who provided the scrollbars I use on my Forum…"
2 hours ago
TJ @ jQueryHelp replied to Steve C's discussion Alternative to Photo Albums Needed
"Hi Strumelia, Thanks for the excellent question!  I've given some thought to how I would…"
2 hours ago
John Bizley replied to John Bizley's discussion How to get your Network Logo AND Your Network Name Both Showing Up ( Updated )
"Just added an additional tip to get the network name above the content and have your network logo…"
3 hours ago
George H. Compton IV replied to George H. Compton IV's discussion TIP Ning 3.0 & 2.0 timed Full screen overlay .. Update logged in divide delay fix.
"Update logged in divide delay fix.  If you're already using this tip just add the update…"
5 hours ago
Skye replied to Ning's discussion Update to Product Roadmap and Communication Changes
"+1"
5 hours ago
John Bizley replied to John Bizley's discussion How to get your Network Logo AND Your Network Name Both Showing Up ( Updated )
"Now updated this for both types of menu. The top code is for those with the menu at the top and the…"
5 hours ago
John Bizley replied to Lea Scott's discussion How do I stop the modules from expanding so much on some things. Is there a way?
"Your latest activity feed can be shortened like this, the line gets added into your css theme…"
5 hours ago
Zachary Moonshine replied to Mary Jane Peterson's discussion CometChat
"i plan on doing that but the chat i have now (addonchat) is paid for till september at that time i…"
5 hours ago
Simon Farnworth replied to Kos's discussion Forum tabs have DISAPPEARED!
"That the same message, verbatim, I got when I asked!"
6 hours ago
Simon Farnworth replied to Kos's discussion Forum tabs have DISAPPEARED!
"This is very worrying. Either they are swamped with tickets due to all the ongoing issues or Ning…"
6 hours ago
Nor Cal Social Media replied to Jeroen Beelen's discussion Email notifications (how do member stay up to date - even without being logged-in?)
"FALSE! All Ning Networks are online and speedy. Things are humming along nicely. This is not true…"
6 hours ago
Kos replied to Kos's discussion Forum tabs have DISAPPEARED!
"No response from Ning whatsoever.  I recreated the discussion tabs and linked them.  They…"
7 hours ago
Writer Chick {Diane} replied to Lea Scott's discussion How do I stop the modules from expanding so much on some things. Is there a way?
"There is a code for scrolling your Latest Activity module in THIS DISCUSSION."
7 hours ago
Strumelia replied to Kos's discussion Forum tabs have DISAPPEARED!
"Kos have you heard anything from your ticket yet?  Are your Forums all still gone?"
7 hours ago
Strumelia replied to Kos's discussion Forum tabs have DISAPPEARED!
"Kos-  gross!   lolol...."
7 hours ago
Strumelia replied to Kos's discussion Forum tabs have DISAPPEARED!
""If there are any changes made to this release timeframe, we will make an announcement."…"
7 hours ago
CocteauBoy replied to Ning's discussion Update to Product Roadmap and Communication Changes
"There are several other options that do far more than Ning, far more affordable, and treat their…"
7 hours ago
Jords replied to Kos's discussion Forum tabs have DISAPPEARED!
"Should be out end of July:"
7 hours ago