Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12361
Latest: nneocsoi
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 39803
Total Topics: 7013
Most Online Today: 54
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 33
Total: 33

Author Topic: Remove Tracking Image from emails.  (Read 5775 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: 14916
    • 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: 14916
    • 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: 14916
    • 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: 14916
    • 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
5659 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
4 Replies
3875 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
0 Replies
2511 Views
Last post May 11, 2010, 01:24:35 pm
by aciage
9 Replies
4172 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
3 Replies
1318 Views
Last post March 06, 2017, 06:34:03 pm
by SMFHacks

+- Recent Topics

Getting an error while installing SMF Gallery Pro by SMFHacks
August 18, 2019, 06:54:37 pm

Hashtag Mod Install Error by SMFHacks
August 15, 2019, 08:17:45 am

Rotating Image URLs by SMFHacks
August 05, 2019, 04:26:57 pm

[Mod]Block Proxy VPN On Registration by SMFHacks
August 01, 2019, 10:42:37 pm

[Mod]Nofollow Signature Links by SMFHacks
July 30, 2019, 11:52:28 am

Thinking of getting Ad Seller Pro as well by ajac63
July 28, 2019, 04:46:34 am

Just some questions about Ad Management mod by ajac63
July 26, 2019, 12:12:26 pm

[Mod]Login Menu Button by SMFHacks
July 05, 2019, 03:26:24 pm

Update by SMFHacks
June 19, 2019, 10:58:25 am

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

Powered by EzPortal