Jump to content

Iggy

Members
  • Content count

    1,240
  • Joined

  • Last visited

Profile Information

  • Real Name
    BOFH
  • Gender
    Male
  • Location
    Seattle, WA
  • Interests
    Coffee and sleep deprivation
  1. I haven't had a chance to hop on this but I'm hoping this week. It's probably just tweaking it to not call out template_top and bottom.
  2. That's what has me all excited about it. Or, at least, the core can get out of the way a bit. Just have to see :thumbsup:
  3. Dropped an archive here for a bit if anyone can use it http://e.volve.net/downloads/eosc.zip Knocked this together in a hurry and off of the Github Master so it's probably only good for comparison/reference. I'll see if I can give it some proper attention in the next couple days but here it is for now.
  4. Here's some of the current output of STS. I'm using the multiple as the test and this is the default sts_template.html Basically it's outputting correctly but needs some tweaking. Although this isn't the prettiest I was happy enough with it I deemed it working and moved on - see above :-" Here's the output of the page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html $htmlparams> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Evolve EosC</title> <base href="http://www.eosc.com/"> <!-- start get_javascript(applicationtop2header) //--> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" type="text/css" href="/includes/sts_templates/multiple/stylesheet.css"> </head> <!-- Start Category Menu --> <form name="goto" action="index.php" method="get"><select name="cPath" onChange="this.form.submit();"><option value="0" SELECTED>Catalog</option><option value="1">Hardware</option><option value="17"> CDROM Drives</option><option value="4"> Graphics Cards</option><option value="8"> Keyboards</option><option value="16"> Memory</option><option value="9"> Mice</option><option value="6"> Monitors</option><option value="5"> Printers</option><option value="7"> Speakers</option><option value="2">Software</option><option value="19"> Action</option><option value="18"> Simulation</option><option value="20"> Strategy</option><option value="3">DVD Movies</option><option value="10"> Action</option><option value="13"> Cartoons</option><option value="12"> Comedy</option><option value="15"> Drama</option><option value="11"> Science Fiction</option><option value="14"> Thriller</option></select></form> <!-- End Category Menu --> <!-- start categorybox //--> <!--bof categories //--> <div class="infoboxheading" nowrap> <span class="categories">Categories</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/index.php?cPath=1">Hardware-></a> (6)<br><a href="http://www.eosc.com/index.php?cPath=2">Software-></a> (4)<br><a href="http://www.eosc.com/index.php?cPath=3">DVD Movies-></a> (17)<br></div> </div> <!-- end categorybox //--> <!-- start manufacturerbox //--> <!--bof manufacturers //--> <div class="infoboxheading" nowrap> <span class="manufacturers">Manufacturers</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <form name="manufacturers" action="http://www.eosc.com/index.php" method="get"><select name="manufacturers_id" onChange="this.form.submit();" size="1" style="width: 100%"><option value="" SELECTED>Please Select</option><option value="6">Canon</option><option value="4">Fox</option><option value="8">GT Interactive</option><option value="9">Hewlett Packard</option><option value="5">Logitech</option><option value="1">Matrox</option><option value="2">Microsoft</option><option value="7">Sierra</option><option value="3">Warner</option></select></form></div> </div> <!-- end manufacturerbox //--> <!-- start whatsnewbox //--> <!--bof whats_new //--> <div class="infoboxheading" nowrap> <span class="whatsnew">What's New?<a href="http://www.eosc.com/products_new.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/product_info.php?products_id=22"><img src="images/gt_interactive/unreal_tournament.gif" class="" border="0" alt="Unreal Tournament" title=" Unreal Tournament " width="100" height="80"></a><br><a href="http://www.eosc.com/product_info.php?products_id=22">Unreal Tournament</a><br>$89.99</div> </div> <!-- end whatsnewbox //--> <!-- start specialbox //--> <!--bof specials //--> <div class="infoboxheading" nowrap> <span class="specials">Specials<a href="http://www.eosc.com/specials.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/product_info.php?products_id=5"><img src="images/dvd/blade_runner.gif" class="" border="0" alt="Blade Runner - Director's Cut" title=" Blade Runner - Director's Cut " width="100" height="80"></a><br><a href="http://www.eosc.com/product_info.php?products_id=5">Blade Runner - Director's Cut</a><br><s>$35.99</s><br><span class="productSpecialPrice">$30.00</span></div> </div> <!-- end specialbox //--> <!-- start searchbox //--> <!--bof search //--> <div class="infoboxheading" nowrap> <span class="quickfind">Quick Find</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <form name="quick_find" action="http://www.eosc.com/advanced_search_result.php" method="get"><span class="leftfloat"><input type="text" name="keywords" size="10" maxlength="30" style="width: 95px"class="input-style"></span><span class="leftfloat"><img src="images/pixel_trans.gif" class="" border="0" alt="" width="20" height="10"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="<span class="quickfind">Quick Find" title=" <span class="quickfind">Quick Find "></span><div class="divider-short"></div>Use keywords to find the product you are looking for.<br/><br/><a href="http://www.eosc.com/advanced_search.php">Advanced Search</a></form></div> </div> <!-- end searchbox //--> <!-- start informationbox //--> <!-- information //--> <div class="infoboxheading" nowrap> <span class="information">Information</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/shipping.php">Shipping & Returns</a><br><a href="http://www.eosc.com/privacy.php">Privacy Notice</a><br><a href="http://www.eosc.com/conditions.php">Conditions of Use</a><br><a href="http://www.eosc.com/contact_us.php">Contact Us</a></div> </div> <!-- end informationbox //--> <p>This is a default template. It can be found here: /includes/sts_templates/multiple/sts_template.html<br> </p> <p> <!-- start Default Content //--> </div> <!-- left_navigation_eof //--> <!-- page content bof//--> <div id="pagecontent"> <div id="content-head"></div> <!-- start content-body --> <div id="content-body"> <span class="leftfloat"><h1>Shipping & Returns</h1></span> <span class="rightfloat-right"> <img src="images/table_background_specials.gif" class="" border="0" alt="Shipping & Returns" title=" Shipping & Returns " width="57" height="40"></span><div class="divider-pageheading"></div> <p>Put here your Shipping & Returns information.</p> <div class="pagebox"> <div class="rightfloat"> <a href="http://www.eosc.com/index.php"><img src="includes/languages/english/images/buttons/button_continue.gif" class="" border="0" alt="Continue" title=" Continue " width="100" height="22"></a> </div> <div class="divider"></div> </div> <div class="divider"></div> </div> <!-- end content-body --> <div id="content-foot"></div> </div> <!-- page_content_eof //--> <!-- BOF right_navigation //--> <div id="pagecolumnright"> <!-- end Default Content //--> </p> <!-- start cartbox //--> <!-- shopping_cart //--> <div class="infoboxheading" nowrap> <span class="shoppingcart">My Cart<a href="http://www.eosc.com/shopping_cart.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> 0 items</div> </div> <!-- end cartbox //--> <!-- start maninfobox //--> <!-- end maninfobox //--> <!-- start orderhistorybox //--> <!-- end orderhistorybox //--> <!-- start bestsellersbox_only //--> <!-- end bestsellersbox_only //--> <!-- start reviewsbox //--> <!-- reviews //--> <div class="infoboxheading" nowrap> <span class="reviews">Reviews<a href="http://www.eosc.com/reviews.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <div align="center"><a href="http://www.eosc.com/product_reviews_info.php?products_id=19&reviews_id=1"><img src="images/dvd/theres_something_about_mary.gif" class="" border="0" alt="There's Something About Mary" title=" There's Something About Mary " width="100" height="80"></a></div><a href="http://www.eosc.com/product_reviews_info.php?products_id=19&reviews_id=1">this has to be one of the funniest movies released for 1999! ..</a><br><div align="center"><img src="images/stars_5.gif" class="" border="0" alt="5 of 5 Stars!" title=" 5 of 5 Stars! " width="59" height="11"></div></div> </div> <!-- end reviewsbox //--> <!-- start languagebox //--> <!-- end languagebox //--> <!-- start currenciesbox //--> <!--bof currencies //--> <div class="infoboxheading" nowrap> <span class="currencies">Currencies</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <form name="currencies" action="http://www.eosc.com/shipping.php" method="get"><select name="currency" onChange="this.form.submit();" style="width: 100%"><option value="USD" SELECTED>U.S. Dollar</option><option value="EUR">Euro</option></select></form></div> </div> <!-- end currenciesbox //--> <!--footer template begin--> <!-- footer.php.html template --> <div align="center"> Monday 08 March, 2010 152 requests since Friday 26 February, 2010 </td> Copyright © 2010 <a href="http://www.eosc.com/index.php">Evolve EosC</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> <a href="http://www.eosc.com/redirect.php?action=banner&goto=1" target="_blank"><img src="images/banners/oscommerce.gif" class="" border="0" alt="osCommerce" title=" osCommerce " width="468" height="50"></a> STS v4.6 by <a href="http://www.soundsgoodpro.com"> SoundsGoodProductions.com</a><br> </div><!--footer template end--> </body> </html> Sorry I got carried away there on the "works great!" but I considered it basically functional with some spit and polish required. I'll see what I can do with it in the next couple of days in the way of clean up.
  5. STS is basically just placeholders for output from osC. Since you've fixed up the html output it just lets you have a series of content slots you can wrap in DIVS - the output of boxes.php included. You could always do that with STS but the guts of a stock osC would thwart a true CSS layout. I can zip up my install if you want to take a look at it. There was a little fiddling involved. Doh! Taking another look at it I take that back. There's still some more fiddling to be done. The problems are mostly with some unclosed divs I think but that's my fault. I'll finish it up, take some notes and let you know.
  6. If it's any help I immediately installed STS after your contrib. Not heavily tested but works fine as far as I can see. Basically you just need to strip all the html out of the STS template. Kind of exciting as it makes using Blueprint or 960 grid a nice possibility as well as having A LOT of control over individual pages, boxes etc. It'll even accept conditionals in a template ala WP or Drupal so it opens a bunch of doors a single template might not. You and Bill Kellum should chat a bit about the possibilites :thumbsup:
  7. Impressive, time consuming work. Merged onto Git master pretty easily and displays very nicely. Been talked about for a LONG time and even considered doing it myself but could never commit. Worthy of being considered for merging into osCommerce Online Merchant v2.x master I think. Thanks for your work!

    http://github.com/osCommerce/oscommerce2

  8. Woops. Sorry about that. I picked up this thread from View New Content and didn't see it was posted in Payment Modules/Authorize. Anyways, I think you should review Anet's features then :-" Maybe the Fraud Detection Suite would be worth the extra cash? http://www.authorize.net/solutions/merchantsolutions/merchantservices/frauddetectionsuite/ You can also set your payment module to authorize only instead of authorize and capture. Then you'll have time to review the transaction and manually run it once you call it good. Not sure what security juice you can apply otherwise. :'(
  9. You don't say who you're gateway is or if you have one so that would be good to know :thumbsup: A reasonable gateway should have an AVS (address verification system) in place you can use to weed out this kind of fraud and protect yourself. Authorize.net is my choice and recommendation to folks but there are plenty of supported processors. Get one if you haven't and if you have give them a call and see what measures you can setup. Hope that helps, Iggy
  10. Iggy

    CCGV - PHP5.3 - mySQL 5

    Only happens when the coupon is restricted to a category or product. Wasn't this problem addressed back in 2005? Well, the board will provide I'm sure :P
  11. Iggy

    CCGV - PHP5.3 - mySQL 5

    Well, I'm looking forward to it! - GV not 40 hours a day :lol: On this side of the world we're barely getting 8 hours of sunshine so it kind of feels like 40 hours a day...
  12. Iggy

    CCGV - PHP5.3 - mySQL 5

    I'll be darned... Sub-Total: $84.98 Flat Rate (Best Way): $5.00 Total: $89.98 Discount Coupons:DoIt: -$42.50 Shouldn't that be 42.49? Sigh...
  13. Iggy

    CCGV - PHP5.3 - mySQL 5

    It's not easy being impatient and dumb at the same time I tell you what :rolleyes: Part of the problem - line146 of coupon_admin.php in CCGV(trad) $insert_id = tep_db_insert_id($query); Golly if this edit doesn't get it working $insert_id = tep_db_insert_id(); I suppose that makes sense (??) given the new function? Still not really understanding why it's throwing the error and failing to relate the 2 tables with ($query) but beggars can't be choosers :P
  14. Iggy

    CCGV - PHP5.3 - mySQL 5

    OK. Back to CCGV(trad) because I just can't let it go. Currently it's semi-functional; can add or delete(make inactive) coupons. The weirdness comes into play when inserting the coupon into the database from preview (where it passes everything in correctly). On insertion it throws this error Warning: mysql_insert_id() expects parameter 1 to be resource, null given in /www/EosC_3.0ccgv/catalog/admin/includes/functions/database.php on line 117 And writes everything to the coupons and coupons_description tables correctly but fails to display the coupon name viewing it from coupons_admin.php This is line 117 in functions/database.php function tep_db_insert_id($link = 'db_link') { global $$link; return mysql_insert_id($$link); } and reviewing MS2 this is the function previously - and which makes everything work as expected when swapped into the current running store function tep_db_insert_id() { return mysql_insert_id(); } So I am prepared to be schooled if there's a teacher in the house :D Thanks for any clarification or input you can provide. Iggy
  15. Iggy

    CCGV - PHP5.3 - mySQL 5

    Now... who has recommendations on a Gift Voucher contribution for the same spec? Or do I keep talking to myself?
×