Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jxs2151 on
I have yet to get remindme working. I was on 4.2.0 and could not get it to work and thought maybe when I got to 4.3.2 it would work.
Cron is working because my feeds get updated.
Email is working since new users get emails on signup.
I have the remindme module set to send reminders every fifteen minutes. The cron runs every fifteen minutes. I enter an event, go to the event and choose remindme and have chosen various times. No reminders.
Anyone have this working?
Anyone have hints on how I can troubleshoot it?
Comments
please try the latest 4.3 ver
please try the latest 4.3 version 1.7.2.3.
--
Drupal services
My Drupal services
Line 163
If you are referring to the line 163 u.nid issue I have already manually fixed that.
Should it be working otherwise? Is there anything else fixed beside that?
Thanks for taking the time to reply.
I changed another variable in
I changed another variable in the same query.
--
Drupal services
My Drupal services
SQL Statement
Curious why in the following statement you do a WHERE clause on n.status=0 ?
status=0 in the node table means that the node is not published. Did you mean to do that?
It appears as if the reminder is getting written to remindme_node but is never sent, as evidenced by the fact that it is never deleted either.
SELECT r.nid, r.timestamp, u.uid, u.name, u.mail, n.* FROM {remindme_node} r INNER JOIN {node} n ON r.nid = n.nid INNER JOIN {users} u ON n.uid = u.uid WHERE n.status = 0 AND r.timestamp > 0 AND ". variable_get("remindme_send_last", time()) ." + r.timestamp > ". time() ." GROUP BY u.uid, n.nid
Working
I changed WHERE n.status = 0 to WHERE n.status = 1 and it seems to be working now.
Remind other users
I got the basic remindme working with the fix described above. When I do some testing though it appears to fall apart.
From what I have seen, if user A creates an event and user B signs up for a reminder, it sends a reminder every x minutes to uid 1. X being the smallest reminder (15, 30, etc.) if multiple reminder minutes are set.
I will play around with it some more but I wonder if anyone has this up and running and I am just doing something wrong?
I am quite surprised that I g
I am quite surprised that I get so many bug reports on this module more than half a year after its creation. I suppose that nobody was really using it untill now.
I think the query should be
and the delete query should then be
--
Drupal services
My Drupal services
Thanks
Should I be submitting bug or feature requests instead of doing this here? Whatever you are comfortable with, I just appreciate your help in getting a module working that will add significant value to my site.
Thanks.
Since we have this nearly wor
Since we have this nearly worked out, creating a bug report would be too late now, but is generally preferred. You could also simply mail me. I like to get feedback on my modules, even if they do not work from the start.
--
Drupal services
My Drupal services
Modified Module
I modified your module a bit also to make the reminder look prettier (IMO):
This gives you a reminder that has a link to the node within the message body. I hardcoded my domain information only because I don't know how to code to get the sitename. I think it is very useful for a user to be able to satisfy their natural curiousity- "Hmmmm....what is this reminder for again?" The link allows them to easily do that I think.
Partially Works
This now partially works:
An email does go out to the individual that signed up but one still goes out to the what is apprently the event creator.
I don't know why the event cr
I don't know why the event creator should get mailed unless he is subscribed as well. Can you check that? I also added you suggestion about a link (in a more Drupalish manner). Please download the latest version.
--
Drupal services
My Drupal services
Looks good
Don't know why it was happening but I cleared the remind_node table and all seems well now.
Thanks for you help.
Any chance of including a feature where an administrator can create reminders for 1) all users 2) individual users ?
Also a feature where the administrator can configure/customize the subject text and the message text on the administration page for the remindme module?
Errors
Dowloaded CVS module and get this on login:
warning: Cannot add header information - headers already sent by (output started at /home/www/www.harvesterchurch.org/drupal-4.3.2/modules/remindme/remindme.module:174) in /home/www/www.harvesterchurch.org/drupal-4.3.2/modules/user.module on line 668.
warning: Cannot add header information - headers already sent by (output started at /home/www/www.harvesterchurch.org/drupal-4.
Sorry, I forgot a closing bra
Sorry, I forgot a closing bracket.
--
Drupal services
My Drupal services
More errors
On logout or login after creating an event:
warning: Cannot add header information - headers already sent by (output started at /home/www/www.harvesterchurch.org/drupal-4.3.2/modules/remindme/remindme.module:197) in /home/www/www.harvesterchurch.org/drupal-4.3.2/modules/user.module on line 668.
warning: Cannot add header information - headers already sent by (output started at /home/www/www.harvesterchurch.org/drupal-4.3.2/modules/remindme/remindme.module:197) in /home/www/www.harvesterchurch.org/drupal-4.3.2/includes/common.inc on line 481.
The module does have less tha
The module does have less than 197 lines of codes. I think you added blank space after the closing ?> tag. Remove that.
--
Drupal services
My Drupal services
Error
When setting reminder:
warning: call_user_func_array() expects first argument, 'page', to be a valid callback in /home/www/www.harvesterchurch.org/drupal-4.3.2/includes/theme.inc on line 219.
Test Results
All test results seem to indicate that no matter how far in advance one sets the reminder one will get the reminder email at the next cron run.