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: Photo_Shop admin-mail with more information  (Read 4099 times)

0 Members and 1 Guest are viewing this topic.

yogiflop

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Photo_Shop admin-mail with more information
« on: March 17, 2008, 08:54:06 pm »

Hello, me again,

is it possible to give more information in the admin mail about the person who ordered photos.

like:
username
email
user_profile1
user_profile2
user_profile3
user_profile4
user_profile5

thanks for working on it.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Photo_Shop admin-mail with more information
« Reply #1 on: March 18, 2008, 09:07:31 am »

it's already coded
somehow I just have forgotton for some weeks to upload v1.3.6

Sy

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Photo_Shop admin-mail with more information
« Reply #2 on: April 11, 2008, 07:24:54 pm »

What is the placeholder to print the users email address?  I tried {EMAIL} but that doesn't work.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Photo_Shop admin-mail with more information
« Reply #3 on: April 11, 2008, 07:34:05 pm »

hmm, looks like I haven't added the user email

in photo_shop_checkout.php find
Code: [Select]
'{USER_NAME}' => (USER_NAME),
below add
Code: [Select]
'{USER_EMAIL}' => $email,

find
Code: [Select]
$user_info = photoshop_user_details(USER_ID);
below add
Code: [Select]
$email = $user_info['user_email'];

then the placeholder is {USER_EMAIL}

Sy

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Photo_Shop admin-mail with more information
« Reply #4 on: April 11, 2008, 07:40:43 pm »

WOW.  Thanks for the uber speedy reply!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.