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 2 3 4 [5] 6 7 8   Go Down

Author Topic: Paypal shop hack, easy install, online admin  (Read 194866 times)

0 Members and 1 Guest are viewing this topic.

badgerdid

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Paypal shop hack, easy install, online admin
« Reply #80 on: May 25, 2006, 03:11:35 pm »

Hi peeps

I love this mod and have just about got to grips with it, but have just noticed, or need help, with a little problem, where do i add the postage?

I use an online printer and they charge a fixed £6 postage however many prints you order, but i need to add this to an order in the paypal screen.

Is this possible, obviously i dont want to add it as an option as delivery charges are compulsery, i cannot add it to the images if they order 2 then it will add twice.

Or am i missing something?
Thanks
Logged

arendzen

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Paypal shop hack, easy install, online admin
« Reply #81 on: May 26, 2006, 11:29:32 am »

Hi, you can add postage at the Paypal website. Just log in to your account and follow the links. You decide how much postage and Paypal automatically adds it to the order.
Logged

romans815

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Paypal shop hack, easy install, online admin
« Reply #82 on: May 30, 2006, 07:20:41 pm »

Am having problems with displaying of price options.

I have price option 1,2 listed and it will not show anything, so I figured out you can only show one price option. IS THERE A WAY TO ADD MORE OPTIONS TO THE PRICE OPTION, LETS SAY I WANT IT TO HAVE 20 OPTIONS?

ALSO IS THERE A WAY TO APPLY THE PRICE OPTION TO THE ALBUM? As i see it now, you have to go through each image, I have 50,000 + images in a cpg 1.3 version that I wnat to upgrade to this version.

Thanks
Logged

romans815

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Paypal shop hack, easy install, online admin
« Reply #83 on: May 31, 2006, 12:36:19 am »

Am having problems with displaying of price options.

I have price option 1,2 listed and it will not show anything, so I figured out you can only show one price option. IS THERE A WAY TO ADD MORE OPTIONS TO THE PRICE OPTION, LETS SAY I WANT IT TO HAVE 20 OPTIONS?

ALSO IS THERE A WAY TO APPLY THE PRICE OPTION TO THE ALBUM? As i see it now, you have to go through each image, I have 50,000 + images in a cpg 1.3 version that I wnat to upgrade to this version.

Thanks
OK, So I figured out how to add options by editing the shop.php, displayimage.php, english.php and inserting more fileds into the db and it all works fine.

I also read in the post where you stated that there is no way to batch apply pricing structures.

Can you create a mod to do that?
Logged

ashart

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Paypal shop hack, easy install, online admin
« Reply #84 on: June 01, 2006, 02:11:12 pm »

ok ive still got prblems with the display pic when you click on a thumbnail and it opens up the full view of my pic there is no info in the "buy with confedance" section

"Buy with confidence

    You are looking at , file ref: .

    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. "

that is what it shows PLEASE HELP.....

http://www.ashartphotography.com/photos/index.php
Logged

equine

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Paypal shop hack, easy install, online admin
« Reply #85 on: June 02, 2006, 01:28:21 pm »

Casper,

Your PayPal hack is exactly what I'm looking for.  I've a small business producing equine event pictures -

http://www.equine-photos.co.uk

and have just moved over to Coppermine.

Can you please point me towards where I can get the code.

Many thanks,

Simon
Logged

Dr Preacox

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 122
  • Is the Matrix...
    • Dynamic Creations
Re: Paypal shop hack, easy install, online admin
« Reply #86 on: June 02, 2006, 01:32:04 pm »

found your way here ay??

The Mod links are usually attached to posts so you need to look at the bottom of people posts but anyway here is the link

http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=26454.0;attach=3103
Logged
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

equine

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Paypal shop hack, easy install, online admin
« Reply #87 on: June 02, 2006, 08:52:35 pm »

Thanks Doctor!

When I've patched the code in how do I go about linking my shopping cart to my specific PayPal account to recieve payments as this isn't evident in the "read me" documents - unless in my haste I've missed something (has happend before)!

S ;D
Logged

Dr Preacox

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 122
  • Is the Matrix...
    • Dynamic Creations
Re: Paypal shop hack, easy install, online admin
« Reply #88 on: June 03, 2006, 06:51:07 am »

Okee Dokie!

First go to Shop Configuration --> Then look for "Shop Main Settings" --> Then under "Paypal Email Account" you add your email addresse which is your paypal ID, then your done!

Anything else I can help you with Equine?
Logged
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

yakand

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Paypal shop hack, easy install, online admin
« Reply #89 on: June 03, 2006, 02:51:32 pm »

Hi Everybody,

Configured today the Paypal shop hack, but when I “tried” to order, Paypal didn’t show all the options from the order – only three lines, with only two options (out of five). Checked Casper’s sample shop, and I’ve got only this info in the “item” column:

“Title: , Ref#: two-excavators.jpg , 8" x 10" un-framed @20 selected, Paper: Matte (+5%) %5, Print tone type:B&W (+£1) +1 ,
Item Number20”

…and the rest three options were missing (Select Frame, Select Decorative overlay (all + 10%) and  Select Gift Wrapping (£5 extra, includes greeting card of picture) .

Can anyone fix this?
Logged

jesphoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Paypal shop hack, easy install, online admin
« Reply #90 on: June 08, 2006, 02:49:45 am »

Hi All. I am new to this and kind of confuse. I installed the Latest version Coppermine 1.4.7. I add images to albums - pain ia a a... I have running Gallery 1.5 and I choose album and drop images to that album 10 at a time. The problem with Gallery is that do not support buy cart. V2 support, but I could not install. My host do not support that gallery.
I havea dillema. It took me 2 days to install thee CMN and shop,add images.Put price and everythink working fine except that I have nice gallery with paypall button what do not work as I expected. My paypall have option for return to web site . If I activate this then what next.?
How the buyer will be able to download full size image(3.3M) after the payment goes trough.
I read all those posts in this forum and I saw that some users asked question and never got response.
The only response was kind of "nasty" from moderator. I do believe that those questions was valid and applay to this mod as those people spend some time trying to install to find out that all what they got it is a button(or is not?).
I would ask Casper a valid question. What next after the buyer pay for image( or product)?.
The only response from moderator I would like to see is how to fix it. After all the moderator know a php- I shure do not.
Thank You
http://www.jesphoto.net :(
Logged

Alex53

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Paypal shop hack, easy install, online admin
« Reply #91 on: June 13, 2006, 01:13:41 pm »

Hi, I installed this and it works great. The installation was easy and it works straight away with little setup.

I have just 2 small issues. Well the second one is not even an issue just a suggestion/request.

1. The choices display empty choices when I dont enter any options. For example for paper type I dont want 3 choices as I dont want to offer pearl, just matte and glossy. When I amended the boxes to display just these I still have one radio button with no text beside it. Equally, when choosing the size, I have 3 available sizes, but I get a list of "@ £" appearing in the drop down box under the actual choices I filled in.

2. My request. Sometimes, especially for event photographs, some customers want either a full set of all the images, or many of them. Right now this would be a long process as you have to view each image one by one and add it to the cart. An option to 'add all prints in this album' and/or little boxes with the prize and size to tick under each thumbnail and then an 'add selected to cart' button would work a treat!
Logged

tinorebel

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
  • live long and prosper!
    • www.tripodart.net
Re: Paypal shop hack, easy install, online admin
« Reply #92 on: June 15, 2006, 06:39:34 pm »

Hi, first of all my greetings to casper who developed this exelent mod, it really works fine and is very easy to manage trough on line shop administrator. Thoug I have same problem as others: having 1000 photos in my gallery was looking for a way to batch-add price structure to pictures.

Would it be posible to do that trough myPhp adm?
sorry I'm quite new to all this stuff, maby just a stupid question.

Thanks for suport.

My page: www.tripodart.net
Logged
Live long and prosper!
www.tripodart.net

csondagar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Paypal shop hack, easy install, online admin
« Reply #93 on: June 20, 2006, 05:40:48 am »

Is there an easy uninstall of this mod?  Just in case I get into trouble and I decide to uninstall.  Cheers!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Paypal shop hack, easy install, online admin
« Reply #94 on: June 20, 2006, 08:08:49 am »

Basically, you uninstall all mods in the same way: you either roll back an unmodified copy of the file (if you were clever and though of that, backing up your files before starting the modification), or you go through the code and undo the changes that are suggested in the mod thread. Things only get a bit more complicated if a mod requires changes in the database structure: for some mods that only add additional database fields, it's OK to leave those fields as they are, they probably won't hurt to keep (maybe except a small performance penalty that can easily be ignored). Other mods need the database changes to be undone.
Bottom line: no, there is no uninstall routine. There isn't an uninstall for any mod. After all, you hack the code when applying a mod. You must be aware of this. Another drawback of mods/hacks is that you will loose them when a new version comes out, forcing you to re-apply the mod. Again, this happens for all mods. That's why we encourage contributors to come up with plugins instead of mods; plugins can be uninstalled, and they should work after upgrades as well.
Logged

pcbill

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Paypal shop hack, easy install, online admin
« Reply #95 on: July 04, 2006, 06:48:04 am »

Hello,

Great hack, looks as if it will work fine for me.

I’m having a slight problem though. When either using the theme.php template for hardwired or editing the my file per the doc file it adds “{CLICK}” to the middle of the bar in the Thumbnail page where the Album name is displayed

This section of code is causing the problem:
Code: [Select]
// HTML template for title row of the thumbnail view (album title + sort options)
if (!isset($template_thumb_view_title_row))  //{THEMES}
$template_thumb_view_title_row = <<<EOT

                        <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="35%" class="statlink"><h2>{ALBUM_NAME}</h2></td>                           
<td><img src="images/spacer.gif" width="1" alt="" /></td>
                                <td>
                                       {CLICK}
                                </td>
                        </tr>
                        </table>

EOT;

When absent all seems to work with the mod

The Mod uses Custom Field 1 to store what pricing structure to use, 1-5. This field now becomes visible to all when the file information is displayed. Anyway to hide this? I would guess it really needs to be visible under the edit image screen or to the admin.

Bill
Logged

pcbill

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Paypal shop hack, easy install, online admin
« Reply #96 on: July 04, 2006, 04:18:36 pm »

In regards to the custom 1 field issue from the post above

In the displayimage.php file I changed the following line from
   
Code: [Select]
for ($i = 1; $i <= 4; $i++) {to:
   
Code: [Select]
for ($i = 2; $i <= 4; $i++) {
in order for custom field 1 to be suppressed. It works and as far as I can tell it causes no other issues.

Bill
Logged

tinorebel

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
  • live long and prosper!
    • www.tripodart.net
Re: Paypal shop hack, easy install, online admin
« Reply #97 on: July 08, 2006, 03:41:36 pm »

Hi to everyone,
I'm runnin a cpg 148 with more than 1500 photos and installed the shop mod one month ago findig it very useful and running well.
 Reacently I realized my gallery hase slowed down a lot, lasting more than 20 seconds in generating some pages, and I cant find out where is the bug.

Hase anyone found my same problem? ???
I have dis-installed the shop mod at the moment and the problem persists.

Any idea on how to speed up the page generation?

this is the link to my cpg homepage. It hase debug mode eneabled.


http://www.tripodart.net/website/gal/index.php?cat=0

Logged
Live long and prosper!
www.tripodart.net

ashart

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Paypal shop hack, easy install, online admin
« Reply #98 on: July 09, 2006, 11:26:55 am »

ok with my display full view image, i just want the image not the buying info underneath (i still want that with the thumnail slideshow part though) were would i find the code to edit the full view buying info out.

www.ashartphotography.com
Logged

LWAA

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56

help!
Coppermine 1.4.3 Shop hack
Coppermine Gallery 1.4.8
when I try to rotate an image in the gallery, I get this error:
Can anyone help me get this sorted asap?
Thanks!

Here's the error info:
Critical error
There was an error while processing a database query.
File: /home/basetho1/public_html/i-am-that-i-am/flrouiedscv3/include/functions.inc.php - Line: 249

While executing query "UPDATE cpg133_pictures
                          SET pheight = ,
                            pwidth = ,
                                                        filesize = 4096,
                                                        total_filesize = 7548
                          WHERE pid = '5'" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
                            pwidth = ,
                                        ' at line 2
Logged
<i>"I understand everything, except what you're telling me"</i>
Pages: 1 2 3 4 [5] 6 7 8   Go Up
 

Page created in 0.032 seconds with 19 queries.