How can I customize share menu?
-
@a_5mith So if I want to remove Facebook, Google and Twitter, then add other social network, I can just write a plugin? I'm sorry that I'm a little confused. Because If I don't change the source code, the only way I can remove all of that is to disable share function. But after that, can I still add other one?
I didn't read how to write plugin carefully, so if you know any information about that , please tell me, thanks!
-
-
Yeah, the "share via social network" was one of the first features I added to NodeBB... this was before we had a templating engine, plugin system, theming engine, or admin panel
A lot has changed since then, but this bit of code definitely hasn't... that's why it feels so hardcoded.
-
Hi Admin, I found that also. I hope that NodeBB can create a plugin hook for extending the share menu, without other developers use some CSS hack to hide it or what. Good for future forum upgrades, because future upgrades may overwrite the custom changed code in the core system.