Jump to content

killerwhale65

Members
  • Content count

    212
  • Joined

  • Last visited

Everything posted by killerwhale65

  1. Welcome to the forum thread of the photo gallery contribution for oscommerce. You can download the first (test)version here: http://addons.oscommerce.com/info/6181 features: *new infobox with link to the gallery to draw your visitors' attention *highslide plugin for cool opening of thumbnails *automatic thumbnail generation with OTF autothumbnail contribution *up to 6 pictures per client allowed *more then 1 picture can be uploaded at once *each client can view his own pictures, and remove them to make space for new pictures, via my accout page *uploaded files are checked for filesize, dimensions, extension and content, so not possible to upload harmfull scripts *clients name will be automatically displayed under the full-sized picture future: *admin interface where you can set ------>amount of rows displayed per page ------>subgalleries ------>allowed file formats, file size and dimensions ------>amount of pics allowed per customer ------>allow specified customers to have more pics *(logged in?) visitors can leave a comment with each picture *use of subgalleries *better layout *random picture in infobox *description and title per picture *change picture size during upload to match conditions changelog: version 0.1 - August 24, 2008 Please use this thread for support, feature requests, and to be notified of new releases. Enjoy!
  2. killerwhale65

    Checkout without paypal account

    Thanks; What do you mean by PRO? There is only a personal, premier and business account type.
  3. killerwhale65

    Checkout without paypal account

    Hello, I am using Paypal also for creditcard payments without Paypal account. The problem is that the link 'do not have a Paypal account? Click here ...' is so small that most customers do not find it without my help. I was wondering is its possible to transfer them directly to the page where you should enter the card details, instead of to the Paypal login screen. Possible? Thanks! Matt
  4. killerwhale65

    NEW! Complete Order Editing Tool!

    hello, the order editor works great, but comes into troubles when editing an order that contains products that are removed from the catalog. They do not show up in the editor, yet remain in the details view. Totals are therefor miscalculated in the editor. Any workarounds for this? thanks! Matt
  5. killerwhale65

    photo gallery for oscommerce

    gallery is a new table, it does not already exist in the standard oscommerce installation.
  6. killerwhale65

    photo gallery for oscommerce

    Thanks. Sorry but i have no timeframe for the next update.
  7. killerwhale65

    photo gallery for oscommerce

    You cannot in this version. It's for the future.
  8. so, here is what to do to: 1. have a specified discount redeem automatically when a customer logs in 2. adjust the coupon admin so that you can specify a coupon for "auto redeem" 1. login.php add: //auto redeem discount coupon on login $auto_redeem = tep_db_fetch_array(tep_db_query("SELECT coupon_id FROM coupons WHERE auto_redeem='on'")); if ($auto_redeem['coupon_id'] > 0) { tep_session_unregister('gv_id'); tep_session_unregister('cc_id'); tep_session_register('cc_id'); $cc_id = $auto_redeem['coupon_id']; } //end auto redeem discount coupon on login 2. tabel coupons add field: "auto_redeem" 3. checkout_payment.php: wrap coupon-class call in this IF-statement if you dont want to display the "enter discount coupon form" //auto redeem discount coupon on login $auto_redeem = tep_db_fetch_array(tep_db_query("SELECT coupon_id FROM coupons WHERE auto_redeem='on'")); if (!$auto_redeem['coupon_id'] > 0) { echo $order_total_modules->credit_selection();//ICW ADDED FOR CREDIT CLASS SYSTEM } //end auto redeem discount coupon on login 4. coupon_admin.php add: 121: 'auto_redeem' => tep_db_prepare_input($HTTP_POST_VARS['auto_redeem']), 565: echo tep_draw_hidden_field('auto_redeem', $HTTP_POST_VARS['auto_redeem']); 596: add auto_redeem to query 611: if ($coupon['auto_redeem']=='on') {$auto_redeem = true;} 687: <tr> <td align="left" class="main">Auto load on login</td> <td align="left"><?php echo tep_draw_checkbox_field('auto_redeem', $auto_redeem); ?></td> <td align="left" class="main"> </td> </tr> It may need some tweaking but it should work.
  9. ok i found it. It works in the same simple way. I will now make this even more automatic by making it possible to tick a box in the coupon details that this coupon should be redeemed automatically. I will post the details soon.
  10. Thanks, i will have a look. Very interesting site you have i think. Cool that my question shows up there after only a few minutes ;-)
  11. Hello, Does anyone know how i would have a certain discount coupon redeem automatically (for example when the customer logs in)? So that the user does not have to manually enter it anymore at checkout and sees his discount from the moment he logs in. This would be for a site-wide discount, available to every customer during a limited period of time. Thanks! Matt
  12. killerwhale65

    photo gallery for oscommerce

    you will have to change the maximum allowable pics in gallery_user.php
  13. killerwhale65

    photo gallery for oscommerce

    simple solution: in gallery.php and account.php, simply remove the link to gallery_user.php. Now nobody will be able to get to the upload page. If you want to upload pics, simply enter the URL manually (yourwebsite.com/gallery_user.php), or make a link somewhere in your admin.
  14. killerwhale65

    photo gallery for oscommerce

    yes, it will also affect your product pictures. It will automatically create a thumbnail for your product pictures, like it does for your gallery images. No idea if it can work together with the additional images contrib.
  15. killerwhale65

    photo gallery for oscommerce

    In gallery_user.php, you will find a 4 times the number 6, change it to whatever you like.
  16. killerwhale65

    photo gallery for oscommerce

    If you have no pics uploaded, then this is all you will see. Once you have pics, you will be able to remove them, and edit their comments. More will be added later, as mentioned on the project website.
  17. killerwhale65

    photo gallery for oscommerce

    anti spam and other security measures will be incorporated in the next update.
  18. killerwhale65

    photo gallery for oscommerce

    You are most welcome.
  19. killerwhale65

    photo gallery for oscommerce

    Please read carefully: these are future plans ;)
  20. killerwhale65

    photo gallery for oscommerce

    You can always sort the query to your likings. Sorting will be added in the future.
  21. killerwhale65

    photo gallery for oscommerce

    Honestly, i have no idea. It looks like the temporary file on your server does not exist, hence it cannot be copied to the gallery folder. Maybe you should contact your hosting provider to inquire about the use of the php copy function. Maybe it is disabled i don't know.
  22. killerwhale65

    photo gallery for oscommerce

    I think you have misplaced the code i have given you earlier. It should read: $target_path = $target_path . $customer_id."_".$n.".jpg"; echo 'FOR TESTING ONLY'.$file['tmp_name'][$key]."<br>".$target_path; if(copy($file['tmp_name'][$key], $target_path)) { and not: echo 'FOR TESTING ONLY'.$file['tmp_name'][$key]."<br>".$target_path; $target_path = $target_path . $customer_id."_".$n.".jpg"; if(copy($file['tmp_name'][$key], $target_path)) {
  23. killerwhale65

    photo gallery for oscommerce

    No error? That means this different photo did upload? Can you confirm there are files in your gallery folder?
  24. killerwhale65

    photo gallery for oscommerce

    In the gallery_user.php file, before this line 80, add the following: echo 'FOR TESTING ONLY'.$file['tmp_name'][$key]."<br>".$target_path; Now upload a picture, and now you should see on top of your website the text 'FOR TESTING ONLY'. Let me know what is says next to that text, as well as directly below it. If that text does NOT appear, do this: change the following: if(copy($file['tmp_name'][$key], $target_path)) { //$messageStack->add('gallery_user','success'); $messageStack->add('header',TEXT_FILE. ' '. basename($file['name'][$key]). ' '.TEXT_UPLOADED,'success'); mysql_query("INSERT INTO gallery (cID,pID) VALUES (".$customer_id.",".$n.")"); } else{ //$messageStack->add('There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); $messageStack->add('header','There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); } into this: /*if(copy($file['tmp_name'][$key], $target_path)) { //$messageStack->add('gallery_user','success'); $messageStack->add('header',TEXT_FILE. ' '. basename($file['name'][$key]). ' '.TEXT_UPLOADED,'success'); mysql_query("INSERT INTO gallery (cID,pID) VALUES (".$customer_id.",".$n.")"); } else{ //$messageStack->add('There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); $messageStack->add('header','There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); } */ That will deactivate the copy function so it will also not generate an error. Upload a picture. Now you should see the text 'FOR TESTING ONLY', let me know what it says next to it and below it.
  25. killerwhale65

    photo gallery for oscommerce

    In your FTP program, right click on the gallery folder, and choose something like file attributes (depending on the program you use). Now make sure all read/write/execute options are ticked.
×