Register without username, just email address?

This topic contains 17 replies, has 3 voices, and was last updated by  Patrik 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #2734

    Marc
    Free User
    Post count: 274

    How can a user register without username?

    I just need a register form where the user inputs his email address, no username, no password (system generated password only).
    Username should be always same as email address.

    Can I do this with UsersWP?

    Thanks,
    Marc

    #2743

    Patrik
    Moderator
    Post count: 1971

    Hi Marc,

    Currently, UsersWP requires username field in the registration form and it can’t proceed without it. But we have hooks and filters available which can be used to customize the plugin and generate username from the email. We do not provide support for customization here. We will consider this for the future enhancements.

    Let me know if you have any questions.

    Regards,
    Patrik

    #2751

    Paolo
    Site Admin
    Post count: 31206

    a possible workaround, would be to populate the username field copying what’s on the email field with JavaScript or jQuery and hide the username field with css.

    You can find snippets to do similar things with a quick google search.

    Thanks

    #2818

    Marc
    Free User
    Post count: 274
    This reply has been marked as private.
    #2821

    Paolo
    Site Admin
    Post count: 31206

    Unless I’m missing something, it should be possible to use it with V2 already.

    Let me know if your experience says something different.

    #2832

    Marc
    Free User
    Post count: 274

    It’s not really working 100%. Login / Register yes, but not this: (I’m using Genesis Theme)

    – Cannot access “My Favorites” (it always forwards to profile page and not to list of favorites)
    – Cannot access “My Listings” (it always forwards to profile page and not to list of my listings)
    – Profile Page is not showing any GD related content.

    Without update I cannot use UsersWP with GDV2.

    Thanks
    Marc

    #2834

    Marc
    Free User
    Post count: 274
    This reply has been marked as private.
    #2835

    Patrik
    Moderator
    Post count: 1971

    Hi Marc,

    It’s because you have installed the GD plugin with folder name ‘geodirectory-master’ as it should be only ‘geodirectory’. Please make changes and let me know if it works fine or not. You will need to reactivate GD plugin after rename.

    Regards,
    Patrik

    #2836

    Marc
    Free User
    Post count: 274

    ok, but I just installed the latest GD plugin files from github. An there the folder has been created with this name.

    How can I change the folder name to “geodirectory”? I did it on the server, but then the plugin is not working anymore.

    Thanks for help

    Marc

    #2838

    Patrik
    Moderator
    Post count: 1971

    Hi Marc,

    I have only access to admin panel and I don’t see you have changed the name. Once you change the folder name you will have to reactivate the GD plugins. If it doesn’t work for you then provide me FTP details in private reply and I will look into it.

    Regards,
    Patrik

    #2839

    Marc
    Free User
    Post count: 274
    This reply has been marked as private.
    #2840

    Marc
    Free User
    Post count: 274
    This reply has been marked as private.
    #2841

    Patrik
    Moderator
    Post count: 1971

    Hi Marc,

    We have not yet tested the UsersWP with GDV2 as it is in our planning. So it will be difficult to handle things related to UsersWP with GDV2. Can you tell me the link of my listing and my favorites as I am not able to find it on the front side? Also, provide us the FTP details in private reply so that we can look deep into your site.

    Regards,
    Patrik

    #2842

    Patrik
    Moderator
    Post count: 1971

    Hi Mark,

    Try following code in functions.php of the currently active theme and let me know if it works or not:

    
    
    add_filter('uwp_check_redirect_author_page', 'uwp_redirect_author_page_cb');
    function uwp_redirect_author_page_cb(){
        return false;
    }

    This will disable the author page redirect by UsersWP plugin.

    Regards,
    Patrik

    #2843

    Marc
    Free User
    Post count: 274

    Yes it works, thanks a lot!!
    regards,
    Marc

Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket