How can I display a members email address using echo in php.
TIA
How can I display a members email address using echo in php. TIA |
$iLoggedId = getLoggedId(); $aProfile = getProfileInfo($iLoggedId); echo $aProfile['Email']; it echo logged member email. so much to do.... |
Thanks for the quick reply. If I need to call a members email address when they confirm/activate their email address before giving them access to our system. Will this be the same code Thanks |
Thanks for the quick reply. If I need to call a members email address when they confirm/activate their email address before giving them access to our system. Will this be the same code Thanks I am confused about this question. Please explain a little more so much to do.... |
When someone confirms their email address using profile_activate.php from the confirmation email, I want to pull their email address with this script as I plan to use it to set up an forwarding system where instead of having their email shown in the profile, I will have an email address like username@mydomain.com.
I have found a script which will give me the opportunity to set up username@mydomain.com email addresses and automatically set up forwarding to their confirmed personal email address. This will help prevent spamming.
I need to get the members email address to be used for pointing the username@mydomain.com.
Thanks for your help
|
ok wait i am checking few things so much to do.... |
okay here it is. In your profile_activate.php If you put your code in PageCompPageMainCode function you can simply use $p_arr[Email] other wise, you can use the same previous post code like this $aProfile = getProfileInfo($ID); $aProfile['Email']; so much to do.... |
You are a diamond. Thank you very much. |
When someone confirms their email address using profile_activate.php from the confirmation email, I want to pull their email address with this script as I plan to use it to set up an forwarding system where instead of having their email shown in the profile, I will have an email address like username@mydomain.com.
I have found a script which will give me the opportunity to set up username@mydomain.com email addresses and automatically set up forwarding to their confirmed personal email address. This will help prevent spamming.
I need to get the members email address to be used for pointing the username@mydomain.com.
Thanks for your help
@NO118 This (above) is a very good idea... I'd like to learn more how you are doing this. May I have the info on what script you're using and how you implemented it? Thank you. http://pkforum.dolphinhelp.com |
Finally cracked it. I have now set up my site to create a email address in CPanel for my members which automatically forwards to their confirmed email address. I will now remove my members profile personal email address and replace it with the one with my domain.
Thanks prashank25 for all your help.
|
I've seen scripts that did this but they required the Cpanel login info to be added to the script... did you find one that didn't require that?
Finally cracked it. I have now set up my site to create a email address in CPanel for my members which automatically forwards to their confirmed email address. I will now remove my members profile personal email address and replace it with the one with my domain.
Thanks prashank25 for all your help.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I've seen scripts that did this but they required the Cpanel login info to be added to the script... did you find one that didn't require that?
Finally cracked it. I have now set up my site to create a email address in CPanel for my members which automatically forwards to their confirmed email address. I will now remove my members profile personal email address and replace it with the one with my domain.
Thanks prashank25 for all your help.
As my server use CPanel/WHM I have only designed this for my server. I will work out in the next day or so how to do this for other platforms.
I will be contacting members who sell mods to see if they would swap my mod for one of theirs. They can then either sell or give this mod away.
Thanks for the interest |
I will be contacting members who sell mods to see if they would swap my mod for one of theirs. They can then either sell or give this mod away.
Thanks for the interest But were you able to accomplish it without adding the Cpanel login info to the script? BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I will be contacting members who sell mods to see if they would swap my mod for one of theirs. They can then either sell or give this mod away.
Thanks for the interest But were you able to accomplish it without adding the Cpanel login info to the script? Hi mscott I created a separate php page and injected the information I needed into this page. Within this page I set up the various variables to push into CPanel. I have now tested it and it seems to work well. It creates the new email address and automatically sets up the forward to the users personal email address. I then created a block which displays the new email address using php and removed the personal email address from the users profile.
To use this script you do need to put the CPanel username and password in the variables. This mod is very easy to set up.
Cheers |