Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by burt

  1. burt

    So what happend to OSCOM 3

  2. burt

    Product with option

    This is the basis, which I created for a client (but have not yet tested live); http://www.clubosc.com/bundle-products.html
  3. burt

    Product with option

    I recently coded up something closeish to that. I have not yet had opportunity to fully test it out.
  4. burt

    To follow the development

    It's gone quiet. No answer to questions here, no activity on github. No answers or updates on twitter. After the fanfare a month ago and the already broken promises about the future of osCommerce, it's disappointing for the community to be ignored.
  5. burt

    PayPal Maximum Transcation Limit

    The sending limit for Paypal is $9999. Therefore, the receiving limit must also be $9999 (less fees).
  6. burt

    Credit Card Module

    You did not define the TABLE_CREDIT_CARDS in the database_tables.php file(s).
  7. localhost (xampp or similar). Why not?
  8. Sorry Daniel - but that did make me laugh. You believed words from a host??!!??
  9. burt

    OSC V3

    90% of those webhosting companies would be resellers of the very few "real" hosting companies. So the conclusion is not quite as dramatic as it could be. In any case, it does not matter what hosts are ready just now - if *any* people want to use 3 for a live shop, they are; a. crazy b. delusional c. mad d. hardcore php developers e. all of the above ;) It is simple to set up localhost with all the required extensions, which is surely enough for developers to get on with developing, and for potential users to test out the bare-bones code that is being released today.
  10. Ask whoever you got the template from. This is not a forum for support of 3rd party products such as templates.
  11. burt

    help editing "free" template

    Free or otherwise, you need to seek help from the template vendor, as this particular vendor is well known for producing templates that hack up the core code beyond belief.
  12. burt


    Wordpress does it well. Of course, wordpress is a simple system for writing blogs and not a fullblown ecomm system. But it might give a way forward. Agreed.
  13. burt


    No progress will be made until ALL coders follow a standard procedure for creating addons. And that is NOT going to happen as addon makers vary from day 1 newbies to 10 year veterans. Shipping Modules follow a standard procedure (usually). So perhaps you can create a system based around the idea of plugins/hooks?
  14. I think we all know the truth ;) I am only stating what HPDL has stated.
  15. Sometime between January and March 2011.
  16. burt

    PHP Coding

    Well, there we are - learned something new today!
  17. burt

    PHP Coding

    I agree with you Rob. The usual osCommerce way is, I think, more confusing than your preferred way which is, I think, more confusing than the way I'd do it :D I think. Well sometimes I do ;) For indentation, that's another subject entirely! I like to indent 4 spaces, thus; <?php if ($abc) { $something; } ?> Example, as I would write that differently anyway, but you get the drift. Though in html, I like to use 2 spaces; <body> <div id="this"> <p>blah</p> <p>blugh</p> </div> </body> What I really HATE seeing is this type; <?php if ($abc) { [TAB]$something; } ?> Wasn't sure how to get a tabbed indentation in the forum? I'm sure that someone has come up with some sort of indentation standard. Is there one?
  18. burt

    PHP Coding

    The problem (or, if you look at it like I do, "the freedom) with PHP is that there is so many different ways to do something. <div id="something"> <div id="another_something"><?php echo ( SHOW_ACCOUNT > 0 ) ? 'Was larger than 0' : 'Was NOT larger than 0'; ?></div> </div> <div id="results_div"> <?php foreach ( $big_array as $key => $value ) echo ' <div id="single_result">' . $value . '</div>'; </div> "Loved reading this thread :-)" I agree, good thread. Fun.
  19. burt

    PHP Coding

    No apology needed, I am sorry if I came across the wrong way, I have a habit of being "short on words" aka "blunt". In my first post in this thread, I showed a couple more options instead of using "if else". One of them is the ternary which is a shorthand system of "if / else". So. echo (this == that) ? 'this equals that' : 'this is different than that'; is EXACTLY the same effect as if (this == that) { echo 'this equals that'; } else { echo 'this is different than that'; } Do you see now? With the latest code you posted, that won't really work, but you did not give enough detail beforehand for anyone to know exactly what you were/are trying to achieve. It looks like you don't want to show prices based on SHOW_PRICES being 0 or not 0. What is SHOW_ACCOUNT for?
  20. burt

    PHP Coding

    So this code did not work for you?
  21. burt

    PHP Coding

    I posted the code you needed, then you said "I some times wonder why I request help in forums, as most of the time its like trying to get blood out of a stone". Gee, thanks a lot. Well, I posted the corrected code. READ it, then go to www.w3schools.com if you do not understand it. I'm out.
  22. burt

    PHP Coding

    "I just want to know if what I am trying to do can be done in this example." You did not even read my reply then. I'll stop helping you now, sorry I wasted my time ;)
  23. burt

    PHP Coding

    $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading"><a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . MODULE_BOXES_WHATS_NEW_BOX_TITLE . '</a></div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align: center;"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br />'; $data .= (SHOW_ACCOUNT > 0) ? '' : $whats_new_price; $data .= ' </div>' . '</div>'; Please visit www.w3schools.com and find the PHP tutorial - this is basic knowledge which you need to read up on as it will help you in the future. In Roberts example; <div id="some_id"> <?php if ( $something == $something_else ): ?> <div>$something is equal to $something_else</div> <?php elseif ( $something != $something_else ): ?> <div>$something is NOT equal to $something_else</div> <?php endif; ?> </div> I believe it is easier to read as so; <div id="some_id"> <div> <?php echo ($this == $that) ? 'this is equal to that' : 'this is different to that'; ?> </div> </div> Rob and I will agree to disagree :D
  24. burt

    PHP Coding

    echo (DO_SOMETHING > 0) ? '' : OUTPUT_SOMETHING; OR if (DO_SOMETHING > 0) { echo ''; } else { echo OUTPUT_SOMETHING; } OR if (DO_SOMETHING <= 0) echo OUTPUT_SOMETHING; I would use the first one. You need to make sure that "DO_SOMETHING" is comparable against the number zero. You need to make sure that "OUTPUT_SOMETHING" is something that can be output.
  25. burt

    Module request - Buyer back-end

    There's two of you that need it. Why not bang your heads together, find more people who want the same, all chip in a few dollars and get it coded up. Easy!