Jump to content

Black Thunder

Members
  • Content count

    38
  • Joined

  • Last visited

  1. Hi all I'm using the latest 1.04 version of this contributions on MS1 with no problems, however I do need to find a way to make payments deferred by default, has this been mentioned anywhere? If not does anybody have any suggestions as to where to start to modify the script :?: Thanks Andy
  2. Hi all I'm using the latest 1.04 version of this contributions on MS1 with no problems, however I do need to find a way to make payments deferred by default, has this been mentioned anywhere? If not does anybody have any suggestions as to where to start to modify the script :?: Thanks Andy
  3. Black Thunder

    State Based Region Shipping Rates

    Hi Firstly, just wanted to say great contribution! :D Secondly, I notice that its already been mentioned but tax calculation on shipping would be really useful, especially for UK retailers and probably other countries also that add VAT to shipping. I've tried to modify the code myself to add the tax option but no luck so far, if anybody could help and give me a few pointers I'd be really greatful. Thanks Andy
  4. Black Thunder

    CUSTOM COMPUTER CREATOR 7 RELEASED

    Hi Just wanted to say a big THANK YOU for all the clearly hard work that has been put into this mod. I've got everything working fine, but I just need to add some more products to the available options, a common theme that I see others have mentioned several times in this thread already, and while the possibility of a new management feature in admin sounds excellent I'd really like to make this addition to my site sooner rather than later, so I'm happy to try and add the products manually until the new release is available. I thought I had it all sorted, it looked like a lot of work, but do-able, but I seem to have run into a brick wall, a big wide tall wall with barbed wire!! :) I've made the additions to the database in both the ccc table and the product table; duplicated the info in build.php, java.php, custom_checkout.php and custom computer.php and changed all the appropriate names in these files. This has got me to the stage where the additional option shows on build.php and the products show in the product drop down, my only problem is that I appear to have broken the javascript (java.php) I've checked and re-checked but can't see the error so I wondered if anybody that has managed to add aditional products could either give me a few pointers, or better still email me their build.php, java.php, custom_checkout.php and custom computer.php files for me to study further. Alternatively if anybodies nearly ready to release an update or needs some testing on something they're working on with regard to adding products I'll be happy to help test. Thanks Andy
  5. Black Thunder

    PDF Data Sheet Maker / Worked - Stopped - Any Ideas?

    Hi Found the problem, I had a piece of additional java scripting included in the application top page, it was causing the error. taken it out and moved it to a different location and all's well again. Thanks for the info, couldn't have done it without your advice on which files effect the pdf contribution. Andy
  6. Hi I installed the data sheet maker a while back and it worked great and thought that was that great it works, however, I've been changing loads of things around just small differences in a lot of page files, pictures mainly so I can't think what I must have done but I've now gone to test the PDF sheets again and they don't work. what I get is a jumbled mess %PDF-1.3 3 0 obj <>>>] /Contents 4 0 R>> endobj 4 0 obj <> stream x??UM??8??W?1Se$@>l?LY?(K???u?̜??%O??????uі3d_m6??|??Bam????%??l? ???R???[?٬5?4???k???T<???4????=?vm???v??1?%??Է??,ԌF???%??$f}?J??a?R?X?Q 1O=???e???)??[t܎??Ŭ?$??*?6 ???V?(S?GS??y??4??ʻ??-6H??:?ւ?d ??-?ְT(????????kZ???q?xy?=??_??? H?x%???????q~N wd8?=??2???Rٷ`Ub?h,??V??Y?}?jSZl?8G?~`?3ꈽ:?d?}P??????#? endstream endobj 1 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj 7 0 obj <> endobj 2 0 obj <> >> endobj 8 0 obj << /Producer (FPDF 1.51) /CreationDate (D:20030627141840) >> endobj 9 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /XYZ null null 1] /PageLayout /OneColumn >> endobj xref 0 10 0000000000 65535 f 0000001239 00000 n 0000001627 00000 n 0000000009 00000 n 0000000243 00000 n 0000001326 00000 n 0000001427 00000 n 0000001523 00000 n 0000001735 00000 n 0000001811 00000 n trailer << /Size 10 /Root 9 0 R /Info 8 0 R >> startxref 1920 %%EOF does anybody have any ideas what I may have edited that would cause such a problem, everything else works with regard to product listings. What are the main pages the PDF contribution refers to, this must be a good place to start looking? anybody can offer any help I'd be grateful Thanks all Andy
  7. Hi Does anybody know how to stop Linda's free shipping module from stopping all the other paid for shipping options from showing up? It would be really nice if I could get it to allow free shipping as an option but not the only option so that I could offer free three day delivery and allow paid for delivery if they need the item next day. As is, once you go over the pre-defined free shipping limit the free shipping option shows up but no others are available any longer I'm kinda sure it must be a simple IF statement or something similar somewhere but I just can't find it. I'm kinda new to PHP so any pointers in the right direction would be great. Thanks Andy
  8. Black Thunder

    coolMenu

    Hi I have the coolmenu mod working and didnt take too long to set up either, nice mod! :wink: I wondered if it was possible to make additional buttons show up in the coolmenu format taken from other parts of the store. For example I want a few of my links currently in the information box to show up in the coolmenu format. Is this possible and if so can anyone give me a few pointers Thanks Andy
  9. Black Thunder

    Problem with RMA Return contribution

    Hi David Thanks that corrected the problem, and thanks again for a great contribution, not only that but you've offered some great backup for those having a few problems, myself included A great contribution and one which I hope gets considered for integration into the next release of the core code, I think it would benefit a lot of people. Thanks again :D Andy
  10. Black Thunder

    Problem with RMA Return contribution

    Hi This is a great contribution, taken a while to iron a few problems out but the end result is great. :D Its working pretty smoothly now except for one small thing, I don't seem to be able set a default value for the returns status, the option to select the default shows up, it just doesnt seem to have any effect on the setting. At the moment I don't have a default meaning that I can only find new RMA's by scanning through all of them to see if theres a new one instead of being able to seperate the new RMA's as the default setting e.g Pending or Awaiting Processing etc. I've checked on the other options within the mod such as return methods and return reasons and the default setting work fine Anyone have any ideas as to what the problem could be, do you think this is more likely to be a database problem or a code problem :?: Any suggestions would be great Thanks Andy
  11. Black Thunder

    Invoice modification

    Hi found a possible problem, I don't know if anyone else has experienced this but when I click on the link from a confirmed order email it trys to take you to the order as it should and it returns this error Parse error: parse error, unexpected T_ELSE in /home/black-th/public_html/online/account_history_info.php on line 150 I have the RMA feature installed and running fine on Loaded 5, however this could be a conflict between the two scripts perhaps? my account_history_info.php looks like this - Appologies in advance for the long post <?php /* $Id: account_history_info.php,v 1.91 2003/01/09 15:55:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } $customer_number_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['order_id'])) . "'"); $customer_number = tep_db_fetch_array($customer_number_query); if ($customer_number['customers_id'] != $customer_id) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_HISTORY_INFO); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_3, tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $HTTP_GET_VARS['order_id'], 'SSL')); require(DIR_WS_CLASSES . 'order.php'); $order = new order($HTTP_GET_VARS['order_id']); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_history.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" colspan="2"><b><?php echo sprintf(HEADING_ORDER_NUMBER, $HTTP_GET_VARS['order_id']) . ' <small>(' . $order->info['orders_status'] . ')</small>'; ?></b></td> </tr> <tr> <td class="smallText"><?php echo HEADING_ORDER_DATE . ' ' . tep_date_long($order->info['date_purchased']); ?></td> <td class="smallText" align="right"><?php echo HEADING_ORDER_TOTAL . ' ' . $order->info['total']; ?></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <?php if ($order->delivery != false) { ?> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo HEADING_DELIVERY_ADDRESS; ?></b></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td> </tr> <?php if ($order->info['shipping_method']) { ?> <tr> <td class="main"><b><?php echo HEADING_SHIPPING_METHOD; ?></b></td> </tr> <tr> <td class="main"><?php echo $order->info['shipping_method']; ?></td> </tr> <?php } ?> </table></td> <?php } ?> <td width="<?php echo (($order->delivery != false) ? '70%' : '100%'); ?>" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (sizeof($order->info['tax_groups']) > 1) { ?> <tr> <td class="main" colspan="2"><b><?php echo HEADING_PRODUCTS; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td> </tr> <?php } else { ?> <tr> <td class="main" colspan="3"><b><?php echo HEADING_PRODUCTS; ?></b></td> </tr> <?php } $size = sizeof($order->products); for ($i=0; $i<$size; $i++) { $rma_query_one = tep_db_query("SELECT returns_id FROM " . TABLE_RETURNS_PRODUCTS_DATA . " where products_id = '" . $order->products[$i]['id'] . "' and order_id = '" . $HTTP_GET_VARS['order_id'] . "'"); $rma_query = tep_db_fetch_array($rma_query_one); $rma_number_query = tep_db_query("SELECT rma_value FROM " . TABLE_RETURNS . " where returns_id = '" . $rma_query['returns_id'] . "'"); $rma_result = tep_db_fetch_array($rma_number_query); $return_link = '<font color=blue><b>Return # <a href="returns_track.php?action=returns_show&rma=' . $rma_result['rma_value'] . '">' . $rma_result['rma_value'] . '</a>'; } else { $return_link = '<a href="' . tep_href_link(FILENAME_RETURN, 'order_id=' . $HTTP_GET_VARS['order_id'] . '&products_id=' . ($order->products[$i]['id']), 'SSL') . '"><font color=red><b>Return this product</a></b></font>'; } echo ' <tr>' . "n" . ' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "n" . ' <td class="main" valign="top">' . $order->products[$i]['name']; // BEGIN - Product Serial Numbers if (tep_not_null($order->products[$i]['serial_number'])) echo ' (Serial #: ' . $order->products[$i]['serial_number'] . ')'; // END - Product Serial Numbers if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { $sizea = sizeof($order->products[$i]['attributes']); for ($j=0; $j<$sizea; $j++) { echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>'; } } echo '</td>' . "n"; if (sizeof($order->info['tax_groups']) > 1) echo ' <td class="main" valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "n"; echo ' <td class="main" align="right" valign="top">' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</td>' . "n" . ' </tr>' . "n"; } ?> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_BILLING_INFORMATION; ?></b></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo HEADING_BILLING_ADDRESS; ?></b></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br>'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_PAYMENT_METHOD; ?></b></td> </tr> <tr> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> <td width="70%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php $size = sizeof($order->totals); for ($i=0; $i<$size; $i++) { echo ' <tr>' . "n" . ' <td class="main" align="right" width="100%">' . $order->totals[$i]['title'] . '</td>' . "n" . ' <td class="main" align="right">' . $order->totals[$i]['text'] . '</td>' . "n" . ' </tr>' . "n"; } ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_ORDER_STATUS; ?></b></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php $statuses_query = tep_db_query("select os.orders_status_name, osh.date_added from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . $HTTP_GET_VARS['order_id'] . "' and osh.new_value = os.orders_status_id and os.language_id = '" . $languages_id . "' order by osh.date_added desc"); while ($statuses = tep_db_fetch_array($statuses_query)) { echo ' <tr>' . "n" . ' <td class="main">' . tep_date_short($statuses['date_added']) . '</td>' . "n" . ' <td class="main">' . $statuses['orders_status_name'] . '</td>' . "n" . ' </tr>' . "n"; } ?> </table></td> <td width="70%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo HEADING_COMMENT; ?></b></td> </tr> <tr> <td class="main"><?php echo ((strlen($order->info['comments']) > 0) ? nl2br($order->info['comments']) : '<i>' . TEXT_NO_COMMENTS_AVAILABLE . '</i>'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php $check_status_query = tep_db_query("select orders_status from " . TABLE_ORDERS . " where orders_id = '" . tep_db_input($order_id) . "'"); $check_status = tep_db_fetch_array($check_status_query); if ($check_status['orders_status'] <= ORDER_CANCEL_CHANGE_ID) { ?> <tr> <td class="main" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_RESTORE_ORDER, 'oID=' . $HTTP_GET_VARS['order_id']) . '">' . tep_image_button('button_restore_order.gif', 'Change/Cancel') . '</a>'; ?> <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> </tr> <?php } else { ?> <tr> <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> </tr> <?php } ?> </table></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> As I said, appologies for the long post, I'm not all that great with php and wasn't sure which part would be the most relevant, if I cut a bit of the page scripting out it could be this part thats the problem. Any help on this would be greatly appreciated as this is a great addon and would add a great deal of functionality to the store Best Regards Andy
  12. Thanks for a great addon Warren As has already been mentioned a nice addon that installed in just under 10 mins, no problems. :D The notification email suggested by Druide sounds like a nice idea as well. Andrew
  13. Black Thunder

    Invoice modification

    Hi Great contribution, this one will really help me out, thanks to all those involved, I've installed the mod and it appears to be working fully, however I get the following error code in the orders page in admin 1054 - Unknown column 'new_value' in 'field list' select new_value, old_value, date_added, customer_notified from orders_status_history where orders_id = '2' order by orders_status_history_id desc [TEP STOP] I'm running it on loaded 5 Anyone got any ideas on why this error code is showing up :?: Thanks Andy
  14. Black Thunder

    PaySystems Module 1.0 HELP

    Hi I'm having exactly the same problem as those above with the option not showing up in the shopping cart. How did you manage to correct the problem. Maybe someone could post the answer to this forum as it seems like quite a common problem and would probably help a lot of people, me included Regards Andrew
  15. Black Thunder

    Worldpay 4.0 - Version 1.0

    Thanks Phil That worked out great :D I just took a quick look at your site, its gona look great when its finished, I know this is a little off topic but how did you get the boxes to be round in all the corners, it looks pretty smart Cheers Andy
×