Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 10:43 pm EST

Geeklog Forums

Restricting new users by email


Status: offline

Eef

Forum User
Newbie
Registered: 10/14/04
Posts: 2
is there any way to restrict new users to a certain email adress, say for example only people with an email adress ending with @.com could join
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The closest I can offer: Switch on the user submission queue
Text Formatted Code
$_CONF['usersubmission']  = 0; // 1 = new users must be approved
 

Then add the allowed domain to
Text Formatted Code
// When user submission is activated, allow users from these domains to
// register without having to go through the submission queue.
$_CONF['allow_domains'] = ''; // e.g. 'mycompany.com,myothercompany.com'
 

This would still allow anyone to sign up, but they won't be able to log in until being approved by the admin (just like stories that have to be approved).

bye, Dirk
 Quote

Status: offline

Eef

Forum User
Newbie
Registered: 10/14/04
Posts: 2
alright, I'll give it a shot, thanks a lot
 Quote

All times are EST. The time is now 10:43 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