vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Save Old Emails 2.0.0 (https://vborg.vbsupport.ru/showthread.php?t=99692)

mtha 10-29-2005 10:00 PM

Save Old Emails 2.0.0
 
/*================================================= =====================*\
|| ################################################## ################## ||
|| # SAVE OLD EMAIL RECORD v2.0.0 ? by HacNho # ||
|| # Copyright (C) 2005 by HacNho, All rights reserved. # ||
|| # ---------------------------------------------------------------- # ||
|| # For use with vBulletin Version 3.5.0 # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| # Discussion and support available at # ||
|| # https://vborg.vbsupport.ru/showthread.php?t=99692 # ||
|| ################################################## ################## ||
\*================================================ ======================*/

Hack Version: 2.0.0.051009
Compatible vB version: 3.5.0
Support: https://vborg.vbsupport.ru/showthread.php?t=99692

Version for vB 3.0.x
https://vborg.vbsupport.ru/showthrea...799#post499799

Credit:
Glenn H. Shelton III (Hurricane) for original idea for vB 3.0.x
- https://vborg.vbsupport.ru/showthread.php?t=63745


DESCRIPTION:
- Save all Old Emails to OldEmailList if user change email (or password)

The idea is to keep track of all the changes when people try to fool on you, by register on some email, posting trash, and change to another, or if someone hack some account, and change email address to something else, then you can contact the original user.

CHANGES/MODIFICATION:

- Profile Field to create: 1
- XML Product to import: 1


INSTALL:

1. Create a new profile field:
- Go to: AdminCP / User Profile Fields / Add New User Profile Field
- Select: Multiple-Line Text Box
- Set
Title = Save Old Email List
Text Area Height = 4
Field Required = No
Field Editable by User = No
Private Field = Yes
Field Searchable on Members List = No

- Create and check back on User Profile Field Manager for the new created field name. It should be 'fieldX' where X is some number.

2. Import XML product-hn_save_old_email.xml using vBulletin standard product import tool.

3. Go to Plugin Manager, and edit plugin named "HN: Save Old Email" at location "profile_updatepassword_complete"

Edit the line
$save_old_email_field = 'field';
Change field35 to the field that you just created


* CAUTION: you HAVE TO create a new profile field (step1), and change the field number (step3) for the hack to work.

SCREENSHOT:
Included

mtha 10-30-2005 02:47 PM

reserved

Snake 10-30-2005 04:14 PM

Nice hack. Installed!

COBRAws 10-30-2005 08:16 PM

Quote:

Originally Posted by Aftermath
Nice hack. Installed!

indeed

Boofo 10-30-2005 09:38 PM

Are you sure you wanrt to do this for Users Awaiting Email Verification in case they need to change it?

Also, using the userdata_presave hook is a better way to go. ;)

Odysseus 10-31-2005 06:24 AM

Hm. I like this hack.

* Odysseus klicks INSTALL


Hint for Europeans:

If you want the date to be displayed in the common European notation, replace this code:

Code:

date("F j, Y, g:i a")
with this:

Code:

date("d.m.Y, H:i")
You will have dates like this then:
31.10.2005, 21:15

mtha 10-31-2005 10:14 AM

Quote:

Originally Posted by Boofo
Are you sure you wanrt to do this for Users Awaiting Email Verification in case they need to change it?

why not? it doesnt harm keeping a log of what they's done. The log is for admin to get more information anyway.


Quote:

Also, using the userdata_presave hook is a better way to go. ;)
why so?

-=Sniper=- 10-31-2005 10:33 AM

nice :)

ndahiya 08-06-2006 02:27 AM

would this work with 3.6 ?

Subah 03-22-2007 09:40 AM

Quote:

Originally Posted by ndahiya (Post 1045563)
would this work with 3.6 ?

Same question :D


All times are GMT. The time now is 06:07 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.02088 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete