vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   reverse the ban email addresses coding (https://vborg.vbsupport.ru/showthread.php?t=194723)

MReardon 10-27-2008 05:47 PM

reverse the ban email addresses coding
 
Hi all, I originally posted this to try and only allow users with a ".edu" email addy to register in the forums I moderate, as we are an academic forum and want to allow students to register, but only those affiliated with certain member institutions.

After finding out this option is not available, only the option to ban certain email addresses (like yahoo or gmail addresses), i thought about modifying the source code to reverse the ban process as explained below.....

any help would be greatly appreciated.

Within the Admin CP, there is the option to "ban email addresses"

A simple solution to this problem would be to reverse the code for this mechanism so that it doesn't ban, but allows.

Therefore, i could put for instance "stanford.edu" in the "ban email addresses" box and instead of banning it, it would ONLY allow "stanford.edu" addresses to register.

Is there a way to reverse the code, and if so, what files do I need to edit???

Marco van Herwaarden 10-28-2008 12:27 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=1588138&highlight=whitelist#post1 588138" target="_blank">https://vborg.vbsupport.ru/showt...st#post1588138</a>


All times are GMT. The time now is 03:18 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.01078 seconds
  • Memory Usage 1,705KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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