Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 10:43 pm EST
Geeklog Forums
Restricting new users by email
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
Then add the allowed domain 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
Text Formatted Code
$_CONF['usersubmission'] = 0; // 1 = new users must be approvedThen 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
11
10
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