I've used hook method in my bbcode plugin (watch Extension block here - http://forum.apxeolog.com/topic/8/nodebb-bbcode-plugin)
It is greate since:
Social Sharing Buttons
@psychobunny could you please tell me how do I replace google+ and linkedin buttons to whatsapp and telegram in this plugin?
Probably best place to look is here in core:
This plugin just takes the existing social sharing buttons from core and displays it in the topic's posts, all the logic already exists. But as you can see here I added additional logic for linkedin, so the same idea will work for the other services you want to add. Add the additional buttons here.
Hope that helps!
@psychobunny Thank you
This post is deleted!
MJ last edited by
@psychobunny is it possible to make the buttons only vissable in the OP and not in the other posts?
btw it looks very cool and usefull thanks for making and sharing
crazycells last edited by
@psychobunny I believe there is bug in this plug-in with nodebb 1.12.2 , after sending a post these sets of share buttons are doubled or sometimes tripled , I even saw 4 sets of buttons next to each other under one post one time, it goes away when you refresh the page though.
Is it plug-in related? Or are we missing a setting?
Social network share button is essential when I want to connect with social networks like facebook, whatsapp gb on wagbpro, redit, instagram, ...