jywarren / plots

This is the old website for Public Lab; visit http://publiclab.org and https://github.com/publiclab/plots2 for the new website.
http://old.publiclab.org
12 stars 0 forks source link

"Read more" links in Notification emails are butchered #65

Closed rjcorwin closed 12 years ago

rjcorwin commented 12 years ago

I think the issue is that Notifications thinks it's sending an HTML email out but tags are being stripped so the "http://ShortenedURL.com/somethingReallyCoo..." that should point to "http://ShortenedURL.com/somethingReallyCool" ends up pointing to "http://ShortenedURL.com/somethingReallyCoo"

Example:

On Sun, Jan 29, 2012 at 10:55 PM, site@publiclaboratory.org wrote:

Greetings rjstatic,

mathew wrote:

Instead of using a balled up piece of tape, a pebble, or some other thing to hold down my camera's shutter, I've gone to using a knot.  This makes it easy to hold in place, and makes setting it easier.  I prefer a rubber band, but tape also holds it down.  tape may be more useful for bulging, non rectangular cameras.

My Canon SD1000 needs the rubber band tripled up to hold it in place:

Read more http://publiclaboratory.org/notes/mathew/1-29-2012/using-knot-trigger-ca... [1]

rjcorwin commented 12 years ago

While we're at it, the Sender currently says "Site". Could be something more useful like the username of the person who triggered the notification.

jywarren commented 12 years ago

Yeah i saw that, it's frustrating. I think it's a collision of the input filters and the mailer... i bet there's others out there who've dealt with this.

On Mon, Jan 30, 2012 at 5:14 AM, R.J. Steinert < reply@reply.github.com

wrote:

I think the issue is that Notifications thinks it's sending an HTML email out but tags are being stripped so the " http://ShortenedURL.com/somethingReallyCoo..." that should point to " http://ShortenedURL.com/somethingReallyCool" ends up pointing to " http://ShortenedURL.com/somethingReallyCoo"

Example:

On Sun, Jan 29, 2012 at 10:55 PM, site@publiclaboratory.org wrote:

Greetings rjstatic,

mathew wrote:

Instead of using a balled up piece of tape, a pebble, or some other thing to hold down my camera's shutter, I've gone to using a knot. This makes it easy to hold in place, and makes setting it easier. I prefer a rubber band, but tape also holds it down. tape may be more useful for bulging, non rectangular cameras.

My Canon SD1000 needs the rubber band tripled up to hold it in place:

Read more

http://publiclaboratory.org/notes/mathew/1-29-2012/using-knot-trigger-ca. .. [1]


Reply to this email directly or view it on GitHub: https://github.com/jywarren/plots/issues/65

jywarren commented 12 years ago

http://drupal.org/node/218968 offers a solution, trying...

jywarren commented 12 years ago

That wasn't quite it, it was for the "subscriptions" module and we use "notifications", but I think it may relate to the option "use printer-friendly URLs" on this page: http://publiclaboratory.org/admin/content/node-type/note

I'm attempting to uncheck that for print-formatting, since it's under the heading "Printer, e-mail and PDF versions". Maybe this will allow the urls to display fully.

jywarren commented 12 years ago

That didn't work - nor did turning it off for PDF versions, or globally here: http://publiclaboratory.org/admin/settings/print

I wonder if you have to flush caches or something...

ok i figured it out -- i went to "messaging settings" in the "messaging & notifications" menu and under "Message body filter " i chose "messaging plain text" instead of "html and markdown". done!

rjcorwin commented 12 years ago

Nice!

On Sun, Feb 12, 2012 at 11:45 AM, Jeffrey Warren reply@reply.github.com wrote:

That didn't work - nor did turning it off for PDF versions, or globally here: http://publiclaboratory.org/admin/settings/print

I wonder if you have to flush caches or something...

ok i figured it out -- i went to "messaging settings" in the "messaging & notifications" menu and under "Message body filter " i chose "messaging plain text" instead of "html and markdown". done!


Reply to this email directly or view it on GitHub: https://github.com/jywarren/plots/issues/65#issuecomment-3928988