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>
Screenshot Example:
Permalink Reply by Joao Fernandes on November 4, 2012 at 12:37am Bernard, you rock like Gangnam style.
Permalink Reply by Adeel Cheema on November 4, 2012 at 6:06am 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?
Permalink Reply by Adeel Cheema on November 4, 2012 at 8:50am Sure

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?
Permalink Reply by Adeel Cheema on November 4, 2012 at 10:37am 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
Permalink Reply by Adeel Cheema on November 4, 2012 at 11:02am Let me check...
THanx in advance..:)
Permalink Reply by Adeel Cheema on November 4, 2012 at 11:09am 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 ???

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


Riccardo Rossini replied to Riccardo Rossini's discussion 'FANTASTIC!!'
Riccardo Rossini replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'© 2013 Created by Ning.
