[OzzModz] Email Whitelist

[OzzModz] Email Whitelist 2.0.3

No permission to download

Ozzy47

Well-known member
You can change the phrase ozzmodzEmailWhitelist_client_not_allowed and add the allowed clients there.
 

MFA Baybars

New member
I get this error when I try to change the email address from the admin control panel.
XF version: 2.2.0 BETA 3 and BETA 4
Code:
LogicException: Verification method of email did not return a valid indicator (true/false) in src/XF/Mvc/Entity/Entity.php at line 793
XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 632
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 739
XF\Mvc\Entity\Entity->bulkSet() in src/XF/Mvc/FormAction.php at line 34
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 164
XF\Mvc\FormAction->run() in src/XF/Admin/Controller/User.php at line 516
XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2298
XF\App->run() in src/XF.php at line 464
XF::runApp() in admin.php at line 13
 

Ozzy47

Well-known member
Nothing sticks out. But I don’t think that the error is from this addon in particular. All it is is just a simple option you are trying to save.
 

djbaxter

Well-known member
It would be awesome if you could add an option to disable gmail emails using dots. Some of my members are bypassing the email restriction using this trick.

Like:

n.i.r.o@gmail.com

Also thanks for the add-on!
Add this to banned emails:

*.*.*.*@*.*

If you still have issues, add another dot *. *.*.*.*@*.*
 

Dragonfruit

Active member
Got this error when I tried to put an account that uses an email service that isn't whitelisted, into email confirmation status because we're getting email bounce/rejections:

Code:
LogicException: Verification method of email did not return a valid indicator (true/false) in src/XF/Mvc/Entity/Entity.php at line 774

    XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 613
    XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
    XF\Mvc\Entity\Entity->bulkSet() in src/XF/Mvc/FormAction.php at line 34
    XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 164
    XF\Mvc\FormAction->run() in src/XF/Admin/Controller/User.php at line 511
    XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in admin.php at line 13
 

Dragonfruit

Active member
Hmm, that is the second report of that error. What email did you try to enter?

It was an AOL address, which isn't on the whitelist. I didn't enter or change the address on the account, just wanted to move the user from "Valid" to "Awaiting Email Confirmation".

It's just a way to force really old members to update their accounts to valid email addresses.

Switching back to this one: https://xenforo.com/community/resources/allowedemails.6021/

Works just fine. Of course I'd rather switch to yours, Ozzy.
 

Ozzy47

Well-known member
I get this error when I try to change the email address from the admin control panel.
XF version: 2.2.0 BETA 3 and BETA 4
Code:
LogicException: Verification method of email did not return a valid indicator (true/false) in src/XF/Mvc/Entity/Entity.php at line 793
XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 632
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 739
XF\Mvc\Entity\Entity->bulkSet() in src/XF/Mvc/FormAction.php at line 34
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 164
XF\Mvc\FormAction->run() in src/XF/Admin/Controller/User.php at line 516
XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2298
XF\App->run() in src/XF.php at line 464
XF::runApp() in admin.php at line 13

LogicException: Verification method of email did not return a valid indicator (true/false) in src/XF/Mvc/Entity/Entity.php at line 774

Should be fixed in 2.0.1 Let me know if there are anymore issues.
 

Faust

Active member
Got this issue when trying to edit someone profile from AdminCP, had to remove it from my forum.


LogicException: Verification method of email did not return a valid indicator (true/false) in src/XF/Mvc/Entity/Entity.php at line 774
  1. XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 613
  2. XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
  3. XF\Mvc\Entity\Entity->bulkSet() in src/XF/Mvc/FormAction.php at line 34
  4. XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 164
  5. XF\Mvc\FormAction->run() in src/XF/Admin/Controller/User.php at line 511
  6. XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
  11. XF\App->run() in src/XF.php at line 391
  12. XF::runApp() in admin.php at line 13
 
Top