NewletterBuilder links from email header

By 4cdg - October 8, 2012

I have entered some html code into the #email_header# wysiwyg. I have included several images with links to websites. When i send a test of the newsletter, the links are modified so they do not work.

For example, the link http:www.4cdg.com is changed to

http://4cdg.com/newsletter/m.php?l=http%3A%2F%2Fwww.4cdg.com&m=2&n=0

Help please.

Re: [4cdg] NewletterBuilder links from email header

Hi,

The Newest versions of the newsletter plugin come with a feature that allow you to track the percentage of people who have clicked links in newsletter e-mails by redirecting them from a page on your site to original link that was clicked. But you do have to create a php script called m.php that handles the redirects.

You can easily disable this feature by opening the newsletterBuilder.php file in your CMS Builder add-ons directory and changing the NLB_TRACK_LINKS global variable (it should be around line 12) from true to false. Then links will appear in the normal format.

$GLOBALS['NLB_TRACK_LINKS'] = false; // track email link "clicks" by rewriting email urls and redirecting them through manage script (industry standard method)

Let me know if you need anymore help.

Thanks!
Greg Thomas







PHP Programmer - interactivetools.com

Re: [greg] NewletterBuilder links from email header

By 4cdg - October 8, 2012

are there instructions to create this m.php script?

I haven't seen any documentation on this in the plugin download?

Re: [greg] NewletterBuilder links from email header

By 4cdg - October 9, 2012

This morning i recreated the manage page and named it index.php and now the links magically work.

Maybe i had missed something from the code generator.