Stop Registration Notifications to User

This topic contains 17 replies, has 4 voices, and was last updated by  Sammy Jones 5 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #3582

    Sammy Jones
    Free User
    Post count: 14

    Is there a way to stop the email notification that is sent to a user when they register?

    #3587

    Alex Rollin
    Moderator
    Post count: 27815

    I don’t think so, but I will flag your question for the developers and they will let us know if there is a workaround for that.

    #3588

    Sammy Jones
    Free User
    Post count: 14

    Thanks. I just used the import function for 150 users and I think it sent out an email to all of them even though the site isn’t ready to go live yet. A bit embarrassing for me.

    #3589

    Patrik
    Moderator
    Post count: 1971

    Hi,

    We are sending the username and password to each user after users are imported so that they can log in using the details. If you want to disable it then you need to make changes in core files. There is no settings or filter to disable it. You can comment the line no. 539 in file class-import-export.php in folder plugins->userswp->includes. You can revert the changes once you are done with the import. Let me know if you have any queries.

    Regards,
    Patrik

    #3592

    Sammy Jones
    Free User
    Post count: 14

    Thank you. I appreciate your help. I have commented out this line.

    I had one other issue with the Import function. I created an import file (based on an export file from your plugin) with all of the information for each user, including custom fields. When I imported it, all the users were imported (with username, email, first name, last name, and display name) but none of the custom fields were populated. Should this work or does your import only work with native WordPress fields?

    I have attached both files. The one I used to import the new users. Thanks.

    #3593

    Sammy Jones
    Free User
    Post count: 14

    It wouldn’t let me upload csv files. Here they are as txt files.

    Thanks again for your help.

    #3596

    Paolo
    Site Admin
    Post count: 31206

    Did you create the custom fields in advance? If not, you must do so before importing. The import file will not create the custom fields otherwise.

    Let us know,

    Thanks

    #3597

    Sammy Jones
    Free User
    Post count: 14

    Hi Paolo.

    Yes, I created the custom fields before I attempted the import.

    If your import should support the custom fields I created, then maybe something was wrong with my file. However, it did import their usernames, first and last names, emails, and display name (full name). So I would think the file was correct. If it was not correct, I would expect the import to fail.

    Now that I commented out the email notification during importing, I can try to import them again. Should I delete the current users or will the import script just update the current users?

    #3598

    Paolo
    Site Admin
    Post count: 31206

    I would delete the users imported incorrectly 1st except 1. Add custom fields to that user from WP back end and export the file. That way you’ll have certainty that the file has correct headings.

    At that point add the data back and try to import again.

    Let us know how it goes.

    Thanks

    #3599

    Sammy Jones
    Free User
    Post count: 14

    Thanks Paolo.

    I will do exactly that and report back. Thanks for your prompt replies.

    #3600

    Sammy Jones
    Free User
    Post count: 14

    Hi Paolo.

    I did exactly as you suggested and it will not import the custom fields. In fact, I’m getting some strange results as I try to troubleshoot this.

    If I DO NOT add a user_id to the import file, and let the auto increment add the ID, the username and email will be imported, but the first name, last name, and display name (along with all custom fields) will not be imported.
    If I DO add a user_id to the import file, the username and email, first name, last name, and display name WILL be imported, but not the custom fields.
    When I added text to the BIO field, that was imported along with email, first name, last name, and display name, but none of the custom fields.

    Attached is the exported file I used to build the import file and also the text user import file (with just 1 user for simplicity).

    Any suggestions?

    #3603

    Paolo
    Site Admin
    Post count: 31206

    I’ll let Patrik follow up on this. If you provide a link and admin credentials for your website he’ll probably be able to debug this faster.

    Thanks for your patience

    #3604

    Sammy Jones
    Free User
    Post count: 14
    This reply has been marked as private.
    #3605

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Thanks for noticing the issue. We have applied the fix for custom fields and will be available in the next release of the plugin. If you want to try on your site then please provide us the FTP details in private reply and we will do the changes on your site. Please note there will be no new custom fields added while import and only the existing custom fields in the current site will be imported.

    Regards,
    Patrik

    #3607

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
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