- Posts: 77
- Thank you received: 5
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
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?
Answering all the support questions slows down development, so large projects need to balance between those two. But you're right -- profile should be saved into one place instead of two.
Indeed!
Dont get me wrong, i really appreciate your volunteer work on Kunena, but this plugin is "duct tape and chicken wire" solution which merely just add links in Jomsocial toolbar TO the Kunena profile pages.
When we talk about INTEGRATION, for example, one would like to see that nifty male icon in the forums WITHOUT the need to set the gender in kunena profile.
You know, regular users dont even know what Kunena or Jomsocial is, and im tired of explanations that they have to set their profile on 2 locations.
In other words, something like a CB plugin for subscriptions and favorite items in a form of a jomsocial application, and integrated profile fields would be a killer features
Please Log in or Create an account to join the conversation.
- Oscarfishlover
- Offline
- Premium Member
The #1 Oscar Fish website on the net
Joomla! 2.5.14
Kunena 3.0.2
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
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.
Here is russian translation.
Please Log in or Create an account to join the conversation.
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.
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.
You have to follow these steps:
1. This code is to be added in a new file "forumsignature.php" created in /components/com_community/libraries/fields.
2. Edit the file "customfields.xml" and add new field tag:
<field>
<type>forumsignature</type>
<name>Forum Signature</name>
</field>
3. Now go into backend menu Components -> Jomsocial -> Custom Profiles -> New Field
4. Select "Forum Signature" and you are done.
Regards
Please Log in or Create an account to join the conversation.
mibnbikes wrote: Hi there,
could you please provide us with screenshot or a live test site/example?
Which file should I modify?
Best regards Mikkel.
"Do or do not, there is no try..."
Please Log in or Create an account to join the conversation.