×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: comments - notifications to too many users

comments - notifications to too many users 12 years 3 months ago #17205

  • Brecht Coene
  • Brecht Coene's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
Hi,

After upgrading joomla and some extensions we have problem with too many notifications.
In com_content configuration notifications are enabled. Two usergroups are selected as moderators groups and they are receiving email about new comments. Also users who want to be notified recieve notifications. Problem is with new registered users. They receive many unwanted spam messages.
There was a problem with our custom components and new users didn't have any usergroup assigned. I thought this was a problem but now this is fixed and new users are in group Registered but they still are receiving spam.

com_comments versions is 4.2, due to many custom modification we can't move to 4.2.1 quickly
joomla 2.5.6 (on joomla 2.5.4 everything was ok)
community builder 1.8.1 (used to be 1.8 )

Any ideas what is wrong and how to fix this issue?

I checked one new user who receives spam from us. He hasn't posted any single comment. He is in Registered group.

comments - notifications to too many users 12 years 3 months ago #17207

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Kristof,
So users who have not posted comments are receiving notifications about new comments in that thread?

Or are they receiving moderator notifications?

User notifications are only sent to users that have subscribed to a content item -> we query the comment table, if the user has provided email + has set the option to notify to yes and then we send email to this user.

for moderators -> we get the users in the selected groups and then we make a query to get the emails from jos_users. By looking at the code I don't understand what could be wrong with that part either.

my advise would be to debug the part in
components\com_comment\classes\joomlacomment\JOSC_notification.php line 240 -> check to see if the function really returns the moderators (but it should... as it is a standard joomla fuction JAccess::getUsersBygroup)

Regards,
Daniel
The following user(s) said Thank You: Brecht Coene

comments - notifications to too many users 12 years 3 months ago #17208

  • Brecht Coene
  • Brecht Coene's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
Thanks for you support and talk.
Our JOSC_notification.php file wasn't up to date.
  • Page:
  • 1
Time to create page: 0.107 seconds