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 - removing the need to register in Coppermine.  (Read 3025 times)

0 Members and 1 Guest are viewing this topic.

mpwmedia

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Photo Shop - removing the need to register in Coppermine.
« on: February 18, 2007, 03:43:54 pm »

Is there any way of removing the need to register from the Photo Shop plugin?

i.e. once a customer had placed an order and confirmed it they would be taken direct to PayPal.

Thank you.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Photo Shop - removing the need to register in Coppermine.
« Reply #1 on: February 20, 2007, 08:14:13 pm »

I just answered a similar question

Quote
- with the current shop layout people necessarily have to register no matter what. The person ordering this shop wanted to print and send photos to his customers. So he's in need of the address. The shop admin makes use of the customer details. Without that no uid, customer user/ nick name, nothing you could use to connect an order to

Removing the need to register is easy... but then you'd have to modify most of the admin functions too

to just remove the redirect to the register page open photo_shop_checkout.php and comment out that block
Code: [Select]
//if user isn't logged in redirect to shop register/ login page
if(!USER_ID) {
    photoshop_refresh($_SERVER['PHP_SELF'].'?file=photo_shop/photo_shop_register');
exit;
}

but as said... there's more to do than that
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.