![]() |
Sounds good so far... I'll wait till this is out of beta before i install :)
Regards - miSt |
I am going to give it a few more days. I think It's good to go, but want to wait and see if anyone else has issues.
Amy |
Does this email every users with xxx inactive days regardless of their usergroup? I have a seperate usergroup 'inactive' which holds all members who were inactive for a year and longer. I want to test it on myself first though (by manually putting myself to 365 inactive days)
Great hack! Absolutely what I've been waiting for! /me clicks *installed* - djr |
Regardless of the user group, it emails them.
Amy |
Sorry, already found out! The answer is obviously in the output of manageInactive.php :)
Ok, have to set myself to a longer inactive time then! ;) Thanks for the prompt answer :cool: - djr |
I'm having troubles, or I don't understand the hack. It installed without problems. I've set the options 'Email' and 'Delete' both to ON, so users will be warned first, wait for 15 days and then deleted if I understood correctly?
I add a user via vB Admin CP with the following info: Username: Testuser Usergroup: Inactive Join Date: 1999-01-01 01:00:00 Last Activity: 1999-01-01 01:00:00 (same for Last Post and Last Visit) All other relevant info set. Fire up manageInactive.php. Output: Email Testuser And boom! The user is deleted immediately, instead of waiting for fifteen days. The e-mail got sent out, though (I used my own email-address). When I search for 'Testuser' in phpMyAdmin in the User table, NADA! Same for vB Admin CP. What am I doing wrong? Please advise. - djr |
I know what the problem is. Back in a sec with the fix.
Amy |
K, fixed. I updated the zip file. To upgrade, open your manageInactive.php and
Find: Code:
$DB_site->query("UPDATE user set emailDate=".time()." WHERE userid=$user[userid]"); Code:
$user[emailDate] = time(); |
Thanks for the quick fix!
I have been looking up and down the .php file, but just couldn't find it.. shows I'm better at hacking than coding ;) All working great now. If you want the lost password added to the message: Quote:
|
Sorry, back again :cool:
As this hacks only deletes the user, but leaves the redundant user settings (customavatar, private messages, etc etc) in the db, I was wondering if it's possible to update this hack so it deletes everything bound to that userid? In admin/user.php there's already the php code for it (find // ###################### Start Remove #######################). Or maybe alot easier, just redirect to the user.php with all the paramaters necessary (userid, http_action 'kill'). I'd love to do it myself, but as said in my earlier post, I can't code :-( Thanks for looking into it! - djr |
All times are GMT. The time now is 01:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|