Kunena 6.4.8 Released

The Kunena team has announce the arrival of Kunena 6.4.8 [K 6.4.8] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 6.4
Important note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.

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

Solved K 3.0.3: Share topics with Facebook (found in K 3.0.6)

More
12 years 3 months ago - 11 years 4 months ago #149688 by olimpo88
This is a modification that I made to share topics on facebook, I am using kunena 3.03, theme blue_eagle

Edit /components/com_kunena/template/blue_eagle/html/topic/default.php

Before:

Code:
<div class="kblock"> <div class="kheader"> <h2><span><?php echo JText::_('COM_KUNENA_TOPIC') ?> <?php echo $this->escape($this->topic->subject) ?></span></h2>


After:
Code:
<div class="kblock"> <div class="kheader"> <h2><span><?php echo JText::_('COM_KUNENA_TOPIC') ?> <?php echo $this->escape($this->topic->subject) ?></span><div id="facebook_share"> <!-- Agregado para facebook --> <?php function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?> <a onclick="window.open('http://www.facebook.com/share.php?u=<?php echo curPageURL(); ?>', '_blank', 'height=365,width=660'); return false;"href="http://www.facebook.com/share.php?u=<?php echo curPageURL(); ?>” target="_blank" style="float: right; margin-top: -25px;"><img src="http://www.rcnmundo.com/img/comparte.jpg" title="Compartir"></a> <div></h2>


first a PHP function to get the page (URL) of the message and then a javascript function that opens a popup window that leads to facebook and automatically passes the URL to share.






Last edit: 11 years 4 months ago by olimpo88.

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

More
11 years 4 months ago #158650 by olimpo88
I recommend this adaptation is very useful for the SMO and SMM.

Do not know if will be able to include it in future versions, I understand that is not pioridad in the development of kunena, but it would be nice to incorporate it as a free plugin.

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

More
11 years 1 month ago - 11 years 1 month ago #160568 by specialworld
CodeLinSoft forum, of which I am a member of the team there are buttons to twitter and facebook. see screen:

Last edit: 11 years 1 month ago by specialworld.

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

More
10 years 11 months ago #161570 by Gyatso
Good afternoon, how could add some buttons like that?

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

Time to create page: 0.468 seconds