• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

register without entering email

Scheduled Pinned Locked Moved Feature Requests
10 Posts 6 Posters 3.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vstoykov
    wrote on last edited by vstoykov
    #1

    Some users don't want to give their email address and using fake one is not a very good user experience.

    Better solution is to able not to enter email address.

    I tried to modify these lines, but it did not work.

                            emailValid: function (next) {
                                    if (userData.email) {
    //                                      next(!utils.isEmailValid(userData.email) ? new Error('[[error:invalid-email]]') : null);
                                            next();
                                    } else {
                                            next();
                                    }
                                    
    
    jareyJ 1 Reply Last reply
    0
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    replied to vstoykov on last edited by jarey
    #2

    @vstoykov what is the point on registering then? You can't validate identity, and can't communicate even with the user outside your app. You mean only having a reserved nickname for the user then?

    In that usecase user could not get a new password by any method, since he/she has not registered mail, etc. I don't see the point on it, being honest. 😆

    1 Reply Last reply
    0
  • V Offline
    V Offline
    vstoykov
    wrote on last edited by
    #3

    Some users don't want spam (and are concerned to give their email address). Others need anonymity and do not want to be fussing with making fake email for the purpose of registration.

    I tried also this:

                            emailValid: function (next) {
                                    if (userData.email) {
    //                                      next(!utils.isEmailValid(userData.email) ? new Error('[[error:invalid-email]]') : null);
                                            next(!(utils.isEmailValid(userData.email) || userData.email==="" ) ? new Error('[[error:invalid-email]]') : null);
                                    } else {
                                            next();
                                    }
    

    But it looks like there is a validation somewhere else.

    1 Reply Last reply
    1
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by jarey
    #4

    For me is simple, if an user don't want to give the email address, don use the forum. It is the same with gmail, facebook, and 99% of apps where an account is needed.

    I don't think that there's and easy way to achive what you're looking for.

    You can enable guest posting on your forum. Or maybe develop a little plugin for registrarion without email but a lot of functionalities of nodebb can fail afterwards (mail notificacions, password recovery, basically all that have something to do with mail).

    If you want just to modify the code you showed, i think you can simply call next(null); on emailValid. without evaluating at all the mail input.

                            emailValid: function (next) {
                                            next(null);
                                    }
    
    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #5

    If a user doesn't want to provide an email then you should probably be using the guest feature. You could also just put a button on the signup page that fills in the email with a fake one and then hides the input.

    1 Reply Last reply
    0
  • R Offline
    R Offline
    revir
    wrote on last edited by
    #6

    It's interesting, in China a lot of websites and apps not using email registration, instead using phone numbers. It's kind of more SoLoMo I think.
    But currently email register is good.

    1 Reply Last reply
    0
  • V Offline
    V Offline
    vstoykov
    wrote on last edited by vstoykov
    #7

    I tried to make a reply, but got this error:

    Error
    Post content was flagged as spam by Akismet.com
    

    Obviously, it accepts my reply when I changed the content.

    Edit: I am adding link to the content I wanted to post: http://pastebin.com/VivmRNfc

    V 1 Reply Last reply
    0
  • V Offline
    V Offline
    vstoykov
    replied to vstoykov on last edited by
    #8

    Is there any development with this feature request?

    For some users it is preferable to be able to signup without forcing them to enter an email address.

    Automatically adding a fake email (like my suggestion posted on pastebin above) is not a very elegant solution. Also, scripts that send emails should not be triggered to try sending emails to the fake email addresses.

    I like how it's implemented on Reddit - the email field is not mandatory.

    Also forcing users to receive emails is not ok for some users.

    1 Reply Last reply
    2
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #9

    This will be available in 1.18.0
    https://github.com/NodeBB/NodeBB/issues/9607

    1 Reply Last reply
    2
  • zandertrekZ Offline
    zandertrekZ Offline
    zandertrek GNU/Linux
    wrote on last edited by
    #10

    I am grateful that NodeBB users now have the option to fully participate with respect and anonymity. Last week I was convinced that email verification was an essential part of spam control. Now I see email as purely a personal choice. Spammers don't have a chance now that I'm using the registration queue, post queue, and minimum reputation for profile enhancements.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development