How to restrict some of email providers on registration - part 2

Quote · 8 May 2013

Please post the link and exact code you found in the "check" field of form builder of your site whose button not working.

P.S: Here comes the unlicensed pilot.

so much to do....
Quote · 8 May 2013

Hello

Person to the new code to insert into pages?

Quote · 3 Sep 2013

Step1.

/inc/ design.inc.php

at the end of the file find
bx_import('BxDolAlerts');

and add this ABOVE it.

function ForbidenEmailProvider($Email)

     {
     
       $ForbidenEmailProvider[] = "@hotmail.";
       $ForbidenEmailProvider[] = "@msn.";
       $ForbidenEmailProvider[] = "@live.";
       $ForbidenEmailProvider[] = "@yahoo.";        
       
       foreach($ForbidenEmailProvider as $key => $value)
          {
          if ( strpos("zyx".$Email,$value) > 0 )
             return false;
          }  

       return true;

     }

ok, need to know if this works on 7.1

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 13 Aug 2014

yes it should still work.  you could always use modsec as well to control that.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 13 Aug 2014

 

yes it should still work.  you could always use modsec as well to control that.

 Thanks, I was able to use it.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 13 Aug 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.