- Posts: 77
- Thank you received: 5
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
This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) relating to older versions of Kunena that are no longer supported.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.
Question Kunena and JomSocial. And the signature?
16 years 4 months ago #35683
by WinuxFF
Replied by WinuxFF on topic Re:Kunena and JomSocial. And the signature?
I like the way the JoniJnm done the integration of a fields.
Its clean, and straightforward.
Hopefully, it will be the part of a Kunena 1.6 core
Its clean, and straightforward.
Hopefully, it will be the part of a Kunena 1.6 core
Please Log in or Create an account to join the conversation.
16 years 4 months ago #35713
by Matias
Replied by Matias on topic Re:Kunena and JomSocial. And the signature?
Well, JoniJnm just joined back into development team..
Please Log in or Create an account to join the conversation.
16 years 1 day ago #46927
by Mark0100
Gruß Mark
Pickup-Wohnkabinen-Forum Kunena 4.0.7
Chevy-Forum Kunena 3.0.8
Replied by Mark0100 on topic Re: Kunena and JomSocial. And the signature?
a beginner question: 
where do I upload my de-DE language file? I can´t find the gb-GB file in the language folder
where do I upload my de-DE language file? I can´t find the gb-GB file in the language folder
Gruß Mark
Pickup-Wohnkabinen-Forum Kunena 4.0.7
Chevy-Forum Kunena 3.0.8
Please Log in or Create an account to join the conversation.
15 years 11 months ago - 15 years 11 months ago #47106
by Fizmatik
Replied by Fizmatik on topic Re: Kunena and JomSocial. And the signature?
Thanks for this module.
Here is russian translation.
Here is russian translation.
Last edit: 15 years 11 months ago by Fizmatik.
Please Log in or Create an account to join the conversation.
15 years 4 months ago #73953
by sababer9
Replied by sababer9 on topic Re: Kunena and JomSocial. And the signature?
Hey guys,,
Studies few earlier messages in this post for the same requirement, the signautre integration with jomsocial. I think you ppl have got the solution with a plugin may be.
in the meantime, i built up my own solution, thought it might help anyone there.
Its an extra field in jomsocial which picks and puts signature in kunena table with following code.
// no direct access
defined('_JEXEC') or die('Restricted access');
class CFieldsForumSignature
{
function getFieldHTML( $field , $required )
{
$config =& CFactory::getConfig();
$js = '/assets/validate-1.5';
$js .= ( $config->getBool('usepackedjavascript') ) ? '.pack.js' : '.js';
CAssets::attach($js, 'js');
// If maximum is not set, we define it to a default
$field->max = empty( $field->max ) ? 200 : $field->max;
$loggedInUser =& JFactory::getUser();
$userid = JRequest::getVar('userid',$loggedInUser->id,'get');
$db =& JFactory::getDBO();
$query = "SELECT signature FROM #__kunena_users WHERE userid = $userid";
$db->setQuery($query);
$field->value = $db->loadResult();
$class = ($field->required == 1) ? ' required' : '';
CFactory::load( 'helpers' , 'string' );
$html = '<textarea id="field' . $field->id . '" name="field' . $field->id . '" class="jomTips tipRight inputbox textarea' . $class . '" title="' . $field->name . '::' . CStringHelper::escape( $field->tips ) . '">' . $field->value . '</textarea>';
$html .= '<span id="errfield'.$field->id.'msg" style="display:none;"> </span>';
$html .= '<script type="text/javascript">cvalidate.setMaxLength("#field' . $field->id . '", "' . $field->max . '");</script>';
return $html;
}
function isValid( $value , $required )
{
if( $required && empty($value))
{
return false;
}
$loggedInUser =& JFactory::getUser();
$userid = JRequest::getVar('id',$loggedInUser->id);
$db =& JFactory::getDBO();
$query = "UPDATE #__kunena_users SET signature ='$value' WHERE userid = $userid";
$db->setQuery($query);
$db->query();
return true;
}
}
Regards,
The signature from jomsocial
Studies few earlier messages in this post for the same requirement, the signautre integration with jomsocial. I think you ppl have got the solution with a plugin may be.
in the meantime, i built up my own solution, thought it might help anyone there.
Its an extra field in jomsocial which picks and puts signature in kunena table with following code.
// no direct access
defined('_JEXEC') or die('Restricted access');
class CFieldsForumSignature
{
function getFieldHTML( $field , $required )
{
$config =& CFactory::getConfig();
$js = '/assets/validate-1.5';
$js .= ( $config->getBool('usepackedjavascript') ) ? '.pack.js' : '.js';
CAssets::attach($js, 'js');
// If maximum is not set, we define it to a default
$field->max = empty( $field->max ) ? 200 : $field->max;
$loggedInUser =& JFactory::getUser();
$userid = JRequest::getVar('userid',$loggedInUser->id,'get');
$db =& JFactory::getDBO();
$query = "SELECT signature FROM #__kunena_users WHERE userid = $userid";
$db->setQuery($query);
$field->value = $db->loadResult();
$class = ($field->required == 1) ? ' required' : '';
CFactory::load( 'helpers' , 'string' );
$html = '<textarea id="field' . $field->id . '" name="field' . $field->id . '" class="jomTips tipRight inputbox textarea' . $class . '" title="' . $field->name . '::' . CStringHelper::escape( $field->tips ) . '">' . $field->value . '</textarea>';
$html .= '<span id="errfield'.$field->id.'msg" style="display:none;"> </span>';
$html .= '<script type="text/javascript">cvalidate.setMaxLength("#field' . $field->id . '", "' . $field->max . '");</script>';
return $html;
}
function isValid( $value , $required )
{
if( $required && empty($value))
{
return false;
}
$loggedInUser =& JFactory::getUser();
$userid = JRequest::getVar('id',$loggedInUser->id);
$db =& JFactory::getDBO();
$query = "UPDATE #__kunena_users SET signature ='$value' WHERE userid = $userid";
$db->setQuery($query);
$db->query();
return true;
}
}
Regards,
The signature from jomsocial
Please Log in or Create an account to join the conversation.
15 years 4 months ago #74087
by mibnbikes
Replied by mibnbikes on topic Re: Kunena and JomSocial. And the signature?
Hi there,
could you please provide us with screenshot or a live test site/example?
Which file should I modify?
Best regards Mikkel.
could you please provide us with screenshot or a live test site/example?
Which file should I modify?
Best regards Mikkel.
Please Log in or Create an account to join the conversation.
Time to create page: 0.262 seconds