Ask Your Question
3

User registration control

asked 2012-06-22 18:47:43 -0500

eric gravatar image eric
51 1 1 8

updated 2012-07-03 17:04:37 -0500

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.

delete close flag offensive retag edit

Comments

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-07-03 17:04:01 -0500

eric gravatar image eric
51 1 1 8

updated 2012-07-03 17:25:44 -0500

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.

link publish delete flag offensive edit

Comments

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

Evgeny ( 2012-07-03 17:17:17 -0500 )edit
0

answered 2012-06-29 11:25:26 -0500

paulus_almighty gravatar image paulus_almighty flag of United Kingdom
239 3 4 14

updated 2012-06-29 11:26:28 -0500

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...!)

link publish delete flag offensive edit

Comments

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

eric ( 2012-06-29 16:18:47 -0500 )edit

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

finid ( 2012-07-10 04:16:58 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2012-06-22 18:47:43 -0500

Seen: 173 times

Last updated: Aug 06 '12