Add User, No Email
Is there any way to add a user to either mainblog.com or subblog.mainblog.com WITHOUT sending any kind of email to them.
I need this for an invoicing plugin, the plugin only can generate invoices for registered users but I don't want the customers getting any kind of email because they never need to login to the site to view and pay the invoice and getting a registration email might confuse them.
Everyday at WPMU DEV we help hundreds of WP Users. Become a member today to:
- Download 250+ Premium Plugins and Themes
- Get unlimited support from WordPress Experts
- Get help with your WordPress or BuddyPress projects
Help & Support from WPMU DEV members and staff
I;d just use a local to the install email address and set it up to go to /dev/null.
Well the invoicing system needs their email, so it can send the link to the invoice and send 'payment received', etc.
Get personal, comprehensive and timely support and assistance
from WordPress Experts
Are we going to stop all of these emails or just to blog #1? What version of wpmu are you running? With 2.9.2, the email code is within wp-includes/wpmu-functions.php and I;m sure you can stick in there a check against what blog this is for.
I;m real sick right now. Heck, I;m taking the bus home tonight that's how sick I am. If no one comes up with a solution, bump it tomorrow and I'll take a look. I;m sure a filter can be written to stop the email but if so, someone else is going to have to look at that. I;m not good with filters.
Thanks so much for your help.
I only want to stop the emails on, for example, blog_id 10 on a WP 3.0 multisite install. Nowhere else, just one sub-blog.
I;m sorry. Is this a already created user or a new one? That is before they get added to the blog?
No they're not registered on the main site, totally new, that's the problem.
Get personal, comprehensive and timely support and assistance
from WordPress Experts
Not sure if this will work - http://wordpress.org/extend/plugins/add-external-users/
Edit - no it needs a base email domain.
@Dr Mike "I'm real sick right now" -- I hope you are okay?
Finally realised there's a very, very simple way of doing it....add the user with a fake email, dajfjfdjkdjk@dfjkjdkj.com, email activation goes to that address, then go in and edit user and change to real email address.




