Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Black Jack 21

Archived
  • Posts

    81
  • Joined

  • Last visited

Everything posted by Black Jack 21

  1. Hi, it's gonzo*, e.g. "GET /robots.txt HTTP/1.1" 200 391 "-" "gonzo2[P] +http://www.suchen.de/faq.html" cheers
  2. I've found a not listed spider: gonzo* It's from a german search site "suchen.de". Please add this to your updates. Thank you for the great contrib!
  3. Simple: Log in to your admin/configuration/my store -> Show Category Counts -> false This will also make your shop faster.
  4. http://www.oscommerce.com/forums/index.php?sho...p;#entry1282237
  5. There is no naming convention the uploader was forced to use. If you're unsure, ask for the contrib version used by others here in the forum. In the most cases people use the "this is a full package" statement within the description.
  6. This works well, look at this. Read also the comments given in the thread for this contrib: Thread BJ
  7. Oh, sorry, my explanation was not clear enough. It's not a problem with the e-mail form. I cannot find items/descriptions with the search if such a char is in the keyword. BJ
  8. Once again. FWR told me a way to pass special language chars through SecurityPro. Now i have the problem described in my former post. Question: It's necessary to handle language specific characters like äöüÄÖÜß (i'm german). Product names and descriptions stored as ISO. Is it possible to cast the special chars to e.g. ä a.s.o. before posting the keywords to the search? Otherwise the search will find nothing... Thank you in advance!
  9. Ok, hopefully you push this contrib forward. I have another question. It's necessary to handle language specific characters like äöüÄÖÜß (i'm german). Product names and descriptions stored as ISO. Is it possible to cast the special chars to e.g. ä a.s.o. before posting the keywords to the search? Otherwise the search will find nothing... Thank you in advance!
  10. Hi Robert, one question. It's necessary to pass through special characters like äüöÄÜÖß posted from the search box. What's the way to do it? I've found it works if i modify the function like this: function tep_clean_get__recursive($get_var) { if (!is_array($get_var)) return preg_replace("/[^ {}a-zA-Z0-9ßäüöÄÜÖ_.-]/i", "", urldecode($get_var)); // Add the preg_replace to every element. return array_map('tep_clean_get__recursive', $get_var); } What do you think, do you see any problems? Please comment and point me in the right direction! Thank you in advance BJ
  11. Yes, UltraPics is recommended. It's really a good one.
  12. Thanks a lot, works like a charm! :-) I know, i'm a pain in the neck, but i have another issue. The code tests valid entries of the e-mail form by javascript, maybe disabled by some customers. What's the reason for to do so instead of using the validation functions, e.g. as in contact_us? Hopefully you don't misunderstand me, i don't want to grouch. I'm very appreciated to benefit from your work, coding and tips. Thank you in advance BJ
  13. No addon is necessary. Simple link or copy a product in admin/catalog to another category.
  14. Just a note: I've found that it is necessary to add tep_hide_session_id to the search box form for browsers with secure configuration.
  15. Mysterious. Because it works fine with your provided submit button code, but not with the tep_image_submit. Perhaps you can help me with another modification. I have main categories with no products in, but with sub categories storing the products. The search did not find anything if a main category is selected in the search box. I want to force the search box to search also in the sub categories of the selected main cat. Is this possible? Thank you in advance!
  16. Thank you for your help. Unfortunately it doesn't work. I will be redirected to advanced_search.php with the warning, that one field must be filled as a minimum. Also no e-mail will be processed. Any suggestion? Thank you!
  17. Hi Jack, thank you for the contribution - a very good one. Questions In product_listing.php, i want to alter the submit button to the style used in contact_us.php. I've added the following: '<tr><td height="5"></td></tr><tr><td colspan="2" align="right" class="productListing-data">' . tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE, 'name="request_submit"') . '</a></td></tr>' . '</table>'); But it doesn't work. Can you point me in right direction? Thank you in advance! I can't also understand the closing </a>... BJ
  18. I've made the same, but cannot remember the steps quickly. Try to replace catalog/includes/modules/additional_images.php with this: <!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //--> <tr> <td> <table width="100%"> <tr> <?php if (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_xl_1'] == '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } elseif (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_xl_1'] != '')) { ?> <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_1']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td> <?php } elseif (($products_info['products_image_sm_1'] == '') && ($product_info['products_image_xl_1'] != '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_1'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } else {echo '<td></td>';} ?> <?php if (($product_info['products_image_sm_2'] != '') && ($product_info['products_image_xl_2'] == '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } elseif (($product_info['products_image_sm_2'] != '') && ($product_info['products_image_xl_2'] != '')) { ?> <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_2']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td> <?php } elseif (($products_info['products_image_sm_2'] == '') && ($product_info['products_image_xl_2'] != '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_2'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } else {echo '<td></td>';} ?> </tr> <tr> <?php if (($product_info['products_image_sm_3'] != '') && ($product_info['products_image_xl_3'] == '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_3'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } elseif (($product_info['products_image_sm_3'] != '') && ($product_info['products_image_xl_3'] != '')) { ?> <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_3']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_3'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td> <?php } elseif (($products_info['products_image_sm_3'] == '') && ($product_info['products_image_xl_3'] != '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_3'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } else {echo '<td></td>';} ?> <?php if (($product_info['products_image_sm_4'] != '') && ($product_info['products_image_xl_4'] == '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_4'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } elseif (($product_info['products_image_sm_4'] != '') && ($product_info['products_image_xl_4'] != '')) { ?> <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_4']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_4'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td> <?php } elseif (($products_info['products_image_sm_4'] == '') && ($product_info['products_image_xl_4'] != '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_4'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } else {echo '<td></td>';} ?> </tr> <tr> <?php if (($product_info['products_image_sm_5'] != '') && ($product_info['products_image_xl_5'] == '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_5'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } elseif (($product_info['products_image_sm_5'] != '') && ($product_info['products_image_xl_5'] != '')) { ?> <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_5']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_5'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td> <?php } elseif (($products_info['products_image_sm_5'] == '') && ($product_info['products_image_xl_5'] != '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_5'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } else {echo '<td></td>';} ?> <?php if (($product_info['products_image_sm_6'] != '') && ($product_info['products_image_xl_6'] == '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_6'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } elseif (($product_info['products_image_sm_6'] != '') && ($product_info['products_image_xl_6'] != '')) { ?> <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_6']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_6'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td> <?php } elseif (($products_info['products_image_sm_6'] == '') && ($product_info['products_image_xl_6'] != '')) { ?> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_6'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td> <?php } else {echo '<td></td>';} ?> </tr> </table> </td> </tr> <!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->
  19. You have to translate something direct in the database. Raise PHPMyAdmin and have a look at the configuration table! BJ
  20. It's already built in. You need only this as an addon: Delete Account
  21. I have the same error after upgrading to 3.05 and to 3.06. :-)
  22. I've uploaded a variant of the code. It will compare a definded session id instead of the admins IP address. This is useful for folks using "shared SSL certificate" provided by mass hosters (e.g. Hosteurope, 1und1, Strato a.s.o.). Furthermore, the suggested warning message of Nathan Robertson is included. I've dropped also an SQL statement in order to provide german language. Contribution: Simple Down For Maintenance Please comment! Black Jack 21
  23. Thank you, Jack. You've made a very good job. Black Jack 21
×
×
  • Create New...