![]() |
Un-Activated User Management
although i know this works manually, it's untested via cron
Quote:
oh yeah, it emails you to tell you who was deleted, emailed so you're always informed. if you got a big board you can't live without this, it stops the crap from piling up. anything messes up, i can't take responsibility i'm afraid so back up before you try it. ######################################### Add-On: ######################################### if you like your templates in your admin cp neat then do this: in "includes/adminfunctions_template.php" find PHP Code:
PHP Code:
[high]wol stuff been removed due to the fact this should now be in the cron directory and thus won't show up anyway[/high] and now like the days of our youth where everything was free and our mum would have dinner on the table for us, you're done. [high]this was a fantastic vb2 hack and was made with blood, sweat and tears by Amy, she deserves all the credit for doing a fantastic job and then giving me permission to release this, so please if you install this should your gratitude in her direction as without her it would've been impossible. the two critical bugs that a/ it wasn't sending the activationid and b/ it was deleting users who didn't change their email correctly, have been squashed by Psico[/high] v2.1: Boofo killed 2 bugs :D v2.2: more bugs killed by Boofo :D :D v2.3: bugs killed by psico :D :D :D v2.3a: bugs killed by sv1cec :D :D :D :D v2.4: changed activation code when one exists already removed (sv1cec) :D :D :D :D :D v2.4: better cron logging (me) :D :D :D :D :D :D v2.4: table prefix bug found by jlurken, fixed by moi :D :D :D :D :D :D :D v2.5: email reminder sent to your inbox thanks to sv1vec, improved logging, removed redundant code. :D :D :D :D :D :D :D :D v2.5.2: fixed table prefixes. :D :D :D :D :D :D :D :D :D [high]YOU WILL NOW NEED TO EDIT THE FILE TO MAKE SURE IT WORKS, IT'S CLEARLY MARKED ON LINE 21[/high] |
What's the downside to having a large amount of unactive members saved?
|
depends on what your board is trying to do with them users, but it's mostly taking up space it don't need to be.
i saw a post by someone the other day that said they had 200 members unconfirmed, to think something like this could've seduced em into completing their registration. |
Quote:
i dunt like unactive members its kinda waste or no use for board at all. Sandy... |
you know this is already in vb3 right by default, right? albeit not exactly the same, but you could just hack the existing one.
|
yup, noticed last night and thought asked for it be removed, read their version and thought this would make a nice alternative as does remove the users after said amount of days
|
Paul, I have this set up to use vB3's cron and it works great. PM me on my site and I will give you the updated file and what you need for this. ;)
|
Quote:
|
Quote:
|
very nice, *looks over at list of 400 new unchecked accounts* I think I could use this ;)
|
it's 5am, i'm still at work, but i'll talk to bob in the morning and update the neccessary files as soon as i wake up tomorrow.
|
Sounds good :)
|
If I install this (I'm really tired of pruning manually!) will it double up the activation reminders that are already being sent out by VB3?
|
if you install this, you're best to disable the one built into vbulletin, but i would wait a while cos i'm going to update this by end of weekend.
|
Perfect! Just out of curiousity... is the update for bug fixes ... or additions to what you've already posted?
|
Quote:
|
just updated this upto version 2.2 thanks to Boofo, so please if you're gonna show gratitude, show it to both them.
to upgrade all you have to do is replace the managaActivation.php anyhoo not to good at this whole release stuff so have fun with it :) instructions on how to run under the vb cron system are in the installation file. |
Where do you add the password at in this file?
|
you actually don't need to do that bit anymore, sorry should've removed that bit from the instructions
|
Quote:
I think this hack have to check if this user is a new registration or an email change, for obvious reasons ;) Great hack dude! |
Quote:
|
Quote:
Thanks heaps for this, its great! Christian |
Quote:
|
at a quick glance you'd need to edit this
PHP Code:
PHP Code:
|
Maybe I'm not following the process here but would it not allow for 10 ten days for correction? While it's certainly possible to loose an occasional member, if they are even semi-active they will know they did not receive the activation notice, the usergroup permissions would not have changed to allow regular member access, plus they would have to make the same exact error in their email address twice to change it. Just seems like pretty slim odds to me.
|
User activationid's are not being included in the email notices for my board. Is this query correct as there is no activationid field in the user table;
PHP Code:
|
i'm looking into this now, the query is correct as it pulls the column correctly but it's just coming up null, i should have an update by the end of the day.
|
Okay... cool. The other thing I was wondering about is it doesn't seem to list in the cron log files unless I run it manually. It's certainly working as I have no unactivated accounts over the time limit... just no logs to indicate it. Anything that I would need to change to have it running from my includes/cron/ directory? I compared log_cron_action to another script that was being logged and they seem the same to me.
|
Quote:
IN manageActivation.php Under this: PHP Code:
PHP Code:
So the quick solution to this is to change the query like this: Code:
SELECT username,user.userid,email,joindate,activationid See ya. |
completely forgot about htis, i'll issue an update :) thank you psico :)
|
Nice work.. I'll be installing this shortly. :)
|
Thanks for the update - installeD :)
|
will install :) thanks
|
Nice!
/me installs |
Quote:
|
Shouldn't the manageActivation.php file go in includes/cron? Or does it matter?
|
Quote:
|
It's not real clear for the noobs in the install.txt:
"1. upload manageActivation.php to your forum director." |
oops i'll have to fix that.
|
Quote:
Hitting install. The hack just deleted my wife, who was a guinea pig account, not activated!! Thanks |
All times are GMT. The time now is 12:46 PM. |
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:
|