Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Solved Bug with birthday display in block besides topic

More
2 years 9 months ago - 2 years 9 months ago #230615 by Goldie
Hi,

I found a bug with birthday-cake.svg . Other than geo.svg for example it contains a title. This messes up display of birthday in block underneath avatar left of message display. libraries/kunena/src/User/KunenaUser.php cannot display tooltip with birthdate then and always show 'birthday-cake' as tooltip. Removing this title form media/kunena/core/svg/birthday-cake.svg solves this problem. Took me a while to understand that mechanism.

However there is another issue for further development here. I do not understand why we have birthday and location as a double field to Joomla profile in Kunena profile. I ask my users whether they want to publish their birthdate in forum and if yes, I fetch it from
Code:
$birthdate = HTMLHelper::date( $userProfile->profile['dob'], Text::_('Y-m-d') );

and set it accordingly or delete it if they do not want to. Same is valid for location which I fetch from
Code:
$userProfile->profile['postal_code'] $userProfile->profile['city']

if user approves. And if I display these value then only to registered users, not to guests.

Some food for thoughts.

Happy coding !
Last edit: 2 years 9 months ago by Goldie.

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

More
2 years 9 months ago #230616 by Pinkeltje
A lot of forum owners do not use the extra user profile fields. So in my opinion it makes sense to have them in Kunena profile.

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

More
2 years 9 months ago #230617 by Goldie
Hi pinkeltje,

that was not my main issue. That was the bug with birthday-cake.svg metadata .

Regarding my proposal about dounle fields: One could still set and modify it via Kunena profile edit like it is done for name and password. Having 2 different data for location and birthdate is confusing. Just my 5 cents.

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

More
2 years 9 months ago #230619 by Pinkeltje
Your issue with the svg has already been added to github and there is a solution.

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

More
2 years 9 months ago #230620 by Goldie
Shame on me,

I should have seen that it was already addressed. Would have saved me a lot of time. But I am proud that I found the solution myself as it was a tricky one.

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

Time to create page: 0.119 seconds