will this email users who never logged on

gurukripa - July 26, 2007 - 04:14
Project:Inactive User
Version:6.x-1.0-beta2
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:antiorario
Status:needs review
Description

on my site users have to confirm by email and then change their passwords..

will this module email them and remind them that they are members and need to login?

if this doesnt do it..can u include it as a feature..thanks

#1

smokinggoat - August 17, 2007 - 23:28

I also would like to request this feature - this is the main reason I looked at this module. If there is another module that does this, please point us to it. :-)

Thanks
G

#2

hydrian - August 26, 2007 - 02:13
Category:support request» feature request

I am also looking for this feature. I need to be able to send the user a warning e-mail if an account has been created, but never logged in for over X amount of time. Then if the user doesn't login within X amount of time... delete the account. You don't need to worry about user created content since the user never logged in. Also this needs able to effect only active users (I'm thinking this is an optional setting).

#3

pnc999 - October 2, 2007 - 06:55

Hi,

I've found that users who have an active account, but have never logged in, are emailed but the email is a bit odd in my case.

I'm just using the default settings for the email message and users who've never logged in get advised that we haven't seen them since Jan 01, 1970.

Hope that helps.

#4

antiorario - December 19, 2007 - 16:57
Version:5.x-1.1» 5.x-1.x-dev
Assigned to:Anonymous» antiorario

I don't know if anyone still needs this feature, but I did. So this afternoon I tweaked the module a bit and think the final product might work. I also tried to improve the module adding install and update functions. This, of course, comes outside the regular version numbers, but I already e-mailed the current maintainer hoping the next official release will include my part of the job.

I updated the CHANGELOG with my modifications.

[attachment deleted and replaced by the next post]

#5

antiorario - December 19, 2007 - 17:29

I'm already providing an update to my previous post. I had left out a variable in the uninstall list. So here it is.

0.1: added variable inactive_user_timestamp in the uninstall list
0.2: added the insertion of never_returned = 1 on admin notification (important, yet I forgot before)

#6

Crell - December 19, 2007 - 17:25
Status:active» needs work

Please submit a proper patch so that it can be reviewed: http://drupal.org/patch/create

#7

antiorario - December 19, 2007 - 21:51

I definitely will. I'll take some time later to see how that works. Meanwhile, I'll just upload one more update – in case someone needs it fast.

0.3: fixed a couple of variables in the module, which prevented it from sending the right e-mail to users.

#8

antiorario - December 20, 2007 - 16:33

[Updated Dec. 20, 2007. The attachment reflects this update]

Here's a patch to inactive_user.install and inactive_user.module (5.x-1.x-dev).

As anticipated, the main changes are:

changes to inactive_user.module:
- added option to notify admin and/or users when an account has never been used since registration
- by default, the never-returned users are notified only after at least a week has passed since registration (to avoid notifying newly registered users)
- added a selector to define a "grace period," to avoid notification of newly registered users. It defaults to one week, and can't be disabled
- to avoid functional overlapping, I disabled the standard inactivity notification for never-returned users. This means that users and admins will no longer receive any weird references to Jan. 1, 1970

- changed %sitename to @sitename, to avoid html in e-mail subject lines
- added a couple of variables to avoid confusion with the standard inactivity notification. They are reflected in the database

changes to inactive_user.install:
- added module uninstall and update functions
- MySQL: added one field three fields in the inactive_users table (reflected in the install and update functions)
- fixed the update function, which I had messed up earlier

#9

antiorario - December 20, 2007 - 16:36

I kept trying to replace the old file with the new one, but it wasn't working. I am flooding this issue, I know...

AttachmentSize
inactive_user-20071220.patch 23 KB

#10

LuRcH@www.daiha... - January 7, 2008 - 23:03

Tested this patch, and it appeared to email every single user of my site dating back to the beginning. This included 1 person who register 4 and half years ago on the site posted about 20 forums posts over a 6 month period, but not seen since. So definitely know he had logged on. :)

#11

antiorario - January 8, 2008 - 08:27

Well, that's strange. I tested the patch over and over, and now I'm using it on a production site with more than one hundred users, and it works as expected. Did you use it to patch an existing install of the module or as a new installation? What options did you activate?

Also, I'm still waiting for the patch to be reviewed, so I guess there will be more info when Crell gets back.

#12

LuRcH@www.daiha... - January 10, 2008 - 18:50

Was an existing install of Inactive User. Options that ticked was "Notify users when they have never logged in." With the default email message included in the patch and "Don't notify about users newer than:" set to 2 weeks. Since that initial process of it emailing everyone it appears to be working as expected. Have even combined your patch and the patch from "kilogauss" which deletes users and both now appear to be working nicely alongside eachother. So will probably post that updated patch if it doesn't break my database.

#13

LuRcH@www.daiha... - January 14, 2008 - 19:07

Find attached the patch I made against the 5.x-1.x-dev version. Which combines both the email to users which have never logged on and the deletion of never logged on users. Tidied up so they are both together.

AttachmentSize
inactive_user_neverlog_combo.patch 24.92 KB

#14

Gábor Mayer - January 24, 2008 - 17:06

i'd like to resend the registration email without any notification.

#15

apyash - April 8, 2008 - 15:40

I am not able to install this patch with my existing inactive_module, would someone please tell me how can I include this patch with existing module.

#16

jaydub - April 9, 2008 - 04:04

better yet, try drupal.org/project/account_reminder

this module is only about sending out reminders to users who sign up
but have not yet logged in

#17

apyash - April 9, 2008 - 20:56

HI

I have setup this module also, but it looks that its not sending mails.

I have set up

Days till initial reminder: 1
Days between reminders: 1
Total number of reminders: 10

and I have given my email id to get copy of email, but its not running and i Didn't get any email, so how can i check that its sending reminders to people.

#18

jaydub - April 11, 2008 - 04:37

Are you using the latest version of account_reminder? Feel free to open
an issue on the account_reminder project page

#19

ekrispin - May 27, 2008 - 23:26

Anybody taking care of this patch?

#20

deekayen - May 28, 2008 - 00:12

I have a project coming up in the next 2-3 weeks that will need to block users within 10 days after a moderator activates their account (for moderated account signups) if they don't login. If they login after being activated within 10 days, the regular time span takes its place, so this is somewhat related.

Since I'm working on several patches for several modules at any point in time, if you're volunteering to re-roll the patch, that's probably a good idea.

#21

janusman - May 28, 2009 - 21:33
Version:5.x-1.x-dev» 5.x-1.4
Status:needs work» needs review

New patch for 5.x-1.4.

AttachmentSize
162176-21.patch 13.07 KB

#22

deekayen - May 29, 2009 - 17:02
Status:needs review» needs work

Patch doesn't apply cleanly. You appear to have diffed against a file that had some testing code in it like a test mail line with your email address.

#23

deekayen - May 29, 2009 - 17:56
Version:5.x-1.4» HEAD
Status:needs work» patch (to be ported)

5.x is unsupported. Have to make the patch for 6.x or better.

#24

janusman - May 29, 2009 - 18:59

Thank you, I submitted it because I thought others shared my need, needing a patch for 5.x. =)

Do you need a rerolled patch for 5.x?

#25

janusman - August 11, 2009 - 21:09
Status:patch (to be ported)» needs review

Patch for DRUPAL-6--1-0-BETA2.

AttachmentSize
162176-25.patch 12.11 KB

#26

deekayen - August 12, 2009 - 14:13
Status:needs review» needs work

You should use schema api functions for updating the database so you can remove the db_type switch. http://api.drupal.org/api/group/schemaapi/6

The brackets on your while loop don't comply with coding standards, nor does the spacing on the indent (2 spaces at a time): http://drupal.org/coding-standards

#27

janusman - August 19, 2009 - 20:13
Version:HEAD» 6.x-1.0-beta2
Status:needs work» needs review

New patch.

AttachmentSize
inactive_user-162176-27.patch 18.5 KB

#28

fred0 - August 19, 2009 - 23:37

Hmm. While this patch looks good, my take on it is that it is less configurable and less functional than Account Reminder. The only advantage it has is the delete user function, but then one can get that via Login Toboggan. Using those two modules in concert seems to me to provide the desired actions in a more functional way.

 
 

Drupal is a registered trademark of Dries Buytaert.