Jump to content

lildog

Members
  • Content count

    613
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by lildog

  1. lildog

    photo gallery for oscommerce

    Uh...how many images do you have? I assume none? Try adding some images from the admin side, and see if it shows up. It may turn off if there are no images. Todd
  2. lildog

    photo gallery for oscommerce

    I have updated the add on. +Fixed link in gallery infobox header to point to gallery not specials +added PHP pre version 5 compatibility +renamed info boxes to gallery_plain.php and gallery_slideshow.php to avoid confusion +Encode special characters inputted by users to be sql, javascript compatible(pictures with quotes in the title did not open using highslide) +Users have to be logged in to leave comments +add link to upload in infobox +if not enough thumbs use less than 25 lildog This update should prevent the span being entered in the comment box and causing the gallery to fail. A working version can be seen at: Live Gallery
  3. lildog

    [Contribution] - USPS Methods

    Mark, Make sure you made the edit to adim/modules.php as stated in the docs under pre 3.0 version. Should fix it. lildog
  4. lildog

    Cannot redeclare class

    In checkout_process and paypal ipn I am getting an error.....PHP Fatal error: Cannot redeclare class order_total. I read through some forums and it looked like a simple fix.....comment out a 'require(DIR_WS_CLASSES . 'order_total.php');' or put an if statement around it to load if necessary. But I did that in paypal ipn and I got a new error stating call to undefined something or another....so it wanted the require. Checkout with money/order cash works fine...... please let me know if I need to post more info. lildog
  5. lildog

    photo gallery for oscommerce

    laveera, can you confirm the problem maatwerk is having? Having to log in even if you are logged in? I am going to assume it is an osc session id problem. I will check it out. lildog
  6. lildog

    photo gallery for oscommerce

    Sorry about that...looks like you got it fixed yourself. Good job... lildog
  7. lildog

    photo gallery for oscommerce

    The: Warning: Cannot modify header information - headers already sent by (output started at /kunden/XXX/webseiten/catalog/admin/gallery_upload.php:57) in /kunden/XXX/webseiten/catalog/admin/includes/functions/general.php on line 46 error is USUALLY caused by carriage returns or line feeds or spaces after the final ?> on one of the pages being used. Probably in general.php but could be any included files. Do you have a gallery folder with write permisions in /catalog? lildog
  8. lildog

    photo gallery for oscommerce

    Sounds like you made some great changes. Send me your changes and I will try to work them in to the contrib here. If not just changes send whatever code you've got. Every little bit helps. lildog
  9. lildog

    photo gallery for oscommerce

    Ahhh, box height. I wasn't able to overcome that. I will revisit it and see if I can fix it. Right with the scandir! I will revert it, I made the change and it worked well, it was a suggestion here. I really do want it to be retro friendly. Specials because that is the original box I had used as a template. My customer used graphical headers for her boxes and I just uncommented the line. I hope you figured it out, there needs to be an extra define somewhere. It is getting late here, I will fix and update in the morning. Thanks for pointing out those problems. lildog
  10. lildog

    photo gallery for oscommerce

    I don't remember which one but .07,.08 the galleries are paginated and you can set the max per page in the admin. lildog
  11. lildog

    photo gallery for oscommerce

    Uploaded a new version. Thanks to Laveera for many of the fixes. lildog
  12. lildog

    photo gallery for oscommerce

    This should be more universal: header('Content-type: text/html; charset=' . CHARSET . ''); CHARSET is set in includes/languages/YOUR LANGUAGE.php
  13. lildog

    photo gallery for oscommerce

    laveera, To change the height and width parameters: in gallery_user.php ***FIND: if ($width>800){die("width is too large");} if ($height>600){die("height is too large");} **CHANGE: 800 and 600 to what ever you like. Thank you for all of your suggestions, I am adding them into a new version and will upload it soon. lildog
  14. lildog

    photo gallery for oscommerce

    This plagued me since I rewrote the contrib. It was an easy fix. The slideshow is trying to display an image of a 2nd thumbnail directory in the thumbnail directory. You need both thumbnail dirs, they hold different size gallery thumbs. The fix is: in catalog/includes/boxes/gallery.php: ***FIND: $pictures = scandir($dir); ***REPLACE WITH: $pictures = array_diff(scandir($dir), array('.', '..', '.DS_Store','thumbnails')); I am putting an update together and will post it soon. I am also going to limit the number of thumbs loaded for the slideshow so the box doesn't load every picture every time. I think 25 random pics should be enough. lildog
  15. lildog

    [Contribution] - USPS Methods

    THANK YOU SCOTT FOR POINTING ME IN THE CORRECT DIRECTION. I found another way and was just coming back to post it. This only shows now for International Orders. FIND: $radio_buttons = 0; for ($i=0, $n=sizeof($quotes); $i<$n; $i++) { ADD BEFORE: if ($order->delivery['country_id'] != STORE_COUNTRY){ echo ALERT_INTERNATIONAL; } ADD in languages/english/checkout_shipping.php: define('ALERT_INTERNATIONAL','<font color="red"><center><b>Alert message</b></center></font><br>We have had known issues with the postage calculations for International orders. If you are being charged <b>Global Express Guaranteed rates</b> for your shipping and <b>have not chosen that option</b> - please contact us via email <a href="mailto:duds4buds@msn.com">duds4buds@msn.com</a> <b>Subject title:</b> International Shipping problems. We will then contact you and suggest less expensive ways of our shipping your items to you.<br><br>We are working at correcting this problem and need to be contacted if the problem reoccurs.<br>Thank you.<br><br>');
  16. lildog

    [Contribution] - USPS Methods

    This is request...not a bug. Where would I look in usps module to add an alert to international customers that there may be problems selecting shipping and to contact the shop owner if needed. I can't for the life of me spot where to put it. lildog
  17. lildog

    [Contribution] - USPS Methods

    Ok it works. I do not know what the glitch was. For those that get: United States Postal Service United States Postal Service An error occured with the USPS shipping calculations. If you prefer to use USPS as your shipping method, please contact the store owner I turned all shipping options on and turned display transit times and weights on. Did a test check out to the shipping page, with an account that has both a domestic address and a international address. Tries both addresses. Went back and turned off the options one at a time. No more error. I am using OSC2.2rc2a and USPS Methods 4.0.3 Alpha lildog PS( Maybe a cookie, sessionid, cache problem? I do not know)
  18. lildog

    [Contribution] - USPS Methods

    mmmm....I checked all of the domestic methods and it works. and turned wight and transit times on.
  19. lildog

    [Contribution] - USPS Methods

    When I drop the default usps module back in it works. lildog
  20. lildog

    [Contribution] - USPS Methods

    Moved to 4.0.3 Alpha and international works now but same error for domestic. lildog
  21. lildog

    [Contribution] - USPS Methods

    I am now having the same problem for both domestic and international rates. lildog
  22. lildog

    photo gallery for oscommerce

    If I had to guess I would say you don't have to. Also, you may have done this already though, I THINK you will have to change the encoding of the sql tables also from latin1_general_ci to utf-8. lildog
  23. lildog

    photo gallery for oscommerce

    What is your url? I had the popup problem when I applied the pagination mod and had to fix it by supplying the full url to the pic. I will see if I can add a check to make sure a customer is selected to remedy #1. As far as #2 I don't know anything about converting stuff to utf-8. If you have any info I will try to help. lildog
  24. lildog

    photo gallery for oscommerce

    the url to the photo would be: HTTP_SERVER.$dir.$file lildog
×