Social Share of Topics / Posts
-
Hi @baris
I found on topic in that you discussed about the same. I also want to add What's App, Telegram etc. for sharing topics/posts.
I go through this topic, but dint get exactly what I need to do. Could you please elaborate more so I can understand the process to do?
https://community.nodebb.org/topic/17653/future-of-post-sharing-options/18
Thanks & Regards
-
Hi @baris , Thank you.
I am using version 3.1.3. all the changes i have added in as mentioned. But in last file (
..\nodebb\src\views\admin\settings\general.tpl
) Source code is bit different, (No. of lines : 233 ).also new twitter logo in not visible.
Could you please look in this this.
Regards
-
The acp got completely redesigned in 3.2.0 that's why there are differences.
Also there is small change in the theme for the new icons, see these changes https://github.com/NodeBB/nodebb-theme-harmony/commit/1c2b5f6a7802655503893c126b2b0b8702dda28b
The new twitter icon was addedin fontawesome 6.4.2, maybe check your fontawesome version. https://fontawesome.com/icons/x-twitter?f=brands&s=solid
-
@baris ,
What should i do in this case if i am using version 3.1.3 ?
Because after updating above mention code additional icons ( whatsapp , Telegram and Linkedin ) are not seen in the share post box.
(..\nodebb\src\views\admin\settings\general.tpl
)
-
-
Thank you @baris
Done
-
Hi @baris,
Sorry to back on the same topic.. i had done above all setup. but when i clicked on newly added icons window is not open. Only Default Facebook and Twiiter are opened.
Could you please help me to fixt this ?
-
@vijay-kumavat does it work on this forum? If it does it could be something to do with your theme/custom code. The share code adds click handlers on components like
[component="share/linkedin"]
make sure they are in the DOM and there are no JS errors. https://github.com/NodeBB/NodeBB/commit/ace171a6bf7219c221a1a01e6ada7751f277e2ec