Latest News: (loading..)

homewetbar

Members
  • Content count

    680
  • Joined

  • Last visited

4 Followers

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
  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. Thanks Harald, that clears it up quite a bit! One other small question regarding the product images. The current v2.2 stores all product images in the main images directory. We've found once you get into the hundreds or thousands of products that directory becomes quite heavy and takes a really long time to even display the contents when you have to ftp in to upload new images or make adjustments. Our solution has been to rewrite the code so all of the product images are stored in their own directory aside from the rest of the images, like this images/products . Not a huge issue, but I thought I'd share our experience with running a larger store so maybe a simple solution like this or a more advanced one of your creation may be included in v3.0?
  14. Great to hear the 3.0 project is alive again! I'm really looking forward to seeing the advances you have made since v2.2. Question about the url structure you were discussing yesterday, you did not say what the products name was, so I do not fully understand how the url will be structured. I assume proper url SEO will be built into the core of v3.0 as url SEO is a must and very common today. As I understand it, a proper SEO url for a products such as "Bright Orange Shirt in Large" would be: www.yoursite.com/bright-orange-shirt-in-large.html OR www.yoursite.com/bright-orange-shirt-in-large It's unclear from your example, (A) will the SEFU create urls such as this, and (B) will the "oscommerce" be appended to every url? If (B) is true, I would really hope the oscommerce team would reconsider, as having oscommerce as the first keyword of each SEFU will severely hurt keyword ranking for urls, as the first and last words tend to carry a lot of weight on search engines. Further, it would also be great if the SEFU url was configurable to filter out short words like a, an, the, or words less than say 3 characters so the url was not cluttered up with words that had no SEO value or if you could enter your own SEO url if you so chose to for individual products. Thanks Harald!
  15. 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!