![]() |
Quote:
Yeah that will be like a nice add on, I have users that take vacations, so it would be nice to place them in a temporary vacation group, and have that group id be un touch by this hack, what ya think Amy? |
it would be cake for you to adjust the query. Just change the "WHERE lastactivity<$cutoffdate and emailDate<$dateCut" to "WHERE lastactivity<$cutoffdate and emailDate<$dateCut and usergroupid != X"
With X being the usergroup you want to exclude. Amy |
Quote:
"WHERE lastactivity<$cutoffdate and emailDate<$dateCut and usergroupid != X and usergroupid! = Y" would it include both the groups? |
Quote:
Code:
$userArray=$DB_site->query("SELECT username,userid,email,adminemail,emailDate FROM user |
Yes, iggy. You caught a typo. Thanks.
Amy |
also would there be away to get a report of what user accounts are in the process of being deleted if they dont log back on after the notification email?
|
I thought this one emailed the admins? Don't remember and am too lazy to scroll back up. If it doesn't find the hack that deletes members who never click the validation link and grab the email code from that.
Amy |
yea it does mail the admin well i got one anyhow LOL
|
This hack looks cool, I'm going to probably install it later. Its so tedious doing a find users by last post date, since you need to format the date in a weird way and email them individually :)
|
NM, problem fixed. User Error ;)
Question, can we make this hack run only on a specific usergroup? For example, registered members (usergroupid 2). |
I have it installed and working fine.
I haven't been able to figure out how to pass a username and password to the script to run it as a cron job, though. The job runs fine but fails due to the lack of authentication. Help? |
Quote:
Amy |
*reads instructions again*
Oops. Thank you, Amy. |
Does this work for VBulletin 3.0.3 as well?
|
this hack needs an update
|
All times are GMT. The time now is 01:02 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:
|