Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 01:13 pm EST

Geeklog Forums

Automatic Disallow Domains do not works


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
 Quote

All times are EST. The time is now 01:13 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content