Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Customizing ecard emails  (Read 4992 times)

0 Members and 1 Guest are viewing this topic.

makk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • the hid3out
Customizing ecard emails
« on: March 28, 2010, 10:12:20 pm »

The other day I started a similar topic where the issue was about the ecard itself, but since this one is a tiny bit different I start another one instead!

Noticed that my ecard design kinda breaks in the mail-version depending a lot of client and|or web based mail so in my latest attempt to come up with a "new idea" my ecard (displayecard.php) actually only shows the back of the card, with sender/reciever/message etc. To show the actual postcard you will need to "turn it over" thus bringing you to the displaycard.php as with regular viewing!

I kinda like that idea, so I might stick with it, but.... and here is my request|question:

I don't want the ecard to show up at all in the mail. I really just want to send a plain mail, (no matter what client ppl are using) with just the actual link to the ecard instead, since you will need to "flip the card" anyway to see the motive!

In the theme.php the code is written like "either or" (html or plain text) depending on email clients!

Is there anyway to send an email like this:

Code: [Select]
Hi [recipient_name]! [sender_name] has created an ecard for you!
To view it. Click on this link: [displayecard-link here]

The link takes them to my displayecard.php?datablablabla..... showing the back of the postcard (see attached screenshot) with a link to "flip the card" directing them to the actual intermediate image in the gallery (displayimage.php)


My gallery is http://private.htstart.org/

Also trying to make a direct link to the actual ecard on the gallery.... : test link

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Customizing ecard emails
« Reply #1 on: March 28, 2010, 10:40:43 pm »

Take a look at this => http://forum.coppermine-gallery.net/index.php/topic,64211.msg319122.html#msg319122
It might help you make the edits.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

makk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • the hid3out
Re: Customizing ecard emails
« Reply #2 on: March 28, 2010, 11:01:31 pm »

Thanks for the feedback!
That was actually the thread I read when first getting how to design the actual ecard! One of the parts in there contains the code in themes/mytheme/theme.php to get the output of the ecard itself!

But that code is generated both in the mail (which I don't really want) the recipient gets, and also the displayecard.php!
It don't really tell me howto (or if it's even possible) design 2 separate things.
1. a template ecard -email containg nothing but pure info that an ecard has been created + simple link to it
2. a template ecard -page....

As is now the numbers 1 & 2 are kinda combined into 1 code as far as I understood!?

----------
or it might just be me being slow.... that does happen ;)
Logged

makk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • the hid3out
Re: Customizing ecard emails
« Reply #3 on: May 11, 2010, 03:16:35 pm »

Sorry to add to this but this goes out to admins of this wonderful forum!


I have gotten about 5-6 emails in the past months telling me I have a new reply in this thread! When I click on the link in th email, I end up here. There is no answer? Nothing to read?
Sure, I could uncheck the box not to notify me, but Why are those mails coming?

The one today said:
Quote
A reply has been posted to a topic you are watching by two0426.

View the reply at: http://forum.coppermine-gallery.net/index.php?topic=64285.new;topicseen#new

Unsubscribe to this topic by clicking here: http://forum.coppermine-gallery.net/index.php?action=notify;topic=64285.0

More replies may be posted, but you won't receive any more notifications until you read the topic.

Regards,
The forum.coppermine-gallery.net Team.

I never saved the previous ones though
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Customizing ecard emails
« Reply #4 on: May 11, 2010, 07:20:41 pm »

Happens if a spammer replies to your thread, but a moderator manages to delete the spam posting before you visit the thread. The notification is being sent immediately. This is the case for the user "two0426" - he was banned for spam-posting
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.