- Posts: 44
- 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
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 Kunena Login Module 1.6 R2
15 years 6 months ago - 15 years 6 months ago #65533
by miamiman
Replied by miamiman on topic Re: Kunena Login Module 1.6.0RC2
Thanks just tried it, and yes, it resizes the avatar, but still not playing well with CB avatars.
It distorts the png/jpg resolution.
It distorts the png/jpg resolution.
Last edit: 15 years 6 months ago by miamiman.
Please Log in or Create an account to join the conversation.
- loki34829388
-
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
15 years 6 months ago #65542
by loki34829388
Replied by loki34829388 on topic Re: Kunena Login Module 1.6.0RC2
well it does change the css styling from a max-width max-height to a fixed width height. I' not sure what size your current avatar is but i can assume if it is smaller than the dimensions you are specifying in the module that it will stretch it to fill the dimensions and thus pixelate it. If it was larger than the dimensions then it should be fine.
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!
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
-
Less
More
- Posts: 12
- Thank you received: 0
15 years 6 months ago - 15 years 6 months ago #65861
by loki34829388
Replied by loki34829388 on topic Re: Kunena Login Module 1.6 R2
noticing redirect issues may be related to the post data being sent through the kunena component.
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...
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
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...
Last edit: 15 years 6 months ago by loki34829388. Reason: updates
Please Log in or Create an account to join the conversation.
15 years 6 months ago #65879
by emanuelr
Replied by emanuelr on topic Re: Kunena Login Module 1.6 R2
Please post the complete code when available... I believe this is the simplest approach.
Please Log in or Create an account to join the conversation.
15 years 6 months ago #65908
by miamiman
Replied by miamiman on topic Re: Kunena Login Module 1.6 R2
Yes... please post updated code when you have a chance. Thanks!
Please Log in or Create an account to join the conversation.
15 years 5 months ago #69776
by @quila
Replied by @quila on topic Re: Kunena Login Module 1.6 R2
Hi all,
I've tried to reproduce all issues but without success.
I have CB installed, Resizing of Avatar works well, redirect also.
Can someone post here Configuration Report from site where Module dont works properly.
Thank You
I've tried to reproduce all issues but without success.
I have CB installed, Resizing of Avatar works well, redirect also.
Can someone post here Configuration Report from site where Module dont works properly.
Thank You
Please Log in or Create an account to join the conversation.
Time to create page: 0.246 seconds