×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

Question Emails only sent to moderators, not to subscribers

More
3 years 1 month ago #1 by btc
This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 60 seconds | Max execution memory: 128M | Max file upload: 100M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : business_pro | author: Shape5.com | version: 1.0 | creationdate: August 2013

Kunena default template details : Blue Eagle5 | author: Kunena Team | version: 1.0.3 | creationdate: 2017-02-04

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 5.0.10 | 2017-06-30 [ Junco ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: CommunityBuilder 2.1.0 | UddeIM 3.4

Third-party SEF components: None

Plugins: Search - Kunena Search 5.0.3 | Content - Kunena Discuss 5.0.3

Modules: Kunena Latest 5.0.3 | Kunena Search 5.0.3


I've discovered that emails are not being sent to subscribers, only to the two forum moderators. I don't know how long this has been going on. I've checked in phpMyAdmin and confirmed that the users who aren't receiving emails are definitely subscribed to the particular topics. I can also see in the Elastic Email sent emails report that the only emails that have been sent are to the admin and moderators.

Any idea what's causing this? I've tried switching template and switching between plain text and html, but no joy.

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

More
3 years 1 month ago #2 by rich
hm.. difficult, your settings are all correct. You are sure, that actually no mails will sent? It works if you subscribe complete categories?

I've checked in phpMyAdmin and confirmed that the users who aren't receiving emails are definitely subscribed to the particular topics.

You can see this also in "Backend -> Kunena -> Users -> click on user name -> tab Topic- or Category Subscriptions".

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

More
3 years 1 month ago #3 by btc
Thanks Rich.

I've done more testing using a development website and several of my many email addresses and get a consistent result. Emails are going to moderators only, not to any other subscribers to either topic or category.
I have done a bit of customisation of Kunena, mainly to the template, but can't see how any of it could have affected the email sending.
Is all the email sending code in components/com_kunena/controllers/topic.php or is there something in another file?

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

More
3 years 1 month ago #4 by 810
libraries/kunena/email/email.php
and:
libraries/kunena/forum/message/message.php

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

More
3 years 1 week ago #5 by btc
This problem is still continuing. However, I was wrong in saying that only moderators received emails. Emails are sent to category subscribers (which include moderators) but not to topic subscribers.

Looking through libraries/kunena/forum/message/message.php I see it includes on line 422

->update('#__kunena_user_topics')
->set('subscribed=2')
->where("topic_id={$this->thread}")
->where("user_id IN ({$sentusers})")
->where('subscribed=1');

Searching in that table on my website I don't find any instances where the value of subscribed is 2. What is the purpose of this query? Is it just temporary and it's reset to 1 somewhere else in the code?

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

More
2 years 10 months ago #6 by btc
Any idea what could be causing this issue? Emails are still only going to category subscribers, not to people who are only topic subscribers?

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.121 seconds