Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Loved Share social network

More
11 years 5 days ago #1 by mightymax
hi,

here is the hack to share on social network

open:

/components/com_kunena/template/blue_eagle/html/topic/default_left.php

line 19 and paste in a new blank line:
Code:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-send="true" data-layout="button_count" data-width="100" data-show-faces="false" style="margin-right:30px"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-lang="fr">Tweeter</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <!-- Placez cette balise où vous souhaitez faire apparaître le gadget Bouton +1. --> <div class="g-plusone" data-size="small"></div> <!-- Placez cette ballise après la dernière balise Bouton +1. --> <script type="text/javascript"> window.___gcfg = {lang: 'fr'}; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>

You'll like us sharing networks facebook, twitter, google plus on kunena.  If necessary I can help you adapt other sharing networks.

link for the test: Lien

surf safety
The following user(s) said Thank You: dynas

Please Log in or Create an account to join the conversation.

More
11 years 4 days ago #2 by dynas
Replied by dynas on topic Share social network
Thank you very much for this hack! Just tested it and it works great.

For all guys who want to display the text in other language,
change the language ID.
(example for facebook in german)
Code:
connect.facebook.net/de_DE/all.js#xfbml=1
again, big thanks for shareing this little hack :woohoo:
The following user(s) said Thank You: mightymax

Please Log in or Create an account to join the conversation.

More
11 years 3 days ago #3 by mightymax
Replied by mightymax on topic Share social network
hi,

yes sorry, I put in french and must be adapted according to the languages

thanks Dynas

must be replaced fr_FR in the code by en_EN, de_DE, es_ES, it_IT,...
;)

surf safety

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #4 by mightymax
Replied by mightymax on topic Share social network
Hi,

This hack works in kunena 3.0.0.

;)

surf safety

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #5 by PhoenixUK
Replied by PhoenixUK on topic Share social network
Hi MM,

Can you tell me, is there anyway that I can use this hack and it's code but in a way where whenever there's a Kunena update it doesn't get written over with the newer version, as it's awfully hard to keep track of when a good few files have been altered to personalise?

Also, could you include LinkedIN at all?

Dependent on the outcome of my first query to you above, I will then add your code with the en_EN for english.

I look forward to hearing from you in due course.

Regards,
Rob

mightymax wrote: hi,

here is the hack to share on social network

open:

/components/com_kunena/template/blue_eagle/html/topic/default_left.php

line 19 and paste in a new blank line:

Code:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-send="true" data-layout="button_count" data-width="100" data-show-faces="false" style="margin-right:30px"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-lang="fr">Tweeter</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <!-- Placez cette balise où vous souhaitez faire apparaître le gadget Bouton +1. --> <div class="g-plusone" data-size="small"></div> <!-- Placez cette ballise après la dernière balise Bouton +1. --> <script type="text/javascript"> window.___gcfg = {lang: 'fr'}; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>

You'll like us sharing networks facebook, twitter, google plus on kunena.  If necessary I can help you adapt other sharing networks.

link for the test: Lien

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #6 by mightymax
Replied by mightymax on topic Share social network
Hi

script with linkedIn

french:
Code:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-send="true" data-layout="button_count" data-width="100" data-show-faces="false" style="margin-right:20px"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-lang="fr">Tweeter</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <script src="//platform.linkedin.com/in.js" type="text/javascript"> lang: fr_FR </script> <script type="IN/Share" data-counter="right"></script> <!-- Placez cette balise où vous souhaitez faire apparaître le gadget Bouton +1. --> <div class="g-plusone" data-size="small"></div> <!-- Placez cette ballise après la dernière balise Bouton +1. --> <script type="text/javascript"> window.___gcfg = {lang: 'fr'}; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>

english:
Code:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-send="true" data-layout="button_count" data-width="100" data-show-faces="false" style="margin-right:20px"></div> <a href="https://twitter.com/share" class="twitter-share-button">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <script src="//platform.linkedin.com/in.js" type="text/javascript"> lang: en_US </script> <script type="IN/Share" data-counter="right"></script> <!-- Placez cette balise où vous souhaitez faire apparaître le gadget Bouton +1. --> <div class="g-plusone" data-size="small"></div> <!-- Placez cette ballise après la dernière balise Bouton +1. --> <script type="text/javascript"> window.___gcfg = {lang: 'en'}; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>
sorry, I have little time right now. I put the files french and english modify kunena v3.0 and as soon as I have time I look at the development of an application.


french file:

File Attachment:

File Name: default_left.php.txt
File Size:3 KB


english file:

File Attachment:

File Name: default_le...5-31.txt
File Size:3 KB


rename to default_left.php and replace in components/com_kunena/template/blue_eagle/html/topic/default_left.php

thanks.

surf safety
Attachments:
Last edit: 10 years 10 months ago by mightymax.
The following user(s) said Thank You: skybax

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #7 by Jiminimonka
Replied by Jiminimonka on topic Share social network
See this tutorial for how to put social sharing in Kunena for FREE & NO HACK REQUIRED!

[HOW TO] Add Social Sharing (AddThis)

Please read the FAQ.
Only one question per topic.
Search before you ask a question.

Please Log in or Create an account to join the conversation.

Time to create page: 0.615 seconds