Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

longhorn1999

Pioneers
  • Posts

    347
  • Joined

  • Last visited

Everything posted by longhorn1999

  1. If you have one of the contributions that creates a feed for Google Product Search, then that will work as thefind.com can use the same data feed. The feed for Bing Shopping will be slightly different.
  2. Hey Jack, Actually at the moment it's not possible to download the latest version. http://de3.oscommerce.com/contributions/HeaderTags_SEO_V_3.2.5.zip Apparently this is the download link, but it's giving a 404 error. Is this a persistent error or have others been able to download it already? Thanks for this contribution.
  3. Ok this is one major problem that's been bugging me for a while that I seem to have fixed by myself for once. http://stackoverflow.com/questions/2253907/fancybox-gets-javascript-not-implemented-error-in-ie8-compatibility-mode There's an actual bug in this version of fancybox that causes a conflict with IE8. That's why Spooks was so insistent over a period of months from late 09 on that the meta tag emulation IE7 be placed in product_info.php. Of course the side effect of this was that the page ended up looking slightly different, no matter what doctype was used (for me at least), even though the instructions say differently. So if you comment out lines 183-186 and 201-204 in images/js/jquery.fancybox.js and remove that particular meta tag from product_info.php, the product pages in IE8 should look alright, just like they do in FF.
  4. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> Hi everyone, Much earlier in this thread, the long lost Spooks said that this piece of code needs to be put into product_info.php to make things work properly in IE. Unfortunately it causes a minor problem with my product pages in IE8, as the header becomes a slightly different size for some reason, causing the entire page to be slightly misaligned, especially the search button with the search form and the newsletter submit button with the newsletter email form. I even tried upgrading the versions of jquery and fancybox like someone suggested a few months ago, but it didn't seem to fix the problem. If I take this code out, the fancybox popups stop working in IE. Has anyone else had this problem, and if so, and ideas how to fix it? Thanks
  5. Hi everyone, I'm using Who's Online 3.6.6 and I've noticed an intermittent problem that has popped up every few weeks or so over the past 4 months. lines 35-49 of includes/functions/whos_online.php: function wo_get_host_from_addr($ip_address) { //Get hostname from IP address if (strstr($ip_address, ',')) { //if multiple responses, use first one $ips = explode(',', $ip_address); $ip_address = $ips[0]; } if ($ip_address == 'unknown') { $hostname = $ip_address; } else { $hostname = gethostbyaddr($ip_address); } return $hostname; } Is this some coding error or could it be some problem with my hosting service? I'm using a shared server for a few more weeks. Thanks
  6. Got it... Thanks for all the help Jim. Everything works perfectly.
  7. Hey Jim, After reading through the forum, I was able to get this to work. The confusion that I and maybe a couple of people back in early 2009 had was that this product check was taken out because of Spooks' Simple multi-image w/ FancyBox addon. Everything seems to work great now, but since Spooks has left the building, could I ask if you foresee any hidden problems with reintroducing this code into product_info.php? I know that I'm asking you to comment on someone else's add-on, and if you can't, I understand. Just one more question... For the bottom box, where in includes/modules/recently_viewed.php would I edit to change the class? I just need to change the background color of the box. Thanks again for updating this contribution. This really should be a must-install for most people.
  8. http://addons.oscommerce.com/info/5520 Hi Jim, I just came across this contribution and I'm going to install your v2.0. I was just wondering, are you still installing this in your own sites and if so, are there any code changes since the time you updated it a while back that you might recommend? There are some 'updates' for tax calculations, invalid HTML codes, and compatibility with 'show soldout items', but I can't tell from this forum whether those others are really necessary or not. I'm running 2.2RC2a with all the bug and security fixes for 2.3. Thanks, Nick
  9. Hi Jack, I was upgrading my site to be PHP 5.3 compatible today (just in case) and I noticed that admin/includes/functions/general.php uses eregs twice at the end of the file in the 'Sort Function' and 'Produce CSV String for output' sections. line 1712: $field = ereg_replace ("\"","\"\"",$field); line 1726: $field = ereg_replace ("\"","\"\"",$field); Would you know how to change ereg to preg in these 2 lines? Also, the add-ons section of the forum shows that a new version of All Customers Report was uploaded on October 8. But the latest one showing is from February of 2009. Was that your upload by any chance or some random edits by someone else? Thanks, Nick
  10. Hey Jack, I emailed Harold as well about putting up the new version of Header Tags but no response. Would you be able to upload a version that's not full upload, but only has files needed to upgrade from 3.2.3?
  11. I'd had this problem a while back, but it may have been for a completely different reason. In my case, I'd added define('MODULE_ORDER_TOTAL_DISCOUNT_COUPON...); to lines 30-31 of includes/application_top.php to try to get the add-on One Page Checkout working. When I deleted this, the coupon box appeared. You may not have this conflict, but just as a test, try commenting out the line that has MODULE_DISCOUNT...'true' in line 381 of checkout_payment.php. It may not be that exact line number as my file is somewhat modified. Also make sure you clear the cache in your browser (ctrl-f5), since you may be loading up an old page over and over again.
  12. http://github.com/DynamoEffects/paypal-pro-for-oscommerce/commit/55b0100d73ee5fa19c84fc8b1040e4c61aa8d057 Hi, Sorry if this has been answered before, but is the code in this github update OK to install? I'm hoping to get my site ready for PHP 5.3 in case my host requires it, but I'm not of the status of this update since the comment says that it's not complete. Thanks
  13. I don't know about the first 2 questions, but to eliminate the extra spaces in the address, there's a file in the contribution called address_optimization.txt. The order mail in this great contribution did not display the payment address with me. The address format was not to my liking. It looked like: --------------------- Firstname Lastname Streetname 0 Postalcode Country --------------------- With this little mod it now looks like: --------------------- Firstname Lastname Streetname 0 Postalcode Country --------------------- --------------------- To change it open catalog/checkout_process.php Find: $Varshipaddress =''.tep_address_label($customer_id, $sendto).''; Change to: $Varshipaddress =''.tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br>').''; $Varadpay =''.tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>').''; (if you allready have $Varadpay defined, delete it) --------------------- Many thanks to the makers of this great contribution!! This worked for me...
  14. Hi everyone, Well I've been having a problem getting Discount Coupons 3.34 to work with PayPal Express for the longest time. It's pretty much the only major technical bug I have left to work out. Of course I've just turned off PayPal Express for now, but actually trying to fix this, I was hoping to move the coupon box from checkout_payment.php to checkout_shipping.php. But if I simply cut and paste this code from checkout_payment to checkout_shipping: <?php /* kgt - discount coupons */ if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COUPON; ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } /* end kgt - discount coupons */ ?> ...the box shows up where I want it to in checkout_shipping.php but the discount isn't applied properly in checkout_confirmation.php. This is when I'm testing it with direct checkout, which has been working all along. So would anyone know what files need to be modified to move the coupon box from checkout_payment.php to checkout_shipping.php? It looks like it's been done before in post #3467 here (http://www.oscommerce.com/forums/topic/174981-paypal-wpp-direct-payments-express-checkout-support/page__st__3460__p__1307143__hl__discount%20coupons__fromsearch__1entry1307143), but any direction given here would be a big help. Thanks
  15. Thanks Peter! It was much easier to add the new box classes than I'd expected. Looks good now...
  16. Thanks for the reply Peter. Great advice...I'm looking to try the 2nd method you described. I'm reading up on how to add a new box class (http://216.92.47.228/kb/osCommerce/Catalog_Area/Boxes/248), but could you tell me exactly which 2 lines in includes/modules/xsell_products.php I would change?
  17. Hi Peter, Thanks for keeping up with this add-on. I just installed v2.7.2 and it works great. As per a general forum post I made the other day (http://www.oscommerce.com/forums/topic/364233-cross-selling/), I'm using Optional Related Products for things like replacement parts and plan on using XSell for actual cross selling. The one thing I've noticed is that the XSell box takes stylesheet attributes from whatever boxes in the columns are using. Optional Related Products has (or can have) its own stylesheet entry for easy customization. Of course the code here is pretty different. I noticed that someone tried to allow for box customization back in 2007 (page 17 here), many versions ago, but is there any easy way to customize the colors used in the box? Thanks, Nick
  18. Sorry Robert...I thought I'd ask here since it tangentially pertains to Security Pro, but I'll repost it in the general forum.
  19. Hi Robert, As Spooks seems to have left the building, I'm hoping you can help with something he'd mentioned in his popular 'How to secure your site' thread. With a new domain I'm again getting these PCI errors that I'm not exactly sure how I fixed the first time around: MySQL Database Error Disclosure Vulnerability, Potentially Exploitable Database Error Message McAfee tells me that it's a legitimate error since if I enter http://www.my-domain.com/?cPath=21&sort=2a&max=x' it'll output a 1064 error and a long message. Security Pro has worked great for me, but I can't figure out these errors and so I'm hoping this extra code may help. Could you elaborate on Spook's addendum? Or specifically for non-coders like myself, is there a short list of files that should have this modification (create_account, contact_us, etc)? Or should I try to install Spook's anti-hacker account mods, which looks like it'll be a nightmare to set up properly? Thanks for the help, Nick
  20. Good deal...great to know that security is built into USU5!
  21. Actually I just figured this out. Sorry, I suppose this should've been posted in your FWR Security Pro thread. That security add-on is zealous about preventing/logging certain issues, and apparently these entries are made into my error log only when I run any McAfee PCI scans. It simulates a hack, and this is what's being recorded, not some real error in these or any other files.
  22. Hi again Robert, I just noticed in my error log file (which I should've been checking more carefully) that I've been getting an error over and over again for months. PHP Warning: Usu_Manufacturers Incorrect manufacturers_id presented: php in /home/XXXX/public_html/includes/modules/ultimate_seo_urls5/modules/Usu_Manufacturers.php on line 126 This relates to a check starting at line 124 of that file: // Sanity check - if the $base_path is not numeric then we dump it if ( false === is_numeric( $base_path ) ) { trigger_error( __CLASS__ . ' Incorrect ' . self::DEPENDENCY . ' presented: ' . $valuepair[1], E_USER_WARNING ); return false; } Based on some posts in this forum from January, is it likely that I'm having this error because I have some logo files for manufacturers which are using bad form, i.e., they have hyphens or spaces in the filenames? Thanks, Nick
×
×
  • Create New...