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

Valerie replied to Monica Diaz's discussion Migrating to Ning 3.0 Status [Update #4]
"I'm late to the party and am still in Ning 2.0 so I have a few questions. Will videos that have bee…"
4 hours ago
Edie2k2 replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Beautiful!"
4 hours ago
Garfield Archivist replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
""
4 hours ago
Garfield Archivist left a comment for Garfield Archivist
"test"
4 hours ago
Garfield Archivist replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Almost there. This post was posted at 2:12 but yes we are close to bringing out the cake. :-)"
5 hours ago
György Juhász replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Hey, today is the first birthday of this post.Yeeeah! :-)"
7 hours ago
soporte is now a member of Ning Powered Events
yesterday
Garfield Archivist replied to Garfield Archivist's discussion Network Creators Private Survey Results
""
yesterday
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"There have been some changes in recent days. Number 1, admins and Network Creators are now getting…"
yesterday
Edie2k2 replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"I'm very grateful for the fact that it still works. No complaints whatsoever... Best platform going!"
yesterday
Sam Alexander left a comment for Sam Alexander
""
yesterday
doone replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Ning still works, at least.  If you have a Ning 3 or a custom Ning 2 it is not that bad, IMO.  It w…"
Tuesday
Tu Thai, Roger Crawford, keila and 1 more joined Ning Creators Network
Monday
Katcha Sanderson replied to Katcha Sanderson's discussion Multiple forums in single network?
"Thanks for the realistic feedback. I wanted to know what my network can and cannot do in regards to…"
Monday
JFarrow replied to David Carr's discussion Going to spam
"sometimes you can accidentally mark a message spam in gmail and all will go to spam... go to your s…"
Monday
Kos replied to David Carr's discussion Going to spam
"It seems to happen, depending on the users security settings.  I'm always having to tell people to…"
Monday
Paul Asher replied to James Quack's discussion Not able to Import Forums into Buddypress from Ning .JSON FIles
"No probs. Hope WP works out for you but if it doesn't don't forget Jamroom ;-)"
Monday
James Quack replied to James Quack's discussion Not able to Import Forums into Buddypress from Ning .JSON FIles
"Thanks Yin. I will contact them.

And thats to you too Paul! That is a greattttt TIp"
Monday
Paul Asher replied to James Quack's discussion Not able to Import Forums into Buddypress from Ning .JSON FIles
"Remember that by default Ning only archive a maximum of 200 comments per item. I think you have to…"
Monday
SweetPotato replied to Katcha Sanderson's discussion Multiple forums in single network?
"I'd use groups in Ning 2.0. Three separate groups each with their own forum. Sadly, there is no way…"
Monday
More…