Jump to content

Hotclutch

Members
  • Content count

    2,502
  • Joined

  • Last visited

  • Days Won

    23

Reputation Activity

  1. Like
    Hotclutch got a reaction from Smoky Barnable in W3 osCommerce WIP   
    Modal complete.
    The theme is now nearly complete. I think I have done enough to make this usable on php7.4; Cannot be used on php8 yet.

  2. Like
    Hotclutch got a reaction from Smoky Barnable in W3 osCommerce WIP   
    I use Bootstrap 5 for the responsive grid because it is superior to the grid of W3.CSS
    In template_top.php you will find:
    <div id="bodyContent" class="col-md-<?php echo $oscTemplate->getGridContentWidth(); ?> order-first order-md-2"> In template_bottom.php you will find:
    <?php if ($oscTemplate->hasBlocks('boxes_column_left')) { ?> <div id="columnLeft" class="col-md-<?php echo $oscTemplate->getGridColumnWidth(); ?>"> <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?> </div> <?php } if ($oscTemplate->hasBlocks('boxes_column_right')) { ?> <div id="columnRight" class="col-md-<?php echo $oscTemplate->getGridColumnWidth(); ?> order-last"> <?php echo $oscTemplate->getBlocks('boxes_column_right'); ?> </div> <?php } ?> Then in includes/classes/osc_template.php:
    var $_grid_content_width = 6; and
    function getGridColumnWidth() { return 3; } These settings control the project layout. No changes to the database are made. I imagine that the way it is setup now would suit most installations. In Admin, you can still turn on/off boxes, or move them left/right. By doing so you could have a 1,2 or 3 column layout without having to edit code.
    If anyone has installed the package from when I have made it available, i have updated it with some progress. You should be able to overwrite the files (minus the configure and htaccess files) to see the changes.
  3. Like
    Hotclutch got a reaction from Smoky Barnable in W3 osCommerce WIP   
    https://www.dropbox.com/s/6yzeg9adbmee3f5/W3-osC.zip?dl=0
    If anybody wants to have a look and share their thoughts, above is the download link. It's only a start for now.
  4. Like
    Hotclutch got a reaction from bonbec in W3 osCommerce WIP   
  5. Like
    Hotclutch got a reaction from lyonsperf in New management and osCommerce v4   
    But your immediate problem is outdated code right? The forks have corrected this, some being php7 compatible, others php8. Some forks are to be avoided IMO, they are on an aimless development path, doomed to failure. Also the work required to patch old osCommerce versions now has become too much, and even then you're left without a responsive osCommerce.
    You can have a look at these 2 threads:
     
     
  6. Like
    Hotclutch reacted to Demitry in Updating to PHP8   
    Here is that function from Zombie Phoenix v1.0.8.0  (not v1.0.8.3 as I had posted prior):
    function tep_session_is_registered($variable) { trigger_error('The tep_session_is_registered function has been deprecated.', E_USER_DEPRECATED); return isset($_SESSION) && array_key_exists($variable, $_SESSION); } ...though I don't think this has anything to do with migrating to PHP8.0
     
    array_key_exists() is not part of the deprecated functions in PHP8.0. See links below.
    https://www.php.net/manual/en/migration80.deprecated.php
    https://www.php.net/manual/en/function.array-key-exists.php
     
     
  7. Like
    Hotclutch reacted to bonbec in Defrosted osCommerce   
    @Hotclutch
    Ashley, that fixes the problem, thank's ! 😉
  8. Like
    Hotclutch reacted to Jack_mcs in Potencial XSS vulnerability   
    The addon doesn't stop attacks. It just prevents the message from displaying on the site. For a while a few years ago there was a common attempt where the hacker would enter an invalid command just so they could see the command. Once they had the format, they would put in valid data and try again. The shops code should handle such attacks but the older shops don't. But even in Phoenix, at least earlier versions, still displayed the error so that should be stopped regardless.
  9. Like
    Hotclutch reacted to chluo in Potencial XSS vulnerability   
    Yes.
  10. Like
    Hotclutch got a reaction from Jack_mcs in osCommerce v4 demo   
    Maybe he browses logged out, I do that sometimes. But it is a poor start, the indication was 3-4 weeks and that was 2 months ago. I hope Vadym can come back and give a new indication even if its not a fixed date.
  11. Like
    Hotclutch got a reaction from phi148 in Change Products Model Based On Option ?   
    There is no easy way to do this with V2. You would have to introduce new code, and on top of that you would have to go back to each attribute and specify a model number to it.
    There is an indication in the new V4 osCommerce that attributes will behave this way or close to what you describe. So V4 might be worth your while waiting for.
     
  12. Like
    Hotclutch reacted to ruden in Change Products Model Based On Option ?   
    werewolf.com.ua/ru/livas although there is a model tied to id
  13. Like
    Hotclutch reacted to ruden in Change Products Model Based On Option ?   
    Only field price and weight.
  14. Like
    Hotclutch got a reaction from Smoky Barnable in Moving from local server to host for testing   
    I test like this all the time. You do not need to protect the admin directory in the usual way because the test folder is already password protected.
  15. Like
    Hotclutch got a reaction from Smoky Barnable in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    Phoenix and the community editions never cared about compatibility with SEO URLs. If I were you I would stay on my working shop and wait for the release of V4, even though there is no confirmed release date and no one knows if it will be production ready when released. But at least from the information shared there will be a built in migration path for URLs. Or you can commit SEO suicide and abandon SEO URLs to continue on with Phoenix.
  16. Like
    Hotclutch reacted to ruden in PHP 8.0 Upgrade to boxes.php class   
    @Smoky Barnable take a look at this commit
    https://github.com/ruden/vanilla-oscommerce/commit/d4cdd7ca167492f5b1bbcaa08c3de858dc89fd20
  17. Like
    Hotclutch got a reaction from annuity in Multiple Design Templates and built in Designer   
    See the 4th shop on this page:
    https://sites.oscommerce.com/
    The new osCommerce menu appears to function like this.
  18. Thanks
    Hotclutch got a reaction from plenternz in Lose buttons on banner after login   
    Check the file includes/header.php
    <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ if ($messageStack->size('header') > 0) { echo '<div class="grid_24">' . $messageStack->output('header') . '</div>'; } ?> <div id="header" class="grid_24"> <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div> <div id="headerShortcuts"> <?php echo tep_draw_button(HEADER_TITLE_CART_CONTENTS . ($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : ''), 'cart', tep_href_link(FILENAME_SHOPPING_CART)) . tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); if (tep_session_is_registered('customer_id')) { echo tep_draw_button(HEADER_TITLE_LOGOFF, null, tep_href_link(FILENAME_LOGOFF, '', 'SSL')); } ?> </div> <script type="text/javascript"> $("#headerShortcuts").buttonset(); </script> </div> <div class="grid_24 ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><?php echo '&nbsp;&nbsp;' . $breadcrumb->trail(' &raquo; '); ?></div> </div> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td> </tr> </table> <?php } ?> So check lines 18 - 31.
  19. Like
    Hotclutch reacted to mediarays in Next osCommerce v4 demo   
    I am a member on this forum since 2003 and my first online ecommerce script it oscommerce. Long live Oscommerce
  20. Like
    Hotclutch reacted to chuntse in Sometimes the attribute is neglected.   
    This is the setting of the module you mentioned.
     

  21. Like
    Hotclutch got a reaction from wettset in New management and osCommerce v4   
    I would not encourage Admin to do anything about this, for fear of content being removed. The Addon section is a huge resource to us shopowners. In fact, osCommerce is unusable without the Addons. Many of the older Addons were later updated for Frozen and then Phoenix versions. If Admin were to start moderating these Addons, the whole Addon thread may well be deleted.
    Phoenix has already been removed from the official download page and it will just be a matter of time before people realize that this forum is not the place for Phoenix discussion and/or development.
  22. Like
    Hotclutch got a reaction from wettset in New management and osCommerce v4   
    Hi Demitry
    Some of these questions have been answered for us already.
    See this page:
    https://www.oscommerce.com/Us&amp;Team
    The new version will be a rewrite. Screenshots of them have been posted earlier in this thread and elsewhere on the forum. So the Admin won't look like it has for the history of osCommerce before.
    This has been made clear on the forum. Phoenix won't be allowed to be promoted on this forum. 
    I will let osCommerce Official answer your other questions.
  23. Like
    Hotclutch got a reaction from ezfindit in placing site from local host to real host problems   
    It will run on 7.4
    It has error reporting set to suppress errors. Most of the errors will be of the type:
    1) The each() function is deprecated.
    2) Methods with the same name as their class will not be constructors in a future version of PHP; 
    I have a file set with most (or much) of these php updates done, if anyone is interested.
  24. Like
    Hotclutch got a reaction from ezfindit in Hosting Companies and Plans Supporting PHP 5.6 Long Term   
    You can ignore that thread.
    Install this debugger to tell you what the errors are under php 7.
    The number of errors will be numerous but they are all of a certain type. If you need help resolving the error you can just post on the open forum, someone will point you in the right direction.
  25. Like
    Hotclutch got a reaction from SaphyraK in New management and osCommerce v4   
    I should add the first thing of interest to me in the new version will be URLs and their structure. I think any shopowner with a SEO position to protect would be.
×