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 AnGella's discussion Ning 2.0 Where are we at?
"Hey long time no see.   !
Yes active ning 2.0 sites are still being billed, at the same 2.0 rates. …"
1 hour ago
Luke Jones replied to Luke Jones's discussion How do I improve my websites page rank ?
"aha don't be sorry , I want to improve the google page rank for my website, and I want to get it so…"
3 hours ago
Strumelia replied to Luke Jones's discussion How do I improve my websites page rank ?
"You'll have to clarify exactly what you are asking, sorry."
3 hours ago
Luke Jones replied to Luke Jones's discussion How do I improve my websites page rank ?
"I know it is, but I wanted to know both things aha"
3 hours ago
Strumelia replied to Luke Jones's discussion How do I improve my websites page rank ?
"Well, browser/google autofill is a completely different thing from webpage ranking."
4 hours ago
Luke Jones replied to Luke Jones's discussion How do I improve my websites page rank ?
"Ye aha I mean auto fill when I say suggestions "
4 hours ago
Strumelia replied to Luke Jones's discussion How do I improve my websites page rank ?
"I don't think that example is a realistic expectation.  Unless you are talking about auto-fill."
4 hours ago
Tim Atkinson replied to Kos's discussion Photo Distortion. Am I The Only One?
"Hi John - same for me - look at the grim colouring in the Twitter/Facebook/yahoo etc box in the gro…"
5 hours ago
Kos replied to Kos's discussion Photo Distortion. Am I The Only One?
"It's the png from what I gather but then why is it even being accepted?  They discussed it here htt…"
5 hours ago
John Bizley replied to Kos's discussion Photo Distortion. Am I The Only One?
"Hmm interesting, there is for sure something being done to the image to make it look like that yell…"
5 hours ago
Kos replied to Kos's discussion Photo Distortion. Am I The Only One?
"Sure, have at it.   For 3.0 check out http://stockbuz.net/charts..........and notice how hideous th…"
6 hours ago
John Bizley replied to John Bizley's discussion Updated Photos Page on my site re-design, see what you think
"Thanks Luke :-)"
6 hours ago
John Bizley replied to John Bizley's discussion Updated Photos Page on my site re-design, see what you think
"Thanks George :-)"
6 hours ago
John Bizley replied to John Bizley's discussion Updated Photos Page on my site re-design, see what you think
"Thanks Kos, just updating a few bits and a little more testing then will pop up the code in a few d…"
6 hours ago
John Bizley replied to John Bizley's discussion Updated Photos Page on my site re-design, see what you think
"Thanks JF, this is a newer site. The details you had where for the older one. I will open it up aga…"
6 hours ago
John Bizley replied to Kos's discussion Photo Distortion. Am I The Only One?
"I am not getting the distortion or even the change of colour but do have the issues with PNG's. I h…"
6 hours ago
Siri replied to Julie's discussion How To Show Current Number on Users and Visitors Online?
"Hi, 
This is an old post but I try anyway:-) I do not have chat to see who`s online, and would real…"
7 hours ago
Strumelia replied to Poppili's discussion Ning 3.0 Archive
"Migrate a ning 3.0 to where?
Ning said they were working on creating an archive tool for 3.0, and a…"
9 hours ago
Tim Atkinson replied to Kos's discussion Photo Distortion. Am I The Only One?
"I wish they understood that I'm perfectly capable of making myself look incompetent - if I need any…"
15 hours ago
Fire-Tech replied to Kos's discussion Photo Distortion. Am I The Only One?
"mine aren't as bad as yours, but some are distorted..."
20 hours ago
More…