Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
In the config you can disallow domains

This is the opposite of $_CONF['allow_domains'] (see above): A list of domain names that are not allowed in email addresses of new users. Note that this list is always used, even when the user submission queue has been switched off. Again, regular expression can be used. Example disallow email addresses with a certain domain name and from any ".edu" domain: 'somebaddomain.com,\.edu$'


I set a coma separated domain name list in the config but users from one site are still able to register. (I will investigate more tomorrow on this issue).

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
I do not find any function using the config value $_CONF['disallow_domains'] in the scripts. Is the feature "Automatic Disallow Domains" implemented?

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
The $_CONF variable is used in public_html/users.php

I can't confirm it for 2.0.0, but it certainly works in 1.8.2 and from what I can tell that code hasn't changed since.

Are you putting spaces before or after the comma? It's possible that those could cause problems (from a quick glance at the code). If so, we need to get this fixed.

bye, Dirk

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Yes I was using a space after the coma. I added a bug report.

Thanks
I'm available to customise your themes or plugins for your Geeklog CMS