Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 42228
Total Topics: 7368
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 31
Total: 31

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

0 Members and 1 Guest are viewing this topic.

Offline wenglenn

  • Member
  • *
  • 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: 16003
    • 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

  • Member
  • *
  • 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: 16003
    • 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

  • Member
  • *
  • 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: 16003
    • 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

  • Member
  • *
  • 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: 16003
    • 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
6182 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
4 Replies
4839 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
0 Replies
2796 Views
Last post May 11, 2010, 01:24:35 pm
by aciage
9 Replies
5464 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
Tracking image

Started by guest3817 Support

3 Replies
2324 Views
Last post March 06, 2017, 06:34:03 pm
by SMFHacks

+- Recent Topics

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Funky Pagination by SMFHacks
May 11, 2022, 11:38:24 pm

Powered by EzPortal