Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del nariu puslapio

Parašė bruzgis· 2008 Geg. 7 16:05:17
#14

kode sitoj vietoj siuncia adresa:
function sendInviteMail($email, $rndKey, $url, $user_name) {
global $settings, $locale;
require_once INCLUDES."sendmail_include.php";
$message = "\r\n";
$message .= $user_name.$locale['inv401'].$settings['sitename']."\r\n";
$message .= $locale['inv402']."\r\n";
$message .= $url."\r\n";
//sendemail($toname,$toemail,$fromname,$fromemail,$subject,$message,$type="plain",$cc="",$bcc="")
sendemail($settings['siteusername'],$email,$user_name,$settings['siteemail'],$locale['inv400'].$settings['sitename'], $message,$type="plain",$cc="",$bcc="");
}


Tai kaip supratau kai draugui nusiuncia adresa i emaila tai buna infusions.... o ne http://adreas... ??
jei taip tai keisk toolbox.php faile sita auksciau esancia funkcija i sita zemiau esancia:


function sendInviteMail($email, $rndKey, $url, $user_name) {
global $settings, $locale;
require_once INCLUDES."sendmail_include.php";
$message = "\r\n";
$message .= $user_name.$locale['inv401'].$settings['sitename']."\r\n";
$message .= $locale['inv402']."\r\n";
$message .= "".BASEDIR."".$url."\r\n"";
//sendemail($toname,$toemail,$fromname,$fromemail,$subject,$message,$type="plain",$cc="",$bcc="")
sendemail($settings['siteusername'],$email,$user_name,$settings['siteemail'],$locale['inv400'].$settings['sitename'], $message,$type="plain",$cc="",$bcc="");
}