Jump to content

olsonsp4c

Members
  • Content count

    545
  • Joined

  • Last visited

Everything posted by olsonsp4c

  1. olsonsp4c

    Automatic Stock Notification

    The customer is notified over EMAIL Scott
  2. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    Thanks Franck! Yes it should be: define('OFFLINE_MESSAGE_1', 'Notice: ' . STORE_NAME . ' will be offline from '); // the message customers will see when the Offline Warning is enabled in the admin Scott
  3. olsonsp4c

    Live Support phpOnline

    99% of my support requests involve those who do not read the following to obtain the default admin login/password located in the usage doc: Admin Area: You may wait for a customer using: http://www.yourdomain.com/phponline/admin.php or http://www.yourdomain.com/phponline/staff.php (default login information is: username->admin password->adm123 , Change the password ASAP) Scott
  4. olsonsp4c

    USPS Shipping Insurance

    one hint - I looked through the code of includes/modules/shipping/usps.php I don't think that the other edits are handled there - I looked in includes/classes/shipping.php and couldn't find it either - it's got to be handles elsewhere - also, the default coding makes both of the checkout_confirmation page display the SAME variable, so you'd have to find where the variable is set to begin with (in a function perhaps) and find a way to create a 2nd variable for the U.S.P.S. = total part while placing a "\n" in the existing variable to create the line break. When I looked at the usps.php file, I thought that: if ($time != '') $transittime[$service] = ': ' . $time . ''; You could try modifying this line: $shiptitle = ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)'; to: $shiptitle = ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)' . "\n"; OR $this->quotes = array('id' => $this->code, 'module' => $this->title . $shiptitle); to: $this->quotes = array('id' => $this->code, 'module' => $this->title . $shiptitle . "\n"); Scott
  5. olsonsp4c

    USPS Shipping Insurance

    I'll take a crack at it... Changing United States Postal Service to USPS In catalog/includes/languages/english/modules/shipping/usps.php (in usps methods 3.0 or less) define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'United States Postal Service'); to this: define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'U.S.P.S.'); for the rest of it, I'm clueless at this point... Scott
  6. This is the support forum for the PWA Checkout Cart Info addon: http://addons.oscommerce.com/info/6356 This addon replaces the existing text information that appears on the top of the customer login page as well as the '[more info]' javascript popup for those who have installed PWA (Purchase without Account) to better explain the various shopping carts available to customers. Scott
  7. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    Thanks for writing Jim! No, I don't have have any issues with mail sending - all my email notifications are sending properly. This mod doesn't touch any code that would affect email sending. Probably is a server issue that should resolve. Scott
  8. OK. Well, honestly, I don't know. I'm sure it's a conflict with the other addon you mentioned which I don't use and haven't tested with my addon for compatability. You could email me your catalog/admin/orders.php file and I could attempt to look at it to see what hacks the other addon made that might conflict. Scott
  9. did you look under the Admin configuration options - Send HTML emails?
  10. olsonsp4c

    [Contribution] - USPS Methods

    Thanks for writing. I still use 3.0 on my site with the sorting code additions by Ben. I have tried to duplicate your issue, but have not been able to. It works great on my store and I have never had any issues to date that I am aware of... If I had to guess, it would be that it was a temporary usps server issue - also, you should not have had to update any of the names for 3.0, only changed the set_function field to "text" for it to work fine as is... Scott
  11. olsonsp4c

    [Contribution] - USPS Methods

    Thank you Ben for this code! Scott
  12. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    You will find that info in the mods you made to index.php and shopping_cart.php, it is the "class=" that makes it red. try changing it to class="main" <tr> <td class="stockWarning" align="center"><?php echo CLOSED_MESSAGE . ONLINE_DATE_TIME ?></td> </tr> Scott
  13. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    You are correct about that, it should have been catalog/includes/languages/english.php You are welcome! Scott
  14. olsonsp4c

    [Contribution] Category Descriptions MS2

    Category Descriptions v1.95 is out: http://addons.oscommerce.com/info/1373 Though the addon says MS2, I have this running nicely on my RC2a installation. Scott
  15. olsonsp4c

    [Contribution] Category Descriptions MS2

    Sorry - i posted it quickly - it is catalog/admin/categories.php for ALL the edits I posted... Scott
  16. olsonsp4c

    [Contribution] Category Descriptions MS2

    Another edit to be made in catalog/admin/categories.php Find this: $category_query = tep_db_query("select c.categories_id, cd.language_id, cd.categories_name, cd.categories_heading_title, cd.categories_description, c.categories_image, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and c.categories_id = '" . $HTTP_GET_VARS['cID'] . "'"); $category = tep_db_fetch_array($category_query); $cInfo = new objectInfo($category); $categories_image_name = $cInfo->categories_image; } $form_action = ($HTTP_GET_VARS['cID']) ? 'update_category' : 'insert_category'; Make sure the next line reads this: echo tep_draw_form($form_action, FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['cID']) ? '&cID=' . $HTTP_GET_VARS['cID'] : '') . '&action=' . $form_action, 'post', 'enctype="multipart/form-data"'); I think this is the last edit - now all your buttons should work properly... Scott
  17. olsonsp4c

    USPS Shipping Insurance

    You're welcome!
  18. olsonsp4c

    RapidSSL Infobox

    This is the support forum for the RapidSSL Infobox addon by olsonsp4c: http://addons.oscommerce.com/info/6334 This Addon creates an infobox in the left or right column which displays the RapidSSL Seal to your customers (no popup verification) Scott
  19. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    In other words, your ip address is allowed to browse the site as normal so that you can change things around and test your webstore while your users/customers can only see the maintenance page. This gives you the freedom to update pages without customers being frustrated by site errors, checkout issues, etc... while you get things ironed out! The reminder at the top is there so you don't forget to change the status back to "Open" - to remind you that you are in Maintenance Mode. You can test this (temporarily): in catalog/admin/configuration.php page - comment out this piece of code (it automatically detects the Admin IP Address) if ($HTTP_GET_VARS['gID'] == '1501') { $IP_Admin = tep_db_prepare_input(getenv(REMOTE_ADDR)); $IP_Admin_DB_query = tep_db_query ("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'OFFLINE_IP_ADDRESS'"); $IP_Admin_DB = tep_db_fetch_array($IP_Admin_DB_query); if ($IP_Admin_DB['configuration_value'] != $IP_Admin) { tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $IP_Admin . "' where configuration_key = 'OFFLINE_IP_ADDRESS'"); } } Then go to Admin->Configuration->Store Mode->Admin IP Address and change the value to something that is NOT your current IP Address (127.4.2.5), then click update. Now go to your store and you should only be able to get to the maintenance page and nothing else. This is what all your users/customers see while you are in Maintenance Mode. NOW, after you've done this, go and UNCOMMENT the code above in catalog/admin/configuration.php so that it is functional again and save. Go to Admin->Configuration->Store Mode->Admin IP Address and verify that it has automatically detected your IP Address. Then, go back to your webstore, and you should now be able to browse your store normally with the message at the top reminding you that your store is in Maintenance mode. Scott
  20. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    It is working just fine. Your ip address is allowed to view all pages as normal with a reminder at the top telling you that the store is offline for maintenance; however, all other users are disallowed. If you want to see what other users see, you need to put it in maintenance mode and then go to a different computer and browse to your store. Scott
  21. olsonsp4c

    USPS Shipping Insurance

    Did you try the troubleshooting tip 1? Scott
  22. olsonsp4c

    osC reCaptcha

    I am working through the process of making all my forms encrypted using SSL - if you plan on doing this as well (and it would be a good idea), reCaptcha provides a SSL API so that your customers don't get the dreaded "insecure items on the page" popup or a little security lock with an alert! Here's what to change. In every file you installed reCaptcha on (You must have an SSL certificate installed to use this) - Find this: <td class="main"><?php echo recaptcha_get_html($publickey); ?></td> REPLACE with this: <td class="main"><?php echo recaptcha_get_html($publickey, null, true); ?></td> That's it - now you have a secured reCaptcha. Scott
  23. olsonsp4c

    Customer Testimonials v1.0

    I missed a define in catalog/includes/languages/english.php Find this: define('IMAGE_BUTTON_SUBMIT', 'Submit to ' . STORE_NAME); Insert this AFTER: define('IMAGE_BUTTON_INSERT', 'Write a Testimonial'); ALTERNATIVELY, you could go into catalog/customer_testimonials.php (like I did) Find this: IMAGE_BUTTON_INSERT Replace with this: IMAGE_BUTTON_WRITE Then open catalog/includes/languages/english.php Find this: define('IMAGE_BUTTON_SUBMIT', 'Submit to ' . STORE_NAME); Insert this AFTER: define('IMAGE_BUTTON_WRITE', 'Write a Testimonial'); Scott
  24. olsonsp4c

    USPS Shipping Insurance

    My opinion is to use usps methods 3.0 - i still use it on my site - you can update the domestic and international insurance rates with this addon (I wrote it, so I think i'm remembering correctly) - you can choose to include insurance rates as mandatory for customers - estimated shipping times show properly on my site currently. make sure you remove and delete the stock osC usps module before installing. To be safe, remove and delete usps 2.9.2 as well and go into your mysql database and ensure it deleted the usps fields in the configuration table manually (open the configuration table and search for USPS). Scott
  25. olsonsp4c

    osC reCaptcha

    Thank you Petter...
×