- Posts: 44
- Thank you received: 5
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question Kunena Login Module 1.6 R2
1. Where do you control the translation of this module? It's not picking up from the component or Joomla settings?
2. The redirect on Log-in is not working? Is this a cache related issue?
3. The sizing of the avatar isn't working either?
Anyway - let us know! Thanks.
Please Log in or Create an account to join the conversation.
- jackdani82
- Offline
- New Member
- Posts: 6
- Thank you received: 0
1. The module has its own language file (language/en_GB/mod_kunenalogin.ini)
2. The redirect causes problems if you use other login-modules at the same time for example
3. Same problems on my page. I use the Community Builder avatar and not the kunena avatar. Maybe there is still a problem.
Also waitig for answers from Kunena team.
Please Log in or Create an account to join the conversation.
1. Will do.
2. Yup - I have CB installed.
3. Ditto.
Hopefully future releases will improve this module.
Please Log in or Create an account to join the conversation.
1. I can't modify avatar size.
2. When used in horizontal setup, other modules from same position superimpose themselves on the K-login module.
Any ideas?
Please Log in or Create an account to join the conversation.
- loki34829388
- Offline
- New Member
- Posts: 12
- Thank you received: 0
$avatarlink = str_replace("max-width", "width", $avatarlink);
$avatarlink = str_replace("max-height", "height", $avatarlink);
after line 77 in function kunenaAvatar
so the function looks like this now
*** begin code
function kunenaAvatar($userid) {
$kunena_user = KunenaFactory::getUser ( ( int ) $userid );
$username = $kunena_user->getName(); // Takes care of realname vs username setting
$avatarlink = $kunena_user->getAvatarLink ( '', $this->params->get ( 'avatar_w' ), $this->params->get ( 'avatar_h' ) );
$avatarlink = str_replace("max-width", "width", $avatarlink);
$avatarlink = str_replace("max-height", "height", $avatarlink);
return CKunenaLink::GetProfileLink ( $userid, $avatarlink, $username );
}
*** end code
looks like it was building a link with a max-height max-width style and that didnt work so i replaced it after it was built before it was returned.
enjoy!
Please Log in or Create an account to join the conversation.
- loki34829388
- Offline
- New Member
- Posts: 12
- Thank you received: 0
it is in class.php
Please Log in or Create an account to join the conversation.
It distorts the png/jpg resolution.
Please Log in or Create an account to join the conversation.
- loki34829388
- Offline
- New Member
- Posts: 12
- Thank you received: 0
in regards to CB avatars looking at the code I can assume it takes the avatar from kunena only as it is interacting with the Kunena API to grab the avatar string.
Good Luck!
Please Log in or Create an account to join the conversation.
- loki34829388
- Offline
- New Member
- Posts: 12
- Thank you received: 0
I dont really want to hack the component to make a redirect work so i'm rewriting the original joomla login component to have the extra features of avatar, profile link, custom link, custom css and so forth.
so far the login module kunena released is really clean code but it just doesnt seem to function.
the orginal joomla login module interacts with com_users instead as is called for by joomla. So it should be a little more compliant 'i hope' and since kunena doesnt seem to be having problems with it so far I think it would be a viable solution.
I hope to be done early next week if anyone wants me to post it just let me know! cheers.
BTW - I can't seem to find out why the resize patch doesnt work right all the way yet but hopefully it will turn up in a daze somewhere anyone figure it out let me know
EDIT - Little checking in my html output and it apears that kunena is grabbing the thumbnail version of avatars so smaller images are being resized can probably correct with a string replace or core hack. think i'll string replace.
EDIT2 - Here is code fore string replaces for fixed dimensions and remove Thumbnail reference
//Begin mod
$avatarlink = str_replace("max-width", "width", $avatarlink);
$avatarlink = str_replace("max-height", "height", $avatarlink);
$avatarlink = str_replace("/tn", "/", $avatarlink); //replace thumbnail reference hack
//end mod
Edit3 - More research CB ha a setting for making thumbnails a certain size you could change that to be a diff size and let your login module work as it did. Though it still would get the avatarLink fo the Thumbnail so not really the way it should be...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.