Newsletter made simple errors

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
uzoom

Newsletter made simple errors

Post by uzoom »

I got some errors when running Newsletter Made Simple (NMS) module. I am not sure if they are bugs or my mistakes in using them.
Pls help

**** Error 1: ****
{cms_module module='NMS' mode='usersettings'}

I want t let the user modify his setting. The links in the email sent out by NMS creates an error : "Error! One or more required parameters are missing from the request. This action cannot proceed".

***** Error 2: *****
When processing a job, the message that is emailed out, has no value for  {$unsubscribe}, {$preferences} and {$confirmurl}. I even tried replacing them with {$unsubscribeurl} and {$preferencesurl} but it does not work.

*****Question 3: ***
Lastly I also want to change the default content when I compose a message. The default mesage is always
"Hello {$username}

Today is a nice day, mate.

If you have received this message to this email address: {$email} it means that you are a member of one or more lists on our website. You have a number of options, you can ignore the message (this is probably safe to do), or you can:

    * Unsubscribe: Just follow this link {$unsubscribeurl}
    * Change your preferences: Just follow this link {$preferencesurl}
    * Confirm that this is a valid email address by following this link: {$confirmurl}

Have a good day, and again, welcome."

********* END ***************

Pls help me as I am still new to CMS. Thanks in advance.
uzoom

Re: Newsletter made simple errors

Post by uzoom »

I also got an error when I tried to click on the link in the unsubscribe email. The error I got is

"Error! One or more required parameters are missing from the request. This action cannot proceed"

Any idea what I did wrongly.

The NMS version I am trying is 1.0-beta6.
andrea

Re: Newsletter made simple errors

Post by andrea »

Hi uzoom,
http://forum.cmsmadesimple.org/index.ph ... 409.0.html
this topic can help you,but it's in italian.
You have to modify 2 files: action_usersettings_email.php and action.usersettings.php
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Newsletter made simple errors

Post by Russ »

OK a partial solution - so read carefully before you get excited. I could not get the links in email to work, even with the Italian fix. However the 'unsubscribe' link worked in the original confirmation email??  So I just needed a way to attach the 'unsubscribe' link to the bottom of my newsletter and that would be good enough for me. People would be able to subscribe and unsubscribe and I could send newsletters... but not so fast and not so easy...

I created an 'unsubscribe' page (I have a subscribe page as well,) to be able to link to it.

Then in the newsletter message I tried adding the links - but no luck, either with or without the href stuff. Either a link to 'x: ' something or  just the plain text.

Then a moment of inspiration - I've had a good few of these of the past week or so - so I hope I'm not going mad! If you use the internal CMS _Selflink -  the links work!! You can unsubscribe!!! Plus other internal links works as well so you could link to your 'contact' page or 'home' page.

Something like:

Code: Select all

Unsubscribe from  Newsletters:
{cms_selflink page='160' text=' http://www.yourwebsite.net/path_to_unsubscribe_page/unsubscribe/'}
(160 is the page for my unsubscribe.)

OK I still cannot get images to work, but that is just path stuff and could probably be fixed - but it's good enough for me. I just need to catch up on about 8 hours sleep and I'll be fine.

Hope this helps?
Keep up the good work calguy - it's definitely getting there - I saw all the stuff your doing in SVN - looks cool ;-)

Russ

P.S. I had to use this out of SVN and the Italian fix - nothing else - at least I don;t think so.
action.unsubscribe_email.php 108 6 weeks tsw clean confirm unsubscribe link of &
Locked

Return to “CMSMS Core”