Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

homewetbar

Pioneers
  • Posts

    680
  • Joined

  • Last visited

About homewetbar

  • Birthday 05/12/2004

Profile Information

  • Real Name
    Keith W.
  • Location
    USA
  • Interests
    ** PLEASE DO NOT EMAIL OR PM ME, I WILL NOT REPLY TO PMs** Please post in the forum instead. Thanks!
  • Website

Recent Profile Visitors

23,285 profile views

homewetbar's Achievements

  1. Thanks Jack. Second issue I've been encountering is the session table becomes huge, slowing down the site dramtically and backing up mysql processing. We're on a dedicated server with 4 quad processors 16 gb ram so the hardware is likely not the fault. The session table has grown to 20mb One thing we're trying is setting the session to something smaller like 4 hours and the cart cookie to 30 days. In basic testing this seems fine, but I'm worried about other variables I might not be aware of. Will this have any adverse effects?
  2. GREAT PLUGIN! I've been waiting for something like this for years. THANK YOU! :thumbsup: The css that comes with it is a little bit broken though. You should add this class: .sf-menu ul ul { top: 0; left: 100%; } and upgrade to the newest 1.11.1 jquery for touch support (2nd level devices won't work without that in the css I found) Here is my entire CSS so far, for anyone that is having trouble with the included css, never could get the arrows to work though: /*** ESSENTIAL STYLES ***/ .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu li { position: relative; } .sf-menu ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; } .sf-menu > li { float: left; } .sf-menu li:hover > ul, .sf-menu li.sfHover > ul { display: block; } .sf-menu a { display: block; position: relative; } .sf-menu ul ul { top: 0; left: 100%; } /*** DEMO SKIN ***/ .sf-menu { float: left; margin-bottom: 1em; } .sf-menu ul { box-shadow: 2px 2px 6px rgba(0,0,0,.2); min-width: 12em; /* allow long menu items to determine submenu width */ *width: 12em; /* no auto sub width for IE7, see white-space comment below */ } .sf-menu a { border-left: 1px solid #fff; border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */ border-top: 1px solid rgba(255,255,255,.5); padding: .75em 1em; text-decoration: none; zoom: 1; /* IE7 */ } .sf-menu a { color: #13a; } .sf-menu li { background: #BDD2FF; white-space: nowrap; /* no need for Supersubs plugin */ *white-space: normal; /* ...unless you support IE7 (let it wrap) */ -webkit-transition: background .2s; transition: background .2s; } .sf-menu ul li { background: #AABDE6; } .sf-menu ul ul li { background: #9AAEDB; } .sf-menu li:hover, .sf-menu li.sfHover { background: #CFDEFF; /* only transition out, not in */ -webkit-transition: none; transition: none; } /*** arrows (for all except IE7) **/ .sf-arrows .sf-with-ul { padding-right: 2.5em; *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */ } /* styling for both css and generated arrows */ .sf-arrows .sf-with-ul:after { content: ''; position: absolute; top: 50%; right: 1em; margin-top: -3px; height: 0; width: 0; /* order of following 3 rules important for fallbacks to work */ border: 5px solid transparent; border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */ border-top-color: rgba(255,255,255,.5); } .sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after { border-top-color: white; /* IE8 fallback colour */ } /* styling for right-facing arrows */ .sf-arrows ul .sf-with-ul:after { margin-top: -5px; margin-right: -3px; border-color: transparent; border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */ border-left-color: rgba(255,255,255,.5); } .sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after { border-left-color: white; }
  3. Thank you, this helped a lot, I would never have caught you have to change to $nest = 1 instead of $nest = 0 Slight change I had to make adding the class name to make it display the same as the others and not off to the side for ($nest = 1; $nest <= $GLOBALS['this_level']; $nest++) { //if you need extra links uncomment out the lines below $output .= '</ul></li>'; $output .=' <li class="current_0"><a href="products_new.php" class="current sf-with-ul">NEW</a></li> <li class="current_0"><a href="specials.php" class="current sf-with-ul">Sale</a></li> '; $output .= '</ul>';
  4. Old topic I know, but this has been an issue with oscommerce since the beginning. Been testing this for a few hours, seems like a pretty good solution. Flaw I see though is the cookie expiration does not update when you visit the site again when I view my cookies in Chrome. The session expiration in mysql seems to be renewing, but not the cookie expiration. So, no matter if you visit the site again your session (and cart) is going to be lost after 7 days. I'm thinking of setting the cookie to expire 10 years from now so it is essentially never expires to fix this problem. Any drawbacks to my solution that anyone sees?
  5. You have to have mod mod_expires AND mod_headers enabled on your server. Also you may have cut and pasted incorrectly. Contact your friendly google search or system admin for further assistance enabling these. :)
  6. Interesting little mod, for whatever reason google page speed likes this better than the code I was previously using, however yslow rates it the same. One correction I would suggest is fixing the syntax, here is the fixed syntax along with a few more elements included for caching: <IfModule mod_headers.c> <FilesMatch "\.(js|css|xml|gz)$"> Header append Vary Accept-Encoding </FilesMatch> </IfModule> <IfModule mod_expires.c> ExpiresActive on <FilesMatch "\.(ico|jpg|jpeg|png|gif|swf)$"> ExpiresDefault "access plus 30 days" </FilesMatch> <filesMatch "\.(css)$"> ExpiresDefault "access plus 5 days" </filesMatch> <filesMatch "\.(js)$"> ExpiresDefault "access plus 5 days" </filesMatch> <filesMatch "\\.(xml|txt)$"> ExpiresDefault "access plus 1 hour" </filesMatch> <filesMatch "\\.(html|htm|php)$"> ExpiresDefault "access plus 1 hour" </filesMatch> Header unset ETag FileETag None </IfModule>
  7. FYI for everyone having errors with this contribution (excluding custom installs) use version 5.0.7 by surfalot. It fixed the errors I was having with version 5.0.9 and works great. The other versions since have had errors introduced into them.
  8. We're trying to share our product images across multiple domains www.mystore1.com www.mystore2.com www.mystore3.com. Any idea on how to do this? We would like the images all stored on the www.mystore1.com to appear to come from www.mystore2.com www.mystore3.com when the user visits those sites, but really just store one copy of the images on the server. We are using the multi-store contribution
  9. Unless that contrib has been revised in a newer version I would advise against using that one. It causes the server to check for new thumbnails everytime someone visits a products page, a lot of hits on your server checking for new images if you have any traffic at all. In fact it causes so many queries it triggered our spam/anti-virus software on the server and locked down one of our sites about a year and a half ago. A better solution would be one that thumbnails them when you upload it in admin so you don't have the excessive queries over and over everytime someone visits a products page. Maybe someone that knows more than I can suggest a contribution that thumbnails in the admin instead of the catalog side?
  10. I'm trying to install this but I'm having a strange error. When I click on the pay with paypal button from the shopping cart it goes to paypal and has me login. Then it goes to the review your information page on paypal. Then when I click continue it shoots me back to our site to the shipping page. What is causing this? Surely this is not correct?
  11. Surely someone has used one or both of this contributions? Any input on how well they function would be most appreciated! :rolleyes:
  12. We are considering adding Paypal Pro and Express to our sites. For those of you that have tried them before... Are the two Paypal Pro and Express contributions "certified" by Harald himself the best way to go written back in 2008? http://addons.oscommerce.com/info/5659 http://addons.oscommerce.com/info/5658 OR This one that was last updated in Apr 2010 by Dynamoeffects? PayPal Pro Direct Payments & Express Checkout http://addons.oscommerce.com/info/3647 Which functions better, has more features, and less errors?
  13. Finally! I found it. You just need to remove the products_status = '1' in seo_cache.php to make the inactive products show. Thanks for all of your help and the contribution!
  14. Ahh I see! So can you point me in the right direction as to what section or function of the seo urls it calls to find out the seo link?
  15. Hard to say, I reset the seo cache as you said, and since the seo urls is enabled I can enter-whatever-i-like as long as it ends in the p-sku#.html as long as your contribution is disabled and it will send me to the page. However since it is out of stock it is not linked to in the categories, the only way you can get to the product would be if you knew the products sku and entered it into the url or via some other page that linked in to it or a search engine, kind like amazon.com does with out of stock products. Does this mean seo urls does not generate a link in the cache for it, so your contribution cannot pick up on it since the url is not likely stored in the cache?
×
×
  • Create New...