- Posts: 25
- Thank you received: 4
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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 7.0
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Question Today's visitors module
Feel free to download the module and use or modify it to your own needs.
p.s. Sorry for my bad English
Please Log in or Create an account to join the conversation.
- woonydanny
-
- Offline
- Elite Member
-
- Posts: 694
- Thank you received: 22
maybe one of the devs could look at it for possible inclusion into official releases
still wish that i can write my forum signature through a jomsocial plugin and do it from my jomsocial profile
Please Log in or Create an account to join the conversation.
Is this for Kunena 1.6.2?
Yes, work with Kunena 1.6.2. (Joomla 1.5 module)
Please Log in or Create an account to join the conversation.
- woonydanny
-
- Offline
- Elite Member
-
- Posts: 694
- Thank you received: 22
im thinking you should use the parameter that kunena makes by the setting in the backend integration configuration (eg Jomsocial)
still wish that i can write my forum signature through a jomsocial plugin and do it from my jomsocial profile
Please Log in or Create an account to join the conversation.
peetree21 wrote: is there a way to link it to the jomsocial profile instead of the default kunena profile?
Yes, find in mod_membersonlinetoday.php at line 48
$link = 'index.php?option=com_kunena&task=showprf&func=fbprofile&userid=ID'. $row->id;
and replace with
$link = 'index.php?option=com_comprofiler&task=userProfile&user='. $row->id;
Please Log in or Create an account to join the conversation.
- CheechDogg
-
- Offline
- Premium Member
-
arsago wrote: I made module for joomla 1.5 "Members Online Today" based on old joomla 1.0 module most recent online. Publish it on position Kunena botom and voila!
Feel free to download the module and use or modify it to your own needs.
p.s. Sorry for my bad English
Dear arsago,
I modified the php file and made it looked less cluttered by adding some spaces and a comma to be able to separate each members profile link for the others. I hope you don't mind my friend. Below is the php file to replace the old one if anyone is interested.
<?php
/**
* @version 1.0
* @package Members Online Today
* @author Arsic Goran {@link www.srbija-net.com }
* @author Created on 16-Jan-2011
* @license www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
//-- No direct access
defined('_JEXEC') or die('Restricted access');
global $mosConfig_list_limit, $mosConfig_offset;
$limit = $mainframe->getUserStateFromRequest( "viewlistlimit", 'limit', $mosConfig_list_limit );
$limitstart = $mainframe->getUserStateFromRequest( "view{$option}", 'limitstart', 0 );
$name_username = $params->get( 'name_username', "username" );
$time_server_local = $params->get( 'time_server_local', "Website locale" );
$db =& JFactory::getDBO();
$db->setQuery($query);
$result = null;
$query = "SELECT DISTINCT a.id, a.name, a.username, a.lastvisitDate, a.usertype, a.block, a.gid, b.time"
. "\n FROM #__users AS a"
. "\n LEFT JOIN #__session AS b"
. "\n ON a.id = b.userid"
. "\n WHERE lastvisitDate >= CURDATE()"
. $and
. "\n ORDER BY b.time DESC, a.lastvisitDate DESC $today";
$db->setQuery( $query, $pageNav->limitstart, $pageNav->limit );
$rows = $db->loadObjectList();
foreach ( $rows as $row ) {
{
$link = 'index.php?option=com_kunena&task=showprf&func=fbprofile&userid=ID'. $row->id;
$username = '<a href="'. $link .'" >'. $row->username .'</a> , ';
?>
<tr>
<td>
<?php
if ( $name_username == "Name") {
echo $name;
} else {
echo $username;
}
?>
</td>
</tr>
<?php
}
}
?>
CAG Clan 1st and 3rd Person Shooter Clan on XBOX 360 & PS3
Please Log in or Create an account to join the conversation.