vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Email Change Alert (https://vborg.vbsupport.ru/showthread.php?t=321880)

MarkFL 02-18-2016 10:00 PM

Email Change Alert
 
1 Attachment(s)
Overview:

This mod is in response to this request:

Auto inform Admin when member change his email

This product allows you to be notified whenever a user changes their email address. You can choose to have selected users be notified by PM, or to set up a forum in which changes are posted to a specified thread, or both. You set the PM/thread title, and the format of the report.

https://vborg.vbsupport.ru/attachmen...1&d=1455906712

Updates:

Version 1.1:
  • Changed PHP hook location so that alert(s) are sent only when everything is confirmed and the email has changed.

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  • Download and extract the attached .zip file.
  • Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  • Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  • Click "Import."
  • You MUST enable the product in the settings before it will function.
  • Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.
https://vborg.vbsupport.ru/attachmen...1&d=1455906712

Support for this product can be found here:

Nirjonadda 02-19-2016 06:06 PM

Nice mod but I have a better idea inspired from Facebook .. they periodically check if the email address still exist or not .. if it doesn't exist they prompt user to update email.

https://vborg.vbsupport.ru/external/2016/02/4.jpg

MarkFL 02-19-2016 06:56 PM

Quote:

Originally Posted by Nirjonadda (Post 2565273)
Nice mod but I have a better idea inspired from Facebook .. they periodically check if the email address still exist or not .. if it doesn't exist they prompt user to update email.

That's not the purpose of this mod at all...the purpose of this mod is to alert the administrator(s) and others when a user changes his/her email address, not to alert a user if their current email address is invalid. :)

blind-eddie 02-19-2016 07:51 PM

Hey Mark, thank you for sharing.
Thought I would let you know that this works perfectly in 3.8, just had to change minversion in the product to 3.8.

Note: If I select pm and thread, email still changes but, throws up 500 server error.

Sorry, I should have tested better before posting.

Stratis 02-19-2016 08:27 PM

Mark, works perfect in vb4.2.0

Checked for all situations (you know me) :p
No problems so far.

Thanks :up:

MarkFL 02-19-2016 10:07 PM

Quote:

Originally Posted by blind-eddie (Post 2565279)
Hey Mark, thank you for sharing.
Thought I would let you know that this works perfectly in 3.8, just had to change minversion in the product to 3.8.

Note: If I select pm and thread, email still changes but, throws up 500 server error.

Sorry, I should have tested better before posting.

Hey Tim,

I was planning to look into porting to vB 3.8.x tonight, as I figured it should work with little or no changes. Thanks for the heads up about the server error! :)

Quote:

Originally Posted by Stratis (Post 2565281)
Mark, works perfect in vb4.2.0

Checked for all situations (you know me) :p
No problems so far.

Thanks :up:

Good to hear, Stratis! :up:

Sforums 02-20-2016 10:10 AM

Excellent stuff, thank you.
However I second the Nirjonadda's request for FB like mod. Could be pretty useful.

Skyrider 02-20-2016 11:19 AM

Very nice system, but I do have a suggestion. The email notification appears whenever an email has been changed as your system was designed to do so. But the notification it is being posted (or pm'd) while the user has not confirmed the email address. So, my suggestion is:

1), Have an option so the admin can select when to notify the specified users or specific forum before or after the user validated the email address (so, either once the user has changed the email, or after the user has verified the address)

2), Bit more difficult to do (and for thread post notification only), display that the user has changed the email address and once the user has verified it, edit the post that the system made that the user verified the email address as well. Making this suggestion as some people change the email address, but never verify it.

MarkFL 02-20-2016 04:17 PM

Updates:

Version 1.1:
  • Changed PHP hook location so that alert(s) are sent only when everything is confirmed and the email has changed.

Skyrider 02-20-2016 04:43 PM

Quote:

Originally Posted by MarkFL (Post 2565330)
Updates:

Version 1.1:
  • Changed PHP hook location so that alert(s) are sent only when everything is confirmed and the email has changed.

Works as well :), just made the suggestions in my above post in regards that maybe some people find it interesting to know about an email change as soon someone attempts to change it.

MarkFL 02-20-2016 04:46 PM

Quote:

Originally Posted by Sforums (Post 2565308)
Excellent stuff, thank you.
However I second the Nirjonadda's request for FB like mod. Could be pretty useful.

Glad you like! :up:

That social media feature is not something this mod attempts to or will attempt to address. Your average vBulletin user is likely quite a bit (more like several orders of magnitude) more savvy than your average selfie-posting social media junkie, and knows how to maintain a valid email addy. :p

rohirrim 02-20-2016 08:45 PM

Quote:

Originally Posted by Nirjonadda (Post 2565273)
Nice mod but I have a better idea inspired from Facebook .. they periodically check if the email address still exist or not .. if it doesn't exist they prompt user to update email.

https://vborg.vbsupport.ru/external/2016/02/4.jpg

That's a good idea... hope to someone to do a mod like that...

MarkFL 02-20-2016 10:40 PM

Please everyone...post a request for that in an appropriate place, and stop cluttering this thread with it...it has nothing to do with this mod.

djbaxter 02-22-2016 10:42 AM

Quote:

Version 1.1:

Changed PHP hook location so that alert(s) are sent only when everything is confirmed and the email has changed.
This is not necessarily desirable. If the email is changed to an invalid address, or never validated, admins might want to be alerted to that change too.

MarkFL 02-22-2016 10:48 AM

Quote:

Originally Posted by djbaxter (Post 2565417)
This is not necessarily desirable. If the email is changed to an invalid address, or never validated, admins might want to be alerted to that change too.

It eliminates alerts being sent when users make mistakes filling out the form. An alert is only sent when the user actually makes a successful change of email address, whether the email address is valid or not.

djbaxter 02-22-2016 11:44 AM

Quote:

Originally Posted by MarkFL (Post 2565418)
It eliminates alerts being sent when users make mistakes filling out the form. An alert is only sent when the user actually makes a successful change of email address, whether the email address is valid or not.

Ahh, I see. Thank you for the clarification.

scottkoz20 04-17-2016 12:55 AM

hey Mark - is there a quick and dirty way to change the option to say

Hello!

{USER} has changed their email address used for mysite.

Previous Email: [OLD]

New Email: [NEW]

MarkFL 04-17-2016 02:10 AM

Quote:

Originally Posted by scottkoz20 (Post 2569131)
hey Mark - is there a quick and dirty way to change the option to say

Hello!

{USER} has changed their email address used for mysite.

Previous Email: [OLD]

New Email: [NEW]

Hello, Scott. :)

The author of the PM/Post will let you know who it is that has changed their email addy, and so that's why I didn't include the name of the user in the body of the PM/post. ;)

scottkoz20 04-17-2016 12:28 PM

make sense - I was testing this out with my username and was seeing this an autopost from me.

Thanks Mark


All times are GMT. The time now is 05:03 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
  • Page Generation 0.01453 seconds
  • Memory Usage 1,764KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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