Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
[HTL] and [Normal] Save Prior Email Details »»
[HTL] and [Normal] Save Prior Email
Version: 1.00, by Hurricane Hurricane is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-10-2004 Last Update: Never Installs: 9
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-12-2004, 04:57 AM
gspot's Avatar
gspot gspot is offline
 
Join Date: Mar 2003
Location: Nevada
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
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.
I like this hack, it has a ton of potential... Now a couple of questions. If you send out an email, will it email the old and the new email address for the member? or just the new email address? Also, when you search for a member, can you search by both email address's in order to find the same member??

Thanks.
Reply With Quote
  #13  
Old 04-12-2004, 02:04 PM
Hurricane Hurricane is offline
 
Join Date: Feb 2002
Location: Central Florida
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gspot
I like this hack, it has a ton of potential... Now a couple of questions. If you send out an email, will it email the old and the new email address for the member? or just the new email address? Also, when you search for a member, can you search by both email address's in order to find the same member??

Thanks.

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.
Reply With Quote
  #14  
Old 04-12-2004, 10:48 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hurricane
@Bob: At this point it only stores the last confirmed email address. If there is enough of a request to store all email addresses of a user I will look into it. But the way it is now, once they confirm their account to post you know it is a valid email. When they change it the first time the "known good" email address is moved to the "emailold" spot and the new email is stored. If that account is not ever confirmed then the "known good" email stored in "emailold" will not be overwritten. If it is confirmed, it will over write the old "known good" with the new "known good" when they change it again.

Keep the feed back coming.
actually, you can save OLD EMAIL as it's a log table. for every single change in email address, you just ADD (not replace) the new "old email address" into the "old email addresses" list.

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.
Reply With Quote
  #15  
Old 04-13-2004, 12:41 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
actually, you can save OLD EMAIL as it's a log table. for every single change in email address, you just ADD (not replace) the new "old email address" into the "old email addresses" list.

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.
Can you show me how to do this in pm?
Reply With Quote
  #16  
Old 04-13-2004, 06:05 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 )
Reply With Quote
  #17  
Old 04-05-2005, 07:08 PM
Hurricane Hurricane is offline
 
Join Date: Feb 2002
Location: Central Florida
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
(Sorry Glenn, hope you dont my me adding this hack on yours. If you do, let me know, I will remove it right away )
I have been gone from here for quite sometime. No harm no foul on this mod. I will add it to the original install file as I feel it is a great addition.

Thanks.
Reply With Quote
  #18  
Old 04-05-2005, 08:01 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hurricane
I have been gone from here for quite sometime. No harm no foul on this mod. I will add it to the original install file as I feel it is a great addition.

Thanks.


In mine, you only need to edit 1 file, no change in database. 2 additional queries run when update profile
Reply With Quote
  #19  
Old 04-05-2005, 08:13 PM
Hurricane Hurricane is offline
 
Join Date: Feb 2002
Location: Central Florida
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I realized that after I posted. I like it. It makes it much easier. I will update the hack. Thanks again.
Reply With Quote
  #20  
Old 04-05-2005, 08:55 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to remove the trailing comma on the emails line?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05762 seconds
  • Memory Usage 2,290KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete