If a user signs up initially with FB or Twitter, is it possible to request their email address after initial account creation?
Official response from Taylor Pineiro
Looks like you can! Here's what the theme team suggests:
Edit your users_activations_new_wide.html file to ask for email in the activation page if the signup doesn’t have one.
And you could also put a liquid conditional statement on your homepage (or in the sidebar) that says ‘if user is logged in but does not have email’ Please provide your email address ‘endif'
Let us know if you have any additional questions!
I also moved this to our FAQ page since it is currently possible!
Share this post
Showing 9 reactions
Sign in with
Certified Developer
Certified Developer
That takes all of the HTML from a file called _signup_form.html, which is a basic html form asking for email address, and it places it on the homepage. So you could do something in the sidebar that says: {% if request.sorta_logged_in? == true and request.current_signup.has_email? == false %} <div class=“join-form span6”>{% include “signup_form” with site.signup_page %}</div> {% endif %}
The div surrounding the {% include %} tag may need some tweaking depending on which theme that you are using, but that should work if your theme has that “_signup_form.html” file and a signup page in the website.
Certified Developer
1. Tried putting email into the activations template but NB returns this: Liquid error: email is not a valid form field for Activation.
2. If I did what they suggest and put a conditional message somewhere, what sort of a form would I put in there? {form_for activation}?
Certified Developer