vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   change email notification email address (https://vborg.vbsupport.ru/showthread.php?t=49678)

svoec 03-05-2003 01:10 PM

change email notification email address
 
I have my forum setup with all free-based email servers blocked...

I would like to give people that use their free-based email (like yahoo, and hotmail) a way to still receive their notifications in their hotmail ---

in other words -- I would like users to be able to specify a alternate notification address. -- and if the alternate address has something in it, it does not send email to the registered address.

What do you guys think ???
Doesn't sound that hard, but I don't know the email procedures in VB
:)

Thanks

hmolina 03-13-2003 07:56 PM

anyone wanna give this one another go???

i'd like to know...

-H

Logician 03-13-2003 09:07 PM

My members were asking for this hack too so it's in my to-do list. However my to-do list is always so long, so no promises for ETA. :) Anybody wants to code it beforehand, please be my guest..

svoec 03-14-2003 10:34 PM

Your efforts would be greatly appreciated :D

Erwin 03-14-2003 11:02 PM

This is a top idea. :)

svoec 10-30-2003 01:12 PM

hummm -- guess the idea wasn't that "good" :)

Logician 10-31-2003 09:45 AM

Quote:

guess the idea wasn't that "good"
it is good actually. :)

I couldn't do it b/c I'm busy as I mentioned before but here is a quick patch for you if you like it:

edit member.php, find:
PHP Code:

if ($enablebanning and $banemail!="") { 

before that add:
PHP Code:

$enablebanning=0

This hack will make sure nobody can register to your board with the banned emails but after they register they can change their emails to banned emails in their profiles. So they have to register with their ISP mail accounts but after they registered they can switch to their favorite yahoo or hotmail accounts. ;)

Not the perfect solution but not bad for a 1 line hack hehe

beano33 01-13-2005 06:45 PM

I've been looking for hack like this and this old thread was all I could come up with when I searched.

Will the code posted above work with vB3?

Logician 01-13-2005 06:58 PM

Quote:

Originally Posted by beano33
I've been looking for hack like this and this old thread was all I could come up with when I searched.

Will the code posted above work with vB3?

In vb3 try this:

edit profile.php, find:
PHP Code:

eval(print_standard_error('error_banemail')); 

delete it OR replace it as (same thing)
PHP Code:

// eval(print_standard_error('error_banemail')); 

This will make sure your members can not register with a banned email address, but when they registered with a normal address, then they can change their emails to anything they like (of course they still need to validate it if your setting is like that). In other words a good way to ban free emails in registration but then allow them in member change email section

beano33 01-14-2005 08:00 PM

Thanks for your quick reply. This will be very useful for keeping the spammers and troublemakers out, while still allowing those with legitimate reasons for not using an ISP email to participate in forums.


All times are GMT. The time now is 08:15 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.01290 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete