I am using WooCommerce and there are two different user roles: customers and agencies. By default WooCommerce only takes the customer role into account.
I need to send different information to the user depending on if the registered user is a customer or an agency. The registration is manual, so I don't want the user to receive any email until he is approved. In case of disapproval, he would also receive an email.
Currently when an user as agency is registered, the admin receives the email. When I approve the agency, the receptor doesn't receive anything because WooCommerce only sends email to "admin" or "customer".
What can I do to resolve this issue?
Related
I need help to send message email with Front end PM pro plugin how to add different user role when user send message.
i try send message user to admin and auto send email to admin i need add user role in email template
I have three types of Registrations
1.Doctor Registration
2.Patient Registration
3.Agent Registration
Now the admin has to approve & enable the Doctor & Agent registrations...
After approval of Admin only the the user can login into his profiles
I am assuming you have created an User Table having login details of Doctor and Agent users.
So in same table have a column of type bit field and its name can be IsApproved.
In admin section provide form where admin can see the details and change the status of IsApproved.
In login form check whether username and password are matching with the record and if yes then its IsApproved columns's value shouold be true.If not then show appropriate message.
I have a web application that creates user accounts, but I would also like to have the ability to have users that can sign up for subscriptions without accounts. All they have is a subscription page to modify email settings and enable the newsletter subscription.
My questions is how do I verify that the user is who they say they are without a username/password, and my second is how should they access this page. I dont want just anyone typing in the url with the email and access subscription settings for that user.
For each user entry you create a unique access code that you use in the url in order to validate that this is the user you want.
The subscription form will give these options:
subscribe by filling in your email
request to change your settings by just putting your email to another field
both action will send an email to you with a special url
the first to validate that this is made by you so you will enable this user & his email
the second to send him another special url to make any changes to his settings in the case that this use is active in your database.
For this unique code you can use md5 of his email with a timestamp when he was registered.
I have a two user roles named
employer
Job seeker
I need to display different registration form fields for each role.
for employer - registration fields are
company name
Address
Phone
zipcode
Contact Person
for job seeker - registration fields are
Firstname
Lastnanme
email address
I have used profile role module, user selectable role module. But I am not able to perform this process.
Please help me to complete this.
I found my result here
http://drupal.org/node/170023#comment-3300274
It is useful.
I'd like to have an easy Newsletter subscription box on my site. The user types his email, clicks "Subscribe" and he is done. The problem is that the site has Registration too. How should I solve the registration when the user is subscribed? I do have his/her email address (from Newsletter subscribtion) but I don't know if it is his/her.
I don't want to force the users to Register if they want only to subscribe to the newsletter list.
Should I have 2 email lists for Newsletter subscribers and Registered users and then check duplex emails and send the newsletter only 1x?
If a user signs up for a newsletter but is not a registered member of your website, but later on decides to register, you can do a DB check upon registering them to see if they are subscribed to any newsletters, and if they are, set a 'SubscribedToNewsletter' column to true.
Or, if a registered user decides to sign up for a newsletter, simply set the DB Column 'SubscribedToNewsletter' to true.
If your email client allows groups of contacts you could make two separate groups of contacts. If one of the newsletter people decides to register, they're name should pop up from the newsletter contacts and you can just move it to the registered. Hopefully that should keep you from sending out duplicates each time.