Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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 Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question KLogin for Kunena 1.6 (avatar integration problem)

More
15 years 8 months ago - 15 years 8 months ago #62501 by kubson.cz
hello!

this module has been made for kunena 1.5. now, in kunena 1.6 it's working fine, but the only problem is about avatars. KLogin can't integrate avatars with kunena. what i need to change to fix it?

below i paste a piece of code from 'vertical.php'
Code:
// ############# KUNENA AVATAR ################ $my = &JFactory::getUser(); $db = &JFactory::getDBO(); $db->setQuery("SELECT su.avatar FROM #__fb_users as su" . "\nLEFT JOIN #__users as u on u.id=su.userid WHERE su.userid={$my->id} LIMIT 1"); $_user = $db->loadObject(); $fbavatar = NULL; if ($_user != NULL) { $fbavatar = $_user->avatar; } if ($fbavatar != "") { if(!file_exists($avatar_upload_path .DS. 'avatars/l_' . $fbavatar)) { $avatar = '<a href="'. $avatar_link .'"><img class="login" src="'.$avatar_upload_path . $fbavatar . '" alt=" " title="'.JText::_('Newavatar').'" width="'.$params->get('avatar_w').'" /></a>'; } else { $avatar = '<a href="'. $avatar_link .'"><img class="login" src="'. $avatar_upload_path . 'l_' . $fbavatar . '" alt=" " title="'.JText::_('Newavatar').'" width="'.$params->get('avatar_w').'" /></a>'; } } else { $avatar = '<a href="'. $avatar_link .'"><img class="login" src="'. $avatar_upload_path .'nophoto.jpg" alt=" " title="'.JText::_('Newavatar').'" width="'.$params->get('avatar_w').'" /></a>'; } // ############# / END KUNENA ################### echo $avatar; break; case 1:
Last edit: 15 years 8 months ago by kubson.cz.

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

More
15 years 8 months ago #62532 by fxstein
Please uninstall this older plugin. The same plugin (from the same author) has not been made part of Kunena itself. Go to our download section and click on the link to download extensions. You will see a Kunena Login module 1.6 RC2 that handles all the proper integrations with Kunena 1.6

Hope this helps!

We love stars on the Joomla Extension Directory . :-)
The following user(s) said Thank You: kubson.cz

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

More
15 years 8 months ago #62564 by kubson.cz

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

Time to create page: 0.213 seconds