The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Unactivated User Management after 1 year (help please)
Hello,
I have installed Amy's Unactivated User Management hack for vB2.x, and I have a question.. I would like to use this same hack to delete users who have not visited the website in 487 days (1.5 years). The original script queries this (I added the [AND posts=0] because I do not want active posting members to fall into this category unless it sits there for the 487 days): PHP Code:
Any users that are in usergroupid IN (2, 3, 10, 11) and lastvisit is 487 days, delete them. I have commented out the mail command for testing. PHP Code:
|
#2
|
|||
|
|||
Because what the original hack was doing was to look for all users in the "waiting for confirmation usergroup" (still not confirmed, so they can't have posted or visited) who signed up long ago.
Now you are extending the hack to registered users, but still only checking on registration date. You must for registered users check on the date last posted or last visited. |
#3
|
||||
|
||||
i was just about to say that you would be best off just making a new script
|
#4
|
|||
|
|||
lol im not too sure how to actually create a script from scratch. I don't even have to email my users when they are about to be deleted, but since I had that script, I figured i would, lol. Is the actual MySQL Query valid, it's just in the code under that?
Thanks for the quick replies! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|