Jump to content

YePix

Members
  • Content count

    371
  • Joined

  • Last visited

  • Days Won

    2

YePix last won the day on July 27

YePix had the most liked content!

2 Followers

Profile Information

  • Real Name
    YePix

Recent Profile Visitors

26,001 profile views
  1. YePix

    [Addon] Store Times BS

    @BrockleyJohnThank you too.
  2. YePix

    [Addon] Store Times BS

    Hi, that's already clear. However, this file does not exist with the add-on
  3. YePix

    [Addon] Store Times BS

    What is meant by this line? include_once( DIR_FS_CATALOG . 'includes/opencloz.php'); initialize_open_cloze();
  4. YePix

    Next osCommerce v4 demo

    Hi, so I'm sorry but I will not attach myself to it as long as it has to do with google. I don't need these criminals. Running a demo on your own system is apparently a problem? The next question is, why isn't the new version released so that others can look into it as well? It looks like a commercial version is being worked on. That wasn't the intention behind osCommerce.
  5. @Demitry Your last name is not reliable Biden, is it? That would explain a lot. In addition, the evolution from monkeys to ??? apparently not yet taken place.
  6. your statement confirms what I wrote earlier. again. Read first, then understand, and then answer. Otherwise, keep silent before more people form their opinions about people like you
  7. Your statement shows at what level your intellect is. Pathetic
  8. @Demitry This is exactly what my code does and a lot more. If it is installed, the user will see it too. ########################################## and if your help is to mill the forum with theories instead of at least introducing code approaches, then please let it be. Nobody here needs theories and information on how to do what. This forum should be there for mutual help and not a fairy tale book.
  9. Read, then understand, then post a solution and not propose a theory of what could be done. If you have no idea about the code then just let your stupid comments be. you just litter the forum with it.
  10. YePix

    Adminmenü (Backend) erweitern

    wo ist das Problem ? Kategorien => Neue Kategorie => Fertig
  11. Naturally. All you have to do is adjust the appropriate link 'product_info.php', 'products_id=' . $printlist['products_id']
  12. here the button with all parameters <span class="btn btn-success"><a href='<?php echo tep_href_link('product_info.php', 'products_id=' . $printlist['products_id']); ?>', target="_blank" onclick="window.open(this.href,this.target,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=640,screenX=150,screenY=150,top=5,left=650'); return false;" class="btn btn-info btn-xs" role="button"><?php echo '<i class="fa fa-shopping-cart"></i>' . BUTTON_BUY_NOW;?></a></span>
  13. Then install this. Is another extension to see the comment status in the list. You can now use it to block all previous comments. admin/languages/orders.php find: define('ENTRY_NOTIFY_COMMENTS_STATUS', 'Comments status:'); define('COMMENTS_STATUS_ON', 'Comments on:'); define('COMMENTS_STATUS_OFF', 'Comments off:'); change to: define('ENTRY_NOTIFY_COMMENTS_STATUS', 'Comments status:'); define('COMMENTS_STATUS_ON', 'This comments on:'); define('COMMENTS_STATUS_OFF', 'This comments off:'); define('COMMENTS_STATUS_ALL', 'All comments off:'); define('COMMENTS_NOW_STATUS_ON', 'Comment on'); define('COMMENTS_NOW_STATUS_OFF', 'Comment off'); ################################ admin/orders.php find: tep_db_query("update " . TABLE_ORDERS_STATUS_HISTORY . " set comments_status = '" . tep_db_input($comments_status) . "', comments_status = '" . tep_db_input($comments_status) . "' where orders_id = '" . (int)$oID . "'"); change to: tep_db_query("update " . TABLE_ORDERS_STATUS_HISTORY . " set comments_status = '" . tep_db_input($comments_status) . "', comments_status = '" . tep_db_input($comments_status) . "' where orders_id = '" . (int)$oID . "' and date_added = now()"); if ($_POST['comments_status'] == '2'){ tep_db_query("update " . TABLE_ORDERS_STATUS_HISTORY . " set comments_status = '" . tep_db_input($comments_status) . "', comments_status = '" . tep_db_input($comments_status) . "' where orders_id = '" . (int)$oID . "'"); } find: if (isset($comments_status)) { $cm_status_on = ($comments_status == '1') ? true : false; } else { $cm_status_on = ($comments_status == '1') ? true : false; } $cm_status_off = !$cm_status_on; change to: if (!isset($comments_status)); switch ($comments_status) { case '0': $cm_status_on = false; $cm_status_off = false; $cm_status_all = true; break; case '1': $cm_status_on = true; $cm_status_off = false; $cm_status_all = false; break; case '2': $cm_status_on = false; $cm_status_off = true; $cm_status_all = false; break; default: $cm_status_on = false; $cm_status_off = false; $cm_status_all = true; } find: echo tep_draw_radio_field('comments_status', '1', $cm_status_on) . '&nbsp;&nbsp;' . COMMENTS_STATUS_OFF . '&nbsp;&nbsp;' . tep_draw_radio_field('comments_status', '0', $cm_status_off) . '&nbsp;&nbsp;' . COMMENTS_STATUS_ON; ?></td> change to: echo tep_draw_radio_field('comments_status', '2', $cm_status_all) . '&nbsp;&nbsp;' . COMMENTS_STATUS_ALL . '&nbsp;&nbsp;' . tep_draw_radio_field('comments_status', '1', $cm_status_on) . '&nbsp;&nbsp;' . COMMENTS_STATUS_OFF . '&nbsp;&nbsp;' . tep_draw_radio_field('comments_status', '0', $cm_status_off) . '&nbsp;&nbsp;' . COMMENTS_STATUS_ON; ?></td> find: <td class="dataTableHeadingContent" align="center"><strong><?php echo TABLE_HEADING_COMMENTS; ?></strong></td> add after: <td class="dataTableHeadingContent" align="center"><strong><?php echo ENTRY_NOTIFY_COMMENTS_STATUS; ?></strong></td> find: $orders_history_query = tep_db_query("select orders_status_id, date_added, customer_notified, comments from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . tep_db_input($oID) . "' order by date_added desc"); change to: $orders_history_query = tep_db_query("select orders_status_id, date_added, customer_notified, comments, comments_status from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . tep_db_input($oID) . "' order by date_added desc"); find: while ($orders_history = tep_db_fetch_array($orders_history_query)) { add after: if ($orders_history['comments_status'] == 0){ $cs = COMMENTS_NOW_STATUS_ON;} if ($orders_history['comments_status'] == 1){ $cs = COMMENTS_NOW_STATUS_OFF;} if ($orders_history['comments_status'] == 2){ $cs = COMMENTS_NOW_STATUS_OFF;} find: ' <td class="dataTableContent" valign="top">' . nl2br(tep_db_output($orders_history['comments'])) . '&nbsp;</td>' . "\n" . add after: ' <td class="dataTableContent" valign="top">' . $cs . '&nbsp;</td>' . "\n" .
×