Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


mattjt83 last won the day on July 22 2016

mattjt83 had the most liked content!

About mattjt83

  • Birthday 12/21/1983

Profile Information

  • Real Name
    Matt Toste
  • Gender
  • Location
    CA, USA
  • Interests
    Most anything related to computers, websites, and cooking
  • Website

Recent Profile Visitors

47,644 profile views
  1. I just wanted to add a bit to this thread. I have implemented Apple Pay on my osC site and it works well. I used stripe for my integration as it was the least headache inducing of the options I found. I would share code but my integration is extremely customized for my shop. Basically it consists of the following: A new payment module that outputs on the cart page. a page in the ext/modules/payment folder to handle call backs The stripe PHP API code Most of the code can be found on the stripe website but of course implementing the various aspects of the code has to be done by you (shipping modules, order totals, etc...) I'm glad to answer any questions you have about the integration. It makes checking out extremely streamlined and simple!
  2. @@hyperweb Glad you got your issue sorted out for your client. Best of luck on your project!
  3. I still use my version of this and have not had that error come up.
  4. I have been using the key system for a few weeks now and I am very happy with it so far. I have added some hooks to automate most of the processes, changed the email to an html email with admin configuration options for altering the looks of the email, and I have added a cron job to run the review emails automatically for me based on configuration options set in the admin. Finally I can get away from the mailbeez review system.
  5. It could be manipulated by the end user but I would say it's few and far between that a user knows how to do this and wants to take the time to do it. You could use javascript to manipulate the html and add in @@burt code to make the field required.
  6. @@burt @@mcmannehan You could do a lot of this, probably all of it, via javascript in a header tag module instead of hacking apart these core files. Also what's up with this part: if ( tep_output_string($values[$i]['id']) != 1384 && tep_output_string($values[$i]['id']) != 1411 ) {
  7. I believe if you are using the PayPal App and are up to date with it you should be fine.
  8. Thank you for the update to fix the alignment @@Harald Ponce de Leon
  9. @@Harald Ponce de Leon That corrects the alignment issue for me :)
  10. @@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.
  11. @@greasemonkey Mine is no longer aligned right. Is there a setting for this? I can't seem to find one.
  12. Do you have a link to the gmail script?
  13. @@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 :)
  14. @@ArtcoInc
  15. @@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 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="//" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> <script src="//" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> <link rel="stylesheet" type="text/css" href="includes/iBar.css"> <link rel="stylesheet" href="//"> <!-- 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');