ce7

Members
  • Content count

    295
  • Joined

  • Last visited

  • Days Won

    1

ce7 last won the day on June 5 2015

ce7 had the most liked content!

Community Reputation

2 Neutral

About ce7

Profile Information

  • Real Name
    lyn
  1. Hi, I am trying to put addon #7921 Display 2 prices (w/VAT and w/out VAT) at the same time on BS version, it works ok with 2.3.4 version, show the correct price with and without VAT, In currencies.php replace: return $this->format( $this->calculate_price($products_price, $products_tax, $quantity)) with: return $this->format( $products_price * $quantity) . ' (without VAT)<br>' . $this->format( tep_add_tax($products_price, $products_tax) * $quantity) . ' (with VAT)<br>' however on BS version, it show both price the same price that has not VAT, if just print out $product_tax, instead of 10%, it actually become x10, so the price like $10.00 (without VAT) , it become $100.00 (with VAT). Not very good skill at PHP programming, so not sure where to check the problem. Can any one please help? Thanks!
  2. @29gk Hi George, Thanks for the HOME button code details. If I like to have the 2nd layer drown down for the home button when hover down, (eg, about us, contact us...), how can I make it work, or can i say how can i make the other information box show up next to the categories drop down menu? Thanks! Lyn
  3. Hi, If I want to put logo on the right on the header, but also an extra image on the left of the logo to show contact detail image, is it possible and how can i do it? Thanks! Lyn
  4. for people who is like me not familiar with BS yet, here is the answer for the logo: Has to enable the logo first by clicking admin/modules/content/install modules/select LOGO :shifty:
  5. Hi Phil, Thank you very much for your reply. I am using the newburns versions of BS, which has the below list pre-installed: SEO Header Tags Reloaded added -- http://addons.oscommerce.com/info/8864 Order Editor added - http://addons.oscommerce.com/info/7844 Mail Manager added - http://forums.oscommerce.com/topic/397966-mail-manager-for-osc-v23/ Custom Default Sort Order and Type - http://forums.oscommerce.com/topic/308798-product-listing-sort-order/ KISS Image Thumbnailer r20 added - http://addons.oscommerce.com/info/9206 Custom change for product attribute sort ordering added - http://forums.oscommerce.com/topic/123629-sorting-attributes/ Manual Order Maker added - http://addons.oscommerce.com/info/8334/v,23 Database Check Tool 1.4 added - http://addons.oscommerce.com/info/9087 Alternative Administration System added - http://addons.oscommerce.com/info/9135 Gergely SMTP Email Addition - http://forums.oscommerce.com/topic/94340-smtp-authentication-and-oscommerce/page-2#entry1697522 Security Pro R11 -- http://addons.oscommerce.com/info/7708 MailBEEZ Customer Relations Manager added -- http://www.mailbeez.com/quickstart/?id=1 Credit Class, Gift Vouchers & Discount Coupons osC2.3.3.4 (CCGV) added -- http://addons.oscommerce.com/info/9020 Purchase Without Account (PWA) added -- http://addons.oscommerce.com/info/9142 and on top of it, I installed 2599 Admin notes without problem. Tried to install the 8343 (osC v2.2) Addons Installed, and the error message occurred when trying to edit from the admin back end, hence can never saved the entries to database. Also I am facing the problem just now, to upload the logo. I had modified the logo size to 512W x 60H, it showed the store logo upload successfully at the back end, and the image are successfully saved at images folder, however when you go to the front end it still no show the logo at all, is it because also need to put the #header details to the user.css? Just trying to learn how to use user.css as the BS version is totally different to the osC2.3.4 version.... any links/suggestions are welcome as well. Many thanks in advance! Lyn
  6. Tried to install "addons install" and have the problem when edit the entry. Warning: Cannot modify header information - headers already sent by (output started at xxxx /includes/template_top.php:14) in xxxx includes/functions/general.php on line 50 template_top.php: 14 <html <?php echo HTML_PARAMS; ?>> general.php line 50 header('Location: ' . $url); i know this maybe asked before, but i am not very good with progamming, so even after read through the threads, still can not figure out what is going on, please help, thanks!
  7. hi, thanks for the prompt reply. I tried to installed it on 2.3.4 version this time, and it show the message, Shipping is currently not available for the selected shipping address. Please select or create a new shipping address to use with your purchase. i put 2 australia address and enable both australia post local and overseas shipping mode, what does it mean and how should I check, thanks!
  8. hi, i am trying to install it on the BS version, it showes up all the shipping option, but the button to go to the next stage is missing. Does it means it is not compatible with the BS version? thanks!
  9. hi @auzStar i installed your addons for a while, and was working ok, but recently all a sudden my clients can not make order, and the error message is same as @mafiouso, which he mentioned about the heigh, i really have no idea which file and what part of the code to check with, can you please help. It doesn't change to the payment page if i change the code of array_multisort($quote, SORT_ASC, $quotes); to if(is_array($quote)) { array_multisort($quote, SORT_ASC, $quotes); } it still doesn't go to the next process: payment PS I can go to the next payment stage only if i change the shipping address to overseas! thanks!
  10. hi, i have the same error, but i did not enter the high information to my product, and it did not happen to all other products, just a certain product, can you please kindly mentioned which file and which part of code to check with? Many thanks!
  11. the admin/admin_acl.php file details as below: not good at the programming, so not sure which part causing this redirect looping problem: <?php /* * admin_acl.php * September 26, 2006 * author: Kristen G. Thorson * ot_discount_coupon_codes version 3.0 * * * Released under the GNU General Public License * url: http://www.plushbedz.com/admin/admin_acl.php?aID=plushbedz2 */ /**********************************************/ require( 'includes/application_top.php' ); require( DIR_WS_CLASSES.'admin_acl.php' ); if( tep_not_null( $error ) ) { $messageStack->add( $error, 'error' ); } if( tep_not_null( $message ) ) { $messageStack->add( $message, 'success' ); } $action = ( isset( $HTTP_POST_VARS['action'] ) ? $HTTP_POST_VARS['action'] : '' ); if( isset( $HTTP_GET_VARS['aID'] ) && $HTTP_GET_VARS['aID'] != '' ) $user_name = tep_db_input( $HTTP_GET_VARS['aID'] ); else tep_redirect( tep_href_link( 'admin_acl.php', 'error='.ERROR_ADMIN_ACL_SAVE ) ); if( !( $admin_acl = new admin_acl( $user_name ) ) ) tep_redirect( tep_href_link( 'admin_acl.php', 'aID='.$user_name.'&error='.ERROR_ADMIN_ACL_INVALID ) ); if( tep_not_null( $action ) ) { switch( $action ) { case 'Save': //print_r( '<pre>'.print_r( $exclusion, true ).'</pre>' ); // print_r( '<pre>'.print_r( $HTTP_POST_VARS['selected_options'], true ).'</pre>' );exit; $admin_acl->save( $HTTP_POST_VARS['selected_options'] ); tep_redirect( tep_href_link( 'admin_acl.php', 'aID='.$user_name.'&message='.MESSAGE_ADMIN_ACL_SAVED ) ); break; case 'Cancel': break; } tep_redirect( tep_href_link( 'admin_acl.php', 'aID='.$user_name ) ); } else { // get_selected_options $selected_options = ''; $selected_ids = array(); $sql_selected = 'SELECT * FROM administrators_acl WHERE user_name="'.$user_name.'" group by menu_heading,page_name '; $result = tep_db_query( $sql_selected ); $selected_urls = array(); if( tep_db_num_rows( $result ) > 0 ) { $menu_heading = ''; $h = 0; while( $row = tep_db_fetch_array( $result ) ) { if($menu_heading != $row['menu_heading']) { $menu_heading = $row['menu_heading']; if($h) $selected_options .= '</optgroup>'; $selected_options .= '<optgroup label="'.$row['menu_heading'].'">'; } $selected_ids[] = $row['blocked_url']; $selected_options .= '<option value="'.$row['menu_heading'].','.$row['page_name'].','.$row['blocked_url'].'">'.$row['page_name'].'</option>'; } if($h) $selected_options .= '</optgroup>'; } // get_all_options $cl_box_groups = array(); $menu_options = ''; if ($dir = @[member='dir'](DIR_FS_ADMIN . 'includes/boxes')) { $files = array(); while ($file = $dir->read()) { if (!is_dir($dir->path . '/' . $file)) { if (substr($file, strrpos($file, '.')) == '.php') { $files[] = $file; } } } $dir->close(); natcasesort($files); foreach ( $files as $file ) { if ( file_exists(DIR_FS_ADMIN . 'includes/languages/' . $language . '/modules/boxes/' . $file) ) { include(DIR_FS_ADMIN . 'includes/languages/' . $language . '/modules/boxes/' . $file); } include($dir->path . '/' . $file); } } //usort($cl_box_groups, array("admin_acl", "tep_sort_admin_boxes")) $admin_acl; usort($cl_box_groups, array($admin_acl, "tep_sort_admin_boxes")); foreach ( $cl_box_groups as &$group ) { //usort($group['apps'], array("admin_acl", "tep_sort_admin_boxes_links")); usort($group['apps'], array($admin_acl, "tep_sort_admin_boxes_links")); } foreach ($cl_box_groups as $groups) { $menu_options .= ' <optgroup label="'.$groups['heading'].'">'; foreach ($groups['apps'] as $app) { if(!(in_array($app['link'], $selected_ids)) ) $menu_options .= '<option value="'.$groups['heading'].','.$app['title'].','.$app['link'].'">'.$app['title'].'</option>'; } $menu_options .= '</optgroup>'; } } require(DIR_WS_INCLUDES . 'template_top.php'); ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="5" cellpadding="0"> <tr> <td class="pageHeading"><?php echo sprintf( HEADING_TITLE, $user_name ); ?></td> <td class="specialPrice" align="right"></td> </tr> <tr> <td colspan="2"> <?php echo tep_draw_form( 'choose'.$admin['username'], 'admin_acl.php', 'aID='.$user_name, 'post', 'onsubmit="form_submission( document.getElementById(\'selected_optons\') )"' ).' <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="main">'.HEADING_AVAILABLE.'</td> <td align="center"> </td> <td align="center" class="main">'.HEADING_SELECTED.'</td> </tr> <tr> <td rowspan="5" align="center"> <select name="available_options[]" size="20" multiple="" style="width: 300px" id="available_optons"> '.$menu_options.' </select> </td> <td align="center"><input name="choose_all" type="button" id="choose_all" value="Choose All >" onclick="selectAll( document.getElementById(\'selected_optons\'), document.getElementById(\'available_optons\') )"></td> <td rowspan="5" align="center"> <select name="selected_options[]" size="20" multiple="" style="width: 300px" id="selected_optons"> '.$selected_options.' </select> </td> </tr> <tr> <td align="center"><input name="add" type="button" id="add" value="> >" onclick="updateSelect( document.getElementById(\'selected_optons\'), document.getElementById(\'available_optons\') )"></td> </tr> <tr> <td align="center"><input name="subtract" type="button" id="subtract" value="< <" onclick="updateSelect( document.getElementById(\'available_optons\'), document.getElementById(\'selected_optons\') )"></td> </tr> <tr> <td align="center"><input name="remove_all" type="button" id="remove_all" value="< Remove All" onclick="selectAll( document.getElementById(\'available_optons\'), document.getElementById(\'selected_optons\') )"></td> </tr> <tr> <td align="center"><input name="action" type="submit" id="action" value="Save"> <input name="action" type="submit" id="action" value="Cancel"></td> </tr> </table> </form>'; echo tep_draw_button('Back', 'document', tep_href_link(FILENAME_ADMINISTRATORS)); ?> </td> </tr> </table></td> </tr> </table> <script language="javascript" type="text/javascript"><!-- function updateSelect( to_select, from_select ) { for( var i = 0; i < from_select.options.length; i++ ) { if( from_select.options[i].selected ) { var newOption = new Option( from_select.options[i].text, from_select.options[i].value ) to_select.options[ to_select.options.length ] = newOption; } } deleteOptions( from_select ); } function deleteOptions( delete_select ) { for( var i = 0; i < delete_select.options.length; i++ ) { if( delete_select.options[i].selected ) { delete_select.options[i] = null; i=-1; } } } function selectAll( to_select, from_select ) { for( var i=0; i < from_select.options.length; i++ ) { from_select.options[i].selected = true; } updateSelect( to_select, from_select ); } function form_submission( to_select ) { for( var i=0; i < to_select.options.length; i++ ) { to_select.options[i].selected = true; } } //--></script> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  12. Hi there, I have installed the addon administrator ACL http://addons.oscommerce.com/info/9102 when i click the Admin Access List on the Configuration Content, it just show up the error: redirected you too many times. I had google and found one page related: http://forums.oscommerce.com/topic/397457-adminloginphp-error-this-webpage-has-a-redirect-loop/ it mentioned as below: Finally stumbled on missing admin values to be added to admin/includes/configure.php define('HTTP_COOKIE_PATH', '/catalog/admin/'); define('HTTPS_COOKIE_PATH', '/catalog/admin/'); I had add these two lines and change the path related to my site, but still I have the same error and can not make it link to admin_acl.php page. Can anyone please help, thanks! And when I click on the Administrator page, click on the button "Access List", there are error message as below: Strict Standards: usort() expects parameter 2 to be a valid callback, non-static method admin_acl::tep_sort_admin_boxes() should not be called statically in /mywebsite.com/admin/admin_acl.php on line 107 Strict Standards: usort() expects parameter 2 to be a valid callback, non-static method admin_acl::tep_sort_admin_boxes_links() should not be called statically in /mywebsite.com/admin/admin_acl.php on line 110 and i can edit the access level.
  13. @ MrPhil Hi, Phil, With easy populate, will it also work for IP address? I know most of the excel import or export is related to product, order, or customer, but i have few addons related to IP and it takes lots of time to add manually one by one, it will be great if i can populate the IP list. Any suggestion, thanks!
  14. @auzStar Hi, it ce7 again. I did not really fix problem list previously as Australia Post never reply me back after half year past, two years ago i tried to contact with them, no respond at all as well. Very frustrated with bad Australia Post services. Anyway, I still use your key to show the postage, because if i use the key I applied from Australia post, i will get the error message as below: Sorry, you are not authorised to use this service. And not show if it is because it is not my key, so if clients click on the paypal express button, the postage will not add on top of the shopping cart total, if there a way manually to let client to enter the postage before pay the paypal account? thanks!
  15. @Jack_mcs Hi Jack , First of all, thanks for this addon. I installed and it works great! I did not read through the 10 pages, i have to be honest with you first, so if i asked the question asked before, please excuse me. My question is that so far as I know client send a request via email to request for quote, what if the website owner want to send a quotation to client who did not send quote request via email but via phone. Is there a way to create quotation to both registered customer and not yet registered customer? (And will be good if can also add the estimated shipping cost) thanks