Options for bypassing email activation requirement?

1 view
Skip to first unread message

aku

unread,
Mar 24, 2010, 7:33:47 AM3/24/10
to tog_users
Hi all!

We're a new Finnish startup considering TOG. Some of the features seem
really nice, but we might not want to require email activation for
signups. Instead we will probably go with image verification, Facebook
login or something else. What would be the right approach to implement
this kind of alternatives and get the user accounts completely set up
without the "pending" step?

Aitor Garcia Rey

unread,
Mar 24, 2010, 7:52:49 AM3/24/10
to tog_...@googlegroups.com
Hi Aku,

On Wed, Mar 24, 2010 at 12:33 PM, aku <akubi...@gmail.com> wrote:
> Hi all!
>
> We're a new Finnish startup considering TOG. Some of the features seem
> really nice, but we might not want to require email activation for
> signups.

To automatically enable the users without email activation just use

current_user.activate!

in the create method of the UsersController in your app, what it's
basically what activation process does.

> Instead we will probably go with image verification,

For the captcha approach you just need to enable the following setting
in tog config:

Tog::Config["plugins.tog_user.captcha_enabled"] = true

> Facebook
> login or something else.

This is a lot trickier but doable as seen in http://www.trourist.com
(tog powered app). It becomes trickier if you want to mix different
user profiles in your app (users signed up by Facebook Connect,
regular signups, etc) since you have to allow multiple login and
signup ways. This is a good starting point:

http://madebymany.co.uk/tutorial-for-restful_authentication-on-rails-with-facebook-connect-in-15-minutes-00523

The facebook connect integration is planned for tog but still not
clear roadmap about dates.

> What would be the right approach to implement
> this kind of alternatives and get the user accounts completely set up
> without the "pending" step?
>

> --
> You received this message because you are subscribed to the Google Groups "tog_users" group.
> To post to this group, send email to tog_...@googlegroups.com.
> To unsubscribe from this group, send email to tog_users+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tog_users?hl=en.
>
>

--
Kind Regards,
Aitor Garcia
Stage: simple registration for your events - http://www.stagehq.com
Founder - Linking Paths - http://www.linkingpaths.com

Reply all
Reply to author
Forward
0 new messages