View Single Post
  #102 (permalink)  
Old 12-15-2007, 10:04 AM
bbrian017 bbrian017 is offline
Banned
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
Well I'm a noob when it comes to coding and pligg. I mean I can copy paste pretty good but when I have to copy paste and modify I'm in big trouble lol.

When people were signing up they were getting a confirmation e-mail that looked like this in the Body and Title,

Quote:
Welcome to BlogEngagePLIGG_Visual_Name‏
From: admin@blogengage.com PLIGG_PassEmail_From

So I took out this,

Code:
. PLIGG_PassEmail_From . "\r\n"
and

Code:
. PLIGG_Visual_Name
So the register.php looked like this at first,

Code:
echo "Welcome $username<br />";
			echo "Check your e-mail for activating your account.<br />";
			$from = 'From: admin@blogengage.com' . PLIGG_PassEmail_From . "\r\n";
			$subject="Welcome to BlogEngage" . PLIGG_Visual_Name;
			$message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator";
			$to=$email;
			mail($to, $subject, $message, $from);
and now it works perfect like this,

Code:
			echo "Welcome $username<br />";
			echo "Check your e-mail for activating your account.<br />";
			$from = 'From: admin@blogengage.com';
			$subject="Welcome to BlogEngage" ;
			$message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator";
			$to=$email;
			mail($to, $subject, $message, $from);

Last edited by bbrian017; 12-15-2007 at 10:10 AM..
Reply With Quote