coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: netfalls on December 18, 2005, 06:12:22 PM

Title: Using the Postcards as purchase request
Post by: netfalls on December 18, 2005, 06:12:22 PM
Hello,

I'd like to adapt the postcards file to send to the photographer a purchase request by email. This would allow people that doesn't wanna pay online to send a request by email directly to the  Photographers.
It means:

Recipient email address= photographer's email address extracted from the use account
Recipient name = photographer's name  extracted from the use account
Does anybody have any idea on how to manage this.
Thanx

Title: Re: Using the Postcards as purchase request
Post by: Tranz on December 18, 2005, 06:14:52 PM
Try replicating the report to moderator feature/files.
Title: Re: Using the Postcards as purchase request
Post by: artistsinhawaii on December 18, 2005, 11:31:14 PM
netfalls,

You mean like the attached?  I modifed the report.php file on my site instead of the ecard file (since the ecard is good advertising).


change file from report.txt to report.php (back up your original report.php file first!) then copy into your coppermine directory overwriting report.php.

Dennis
Title: Re: Using the Postcards as purchase request
Post by: netfalls on December 19, 2005, 08:23:43 AM
Hi,

Thanx for the code but I tried it and = Error
You don't have permission to access this page.

Cheers
Title: Re: Using the Postcards as purchase request
Post by: artistsinhawaii on December 20, 2005, 03:30:49 AM
netfalls,

Do all users have access to sending file reports?  If not, that could explain the error.  Before going the next step... Look at my site:  http://www.artistsinhawaii.com/evj/ (http://www.artistsinhawaii.com/evj/) , click on one of the images and try the report file icon.  See if it's anything close to what you want to achieve.


Dennis
Title: Re: Using the Postcards as purchase request
Post by: Tranz on December 20, 2005, 05:41:46 AM
From the docs:

QuoteEnable reports

Enable reports. When set to "yes," this feature will allow users to report on uploaded files or comments to the site admin.

This setting is dependant on e-cards being enabled. Only users who have permission to send e-cards in the 'groups' settings are able to send reports. The report icon is hidden from those not allowed to do so.
Title: Re: Using the Postcards as purchase request
Post by: netfalls on December 20, 2005, 09:41:18 AM
Report was disable, my bad.
Thanx all it works now