Echo members email address

How can I display a members email address using echo in php.

TIA

Quote · 12 Jul 2012

$iLoggedId = getLoggedId();

$aProfile = getProfileInfo($iLoggedId);

echo $aProfile['Email'];

it echo logged member email.

so much to do....
Quote · 12 Jul 2012

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

Quote · 12 Jul 2012

 

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....
Quote · 12 Jul 2012

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

 

Quote · 12 Jul 2012

ok wait i am checking few things

so much to do....
Quote · 12 Jul 2012

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....
Quote · 12 Jul 2012

You are a diamond.  Thank you very much.

Quote · 12 Jul 2012

 

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
Quote · 12 Jul 2012

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.

 

Quote · 12 Jul 2012

 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
Quote · 12 Jul 2012

 

 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

Quote · 12 Jul 2012


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

 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
Quote · 12 Jul 2012

 


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

 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

Quote · 13 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.