Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4263
Latest: Cekky
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43455
Total Topics: 7557
Most Online Today: 315
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: Remove Tracking Image from emails.  (Read 9254 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: 16524
    • 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: 16524
    • 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: 16524
    • 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: 16524
    • 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
7577 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
4 Replies
6177 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
0 Replies
3659 Views
Last post May 11, 2010, 01:24:35 pm
by aciage
9 Replies
7351 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
Tracking image

Started by guest3817 Support

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

+- Recent Topics

[Mod]Tenor Posting Animated Gifs by SMFHacks
August 30, 2024, 04:04:26 pm

List of other errors after installing and trying to use by SMFHacks
August 27, 2024, 02:15:52 pm

Subject Error by SMFHacks
August 27, 2024, 02:15:46 pm

Store Not Logging Transactions or Sending Emails for Paid Items, Free Items Work by SMFHacks
August 27, 2024, 05:26:52 am

Don't Know How to Unhide Previously Hidden Items in Latest SMF Store 5.0 by Michael Vail
August 26, 2024, 11:38:33 pm

Undefined array key "session_var" and Undefined array key "session_id" Errors by SMFHacks
August 26, 2024, 11:10:54 pm

SMF Links Error by yamiacaveman
August 22, 2024, 06:21:53 pm

HTTP Error 500 by SMFHacks
August 20, 2024, 12:28:53 pm

Site upgrade to 2.1 by live627
August 18, 2024, 02:47:33 am

Uninstall issue and new licence no email by landyvlad
August 16, 2024, 08:05:48 am

Powered by EzPortal