Knowledge Base - How to Remove Powered By AcyMailing

Open: template.php

Located here: public_html/administrator/components/com_acymailing/extensions/plg_acymailing_template/

Goto Line: 154

You will see this:

if((!acymailing_level(1) || acymailing_level(4)) && !empty($email->type) && in_array($email->type, array('news', 'followup'))){
$pict = '<div style="text-align:center;margin:10px auto;display:block;"><a target="_blank" href="https://www.acyba.com/?utm_source=acymailing&utm_medium=e-mail&utm_content=img&utm_campaign=powered-by"><img alt="Powered by AcyMailing" src="/media/com_acymailing/images/poweredby.png" /></a></div>';

if(strpos($email->body, '</body>')){
$email->body = str_replace('</body>', $pict.'</body>', $email->body);
}else{
$email->body .= $pict;
}
}

Delete the LINES below in YELLOW:

if((!acymailing_level(1) || acymailing_level(4)) && !empty($email->type) && in_array($email->type, array('news', 'followup'))){
$pict = '  <div style="text-align:center;margin:10px auto;display:block;"><a target="_blank" href="https://www.acyba.com/?utm_source=acymailing&utm_medium=e-mail&utm_content=img&utm_campaign=powered-by"><img alt="Powered by AcyMailing" src="/media/com_acymailing/images/poweredby.png" /></a></div>  ';

if(strpos($email->body, '</body>')){
$email->body = str_replace('</body>', $pict.'</body>', $email->body);
}else{
$email->body .= $pict;
}
}

 

Save the File!

 

=====================================

We Are Not Done Just Yet!

=====================================

 

Now Open: template.php

Located here: public_html/plugins/acymailing/template/

Goto Line: 154

You will see this:

if((!acymailing_level(1) || acymailing_level(4)) && !empty($email->type) && in_array($email->type, array('news', 'followup'))){
$pict = '<div style="text-align:center;margin:10px auto;display:block;"><a target="_blank" href="https://www.acyba.com/?utm_source=acymailing&utm_medium=e-mail&utm_content=img&utm_campaign=powered-by"><img alt="Powered by AcyMailing" src="/media/com_acymailing/images/poweredby.png" /></a></div>';

if(strpos($email->body, '</body>')){
$email->body = str_replace('</body>', $pict.'</body>', $email->body);
}else{
$email->body .= $pict;
}
}

Delete the LINES below in YELLOW:

if((!acymailing_level(1) || acymailing_level(4)) && !empty($email->type) && in_array($email->type, array('news', 'followup'))){
$pict = '  <div style="text-align:center;margin:10px auto;display:block;"><a target="_blank" href="https://www.acyba.com/?utm_source=acymailing&utm_medium=e-mail&utm_content=img&utm_campaign=powered-by"><img alt="Powered by AcyMailing" src="/media/com_acymailing/images/poweredby.png" /></a></div>  ';

if(strpos($email->body, '</body>')){
$email->body = str_replace('</body>', $pict.'</body>', $email->body);
}else{
$email->body .= $pict;
}
}

Save the File!

That's All!

Details

Created : 2017-08-04 19:55:18, Last Modified : 2017-08-05 00:22:32