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.

Important Kunena 1.5.10 Withdrawn, unofficial Kunena 1.5.10-2 HOTFIX

More
16 years 1 month ago #43639 by Matias
OK. This should fix it:

File Attachment:

File Name: emailfix2.zip
File Size:12.93 KB


This bug has been there always, just in a bit different form. The issue is with forums where you have set forum permissions to everyone/all registered, but also selected minumum level for backend users (which has no effect, btw).

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

More
16 years 1 month ago - 16 years 1 month ago #43640 by Trouble
I'm sorry to say it hasn't fixed the bug :S

I did a test post from my Administrator user with exactly the same results as before:
Code:
Configuration (1, 1, 1, hold=0) Author: trouble Subscribers: trouble, atestuser, atestuser2 * User stephen (0, 0, 1)... Sending email to [email protected] * User david (0, 0, 1)... Sending email to [email protected] Your message has been successfully posted

I had to re-configure Kunena not to e-mail Administrators, because I'm sure they are getting quite annoyed with all the test post e-mail notifications they are receiving!

With this option now turned off, I made another test post, which resulted in no debug output from Kunena, but here is the SQL query from Joomla's debug:
Code:
SELECT u.id, u.name, u.username, u.email, IF( s.thread IS NOT NULL, 1, 0 ) AS subscription, MAX(IF( c.moderated=1 AND p.moderator=1 AND ( m.catid IS NULL OR m.catid=6), 1, 0 )) AS moderator, IF( u.gid IN (24, 25), 1, 0 ) AS admin FROM jos_users AS u LEFT JOIN jos_fb_users AS p ON u.id=p.userid LEFT JOIN jos_fb_moderation AS m ON u.id=m.userid LEFT JOIN jos_fb_categories AS c ON m.catid=c.id LEFT JOIN jos_fb_subscriptions AS s ON u.id=s.userid AND s.thread=107 WHERE u.block=0 AND u.id NOT IN (62) AND ( ( s.thread IS NOT NULL AND u.gid IN (24,23,25,30) ) OR ( c.moderated=1 AND p.moderator=1 AND ( m.catid IS NULL OR m.catid=6 ) ) ) GROUP BY u.id

Running the above query in phpmyadmin results in no rows returned. I.e. it's still not seeing the three subscribed users (two, if you exclude me as the poster).
Last edit: 16 years 1 month ago by Trouble.

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

More
16 years 1 month ago - 16 years 1 month ago #43642 by Trouble
emailfix2.zip has exactly the same class.kunena.php as emailfix.zip!

No wonder my tests had the same results! :silly:
Code:
$ diff -c class.kunena.php.emailfix class.kunena.php.emailfix2 $
Last edit: 16 years 1 month ago by Trouble.

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

More
16 years 1 month ago #43647 by Matias
Oops, I modified wrong file:

File Attachment:

File Name: emailfix3.zip
File Size:12.93 KB


Any luck now?

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

More
16 years 1 month ago #43648 by Trouble
Matias wrote:

Oops, I modified wrong file:

File Attachment:

File Name: emailfix3.zip
File Size:12.93 KB


Any luck now?


YES! :woohoo:
Code:
Configuration (1, 1, 0, hold=0) Author: trouble Subscribers: trouble, atestuser, atestuser2 * User stephen (0, 1, 1)... Sending email to [email protected] * User atestuser (1, 0, 0)... Sending email to [email protected] * User david (0, 1, 1)... Sending email to [email protected] * User atestuser2 (1, 0, 0)... Sending email to [email protected] Your message has been successfully posted
Code:
Configuration (1, 1, 0, hold=0) Author: atestuser2 Subscribers: trouble, atestuser, atestuser2 * User justin (1, 1, 1)... Sending email to [email protected] * User stephen (0, 1, 1)... Sending email to [email protected] * User atestuser (1, 0, 0)... Sending email to [email protected] * User david (0, 1, 1)... Sending email to [email protected] Your message has been successfully posted

Many many thanks for your time in fixing this bug (and Kunena)! It's appreciated!

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

More
16 years 1 month ago #43649 by Trouble
Hmmm, but should stephen and david be e-mail notified?

In Kunena I have the "E-mail Administrators" configuration option set to "No". stephen is a Super Administrator and david is an Administrator.

They are not assigned as moderators (though I read Administrators are moderators by default) - but if this is supposed to happen then I don't see how I can configure Kunena not to e-mail notify the Administrators!

They didn't receive e-mails before emailfix3.

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

Time to create page: 0.282 seconds