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 ... 4 5 6 7 [8] 9 10 11 12 ... 20   Go Down

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

0 Members and 1 Guest are viewing this topic.

romans815

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: add a Paypal shopping basket to your gallery.
« Reply #140 on: December 08, 2004, 06:01:03 am »

This will only happen if there is no title or description.

There is a tool in the admin tools to use the file name for the title.  Just use that each time after adding pics.

The only thing I can find that even mentions the title is this:
Display file caption (in addition to title) below the thumbnail. There is no tool in the admin tools to use the file name for the title that I see. In the theme "Singapore" a title is not required in order for the shopping cart to display, as i said before it is too time consuming to have to add a title to every photo. Do you have any other ideas?

Thanks,
Tim
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #141 on: December 08, 2004, 10:44:56 am »

You seem to be looking in the config, not the admin tools, which has a seperate link in the admin menu, see screenshots for what you need.

What theme are you using?  All themes should work the same.  Also, do you have a link?

edit, you are correct about singapore showing the paypal stuff, without the description or title.  I will look into it to see if I can see what to add to allow other themes the same.
« Last Edit: December 08, 2004, 10:53:10 am by Casper »
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

pengrus

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: add a Paypal shopping basket to your gallery.
« Reply #142 on: December 10, 2004, 08:58:59 am »

I am a newbie, so forgive me if I ask stupid question.  Looks like to me this hack is only for one user - the admin?  Will the individual registered user be able to configure and use this feature?  If not, the admin will be the only one who collects all the money?

Thank you!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #143 on: December 10, 2004, 11:18:00 am »

Yes, everything ordered will go into the admins paypal account.
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

pengrus

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: add a Paypal shopping basket to your gallery.
« Reply #144 on: December 10, 2004, 08:38:19 pm »

Yes, everything ordered will go into the admins paypal account.


If that is the case, how does the admin allocate the money between the admin and the individual community member?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #145 on: December 10, 2004, 09:17:08 pm »

I havn't a clue.  Most people who use this hack use it just to sell for themselves I think.
How many members do you expect to have who would be selling?
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

pengrus

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: add a Paypal shopping basket to your gallery.
« Reply #146 on: December 10, 2004, 09:33:14 pm »

I have several thousands of members. 

It is fine that if all the payment goes to the admin.  But if there is a way that the user can set their own price, and a mechanism that the admin/site gets x% of all the sales, that will be good.  It requires a simple account overview for each individual seller so that they will see how much was sold, and how much will be paid to them monthly. 

Do you think this is possible?
Logged

romans815

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: add a Paypal shopping basket to your gallery.
« Reply #147 on: December 10, 2004, 09:59:59 pm »

Was wondering if you had looked into what to add into allow other themes so that the paypal buttons would show up without a title?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #148 on: December 10, 2004, 10:32:01 pm »

Yes, I think I got it.

Find this line;

Code: [Select]
<!-- END img_desc -->
and move it immediately above this code,;

Code: [Select]
<table> <tr><td valign="top"><form action="https://www.paypal.com/cgi-bin/webscr" method="post"
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

kiig

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 141
    • Igel's Journaler
Re: add a Paypal shopping basket to your gallery.
« Reply #149 on: December 11, 2004, 08:13:43 am »

it works, - showing the 'baket' buttons without a title, - but it breaks my Rainy_day theme (displayimage.php), - maybe because I need to move some of the html tags as well ?

Just to let you know, - I'll look into it myself, - but be aware of it, - if you change it.


Thanx Casper.

Kim Igel.
Logged
Kim Igel
http://igel.it (Personal playground) or http://foto.igel.it (Paypal shop-site)

kiig

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 141
    • Igel's Journaler
Re: add a Paypal shopping basket to your gallery.
« Reply #150 on: December 11, 2004, 11:08:28 pm »

Above the Code:
<!-- END img_desc --> I have </table>, - in RainyDay.

Moving both </table> and <!-- END img_desc --> above the 'paypal' code as Casper suggests works.

I expect the other Papal themes to behave differently, - but I guess a rule of thumb would be move the entire lump of html tags between the previous <!-- END something --> tag and the mentioned <!-- END img_desc -->

Kim Igel.
Logged
Kim Igel
http://igel.it (Personal playground) or http://foto.igel.it (Paypal shop-site)

neiljb1962

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: add a Paypal shopping basket to your gallery.
« Reply #151 on: December 22, 2004, 02:48:33 pm »

Completely updated, 12/9/04

These is a mod that allow coppermine to use paypals shopping basket.

You can see a demo of this mod, and download the files HERE

The updated mod uses just 1 line with dropdown boxes for all choices (up to 20 price options), and does this using javascript.  The original mod, which used a new line for each price option, is still available for download from the demo.  It has a neater basket, but has a maximum of 6 price options.

You can also download the files from the downloads section here.

There are easy to follow instructions included in the docs folder of the downloads. All that is required to convert a standard gallery is to use the enclosed files to overwrite the standard files, then run update.

The mod included sets all albums in the gallery to display exactly the same options with every image, but if you want to have different options available in different albums, the instructions are attached to this post, as complex_shop.txt.  This does require some code changes, but all is explained.


Please note, most of this thread is about earlier versions of the shop hack.  This post, and any after and including this one, are about this current, easy to apply hack.

You may find some helpful info and tips on the other posts though.
Logged

neiljb1962

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: add a Paypal shopping basket to your gallery.
« Reply #152 on: December 22, 2004, 03:18:46 pm »

Hi Casper...

This all sounds great and Coppermine did suggest not stating if we are 'newbies'... so I won't!
I have an online photo library that specialises in selling flower photos: www.My-Flower-Images.com & www.Flower-Photos.co.uk - They raked in about $12,000 last year which isn't going to make me a millionnaire... but it was better than a kick in the teeth too!
The problem with the sites is that they are static html as I have no database experience. I need a database and that's where Coppermine comes in... except that although I've managed to modify a couple of things like making the search page my homepage (that I did as html but the search function still works)... I'm still completely lost when it comes to modifying a php file???
I need the ability to add a shopping cart to the large image window as with your PayPal... but using my own shopping cart (Mals-E.com) or using my credit card processor code for 2checkout.com - How would you feel about helping me modify a few pages and earn some commission for a period of time???
It wouldn't be a fortune... but then again, I have a lot of photographers wanting to sell their work through my sites too which is why I've set up a new website (trying too!!!) called: www.photo-image-stock.com
As well as 2,000 high res' images of flowers taken on Fuji Velvia and Sensia, I will have around 8,00 miscellanious images to add this year too BUT... I need some help... So... Might you be interested in earning some commission for a period of time that we could come to some agreement on???
I'll be watching this thread but if you need to contact me away from here: neil.bradford1@ntlworld.com
Look forward to hearing back and Merry Christmas
Neil J Bradford
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #153 on: December 23, 2004, 12:19:22 am »

Hi Neil,

I'm very busy at the moment, and won't be able to do much in the next week or more.
And there's no guarantee I'll be able to help.  But I'm willing to try. 

If you send me, or attach to a post here, your add to basket and view basket codes, zipped up, I'll see what I can do.

Send me a pm if you want me to look into it, despite the delay.
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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #154 on: December 27, 2004, 12:59:52 pm »

My demo version of the shop has moved, and is now here.
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

boyakaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: add a Paypal shopping basket to your gallery.
« Reply #155 on: December 29, 2004, 10:48:32 pm »

Hello,

           I have tried to install the older version of shop on a clean install and I cannot get the add cart button to show up? I have tried this three times ( repeating is the beginning of insanity.), then I came across this version installed it ran update and I got Nothing,

http://www.binaryconversions.com/dvd_store/

Can you assist please?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #156 on: December 29, 2004, 11:53:31 pm »

Hmmm,

well the site I see still has the sort order links on the thumbnail page, whereas the mod does not.

So if you have done a mod theme as required, and described in the instructions, you need to switch to the theme you have used for the mod.
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

Zfolk

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • The Attic
Re: add a Paypal shopping basket to your gallery.
« Reply #157 on: January 01, 2005, 09:30:53 pm »

Casper thank you so much for this hack!! It is great!

I almost have it working, one problem is that when I go to the shopping cart in Paypal {FILENAME} appears in the checkout

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.folkphotography.com%2Ftemp%2Fss.jpg&hash=dc84eb31688d02657587da155d3d543b0b1ae9f5)

can someone please help?
Logged

Zfolk

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • The Attic
Re: add a Paypal shopping basket to your gallery.
« Reply #158 on: January 01, 2005, 10:27:30 pm »

encountered another problem  ???    hopefully you are able to answer both easily

In the doc for complexshop it says
Quote
Now, you need to create the albums for the various types of product.
You can have as many albums for each type as you want.  


You will need to make a note of each albums ID number.

How do I find the albums ID number?
Logged

jpconijn

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: add a Paypal shopping basket to your gallery.
« Reply #159 on: January 02, 2005, 08:21:56 am »

Hi Casper,


Thanks you for this hack. I realy is great.

It is nearly working, but when I go to the shopping cart. I would like to see the "Album Name and "File Name". File name is allready there, is it possible to add the name of the Album instead of the Photo Name?


Thanks



Jan
Logged
Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 20   Go Up
 

Page created in 0.028 seconds with 19 queries.