Just want to share a bug fix for UTF8 Email title for "tell a friend" and "send announment module". This should work for all pligg version.
recommend.php(Tell a friend function)
Add the following code:
Before change(recommend.php):
Code:
if($cansend >= 10){
$addresses = explode(", ", sanitize($_POST['email_address'], 3));
mailer_start();
Code:
if($cansend >= 10){
$addresses = explode(", ", sanitize($_POST['email_address'], 3));
//Add the following line
$subject = "=?UTF-8?B?".base64_encode($subject)."?=";
mailer_start();
Add the following code:
Before(sendannouncement.tpl):
Code:
function announcement()
{
global $db;
$email = $db->get_col('SELECT user_email FROM ' . table_users . ';');
if ($email)
{..........
Code:
function announcement()
{
global $db;
$email = $db->get_col('SELECT user_email FROM ' . table_users . ';');
\\ Add the following line
$subject = "=?UTF-8?B?".base64_encode($subject)."?=";
if ($email)
{.............





Linear Mode

