Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 ... 11 12 13 14 [15] 16 17 18 19 20   Go Down

Author Topic: add a Paypal shopping basket to your gallery.  (Read 315898 times)

0 Members and 1 Guest are viewing this topic.

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #280 on: May 09, 2005, 04:36:53 pm »

Hey Casper Thanks for the link. I guess I saw that on the 1st page but I saw this: [attachment deleted by admin] and it threw me off. Thanks!
Logged
www.cincophoto.com -- my photo gallery

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #281 on: May 11, 2005, 02:13:20 am »

sry for dbl post but that was couple days ago, anyways:

I installed the shop hack, modified all the files with the new ones. Now when I go into admin mode and I click the config and edit the paypal address and picture sizes, currency and so forth I I click save, the things says: saved succesfully but when I look at the pictures the picture sizes are not there and when I go back to Config I get empty fields there. I tried a bunch of times but it just won't save. I want to do it this way but if there is no other way then I could get instructions on how to edit the code. I am familiar with HTML, some Javascript and VB.NET but nothing about PHP so I would need some help, my site, if you want to take a look at it to get an idea is located at: www.cincophoto.com
Thanks for your help... ;D
Logged
www.cincophoto.com -- my photo gallery

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #282 on: May 11, 2005, 11:58:42 am »

Are you sure you replaced the update.sql with the one in the package, and when all the files where done, did you run update.php?

The instructions for changing the files manually are in the download, in the docs/Code-changes.html.

EDIT. I just browsed to your site, and ran update.php.  The changes needed where added, which means you had not done that before.

It should work correctly now.
Logged
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

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #283 on: May 11, 2005, 04:59:16 pm »

I think everything works now so far except that under the payment option and picture size I only want 3 options but it shows all 10 of them and the other 7 with ; so take a look at www.cincophoto.com ans see what I am talking about. Would I need to kill the other 7 arrays in the file? Pls help,
Thanks in advance!
Logged
www.cincophoto.com -- my photo gallery

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #284 on: May 11, 2005, 09:43:01 pm »

Quote from: instructions in download, docs/shop.html
Now delete all the lines refering to options you are not using, i.e., if you are allowing 6 choices of size, remove, or edit out, the lines for options 7 - 20.
Logged
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

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #285 on: May 12, 2005, 01:09:50 am »

I resolved that and now I would like to know if I can somehow change the View Basket button to mach my theme. I have Hardwired theme and I want the button to like like that.  8)

BTW if you are interested if you want to sell your own pictures you must first make an account at my site ( www.cincophoto.com ) upload them and I will get 15% of your profit since I run the site. Thanks for checking out my website, I will try to update it every day. Thanks,
Logged
www.cincophoto.com -- my photo gallery

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #286 on: May 12, 2005, 12:22:52 pm »


To change the view basket button, do this.

Open theme.php, find, and delete this code;

Code: [Select]
<!--  view basket button  -->
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value='{$CONFIG['paypal_email']}'>
<input type="image" src="https://www.paypal.com/en_GB/i/btn/view_cart_02.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form> </td><td>


Then find this code;

Code: [Select]
<!-- BEGIN my_gallery -->
Now add, in a new line immediately BEFORE it, but after the '<tr>';

Code: [Select]
<!--  view basket button  -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftmemb.gif" width="17" height="25" border="0" id="buttonleft" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter.gif">
                                                <a href="https://www.paypal.com/cart/business={$CONFIG['paypal_email']}&display=1">View Basket</a></td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" id="buttonright" alt="" /></td>
Logged
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

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #287 on: May 13, 2005, 05:16:31 am »

So if I want to add more buttons of my own to look jus like that but below all the main ones on the top where in the code line do I insert them?
Logged
www.cincophoto.com -- my photo gallery

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #288 on: May 13, 2005, 09:10:59 pm »

That question has nothing to do with the shop mod, so should not be asked here.

There have been plenty of posts about how to do this, but if you can't find it by searching, please post in the correct place, the support boards.
Logged
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

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #289 on: May 16, 2005, 02:27:35 am »

now, I modified the button that says view basket, now I jus want to edit the button that says: Add to basket to be in the same way. Again I am using Hardwired theme for CPG. Thanks
Logged
www.cincophoto.com -- my photo gallery

divernj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: add a Paypal shopping basket to your gallery.
« Reply #290 on: May 17, 2005, 05:41:12 am »

I have followed the directions here and I am getting stuck once I click the "let's continue" text after running the update. I am presented with the following error message:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/divernj/public_html/gallery/themes/rainy_day/theme.php on line 954

Am I missing a semi-colon  or " somewhere? Any help would be greatly appreciated.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #291 on: May 17, 2005, 10:41:30 am »

without knowing what changes you made to the file, it's impossible to say for sure.
Have you tried with an un-edited file.

Post full details of your set-up, and attach a copy of your theme.php, re-named to theme.txt.

Logged
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

MichielD

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: add a Paypal shopping basket to your gallery.
« Reply #292 on: May 17, 2005, 03:07:20 pm »

Hi all,

Mayby it's a silly question... In that case I'm so sorry...  ;)

I'm going to set up Coppermine for a friend. He's a semi-professional photographer. He has no intentions to open a PayPal account, but still wants to use some sort of 'ordersystem'.

In other words: I'm looking for a system that allows users to order a photo directly, via e-mail. Shopping basket: yes - Checkout: no, just a simple mailmessage with the ordered photo's and address details.

Is that possible? Is there a system available...?

Mike
Logged

divernj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: add a Paypal shopping basket to your gallery.
« Reply #293 on: May 17, 2005, 05:18:22 pm »

I am using the rainy day theme. I tried using an unedited version after the update failed the first time. The only changes I have made are less size options (9) and no paper options. Thank you for your help.
Logged

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #294 on: May 17, 2005, 11:59:25 pm »

So can someone plz answer my question because if everything doesn't look the same my site will look unprofessional

« Last Edit: May 20, 2005, 03:26:27 am by cnico88 »
Logged
www.cincophoto.com -- my photo gallery

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: add a Paypal shopping basket to your gallery.
« Reply #295 on: May 20, 2005, 08:05:59 am »

This is not a hotline, nor do you have a right that all your questions will be answered. Read http://coppermine.sourceforge.net/faq.php#lamesupport
Logged

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #296 on: May 22, 2005, 10:33:18 pm »

This is not a hotline, nor do you have a right that all your questions will be answered. Read http://coppermine.sourceforge.net/faq.php#lamesupport

I was jus wondering if anybody knows how to answer my question since Casper helped with the code for the View Basket button, wouldn't the Add to cart button have a somewhat simillar code? Thanks in advance for your reply!
Logged
www.cincophoto.com -- my photo gallery

RaptorUK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • F1 Album
Re: add a Paypal shopping basket to your gallery.
« Reply #297 on: May 24, 2005, 12:41:47 pm »

I considered using PayPal but instead used Photobox PrintButton,  I think they might be UK based only though.  They take the order,  print the photographs and handle the post,  very quick very good quality.  They take a 5% cut from your profit.
Logged

zpeek

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: add a Paypal shopping basket to your gallery.
« Reply #298 on: May 24, 2005, 10:00:45 pm »

Is there a way were it can just email the information instead of using a paypal basket.
Logged

rterburg

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • terBurg.net Landscape photography and nature photography
Re: add a Paypal shopping basket to your gallery.
« Reply #299 on: May 31, 2005, 11:33:33 pm »

I've downloaded the PayPal mod yesterday and changed te code as discribed in the "code-changes.html" document. Everything works fine but I also get the Please enter an amount greater than zero. error.

I have read the options to solve this problem, but it doesn't work. I'm using Coppermine 1.3.3 and the Project_ii theme (modified). I have attached the theme.php and template.html in a zip file.

The url to the gallery on my website is http://www.terburg.net/gallery/index.php?lang=english

Can anyone help me?

Thanks in advance.

Regards, Ron
Logged
~Ron~
www.terburg.net, Dutch landscape- and naturephotography
Pages: 1 ... 11 12 13 14 [15] 16 17 18 19 20   Go Up
 

Page created in 0.038 seconds with 20 queries.