I set the points threshold at 500. When I got there, I got a mail. As I continued to add nodes, I got a mail for every node creation. I ended up with 27 e-mails in my inbox. I presume this is not expected behaviour?

Comments

esllou’s picture

Is nobody else seeing this? I have had to disable the e-mail sub-module because, while doing development work on my site, adding, deleting content, I was getting an e-mail every 10 seconds telling me I'd gone above my threshold of 500 points.

I will try and get in touch with the author of that particular contributed module.

kbahey’s picture

esllou

The userpoints contrib collection of modules is written by many people, not one person.

The best thing you can do is devise a working patch and submit it

Solutions can be in various form:

1. Save the current points in "points before", and check it in "points after" and send the email when the "before" is below the threshold and "after" is above it.

2. Have a new table with the uid, and rid in it. If there is a match for both, then this user has been notified before, and no need to notify them again). If there is no match for both values in the table, then send the email and write a row in the table for that uid and that role.

icecreamyou’s picture

I have this problem too. Unfortunately I don't have time to work on it for at least a few weeks.

jazzitup’s picture

subscribe

berdir’s picture

Status: Active » Closed (won't fix)

Sorry for pinging the participants.

Now that Drupal 7 is out, there is no support for Drupal 5 and the
corresponding modules anymore. Therefore, I'm closing all old issues
which are still open.

I suggest you upgrade to Drupal 6 or 7 and figure out if you're feature
is still needed or the bug still exists and open a new issue in that
case.