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

Zachary Moonshine replied to George H. Compton IV's discussion ( TIP N3 & N2 ) Chatwing fixed chatbox
"yes and this works great on mobile too!"
8 minutes ago
JFarrow replied to Luke Jones's discussion Developer Needed in Hire a Creator
"Feel free to reach out to me if you still need help!"
19 minutes ago
Luke Jones replied to Luke Jones's discussion Developer Needed in Hire a Creator
"i did fine one guy but he couldn't do exactly as i wanted aha"
1 hour ago
JFarrow replied to Luke Jones's discussion Developer Needed in Hire a Creator
"Did you ever find help with this?"
1 hour ago
George H. Compton IV replied to George H. Compton IV's discussion ( TIP N3 & N2 ) Chatwing fixed chatbox
":-) Thank you Jim :-)"
1 hour ago
Jim Kinson replied to George H. Compton IV's discussion ( TIP N3 & N2 ) Chatwing fixed chatbox
"George this is awesome, George. I loved the fact you had the site so members that were part of both…"
2 hours ago
Tim Atkinson replied to Tim Atkinson's discussion Enabling Facebook comments in a 3.0 - is this still possible?
"Thanks, Bernard! I hadn't. I Just tried popping the code into my 3.0 - I only need it on my group p…"
2 hours ago
Jim Kinson replied to Zachary Moonshine's discussion Floating widget help ?
"This is an awesome feature, George. Thanks for finding and making it work. Now members that are not…"
2 hours ago
Strumelia replied to Traddie's discussion Help - Problem with Archiver
"The archiver doesn't actually have an 'update' kind of setting., But I've never tried what you are…"
2 hours ago
Traddie replied to Traddie's discussion Help - Problem with Archiver
"One last question on  this. If I want to archive again in 4 weeks do I have to do the whole thing a…"
3 hours ago
George H. Compton IV replied to Zachary Moonshine's discussion Floating widget help ?
"Hello Zachary, that's awesome. There's been a few updates. :-) This is the final version v4. There…"
3 hours ago
George H. Compton IV replied to Zachary Moonshine's discussion Floating widget help ?
"Thank you for the kind words Garfield :-)"
3 hours ago
Ning via Facebook

NETWORK COMMUNITY SPOTLIGHT: FUELTOPIA This month’s Ning 3.0 Community Spotlight is on…

James Higginson replied to Tyson's discussion Amazon Affiliate Iframe Not Showing Up In Blog
"Did you ever find a fix?!"
5 hours ago
Bernard Lama replied to Tim Atkinson's discussion Enabling Facebook comments in a 3.0 - is this still possible?
"Hi there,
Did you try this method? And it works fine on N3 too."
6 hours ago
alex sandro replied to alex sandro's discussion That such?
"podem min responder?"
6 hours ago
Strumelia replied to Traddie's discussion Help - Problem with Archiver
"Glad it helped!   :)"
7 hours ago
josep marsal left a comment for FAY GWILLYON ミ◕‿◕彡
"Hola Fay , me juzgaste equivocadamente , te deseo toda la felicidad del mundo , te recuerdo con car…"
7 hours ago
Traddie replied to Traddie's discussion Help - Problem with Archiver
"Thanks once again Strumelia. Traddie"
7 hours ago
Holly Dilatush replied to Holly Dilatush's discussion glitch on 3.0 from home page (anyone else experiencing?)
"An update:  
I'm pleased to inform you that I did put in a ticket, and within 12 hours received two…"
8 hours ago
More…