Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 180
Total: 180

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

Started by guest3817 Support

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

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal