Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Save Users' Old Email Addresses for vB4 Details »»
Save Users' Old Email Addresses for vB4
Version: 1.0.0, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.3 Rating:
Released: 05-25-2010 Last Update: 05-25-2010 Installs: 37
Uses Plugins
 
No support by the author.

Save Users' Old Email Addresses for vB 4
Version 1.0.0
(By Boofo)

What does this product do?
This modification will save users' email addresses (except those users awaiting email confirmation) when they change them. This is good for keeping a record of any email changes a user might make to try and SPAM the site. Only Admins should be allowed to view them. The emails will show under the "About Me" tab in their profile if they have changed them.

Credits: A special thanks goes out to Andreas for coming up with the original code back in vb3.5. Also, thanks to Mosh for the regex setting code.

Version Information:
Version 1.0.0 --Initial release for vB4

Installation overview:
---------------------------
Products to install: (1)
Profile Fields to Create (1)

Installation Instructions:
---------------------------
Step 1: Make a new profile field with the following info:

Title: Email Addresses
Max length of allowed user input: 1000
Field Length: 25
Text Area Height: 4
Profile Field Type: Multiple-Line Text Box
Field Required: No
Field Editable by User: No
Private Field: Yes
Field Searchable on Members List: No
Which page displays this option?: Edit Your Details

NOTE: Make sure to write down what profile field number this new profile field is. You will need to change the setting in the 'vBulletin -> Settings -> Options' to what your new profile field is. Also, make sure you set the permissions for viewing private profile fields to NO for those usergroups you do NOT want to see the email addresses.

Step 2: Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_save_old_emails.xml file on your computer
---------------------------
Done!
Enjoy!

Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}

Download Now

File Type: zip Save_Users_Old_Email_Addresses.zip (4.8 KB, 158 views)

Screenshots

File Type: png save_old_email_addresses.png (10.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 05-26-2010, 04:40 AM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What a great idea, thanks - tagged for future use
Reply With Quote
  #3  
Old 05-27-2010, 12:44 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, a more sensible idea was done in Automatically Create Usernote on EMAIL Change . Instead of having to make a field, it just automatically added usernotes.
Reply With Quote
  #4  
Old 05-27-2010, 12:51 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just looked at the hack and it uses 2-4 queries to do the usernote. This one doesn't use any queries. That right there is the main reason I wrote this.
Reply With Quote
  #5  
Old 05-27-2010, 06:33 AM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I just looked at the hack and it uses 2-4 queries to do the usernote. This one doesn't use any queries. That right there is the main reason I wrote this.
<3333

"a more sensible idea was done" i loved that bit

Thanks Boofo nice to have you back on the game:up:

Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}
Best coding ive seen in years! lmfao
Reply With Quote
  #6  
Old 05-27-2010, 06:45 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, sir. I appreciate the comments. And nice to be back.

That $you_get code actually works. I'm waiting for the first person to ask for help that hasn't clicked install.
Reply With Quote
  #7  
Old 05-27-2010, 02:49 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since email addys change so rarely it wouldn't really matter if it used 20 queries. What's much more important is that it's a much simpler install if I don't have to go creating custom fields.

Anyway, I was merely offering a suggestion; I didn't want to argue about it. Did you think about using an existing field such as User Notes? Is there a reason you can't use it in vb4?

Another consideration is that if I were to install this one now, then all my future notes will be in a different place from my old ones, making it more difficult to find the info.
Reply With Quote
  #8  
Old 05-27-2010, 03:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I personally like user stuff to be in a location that is easily accessible for that user all in one place. If a simple install is all you are looking for, then this hack is not for you. Usability and convenience is far more important to me than simplicity.

Like I said, most admins don't use the usernotes very much, so that would be a waste to me to even consider going that route. Why enable something you only need for one thing that works better the way I did it?
Reply With Quote
  #9  
Old 05-27-2010, 04:05 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Why enable something you only need for one thing that works better the way I did it?
"Better" is not having to make a custom field. User Notes is not something that has to be enabled, they're there by default.

Again, please consider in a future release at least an option to use the already existing User Notes field for this.
Reply With Quote
  #10  
Old 04-17-2011, 02:00 PM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you rated 10/10
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 11:38 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
  • Page Generation 0.04641 seconds
  • Memory Usage 2,317KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (2)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete