Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12341
Latest: susan212
New This Month: 5
New This Week: 1
New Today: 1
Stats
Total Posts: 39774
Total Topics: 7004
Most Online Today: 46
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 27
Total: 27

Author Topic: Remove Tracking Image from emails.  (Read 5663 times)

0 Members and 1 Guest are viewing this topic.

Offline wenglenn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Remove Tracking Image from emails.
« on: May 29, 2016, 07:40:11 am »
Trying to remove the tracking image from emails, have commented out

   // Add tracking pixel

   //$message = str_replace('<#trackimg#>','<img src="' . $boardurl . '/newstracking2.php?a=v&c=' . $ID_LETTER . '&i=#ID_EMAIL#">',$message);

and removed

<#trackimg#>

from Sources/NewsPro2.php

But image is still in emails being sent.

Is there another file I need to edit ?

Also, would like to remove "index.php" from {board_url}

Also, want to change the wording of "Unsubscribe to this mailing"

Many thanks
« Last Edit: May 29, 2016, 07:45:07 am by wenglenn »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14900
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #1 on: May 29, 2016, 08:04:07 am »
NewsPro2.php(1382)
Code: [Select]
$message = str_replace('<#trackimg#>','<img src="' . $boardurl . '/newstracking2.php?a=v&c=' . $ID_LETTER . '&i=#ID_EMAIL#">',$message);

And two spots in Sources/ManageNews.php
Code: [Select]
$_POST['message'] = str_replace('<#trackimg#>','<img src="' . $boardurl . '/newstracking2.php?a=v&c=' . $context['ID_LETTER'] . '&i=#ID_EMAIL#">',$_POST['message']);



This mod removes index.php from you url untested though
http://custom.simplemachines.org/mods/index.php?mod=2709
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline wenglenn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #2 on: May 29, 2016, 08:17:36 am »
Thanks, just one last thing though

Also, want to change the wording of "Unsubscribe to this mailing"

Cheers

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14900
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #3 on: May 29, 2016, 08:34:06 am »
It is added to
themes/default/languages/Modifications.english.php
themes/default/languages/Modifications.english-utf8.php


Also note remove all instances of <#trackimg#> in sources/managenews.php as well.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline wenglenn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #4 on: June 03, 2016, 04:51:55 am »
Hi, having another issue.

When sending bulk emails via the newsletter function, it is stopping with a blank page.

I have just been hitting refresh hoping that it will continue sending the emails and not re-send the same ones.

Any idea's as to what is going on here ?

Do I need to increase the time out or something ?

When I was sending just a few emails I would get the green percentage bar also, now I don't get anything, just a blank page and that eventually stops on a balnk page.

Cheers

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14900
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #5 on: June 03, 2016, 05:33:43 am »
Open souces/ManageNews.php
Find
Code: [Select]
<?php

Add after
Code: [Select]
@ini_set("memory_limit","256M");
@ini_set ('max_execution_time', 900);
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline wenglenn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #6 on: June 03, 2016, 06:16:59 pm »
Thanks, should I have the queue settings enabled and if so, what should I have them at ?

I currently have it enabled, maybe this is causing the issue :/
They are currently at Max Per minute 20
Max per page load 100

I have around 2000 members

It seems the refreshing was actually re-sending the emails again :(

Shouldn't it return to the admin or newsletter page once it has finished sending the emails ?

This is from Newsletters by the way, not Newsletter Pro
« Last Edit: June 03, 2016, 06:23:46 pm by wenglenn »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14900
    • View Profile
Re: Remove Tracking Image from emails.
« Reply #7 on: June 03, 2016, 08:02:08 pm »
Yes it should return to the admin area once the newsletter is done sending.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5581 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
4 Replies
3792 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
0 Replies
2465 Views
Last post May 11, 2010, 01:24:35 pm
by aciage
9 Replies
4052 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
3 Replies
1220 Views
Last post March 06, 2017, 06:34:03 pm
by SMFHacks

+- Recent Topics

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

About Number of Images for Basic Ad by ajac63
May 26, 2019, 10:33:46 pm

Error when intalling SMF Gallery Pro 6.7 by SMFHacks
May 26, 2019, 04:56:46 pm

Powered by EzPortal