![]() |
[HTL] and [Normal] Save Prior Email
Save Prior Email
Version: v1.0.1 vB-version: 3.0.0 Developer: Glenn H. Shelton III Install difficulty: Easy File edits: 3 Template edits: 0 Description of the Hack: This hack allows you to save the prior email address of a user when they change it. This is one of the largest missing features I have found in vBulletin. The issue I fought with is a user signing up using a legit email, trash posting, then changing the email address to a non-legit email account. This locks them out as they can not activate the account, however, it does not let you find them easily. This will allow you to have a "legit" contact method. Bug Fixes 04-11-2004 =========== Changed the original code to stop the "emailold" from being overwritten if the user was in "Awaiting Email Confirmation" group. Files Have been updated. HACK INSTALLATION DETAILS: Files modified for this Hack: profile.php admin/user.php New DB columns for this Hack: user Remember: If you use it, please click install! :) |
great idea!
|
Quote:
I added a screen grab above. |
Def. a good hack, I'll be installing this once I get my board ready. :)
|
What if the user changes their e-mail constantly? Does the original e-mail stay or is it over-written?
|
Quote:
|
Quote:
I did not realize a user can change their email even when they are "awaiting email confirmation." I will fix this and post it asap. ;) Thanks everyone! |
Will this only save just the prior one or can it be set up to save ALL they change? Somewtimes they will do more than one if they are really trying to pull something. ;)
|
OK, here is the fix: (I updated the installer, but here is all you need to change.)
In the original install file, it says: Code:
Find: (About Line: 330) Code:
Find: (About Line: 330) Keep the feed back coming. |
Might not be a bad idea to have it as a drop down then older email address could be added to it very easily in case you ever run into that. I ran into in on my vB2 board but haven't yet so far on vb3, but I'm sure it's coming. ;)
|
Quote:
Thanks. :) |
Quote:
When you email the member, it will only email the new address. That way if a member has changed their email due to the old one being a bad email address, you will not be mailing to a bad email address. You can not search it at this time. I did not think there would be a need for that feature, but I can put it on the list for future releases. |
Quote:
And it's simple enough, just load the old email list from database, and add newemaillist= oldemail + oldemaillist; admin dont need to verify addresses, they just need to read the first or last email address in the list. If i were you, i would add the oldemail = userfield, using ACP userfield tool. anyway, good one. |
Quote:
|
Mod description:
- Add OldEmail to OldEmailList if user change email (or password) File to edit: 1 Template to edit: 0 Template to add: 0 ProfileField to add: 1 Version: vB 3.0.0 Credit: Glenn H. Shelton III, who wrote the Save Prior Email hack (Sorry Glenn, hope you dont my me adding this hack on yours. If you do, let me know, I will remove it right away :) ) |
Quote:
Thanks. |
Quote:
In mine, you only need to edit 1 file, no change in database. 2 additional queries run when update profile |
Yes, I realized that after I posted. I like it. It makes it much easier. I will update the hack. ;) Thanks again.
|
Any way to remove the trailing comma on the emails line? ;)
|
All times are GMT. The time now is 04: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:
|