Jump to content

olsonsp4c

Members
  • Content count

    545
  • Joined

  • Last visited

Everything posted by olsonsp4c

  1. olsonsp4c

    [Contribution] Category Descriptions MS2

    OK, let me clarify - I am using version 1.9 of Category Description addon. The file to be modified is catalog/includes/categories.php - I used the NON-WYSIWYG version. Scott
  2. olsonsp4c

    osC reCaptcha

    glad to know it works now - if you could post any code changes you did and mention what version of osC you are using (MS2? rc1? rc2a?) then your changes might help a bunch of people add this to their older versions of osC... thanks! I have noticed that reCaptcha has an allowance for 1 or so typing errors occasionally and I don't know why... Scott
  3. olsonsp4c

    [Contribution] Category Descriptions MS2

    yes :rolleyes:
  4. olsonsp4c

    [Contribution] Category Descriptions MS2

    this also needs to change: find this: <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo sprintf($text_new_or_edit, tep_output_generated_category_path($current_category_id)); ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> make sure the next line is this: <tr><?php echo tep_draw_form('new_category', FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['cID']) ? '&cID=' . $HTTP_GET_VARS['cID'] : '') . '&action=new_category_preview', 'post', 'enctype="multipart/form-data"'); ?>
  5. With the information that you've given me, I'd have to say that you did miss something; however, knowing what you missed is another question I can't answer... My guess is that you missed at least one edit in account_history_info.php but it could be another file too... Scott
  6. olsonsp4c

    Enable/Disable categories contribution

    Lildog, thanks for all your work on this addon!
  7. olsonsp4c

    [Contribution] Category Descriptions MS2

    Another line that needs to be changed: catalog/admin/categories.php find: if ($HTTP_GET_VARS['cID']) { echo tep_image_submit('button_update.gif', IMAGE_UPDATE); } else { echo tep_image_submit('button_insert.gif', IMAGE_INSERT); } make sure the next line reads: echo ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['cID']) ? '&cID=' . $HTTP_GET_VARS['cID'] : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; Scott
  8. olsonsp4c

    Customer Testimonials v1.0

    I'm not offended. thanks for the heads up - it was because i read your post that i rewrote the code :rolleyes: Scott
  9. olsonsp4c

    [Contribution] - USPS Methods

    I just wanted to say thanks to Greg for all his hard work re-coding this addon... Scott
  10. olsonsp4c

    USPS Shipping Insurance

    sorry guys, i've been otherwise occupied, I hope to get to it soon... Scott
  11. Great! Thanks for posting! Scott
  12. I'm sorry everybody, I'm not getting emails when people post here... feel free to message me if I don't respond quickly. Look at the bottom of the second code block: function tep_draw_textbox_field($name, $size, $numchar, $value = '', $params = '', $reinsert_value = true) { $field = '<input type="text" name="' . $name . '" size="' . $size . '" maxlength="' . $numchar . '" value="'; if ($params) $field .= '' . $params; $field .= ''; if ( ($HTTP_POST_VARS[$name]) && ($reinsert_value) ) { $field .= $HTTP_POST_VARS[$name]; } elseif ($value != '') { $field .= trim($value); } else { $field .= trim($HTTP_POST_VARS[$name]); } $field .= '">'; return $field; } Apparently another addon had you install a function with the same name. You can fix it by renaming the function for Package Tracking Plus (maybe to tep_draw_textbox_field_ptp - so you can differentiate the two functions) and going back through the code you inserted to edit every instance that Package Tracking Plus calls the function to the new name (your rename). Scott
  13. olsonsp4c

    Customer Testimonials v1.0

    Thanks for the complements. For those of you who want the "Click to email the author" link to exist, I've updated my osC reCaptcha addon to include instructions to implement reCaptcha mailhide to conceal and protect your customer's email addresses from potential harvesters: http://addons.oscommerce.com/info/6306 I have not heard of such a mod (uploading pics); however, there might be a way to steal code from another uploading addon to integrate this. If you solve this issue, please post the code so everyone can benefit. Scott
  14. olsonsp4c

    Customer Testimonials v1.0

    This has been addressed in version 3.61: http://addons.oscommerce.com/info/5477 Scott
  15. olsonsp4c

    Customer Testimonials v1.0

    Though I can not be certain of this, absolutely, it might be because you are on mySQL version less than 5.0... is it possible for you to upgrade? Also, try re-uploading all the files and double checking your edits... Scott
  16. olsonsp4c

    osC reCaptcha

    osC reCaptcha v1.1 is out: http://addons.oscommerce.com/info/6306 Added full support for Customer Testimonials v3.6+: http://addons.oscommerce.com/info/5477 Scott
  17. olsonsp4c

    Customer Testimonials v1.0

    Customer Testimonials v3.6 is out: http://addons.oscommerce.com/info/5477 Upgrade path included in installation.txt - Full package Since v3.5(1) ------------- * Added further multi-lingual support in all areas * Added email validation to the catalog and the admin * Added date added field in the catalog * Added language defines in catalog/includes/languages/english.php * Added admin link in testimony submission email * Removed unnecessary case in catalog * Removed erroneous language defines * HTML fixes in both the catalog and the admin * Adjusted the admin language defines for consistency * Rewrote code in catalog/customer_testimonials_write.php to make this addon compatible with my osC reCaptcha addon: http://addons.oscommerce.com/info/6306 * Rewrote code in catalog/includes/modules/customer_testimonials.php significantly * Added screenshots to save bandwidth * Added a new button in the catalog Scott
  18. olsonsp4c

    [Contribution] Category Descriptions MS2

    if you have a problem cancelling a new category insert and pulling up the whole screen properly, here is the fix: in admin/categories.php Find: <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <tr> <td class="main"><?php echo TEXT_EDIT_CATEGORIES_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('categories_image') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $cInfo->categories_image . tep_draw_hidden_field('categories_previous_image', $cInfo->categories_image); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_EDIT_SORT_ORDER; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"'); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> afterwards make sure the next lines are: <tr> <td class="main" align="left"><?php echo tep_draw_hidden_field('categories_date_added', (($cInfo->date_added) ? $cInfo->date_added : date('Y-m-d'))) . tep_draw_hidden_field('parent_id', $cInfo->parent_id) . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['cID']) ? '&cID=' . $HTTP_GET_VARS['cID'] : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td> </form></tr> Scott
  19. olsonsp4c

    Customer Testimonials v1.0

    what version of mysql are you running? Scott
  20. olsonsp4c

    osC reCaptcha

    Rex I think that there is not a way to change this as the recaptcha images and such is pulled dynamically from their servers... you might checkout the reCaptcha forums on this one... Scott
  21. olsonsp4c

    osC reCaptcha

    I apologize, but could you elaborate a little bit on this and explain a little more on this so that others could understand what you did, in case they have the same problem? Thanks! Scott
  22. olsonsp4c

    Customer Testimonials v1.0

    Everybody, I rewrote this addon and fixed all known issues that I could find including the admin update issue mentioned above... Download it here: http://addons.oscommerce.com/info/5477 Here's the skinny: Since v3.2 ---------- * Modified the sql to do away with url and instead use email address * Modified the catalog infobox formatting a little bit * Modified the layout of the catalog files and functionality * Added a new button to the catalog and updated all other buttons added by this addon * Altogether rewrote error message logic to be consistent with osC standards in the catalog * Fixed the success page bug so that it redirects to the success page properly * Fixed the module email address bug, now "mailto:" is automatically added to email addresses * Fixed the update issue in the Admin where it changed from Update to Insert * Fixed the update issue in the Admin where it would not append updated info to the database properly * Added a bunch of language defines that weren't there * Integrated the email message mod into the base code * Removed ALOT of superflous code that had crept into the addon * Many, many, many other small things and some larger ones :) It is quite ready for multilingual support; however, you all will need to do the translation work for me :) Scott
  23. olsonsp4c

    Customer Testimonials v1.0

    I looked at it, the issue is that it is losing the tID for some reason and switching from the 'update' case to the 'insert' case... I'm not sure how to fix it at this point.... Scott
  24. olsonsp4c

    Customer Testimonials v1.0

    I remember having an issue with this at some point - towards the bottom there is probably a missing </tr> or an extra one perhaps... look at the code I posted and compare it to your file... Scott
  25. olsonsp4c

    Customer Testimonials v1.0

    I've added an addon to add reCaptcha support for osC forms and could use help on integration into the Customer Testimonials Addon. You can download it here: http://addons.oscommerce.com/info/6306 I've included a section on a non-working version for this addon that you could help me troubleshoot that is essentially the same as I've posted above but tells you how to add it to your store... please backup before you install it as it is currently NON-functional for the customer_testimonials_write.php page... thanks! Scott
×