Hi NCs,

Do you know how to add a pinterest button next to every twitter button? No?  No worries, here is the code. Simply copy and paste the code into custom code box. You are done. 

Learn more about share button here

Also you can contact me for better share button customization and other ning stuff at bernardmax@gmail.com

The Code Updated: 27/10/12

<!-- Add pinterest Button BEGIN -->
<script type="text/javascript">
x$(document).ready(function(){
x$(".post_to_twitter").after('<a class="addthis_button_pinterest_pinit"></a>');
x$(".xg_module_activity .addthis_button_pinterest_pinit").css('display','none');

});
</script>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4ff19dea60772bf2"></script>
<!-- AddThis Button END -->

<style>

.at_PinItButton:hover {

background-position: -124px 0px;
}

.at_PinItButton {
background-image: url(http://api.ning.com:80/files/Xuh4rezxPoq7fgI*fSEmPfHFCb6apRyGLRkMmwJALs96Rw6ee5lwXuN-Fk8cQQLg7yB4xX1jmqQJmlYp4fQhC*CTOIRuW8Gk/gtcliketweetpinit.gif);
background-repeat: no-repeat;
background-position: -124px 0px;
}
</style>

_
_

_

Live Example

Screenshot Example:

Tags: button, pinterest

Views: 1477

Attachments:

Reply to This

Replies to This Discussion

Bernard, you rock like Gangnam style.

Hey Bernard,

I need your help, my pinerest is not working as before yesterday everything was fine but now by click on it nothing happened just window scrolls up...

Help me..

Hi Adeel,

Can you show me your site link?

Sure

VU Cafe

Hi Adeel,

I saw your site and it looks like there is an error. BTW, are you using the same code or you have made some changes?  

Thanx for having look on it...

I didn't make any changes in it and as i said, everything was working fine since yesterday...

Remove all the codes from custom code and add one bye one. It seems like one code is conflicting with other code. You need to take a close look.

Best Wishes

Bernard

Let me check...

THanx in advance..:)

No there is no problem with custom codes box as i removed and just used Pinterest code in it...there is something else..

may be Network cache clear ???

I am having an issue. It was there and now all I see is code where there should be graphic images and the code it's showing is my Google analytics. This really messed me up cause when i go to remove the code you gave us, it's gone.

This is not good. I need help please.

It looks like the code is within advanced css area. Or may be you are not pasting the complete code. check once again.

EXCELLENT work, Bernard

RSS

Latest Activity

Tim replied to Tim's discussion 'Ning Slow Today?'
"500: Unexpected Error"
5 minutes ago

NC for Hire
SweetPotato replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
"Sorry, coming to this issue late on. Is it all ok now? It could have been Ning server issues as the…"
2 hours ago
LeyCosmica.org replied to LeyCosmica.org's discussion 'I can not access my site in any way'
"You can always access, everyone can access the site, even I can if I use internet connection…"
2 hours ago
Denis replied to PeruCool's discussion 'Alternatives to Ning social network'
"Great site man. Thanks for sharing the link. I am working on mine. I hope I will be done by the end…"
6 hours ago
Perrie Halpern replied to PeruCool's discussion 'Alternatives to Ning social network'
"Is there a specific code generator you use? I hope you don't mind me asking."
7 hours ago
Elshara Silverheart replied to Elshara Silverheart's discussion 'Another Feature Request For Ning 3.0'
"This would be a reason to stay on Ning if I knew I could at least have some of what is here."
8 hours ago
soaringeagle replied to James Nored's discussion 'How do I create a taller header?'
"more specific header {height:60px;}"
8 hours ago
soaringeagle replied to James Nored's discussion 'How do I create a taller header?'
"css"
8 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service