Hooked in to new user signup and sent info to ListLuv API

Article by

I am the creator of CommentLuv and site owner and administrator of ComLuv.com

Andy Bailey has written 276 articles for ComLuv.com
I normally write at http://comluv.com

Twitter: @commentluv | Facebook | Google Profile
Become a guest blogger on ComLuv just like Andy Bailey

Added a plugin to wpmu-plugins for hooking into the wpmu_new_user action to subscribe user to ComLuv updates newsletter. The user will automatically receive a confirmation request by ListLuv.

add_action('wpmu_new_user','cl_addsubscriber');
function cl_addsubscriber($user_id){
// get user email and name and ip
$userip=$_SERVER['REMOTE_ADDR'];
$user_info = get_userdata($user_id);
$useremail = $user_info->user_email;
$username = $user_info->user_login;
// send request to ListLuv api

Added additional message to signup last page to tell user to check their spam box for their activation email if they use gmail or hotmail.

Comments

  1. hey i wanted to signup, but i can’t see any window to sign up. Please help!!
    [rq=141,0,blog][/rq]How To Add a Search Box to Blogger Blog

  2. I didn’t know that. So i will wait till monday then :)
    [rq=147,0,blog][/rq]How To Add a Search Box to Blogger Blog

Speak Your Mind

*

CommentLuv badge

Get the exclusive 15 ways to generate traffic ebook

We will never rent/sell/give out your information. Your Privacy is SAFE!