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

Alliance replied to Mike Collins's discussion Ning Development - Roadmap
"i agree a roadmap from April would be appreciated if you could. It gives us time to decide on work…"
10 hours ago
Kos replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"Yes sir"
13 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"Kos I agree. Normally I am quite a patient person as I know writing code can take time with testing…"
13 hours ago
Kos replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"I was going to respond but felt I'd leave it to you John.  This is just insane!  You don't release…"
13 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"I'm sorry, but why would a feature you have added that isn't working correctly not be a priority to…"
14 hours ago
Dan replied to Bizz ( John )'s discussion What's Happened To The Activity Feeds ? None are showing on any sites including creators
"All ning animation across the platform stopped working in edit box's &  if added as site name, 3.0…"
14 hours ago
Suki Winthrop replied to Bizz ( John )'s discussion What's Happened To The Activity Feeds ? None are showing on any sites including creators
"now my posts from 3weeks ago areshowing up as new posts  in Creator activity feed.  What the?"
16 hours ago
Suki Winthrop replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"So Events is the ONE new feature - aside from Google Capture,which you didn't create- that has been…"
16 hours ago
Beatriz Martín replied to ⚡JFarrow⌁'s discussion Clean, Robust, Filterable Community Member Directory
"But. If someone looks the source code (html) and search for the specific line of the awesome-table,…"
17 hours ago
Douwe Dronkert replied to Douwe Dronkert's discussion Can I just upgrade to Facebook Graph API v2.3 or higher?
"Hi Kyryl,
Thanks for your quick reply.
That's a pity. Is this kind of functionality something that…"
19 hours ago
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Kevin,
Former network creator has to fill the form http://hc.ning.com/contact/transferownership/&hellip;"
20 hours ago
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Anam,
We do apologise for the inconveniences.
The report has been created and passed to our tech…"
20 hours ago
Anam replied to Bizz ( John )'s discussion What's Happened To The Activity Feeds ? None are showing on any sites including creators
"Yes mine has been gone for 2 days and i have just filed ticket. I don't understand why there could…"
20 hours ago
Suki Winthrop replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Why does the Latest Activity feedhere on Creators now only show Ning's own Facebook posts ?!?
Pleaz…"
20 hours ago
Suki Winthrop replied to Bizz ( John )'s discussion What's Happened To The Activity Feeds ? None are showing on any sites including creators
"they say everything  old gets new again- lol   Krazy!"
20 hours ago
Lucca King is now a member of Ning Creators Network
20 hours ago
Mike Collins replied to Bizz ( John )'s discussion What's Happened To The Activity Feeds ? None are showing on any sites including creators
"No response here either which isn't great considering they have been quite active and responding to…"
20 hours ago
Kyryl_Ning_Support replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"Hi John,
It's not the question of the сomplexity of the task. As usual in such cases, the priority…"
22 hours ago
More…