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 ... 10 11 12 13 [14] 15 16 17 18 ... 20   Go Down

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

0 Members and 1 Guest are viewing this topic.

bb123

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: add a Paypal shopping basket to your gallery.
« Reply #260 on: April 28, 2005, 11:18:01 am »

Hi Casper

Thanks for a great addon ..

I have added paypal to my gallery .. almost.. on clicking the Add to basket button it goes to Paypa/ .. with my info the same when I click the View button
so its not adding to the basket my gallery is at http://www.postcardsoncd.com/coppermine/ .. with a couple pics in you can see how the buttons work ..

One other thing you may be able to help with is the View basket button is above the other buttons right side I have tried (with my limited knowledge of these things) to get it to come on the same line as the others and after the search button..

Thanks
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #261 on: April 28, 2005, 11:46:02 am »

First, to get the add to basket to work, change the script in the template.html, as instructed on this post, http://forum.coppermine-gallery.net/index.php?topic=13938.msg79859#msg79859


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>


Then find this code;

Code: [Select]
EOT;
// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT

Now add, in a new line immediately BEFORE the 'EOT;'

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="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="https://www.paypal.com/cart/business={$CONFIG['paypal_email']}&display=1">View Basket</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" 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

bb123

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: add a Paypal shopping basket to your gallery.
« Reply #262 on: April 28, 2005, 05:29:05 pm »

Thanks Casper

Looking a little better but created a few other problems .. found my way in again below is bug report slight feeling of being lost!!


USER:
------------------
Array
(
    [ID] => b09402a198e608f87ceb2571153fd586
    [am] => 1
    [liv] => Array
        (
           
  • => 2
  • [1] => 1
                [2] => 4
                [3] => 6
                [4] => 5
            )

       
[sort] => na
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => postcard
    [user_password] => ********
    [user_lastvisit] => 2005-04-28 11:13:56
    [user_regdate] => 2005-04-23 04:49:16
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 1024
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg132_filetypes;
  • [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '898a090de9398bff31633e458a9f99b7'
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < '2005-04-28 11:25:40'
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='212.100.250.208' OR ip_addr='81.131.67.192' OR user_id=1
        [6] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM cpg132_albums as a WHERE category>=10000
        [8] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000
        [9] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '1'  ORDER BY pos
        [10] => SELECT aid FROM cpg132_albums as a WHERE category = '0'
        [11] => SELECT count(*) FROM cpg132_albums as a WHERE 1
        [12] => SELECT count(*) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
        [13] => SELECT count(*) FROM cpg132_comments as c LEFT JOIN cpg132_pictures as p ON c.pid=p.pid LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
        [14] => SELECT count(*) FROM cpg132_categories WHERE 1
        [15] => SELECT sum(hits) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON p.aid=a.aid WHERE 1
        [16] => SELECT count(*) FROM cpg132_albums as a WHERE category = '0'
        [17] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,6
        [18] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (6, 5, 1, 3, 2, 4) AND approved = 'YES' GROUP BY aid
        [19] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='5'
        [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='6'
        [21] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES'
        [22] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 4
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.22-standard
    ------------------
    Coppermine version: 1.3.3
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /var/tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.084 seconds - 23 queries in 0.004 seconds - Album set :



Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #263 on: April 28, 2005, 07:05:23 pm »

It all seems to be working fine for me.

The debug info you posted is useless without knowing the actual errors you are getting.  Please turn off debug, and notices, and then let me know when it goes wrong.
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

bb123

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: add a Paypal shopping basket to your gallery.
« Reply #264 on: April 29, 2005, 10:30:53 am »

Hi Casper

I am putting my line numbers so you can see before and after

Look like line 56 as all the pages I tried came up with a line 56 error.. so I guess its line 56!

The Paypal buttons are working great..

Thanks for your support its agreat addon to a great script




Index.php line 56 .. which is blank!
http://www.postcardsoncd.com/coppermine/

54    return template_eval($template, $params);
55}
56
57function get_subcat_data($parent, &$cat_data, &$album_set_array, $level, $ident = '')


thumbnails.php
http://www.postcardsoncd.com/coppermine/thumbnails.php?album=2

Line 56 again

55        $USER['search'] = '###' . $USER['search'];
56}
57}
58$album = $HTTP_GET_VARS['album'];


displayimage.php
http://www.postcardsoncd.com/coppermine/displayimage.php?album=2&pos=0


55{
56   global $CONFIG, $HTTP_SERVER_VARS, $HTTP_GET_VARS, $CURRENT_PIC_DATA, $PHP_SELF;
57    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;
58
59   $cat_link = is_numeric($album) ? '' : '&cat=' . $cat;

Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #265 on: April 29, 2005, 10:46:35 pm »

You still have not posted the actual error messages you are getting, and when I visit your site I get no errors.

What we need to see is the actual error message, which would say something like;

Warning; unable to......... on displayimage.php line 56 etc.,.

If all you see are notices, just do as I said and turn off debug mode and notices in your config.
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

Tarazed

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: add a Paypal shopping basket to your gallery.
« Reply #266 on: April 30, 2005, 04:11:08 am »

Hi Casper. I've used Coppermine for several galleries and now is the first time I've tried to add this shopping cart to it.  The problem is, rather than selling photographs, my client is selling paintings, therefore there are different prices for each one.  Is this possible to set through this hack, or am I going to have to find another way of doing it?

Any help would be appreciated.
Logged

darren

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: add a Paypal shopping basket to your gallery.
« Reply #267 on: May 01, 2005, 01:32:31 am »

Hi Casper,

I can't figure out how to add Paypal shopping carts to my Coppermine gallery.  I have two galleries, one for stock photography downloads and one for private folders for customers to purchase prints.  I have already downloaded "shop-update" from WinRAR but I'm not sure how to use this program or how to use it with my Coppermine galleries.

Can I get directions?

thanks!

Darren Carter

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.

[attachment deleted by admin]
Logged

Tarazed

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: add a Paypal shopping basket to your gallery.
« Reply #268 on: May 01, 2005, 06:44:26 am »

Woo hoo, nevermind.. I found that you had actually done exactly what I was looking for in another mod that works with mals-e.  Perfect.  Thanks a ton!
Logged

Casper

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

Darren, unzip the download, and there is a docs folder, which contains the instructions in the file shop.html
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

bb123

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: add a Paypal shopping basket to your gallery.
« Reply #270 on: May 01, 2005, 10:27:55 am »

Hi Casper

All is looking ok the error message is when the pages are loaded bottom left corner confirms page is DONE: but with errors on page when I double click to see what the error is I get the messages which I put in my last post...  other than that all is working really well ... just bugging me that I cant find this error..

Thanks for your time and help
Logged

darren

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: add a Paypal shopping basket to your gallery.
« Reply #271 on: May 01, 2005, 03:23:29 pm »

Hey Casper,

Thanks for the directions.  When I open "shop-update" a box pops up that says I need to register with WinRAR in the next forty days.  When I click to register on their website I get these options:

Buy WinRAR archiver
 Buy WinRAR and shareware CD NEW! 
 Buy FAR file manager
 Browse all products

But I'm not sure what I need.  Can you help?

Darren


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.

[attachment deleted by admin]
Logged

darren

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: add a Paypal shopping basket to your gallery.
« Reply #272 on: May 01, 2005, 07:25:23 pm »

Hey Casper,

I also need to know how I'm suppose to list images that customers can pay for and download directly from my website to their computer.  Where are the directions for that?

Thanks!

Darren Carter


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.

[attachment deleted by admin]
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: add a Paypal shopping basket to your gallery.
« Reply #273 on: May 02, 2005, 05:39:31 pm »

Darren,

the winrar stuff is nothing at all to do with this hack or coppermine, but because you are using an un-registered version of winrar as your zip program.

You need to get yourself a zip program, such as winzip, winrar, or there are some free ones available.

using this mod, all images are available.  There are ways around this, using the 'complex' method, but then it is specific albums that are not sold, so it's easy enough to put that in the album description.
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

darren

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: add a Paypal shopping basket to your gallery.
« Reply #274 on: May 03, 2005, 12:31:39 am »

Thanks for the help, Casper!  Is there a support phone number at Coppermine that I can call if I need anymore help and want to talk to a live person?



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.

[attachment deleted by admin]
Logged

darren

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: add a Paypal shopping basket to your gallery.
« Reply #275 on: May 06, 2005, 12:35:28 am »

Hey Casper,

Well, I purchased the zip program from WinRAR and I'm all set up now, but when I went to shop-update to the theme.php to change the print sizes and paper type it won't let me delete the lines I don't need.

what am I doing wrong now?

Darren


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.

[attachment deleted by admin]
Logged

cnico88

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: add a Paypal shopping basket to your gallery.
« Reply #276 on: May 06, 2005, 04:29:39 pm »

so, is this shop hack still available for download? can I get a link to it please?
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 #277 on: May 06, 2005, 04:41:10 pm »

@ darren, have you actually unzipped and extracted the files to a new folder on your hard drive?

@cnico88, you can get them from the downloads section here, or from my demo site, which may be more up to date, http://www.picture-parade.co.uk/shop/
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

darren

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: add a Paypal shopping basket to your gallery.
« Reply #278 on: May 07, 2005, 01:42:28 am »

Hey Casper,

I am assuming that I did unzip the files and those files are in a folder on my desktop.  but for some reason the file "theme.php" is trying to open itself in Microsoft Picture It.  I get this:

File C:/DOCUME~1/Owner/Locals~1/temp/Rar$DI170750/theme.php could not be opened.

I have no idea why it's trying to open in Picture It and it does not give me an option to open with another program.



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.

[attachment deleted by admin]
Logged

Casper

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

Darren,

with all due respect, your questions are not about thie shop hack, or even coppermine, but about the basic use of your computer.
You cannot just save any file to your desktop, and double click it, and expect windows to know what it is and how to deal with it.  Windows needs to be told which program to use for which type of files.

First, learn how to extract files from a zip. Extract the complete download to a folder such as c\my downloads\coppermine\shop.

Then open individual files using a plain text editor, such as notepad (not word) and use that to edit them.

And you don't have to quote that post of mine every time you 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
Pages: 1 ... 10 11 12 13 [14] 15 16 17 18 ... 20   Go Up
 

Page created in 0.04 seconds with 15 queries.