First time here? Check out the FAQ!
3

User registration control
 

How can I control who can register for my askbot? (i.e. only users with a @example.com email address, or must be admin approved)

EDIT: Found a solution and posted it below. Marked as best/correct answer.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
eric's avatar
61
eric
asked 12 years ago, updated 12 years ago

Comments

see more comments

2 Answers

3

Because we're using Google Apps and therefore have @mycompany.com emails, I just modified the django_authopenid backend to force it to a Google Apps login.

Changed www.google.com/08/id (or something) in util.py to www.google.com/o8/site-xrds?hd=mycompany.com and an openid patch from that adieu posted up.

After that, I just disabled all other logins (only allowing a Google login), and only allowed registered users to view site.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
eric's avatar
61
eric
answered 12 years ago, updated 12 years ago
link

Comments

This is a good solution, works only for google apps though.

Evgeny's avatar Evgeny (12 years ago)
see more comments
0

You can limit the logins available through /settings/LOGIN_PROVIDERS/, eg if you only want Facebook logins or Yahoo logins, then enable those and disable all others.

However, I don't believe that Askbot offers any user moderation-before-view, only post moderation, and there is no admin controlled filter that can be applied to user registration email addresses (ie Only Allow: *@MyCompany.com, Block: *@dodgywarez.com)

Both of these things would be a feature request. (Unless someone with more knowledge proves me wrong...!)

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
powlo's avatar
260
powlo
answered 12 years ago, updated 12 years ago
link

Comments

Thanks paulus_almighty, but I think what I'm looking for falls into what you describe in the second paragraph.

eric's avatar eric (12 years ago)

I think post moderation should be top priority for the next release. Private messaging ranks up there too.

finid's avatar finid (12 years ago)
see more comments