Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 08:21 am EST

Geeklog Forums

Disabling new user self-creation?


Status: offline

xardoz

Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
determined
Hi,
I want to make it so the admin only can create new user accounts. I've clamped down all user rights, but I don't want the general public to be able to create their own accounts without going through me.
Can this be done, and how?

Thanks!
 Quote

Status: offline

Chalkhillian

Forum User
Chatty
Registered: 09/23/02
Posts: 67
in your config,php -
// Submission Settings

// enable (set to 1) or disable (set to 0) submission queues:


$_CONF['usersubmission'] = 1;
 Quote

Status: offline

xardoz

Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
Quote by Chalkhillian: in your config,php -
// Submission Settings

// enable (set to 1) or disable (set to 0) submission queues:


$_CONF['usersubmission'] = 1;


I've already got that set up, but if someone manually types in an URL
http://www.mygeeklog.com/users.php?mode=new
then they can create an account.
The only thing they can really do is create it and have their personal calendar, but I'd still like to tighten this up so they can't create it using that URL.
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
That's not true. With that config variable set, a user can be created, but not activated (they won't be able to login). The account is only activated when you approve it.
 Quote

Status: offline

xardoz

Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
embarrassed
Quote by Turias: That's not true. With that config variable set, a user can be created, but not activated (they won't be able to login). The account is only activated when you approve it.


Maybe I'm misunderstanding, then. If I want to disable user self-creation, do I need to set:
$_CONF['usersubmission'] = X;
to 0 or 1?


EDITED: I get it now - I had it backwards.

Thanks!
 Quote

-=me=-

Anonymous
I also went one step further. I rewrote /layout/template/users/registrationform.thtml to say sorry we are not accepting users at this time. Is this secure?

-=me=-
 Quote

Status: offline

xardoz

Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
Quote by -=me=-: I also went one step further. I rewrote /layout/template/users/registrationform.thtml to say sorry we are not accepting users at this time. Is this secure?

-=me=-


Unless anyone tells me different, I'm going to do this as well - good idea!!!! Cool
 Quote

-=me=-

Anonymous
well it seems to work, please let us know if there is a major problem with what I did.

http://www.dustofdaytona.com/users.php?mode=new

-=me=-
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
And if you want to be crazy and go one step further, you can make sure no one else ever creates another account, ever, by opening up user.php and deleting chunks of code that relate to creating new users.
 Quote

-=me=-

Anonymous
well that would be stupid... and your a moderator. Thought you had to be smart to be a moderator.

-=me=-
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
giggly
Quote by Turias: And if you want to be crazy and go one step further, you can make sure no one else ever creates another account, ever, by opening up user.php and deleting chunks of code that relate to creating new users.


LOL -- I'm still laughing Mr. Green
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

thecheesehasyou

Forum User
Newbie
Registered: 03/02/04
Posts: 1
yea that wouldn't be smart
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Quote by -=me=-: well that would be stupid... and your a moderator. Thought you had to be smart to be a moderator.

-=me=-


It was a joke! Sheesh, no sense of humor. Mr. Green

P.S. If you'd like to know how to really disable story submissions, just let me know. Razz
 Quote

All times are EST. The time is now 08:21 am.

  • 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