I am a Wordpress developer using a plugin called MemberMouse and got a task that whenever a user signup using MemberMouse sign up form it fires an verification email to the new registered user.
I was asked to do it with the smart tags provided by MemberMouse.
As I read out the plugin's documentation I do not find any smart tag that perform this type of action. Is there any way to make this verification thing work?
I tried to figure it out myself. It could only be done by writing a custom code for it in Wordpress that triggers mail after user becomes a Member.
Related
So I was working with this woocommerce theme (Sober) and wanted to add custom OTP verification after the user registers to my website.
All I want is that when user fill up the registration form and submit, an OTP is send to his/her phone(Don't wana use third party plugin). Once the user verifies the OTP than only the account be created.
I have added few custom field to my woocommerce form, but don't know how to redirect to otp verification without the form being saved unless otp is verified.
I am pretty new to WordPress and WooCommerce.
Personally I think when you are using any framework try to integrate certain third party tools by yourself instead of using plugins. There are pros and cons to this.
Its a pretty old question but thought this may be help for others. You can use a free service from Facebook called AccountKit for integration of OTP in multiple platforms.
https://developers.facebook.com/docs/accountkit
There are other paid and good options as well, but FBs AccountKit is really easy to integrate at-least till the time FB lifts support from AccountKit.
Hope this helps.
I wrote a custom plugin that handles login and registration for my WordPress Woocommerce site.
When a user registers via my custom form handler I would like to trigger Woocommerce to send the new user an email instead of using wp_mail. This way I reduce code redundancy, and all of the transactional emails can be formatted the same (they all have the same look and feel).
Is it possible to do so?
Try this:
$wc = new WC_Emails();
$wc->customer_new_account($user_id);
$customerID should be the ID of the newly created customer. Here you can find out everything about the WC_Email_Customer_New_Account class: https://docs.woocommerce.com/wc-apidocs/class-WC_Email_Customer_New_Account.html. Just place this code somewhere where it will run after the customer has been registered, so I assume somewhere where you would have placed the wp_mail functions. Let me know if this helped :)
I am attempting to use the Mailchimp API to allow site visitors to subscribe to my newsletter. Currently, any signups with the default form action that Mailchimp provides sends an Opt-In email and opens a new email to say thanks for subscribing, which I want to avoid. Instead, if I use the API, I can set those options to false. The problem is that it doesn't look like Shopify allows PHP or Ruby in their shop code. I've been looking for weeks for a solution, but I'm at a loss.
Here is a turnaround for this:
1.- Create a Wufoo form with one only field: email address.
2.- Paste this Wufoo form at your Shopify store. We'd recommed pasting the JavaScript version.
It can look like this
3.- On your notifications tab at your Wufoo form, choose to Send notifications to Another Aplication. On the dropdown, choose MailChimp click on Add integration and follow steps. You will be sending all email addresses to your desired MailChimp list.
Tiny problem is that placeholders on Wufoo forms, don't disappear on click, so the user needs to go inside the field and delete all the placeholder. (This might be a good point because robots can't do this, and you make sure the user is really involved in the process of typig his/her email address.)
I am using the Gravity Forms API to manually add entries to a form I've created. According to the docs, the triggers that would normally send the notification emails to both admins and users are not fired:
Intended to be used for importing an entry object. The usual hooks that are triggered while saving entries are not fired here.
Does anyone know how I could programmatically trigger these notifications?
Thanks!
You're looking for GFCommon::send_notification. There's a tutorial with a code example.
I am trying to find a simple bare bones example/demo that shows me how I can build a trivial/proof of concept website that will collect user email (and maybe first name), and add this name to a list created on mailchimp.
To clarify, I am not merely asking how to create a PHP/mySQl website - I already know how to do that, and I already know how to place a form on a page etc.
Assuming I already have the following:
- A php/MySQL site with a registration form
- A newly created list on mailchimp
More specifically, I want a user to be able to register on a page on my site, and then I want the following sequence of events to happen:
When a user clicks the 'submit' button on my page, their details gets sent to mailchimp and added to a specific list created on mailchimp
They are sent a confirmation email by mailchimp
Once they confirm subscription, they are directed back to a page on my site, with a token from mailchimp
I store their details (provided by mailchimp) into my MySQL database
I send the confirmed subscriber an email with an attachment
When the user unsubscribes from the list, I get notified by mailchimp and I can flag the user as unsubscribed in my database.
I have not been able to find a simple demo (or tutorial) that shows how to implement the required functionality listed above. Can anyone recommend a link (or links) to get me started with implementing these specific "bare bone" functionality?
The documentation is rather good I thought?
Just checkout the API-docs: http://apidocs.mailchimp.com/api/how-to/basic-subscribe.php
And if for some reason you do not want to read docs but just want to see code (please, don't do this, but hey, what do I know): click on the exmples listed here: http://apidocs.mailchimp.com/api/downloads/#examples
Start with the example code and if it doesn't do exactly everything, you can find it at the docs easily enough.