Current status of the Ning Platform is always available on the Ning Status Blog.

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 Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
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.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

James Slater replied to James Slater's discussion
Event Text
"Hiya thanks for this its very appreciated the links of the page name is below my network name is ht…"
7 hours ago
James Slater and Tavolo Ornitologico are now friends
8 hours ago
Bizz replied to Bizz's discussion
Tip: PROFILE THEMES
"Well the Themes are coming along nicely and just added another Gamer Theme. You will notice that al…"
16 hours ago
kostasgr replied to Anastasia_Ning_Support's discussion
Activity feed update
"hi Anastasia !! cool !!  thanks for the update....!  ...That is what is needed..!!"
16 hours ago
Bizz replied to James Slater's discussion
Event Text
"By the way what is the page name for the castings events ?"
19 hours ago
Bizz replied to James Slater's discussion
Event Text
"Yes can do it but not with CSS, going to take a bit of work so give me a while to sort it out as a…"
20 hours ago
⚡JFarrow⌁ and Tavolo Ornitologico are now friends
22 hours ago
kostasgr posted a discussion
RSS does not work ??someone else has a problem  RSS ??????and the speed has dropped a lot  ???
yesterday
James Slater replied to James Slater's discussion
Event Text
"Hi thanks for replying back I have 2 event pages on my network page one I need keeping same as it i…"
yesterday
Stark and Tavolo Ornitologico are now friends
yesterday
Bizz replied to James Slater's discussion
Event Text
"Which part do you want to change ?"
yesterday
James Slater posted a discussion
Hi does anyone know the CSS coding for the event pages? I need to change some text of the CSS codin…
yesterday
More…

Meanwhile, you can check our social media channels