News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Paypal shop hack, easy install, online admin

Started by Casper, January 14, 2006, 02:05:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BROSVILLE

found it! - perhaps I'm a klutz, but didn't realise you had to "switch on" payments for each picture (blessed laborious)- is there any way of doing it globally? ;)

Casper

Quote from: BROSVILLE on February 15, 2006, 11:17:43 PM
installed coppermine - very smooth - added the shop hack - checked all the permissions- made a category, put an album in it  - set up the shop section - updated database - have spent 2 hours trying to get my head round WHY it won't work (all I get is "pic not available) :-\
here - http://farmco.co.uk/gallery/

Looks to be working fine to me.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

BROSVILLE

duuuuuuuuuuuhhh! -it helps to "switch the pics on!" ;D

netfalls

Hi all,

I added to the script the "I agree with all terms and conditions" option that doesn't allow customers to place an order without checking the terms.

Just remplace the displayimage.php and put your terms into the tou2.php file

preview at www.netfalls.com
In my view you cannot claim to have seen something until you have photographed it

wildlifeshots

Hey All, I am having a little problem with the hack here. The install seem to go fine however when i click on the shop button all there is is the expand buttons and no menu for setup. i am using the latest 1.4 version of coppermine and the classic theme i also updated the database. any help is appreciated

Casper

Hi,
Please explain exactly what is missing, the admin menu etc?  Are you sure you replaced all the files included, such as the english lang file.

a link would also help.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

RNLVideo

I'm undoubtedly missing something easy....  Found Coppermine last night; added the PayPal hack (awesome, BTW!).  I've got it minimally configured (www.rnlphoto.com/coppermine/index.php) but I can't find the reference to:

Buy with confidence

You are looking at , file ref: 11-25-04_-_1_Photos_071.CRW_Aviation_Nation.jpg.

Regardless of size, all of our products are made to provide you with the best possible image quality and workmanship. All products come with a money back guarantee. See our products info page for full details.


I'd like to modify this...  can someone point me in the right direction?

Rick

Paver

lang/english.php is what you want.  Look for the string "looking2" and modify at will.

Normally I would say to make a copy of english.php, naming it english-mod.php or some such thing, modify that file, then point your Coppermine language to "english-mod" so that when you do upgrades to new versions of Coppermine, it's clear what you modified.  However since this Paypal mod is already a hack of the core scripts, it's probably OK to just modify the already hacked file.

RNLVideo


wildlifeshots

Quote from: Casper on February 25, 2006, 08:30:20 PM
Hi,
Please explain exactly what is missing, the admin menu etc?  Are you sure you replaced all the files included, such as the english lang file.

a link would also help.


I thought i would try and replace all files again and now i have a menu in the shop section.....thanks

wildlifeshots

the hack is installed set up all my options however no price shows up it just says email for info on item i have replaced all files with the latest hack files have updated the database nuemerous times here is the link to my site any help appreciated http://www.wildlifeshots.net

thanks

Casper

Have you edited the file info for each photo, to add which price structure it should use.

If you have, please pm me an admin log in to your gallery.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

wildlifeshots

Quote from: Casper on February 27, 2006, 07:36:52 PM
Have you edited the file info for each photo, to add which price structure it should use.

If you have, please pm me an admin log in to your gallery.

I didnt know anything about that, i will pm you the login info thanks

wildlifeshots


RNLVideo

One difficulty that doesn't make sense - I have set up 3 tiers of pricing and have each photo set with either a 1, 2 or 3 (www.rnlphoto.com/coppermine/index.php).  The #1 tier has 6 descriptions & possible prices; only 4 of them are populated into the drop down box (the majority of the pictures).  The #2 tier has one description & one possible price, yet there are 3 instances of  blank lines with @ US$ in the drop down box (ex: 4-5-05_Las_Vegas_Lights_002_-_12x36_FINAL.jpg).  The #3 tier has two descriptions and possible prices yet there are 2 instances of @ US$ (ex:  CRW_7043.jpg). 

Obviously, something is forcing the # of entries to 4 instead of picking up only the fields that are populated.  How do I fix this?

Rick

Casper

Hi Rick,

I don't understand why 2 of the prices don't show on the first set, but I'll look into it further if the attached file does not fix it.

Please replace your displayimage.php with the attached file, renamed to displayimage.php.  That should deal with the other problems.

Casper
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

RNLVideo

Thanks, Casper!  I should have mentioned that I'm using the "agree to terms" mod that Netfalls posted in #23 above.  The new one you provided will likely kill that, right?  FTP to my site is down at the moment, so I can't test yet.

Rick

Casper

OK Rick,

looking into that new info, and I found that Netfalls mod will only display 4 options per price set.

I have amended a copy of that displayimage.php to display 6, and also done the mods required for your set-up, so just replace your displayimage.php with the new attached file, and that should then both preserve the 'agree to terms' mod and display as you want.

Casper
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

RNLVideo

You're awesome - thanks!  I'll plug it in when I get home!

Rick

cornelp

Casper, if U dont mind me asking, is it possible you can make it so that when the customer/user pays for the item/picture etc, it gives them a download link, or sends them back to an area where they can download the item purchased?

That would help a lot. If no, no problem, just asking as that would speed things up.

If its possible now, then I apologize I didnt know how to get that setup.

Thankx and U are owesome, your mod works perfect and its splendid.