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: modify E-Cards + My Favorites  (Read 8878 times)

0 Members and 1 Guest are viewing this topic.

radianation

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • Radianation
modify E-Cards + My Favorites
« on: November 17, 2004, 08:37:11 pm »

I'm interested in changing the ECard feature so that instead of actually sending an image to specified Email it will send the My Favorites list like this:

1. ImageFilename4124.jpg - This is the formal title of the image
2. ImageFilename4114.jpg - This is the formal title of the image
3. ImageFilename4126.jpg - This is the formal title of the image
4. ImageFilename3124.jpg - This is the formal title of the image
5. ImageFilename4122.jpg - This is the formal title of the image

No actual images should be Emailed. Is there an existing mod for this? If not, which file(s) do I need to edit in order to achieve this change? I have some PHP experience so I think I can manage if pointed in the right direction. Thank you.  ;D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: modify E-Cards + My Favorites
« Reply #1 on: November 18, 2004, 08:33:54 am »

modify ecard.php
Keep in mind that the favorites are stored in a cookie.

Joachim
Logged

COS@RIN

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Cosarin Internet
Re: modify E-Cards + My Favorites
« Reply #2 on: November 12, 2005, 03:11:23 pm »

This is something I was hoping to include in my gallery.

Could anyone help with the code to include the contents of the Favourite cookie into a Form 2 mail or a modification of the ecard system?

I hope you can help
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: modify E-Cards + My Favorites
« Reply #3 on: November 12, 2005, 06:23:32 pm »

@cosarin : the way favorites are being handled has changed completely from cpg1.3.x to cpg1.4.x. Am I right in assuming that you're still running cpg1.4.x, yet you request (once again) support on the cpg1.3.x board? Don't tell me you could easily downgrade to cpg1.3.5 if needed or that you want us to give you support for cpg1.3.5 while you're going to try to get it working for cpg1.4.x.
There is a good reason for our policy that we make a difference between coppermine versions. The different versions differ in design.

Joachim
Logged

COS@RIN

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Cosarin Internet
Re: modify E-Cards + My Favorites
« Reply #4 on: November 12, 2005, 06:33:31 pm »

GauGau

This I have found out with your help.

I have now completely reverted back to cpg1.3.5 as I have decided the advancements contained in cpg1.4x are not as usefull to me as I thought. However building both versions to my requirements has indeed taught me a great deal about PHP and MYSQL.

So in answer to your question: No I have (For Now) given up on 1.4x for the reasons you have explained.

So If there is any help you could give me regarding any of my unsolved questions (cpg1.3.5 Only) I would greratly apreciate it.

Thanks again.

COS@RIN
« Last Edit: November 12, 2005, 06:40:57 pm by COS@RIN »
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.