Jump to content

mattjt83

♥Ambassador
  • Content count

    557
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by mattjt83

  1. mattjt83

    addthis

    I had a quick look at that addon and there isn't anything in it that allows you to customize the image shown. You may be able to grab some custom code from the addthis website but I'm not sure since I don't use it.
  2. mattjt83

    addthis

    If you can post the code for the addon and also which addon you are referring to someone can probably give you a little better guidance as to what needs to be changed.
  3. mattjt83

    [Contribution] Customer Support Portal

    @GLWalker That would be awesome. If you need some incentive just PM me the details :)
  4. mattjt83

    [Contribution] Customer Support Portal

    Typo in includes/modules/header_tags/customer_service/modules/bstour/dashboard.js { element: ".tour-step.dashboard-outro", orphan: true, backdrop: true, title: "Dashboard Complete!", content: "Congratulations! You finished the dashboard tour. Perform any action to take another tour and learn about it. When you complete all the tours, ask an adminstrtor to switch it off for your account." } Should be { element: ".tour-step.dashboard-outro", orphan: true, backdrop: true, title: "Dashboard Complete!", content: "Congratulations! You finished the dashboard tour. Perform any action to take another tour and learn about it. When you complete all the tours, ask an administrator to switch it off for your account." }
  5. mattjt83

    [Contribution] Customer Support Portal

    Found a typo in includes/modules/header_tags/customer_service/template_top.php <div class="alert-message alert-message-succss"> Assuming it should be <div class="alert-message alert-message-success">
  6. mattjt83

    [Contribution] Customer Support Portal

    Just noting a couple of errors... in #scModal <input type="email" name="user_email" required aria-required="true" placeholder="Search..." class="form-control" class="form-control"/> In #osModal <input type="text" name="oID" required aria-required="true" placeholder="Search..." class="form-control" class="form-control"/> in #csModal <input type="text" name="search" required aria-required="true" placeholder="Search..." class="form-control" class="form-control"/> All pages are missing (includes/modules/header_tags/customer_service/template_top.php) <!DOCTYPE html>
  7. mattjt83

    [Contribution] Customer Support Portal

    @GLWalker Is there a way to edit existing orders? I'm giving this a spin but I didn't see that option.
  8. Can't load the two new topics Harald posted. Are they not publicly available?

  9. @burt I thought you had also partially merged into the Matrix? :)
  10. mattjt83

    One-Page / Guest Checkout

    I've been working on this for a while now but real life has been getting in the way. The difference with mine is just that you don't have to create an account first. Yes, eventually the person will have to enter the data regardless but it's how they perceive the task that matters. I think it's very important to understand your customers and design your site/checkout experience around that. If most of your customers are one-off sort of things than a guest checkout can make a lot of sense.
  11. mattjt83

    One-Page / Guest Checkout

    Here's a good article: https://www.smashingmagazine.com/2017/05/better-form-design-one-thing-per-page/ I might actually rework my checkout with this in mind.
  12. mattjt83

    One-Page / Guest Checkout

    I had a one page checkout on my site and it led to all sorts of issues. It was inherently glitchy and confused customers. After that I decided to code and sell Better Checkout. I still use it on my site but I do not sell it anymore because I don't like all the changes required to make payment modules work properly. Basically, your customers can checkout with or without an account and it's seamless. It splits the checkout up into manageable chunks for customers and is easier to maintain code-wise. You are welcome to check it out on my site and see what you think maybe just to get some ideas. Mine is highly customized. The more that I read on the topic it seems that people in general do better with small simple checkout pages and don't mind having to complete 3 or 4 SIMPLE steps (pages).
  13. mattjt83

    New Payflow requirement: TLS 1.2 & HTTP/1.1

    I believe if you are using the PayPal App and are up to date with it you should be fine.
  14. mattjt83

    PayPal App for osCommerce Online Merchant

    Thank you for the update to fix the alignment @@Harald Ponce de Leon
  15. mattjt83

    PayPal App for osCommerce Online Merchant

    @@Harald Ponce de Leon That corrects the alignment issue for me :)
  16. mattjt83

    PayPal App for osCommerce Online Merchant

    @@greasemonkey You can float the span that holds the iframe right but then you have to clear the float. I'd rather not try and code around the issue though since it is a pain and will likely get overwritten soon anyway.
  17. mattjt83

    PayPal App for osCommerce Online Merchant

    @@greasemonkey Mine is no longer aligned right. Is there a setting for this? I can't seem to find one.
  18. mattjt83

    [Addon] iBar Dashboard Modules

    Do you have a link to the gmail script?
  19. mattjt83

    [Addon] iBar Dashboard Modules

    @@Dan Cole I kind of felt like this was a separate module than the standard dashboard modules which is why I separated it out from them in the hook. I think I'll add it to my live site and see how I like it :)
  20. mattjt83

    [Addon] iBar Dashboard Modules

    @@Dan Cole On a standard setup you can't get the icon modules to be in a nice little row like in the screenshots. I decided to code up a hook and display the iBar modules on their own at the top of the page instead of altering my index page to accommodate them. on admin/index.php under this: $adm_array = explode(';', MODULE_ADMIN_DASHBOARD_INSTALLED); I added this: //BOF iBar echo $OSCOM_Hooks->call('index', 'indexiBarOutput'); //EOF iBar Then I created a hook file catalog/includes/hooks/admin/index/iBar.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2017 osCommerce Released under the GNU General Public License */ class hook_admin_index_iBar { function listen_indexiBarOutput() { global $adm_array, $language; if ( is_array( $adm_array ) && sizeof( $adm_array ) > 0 ){ $iBar_array = array(); $new_adm_array = array(); foreach ( $adm_array as $key => $value ){ if ( strpos( $value, 'iBar' ) !== false ) { $iBar_array[] = $value; }else{ $new_adm_array[] = $value; } }//eof foreach //set new $adm_array without iBar modules included if ( sizeof( $new_adm_array ) > 0 ){ $adm_array = $new_adm_array; } //build iBar modules output here if ( sizeof( $iBar_array ) > 0 ){ $iBar_output = '<!-- BOF iBar additions --> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> <link rel="stylesheet" type="text/css" href="includes/iBar.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- EOF iBar additions -->'; $iBar_output .= '<tr><td colspan="2"><div class="row">'; for ( $i=0, $n=sizeof($iBar_array); $i<$n; $i++ ) { $adm = $iBar_array[$i]; $class = substr($adm, 0, strrpos($adm, '.')); if ( !class_exists($class) ) { include(DIR_WS_LANGUAGES . $language . '/modules/dashboard/' . $adm); include(DIR_WS_MODULES . 'dashboard/' . $class . '.php'); } $ad = new $class(); if ( $ad->isEnabled() ) { $iBar_output .= $ad->getOutput(); } } $iBar_output .= '</td></tr></div>'; } return $iBar_output; } } } ?> Also don't forget to call the index page hooks with this before the output of the hook: $OSCOM_Hooks->register('index');
  21. mattjt83

    [Addon] iBar Dashboard Modules

    In general I like the look and idea of this addon. I'm not sure how I feel about how it looks on my setup since I did not alter my admin/index.php page besides to add the css/js code required. Also, I wondered if you meant for us to install all of the modules or were some of them optional? The reason being is that some of the modules have links in them which point to nothing if you don't install some of the table modules.
  22. mattjt83

    [Addon] iBar Dashboard Modules

    @@Dan Cole The problem was that the constant was not defined. You might have MODULE_ADMIN_DASHBOARD_IBAR_ORDER_STATUS_TABLE_MAXIMUM defined somewhere else in your code and/or database though so it wasn't failing for you. Maybe it's used by one of the other modules in the iBar set? When you install this module from scratch though you add MODULE_ADMIN_DASHBOARD_IBAR_CUSTOMER_TABLE_MAXIMUM for that particular module and that's what the sql query needs to function properly.
  23. mattjt83

    [Addon] iBar Dashboard Modules

    @@Dan Cole Hi Dan, Gave this a shot today to check it out. I found an error in d_iBar_customer_table.php that causes a mySQL error. This: $customers_query = tep_db_query("select c.customers_id, c.customers_lastname, c.customers_firstname, ci.customers_info_date_account_created from " . TABLE_CUSTOMERS . " c, " . TABLE_CUSTOMERS_INFO . " ci where c.customers_id = ci.customers_info_id order by ci.customers_info_date_account_created desc limit " . MODULE_ADMIN_DASHBOARD_IBAR_ORDER_STATUS_TABLE_MAXIMUM . ""); Needs to be: $customers_query = tep_db_query("select c.customers_id, c.customers_lastname, c.customers_firstname, ci.customers_info_date_account_created from " . TABLE_CUSTOMERS . " c, " . TABLE_CUSTOMERS_INFO . " ci where c.customers_id = ci.customers_info_id order by ci.customers_info_date_account_created desc limit " . MODULE_ADMIN_DASHBOARD_IBAR_CUSTOMER_TABLE_MAXIMUM);
  24. mattjt83

    PayPal App for osCommerce Online Merchant

    @@Harald Ponce de Leon Has the hardcoded admin issue been resolved? I was planning to run my update this morning. Thanks
×