×
Kunena 5.1 RC 3 Released (16 Feb 2018)

The Kunena team is proud to announce the arrival of Kunena 5.1.0 RC3 [K 5.1.0] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a RC release.

Question Emails only sent to moderators, not to subscribers

More
6 months 5 days ago #1 by btc
btc created the topic: Emails only sent to moderators, not to subscribers
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! [ Click to expand ]

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! [ Click to expand ]

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

Warning: Spoiler! [ Click to expand ]
| Kunena integration settings:
Warning: Spoiler! [ Click to expand ]
| Joomla! detailed language files installed:
Warning: Spoiler! [ Click to expand ]

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
6 months 5 days ago #2 by rich
rich replied the topic: Emails only sent to moderators, not to subscribers
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
6 months 4 days ago #3 by btc
btc replied the topic: Emails only sent to moderators, not to subscribers
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
6 months 4 days ago #4 by 810
810 replied the topic: Emails only sent to moderators, not to subscribers
libraries/kunena/email/email.php
and:
libraries/kunena/forum/message/message.php

Your feedback on the JED helps us improve Kunena!

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

More
5 months 18 hours ago #5 by btc
btc replied the topic: Emails only sent to moderators, not to subscribers
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
3 months 1 week ago #6 by btc
btc replied the topic: Emails only sent to moderators, not to subscribers
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 add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.108 seconds