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

Ken Rich replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"There is a Ning to Jamroom forum opened on Jamroom now. It has DOCS, FAQS, plus you can ask questio…"
2 minutes ago
Tim Atkinson replied to Tim Atkinson's discussion Comments on items only show intermittently in Activity Feed
"I filed a ticket, btw...."
4 hours ago
Alexander replied to Traddie's discussion Contingency Planning. What's Yours?
"We are remodelling New Covenant Network outside of Ning.

http://new-covenant.co.uk"
10 hours ago
Strumelia replied to Traddie's discussion Contingency Planning. What's Yours?
"Best of luck with your new site on SocialEngine, Jamie.  It's looking like I'll be doing some site…"
12 hours ago
Tim Atkinson replied to Traddie's discussion Contingency Planning. What's Yours?
"It looks really good, mate - well done. Well, apart from all the Liverpool stuff ;)"
13 hours ago
Melissa B replied to Traddie's discussion Contingency Planning. What's Yours?
"JomSocial"
13 hours ago
Pam Givens replied to Traddie's discussion Contingency Planning. What's Yours?
"Your site looks great.  Good job.  What platform is that on?"
13 hours ago
Jamie Baker replied to Traddie's discussion Contingency Planning. What's Yours?
"I say a sad goodbye to my Ning site today, which completes my migration to socialengine. A shame re…"
15 hours ago
Melissa B replied to Traddie's discussion Contingency Planning. What's Yours?
"Thanks!  Yes, I do!"
16 hours ago
Strumelia replied to Traddie's discussion Contingency Planning. What's Yours?
"Melissa, your new site's looking great!   You have a lot of members.  I bet you feel a sense of rel…"
16 hours ago
Melissa B replied to Traddie's discussion Contingency Planning. What's Yours?
"I just moved my site to a different platform and am very happy.
Old site is still up for the moment…"
17 hours ago
Randy L. Vollett replied to David's discussion Events
"Its still listed under IN WAITING for Upcoming Releases For Ning 3.0. Although I have not been arou…"
17 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"idk if this is at all related by on 10/26 I filed a ticket b/c my Leaderboards on a 2.0 network had…"
21 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Just filed my ticket - #888279, if anyone needs it..."
22 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"ok I decided to test out a page.  It wasn't in Design Studio but rather on the page itself.  Simple…"
22 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"I know it's not your code! It's just my only frame of reference for when the CSS changed!"
22 hours ago
SweetPotato replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"my reverted css occurred on a network without my photo code in it.
SP"
22 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Hi Kos & Ramin (and all),
Had a bit of time to investigate my history. Because all I've done recent…"
22 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"One would think if 'Ning' was fiddling in the backroom with their codes, the same would have happen…"
23 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"It's extremely strange.  I would definitely check your Design Studio 'History' and see if using one…"
23 hours ago
More…