Jump to content

greasemonkey

Members
  • Content count

    1,367
  • Joined

  • Last visited

  • Days Won

    25

Reputation Activity

  1. Like
    greasemonkey reacted to frankl in RMA Returns System for osC2.3.4BS   
    Everything good. Business has been huge the past 12 months so I haven't had time to play with osC. Hope you are well.
  2. Like
    greasemonkey reacted to rastlin in ShipStaion for OsCommerce   
    Everything seems to be working perfectly. The issue of No Connection during setup from Ship Station was due to little (stupid) setting within the OSCommerce. My cookies were being forced and this was blocking the connection from SS as SS was not able to use cookies when accessing the site. As soon as this option was turned off from within the OSC the installation from Ship Station was a success. I still had couple other issues due to too long strings that were in my database (payment string) as well as (shipping method string). I had to change those as well as make sure that the new orders would also meet the string length requirements. So far everything is working great. I really appreciate GreaseMonkey helping me look into his contribution and also Special thanks to George from Mini Template System contribution who jumped in and help me find the issue. 
     
     
  3. Like
    greasemonkey reacted to ecartz in UPS XML 1.7 for Phoenix   
    Well, right now we don't have the necessary hook.  So let's add it.  See here.  Find
    $action = (isset($_GET['action']) ? $_GET['action'] : ''); Add before it add
    $OSCOM_Hooks->call('modules', 'preAction'); Now, in includes/hooks/admin/modules/ create a file called canadapost.php or upsxml.php or whatever.php.  I'm going to proceed as if named whatever.  In that file, create a class named hook_admin_modules_whatever, e.g.
    class hook_admin_modules_whatever { function listen_preAction() { if (isset($_GET['module']) && 'whatever.php' == $_GET['module'] && isset($_GET['action']) && 'save' == $_GET['action'] && isset($_POST['configuration'])) { foreach ($_POST['configuration'] as $key => &$value) { if (isset($value) && is_array($value)) { $value = implode(', ', $value); if (false !== strpos($value, '--none--')) { $value = str_replace(', --none--', '', $value); $value = str_replace('--none--, ', '', $value); $value = str_replace('--none--', '', $value); } } } unset($value); } } } My suggestion would be that whatever should be the name of the module.  Note that in the
    'whatever.php' == $_GET['module'] whatever must be the name of the module. 
    After you test that this works, I'll ask Gary to make the core change so that in future versions, you don't have to change admin/modules.php
  4. Like
    greasemonkey reacted to LeeFoster in Facebook Messenger Chat Box Addon   
    And make sure you click save!
  5. Like
    greasemonkey reacted to LeeFoster in Facebook Messenger Chat Box Addon   
    Thanks for your help
  6. Like
    greasemonkey got a reaction from LeeFoster in Facebook Messenger Chat Box Addon   
    @LeeFoster 👍👍 I sent you a test msg
  7. Like
    greasemonkey got a reaction from raiwa in Facebook Messenger Chat Box Addon   
    I've developed a neat little header tag module that drops a Facebook messenger chat box into your site - so much easier than trying to get one of the live chat addons to work and its free.
    Connects to your Facebook (business) Page simply.
    I've tried it on EDGE and PHOENIX and it works perfectly (I'm sure it will work on any version... but haven't tested it).
    Configurable to have the chat box open on load or not (showing the Facebook Messenger Icon only).
    The only thing you need is your Facebook Page ID which can be found with following instructions:
    To find your Page ID:
    From News Feed, click Pages in the left side menu. Click your Page name to go to your Page. Click About in the left column. If you don't see About in the left column, click See More Scroll down to find your Page ID below More Info. Quick Edit - some need to whitelist their domains within their Facebook page:
    Click Settings at the top of your Page Click Messenger Platform on the left Edit whitelisted domains for your page in the Whitelisted Domains section Screencap attached
    Addon found here: https://apps.oscommerce.com/Apps&e18Iy&facebook-messenger-chat-box-addon

  8. Like
    greasemonkey got a reaction from raiwa in Facebook Messenger Chat Box Addon   
    I've developed a neat little header tag module that drops a Facebook messenger chat box into your site - so much easier than trying to get one of the live chat addons to work and its free.
    Connects to your Facebook (business) Page simply.
    I've tried it on EDGE and PHOENIX and it works perfectly (I'm sure it will work on any version... but haven't tested it).
    Configurable to have the chat box open on load or not (showing the Facebook Messenger Icon only).
    The only thing you need is your Facebook Page ID which can be found with following instructions:
    To find your Page ID:
    From News Feed, click Pages in the left side menu. Click your Page name to go to your Page. Click About in the left column. If you don't see About in the left column, click See More Scroll down to find your Page ID below More Info. Quick Edit - some need to whitelist their domains within their Facebook page:
    Click Settings at the top of your Page Click Messenger Platform on the left Edit whitelisted domains for your page in the Whitelisted Domains section Screencap attached
    Addon found here: https://apps.oscommerce.com/Apps&e18Iy&facebook-messenger-chat-box-addon

  9. Like
    greasemonkey got a reaction from raiwa in Facebook Messenger Chat Box Addon   
    I've developed a neat little header tag module that drops a Facebook messenger chat box into your site - so much easier than trying to get one of the live chat addons to work and its free.
    Connects to your Facebook (business) Page simply.
    I've tried it on EDGE and PHOENIX and it works perfectly (I'm sure it will work on any version... but haven't tested it).
    Configurable to have the chat box open on load or not (showing the Facebook Messenger Icon only).
    The only thing you need is your Facebook Page ID which can be found with following instructions:
    To find your Page ID:
    From News Feed, click Pages in the left side menu. Click your Page name to go to your Page. Click About in the left column. If you don't see About in the left column, click See More Scroll down to find your Page ID below More Info. Quick Edit - some need to whitelist their domains within their Facebook page:
    Click Settings at the top of your Page Click Messenger Platform on the left Edit whitelisted domains for your page in the Whitelisted Domains section Screencap attached
    Addon found here: https://apps.oscommerce.com/Apps&e18Iy&facebook-messenger-chat-box-addon

  10. Like
    greasemonkey got a reaction from raiwa in Facebook Messenger Chat Box Addon   
    I've developed a neat little header tag module that drops a Facebook messenger chat box into your site - so much easier than trying to get one of the live chat addons to work and its free.
    Connects to your Facebook (business) Page simply.
    I've tried it on EDGE and PHOENIX and it works perfectly (I'm sure it will work on any version... but haven't tested it).
    Configurable to have the chat box open on load or not (showing the Facebook Messenger Icon only).
    The only thing you need is your Facebook Page ID which can be found with following instructions:
    To find your Page ID:
    From News Feed, click Pages in the left side menu. Click your Page name to go to your Page. Click About in the left column. If you don't see About in the left column, click See More Scroll down to find your Page ID below More Info. Quick Edit - some need to whitelist their domains within their Facebook page:
    Click Settings at the top of your Page Click Messenger Platform on the left Edit whitelisted domains for your page in the Whitelisted Domains section Screencap attached
    Addon found here: https://apps.oscommerce.com/Apps&e18Iy&facebook-messenger-chat-box-addon

  11. Thanks
    greasemonkey reacted to peterbuzzin in PayPal App v5.018 Log In with PayPal is now dead   
    Hi, you are entirely correct, well spotted and that is odd!  When using the code tags in this forum, if you edit the content of a code tag after setting it (which I did a few times), it translates the & into &.  Annoying!!
    Correct code below, unfortunately the forum isn't allowing me to edit my posts any longer.
    ANYONE READING THIS FOR THE FIRST TIME USE THE INSTRUCTIONS AND CODE BELOW AND NOT THE CODE ABOVE
    First of all in your store admin, make sure Telephone Number and Seamless Checkout is unticked, then save the settings. 
    Note: Possible ongoing problems.  Seamless checkout previously allowed users who have logged in via "Log In with PayPal" to continue to make payment without logging in again.  As PayPal has removed Seamless as a scope item I'm not sure if customers will have to login again to PayPal once they get to payment method selection or click a Checkout with PayPal button.  The new connect/api.js may compensate for this automatically but I haven't tested that far yet so cannot comment either way.
    In includes/modules/content/login/templates/paypal_login starting line 18
    Find:
    <script type="text/javascript" src="https://www.paypalobjects.com/js/external/api.js"></script> <script type="text/javascript"> paypal.use( ["login"], function(login) { login.render ({ <?php if ( OSCOM_APP_PAYPAL_LOGIN_STATUS == '0' ) { echo ' "authend": "sandbox",'; } if ( OSCOM_APP_PAYPAL_LOGIN_THEME == 'Neutral' ) { echo ' "theme": "neutral",'; } ?> "locale": "<?php echo $cm_paypal_login->_app->getDef('module_login_language_locale'); ?>", "appid": "<?php echo (OSCOM_APP_PAYPAL_LOGIN_STATUS == '1') ? OSCOM_APP_PAYPAL_LOGIN_LIVE_CLIENT_ID : OSCOM_APP_PAYPAL_LOGIN_SANDBOX_CLIENT_ID; ?>", "scopes": "<?php echo implode(' ', $use_scopes); ?>", "containerid": "PayPalLoginButton", "returnurl": "<?php echo str_replace('&amp;', '&', tep_href_link(FILENAME_LOGIN, 'action=paypal_login', 'SSL', false)); ?>" }); }); </script> Replace with:
    <script type="text/javascript" src="https://www.paypalobjects.com/js/external/connect/api.js"></script> <script type="text/javascript"> paypal.use( ["login"], function(login) { login.render ({ <?php if ( OSCOM_APP_PAYPAL_LOGIN_STATUS == '0' ) { echo ' "authend": "sandbox",'; } if ( OSCOM_APP_PAYPAL_LOGIN_THEME == 'Neutral' ) { echo ' "theme": "neutral",'; } ?> "responseType" : "code id_Token", "locale": "<?php echo $cm_paypal_login->_app->getDef('module_login_language_locale'); ?>", "appid": "<?php echo (OSCOM_APP_PAYPAL_LOGIN_STATUS == '1') ? OSCOM_APP_PAYPAL_LOGIN_LIVE_CLIENT_ID : OSCOM_APP_PAYPAL_LOGIN_SANDBOX_CLIENT_ID; ?>", "scopes": "<?php echo implode(' ', $use_scopes); ?>", "buttonType" : "CWP", "buttonShape" : "rectangle", "buttonSize" : "md", "fullPage" : "false", "containerid": "PayPalLoginButton", "returnurl": "<?php echo str_replace('&amp;', '&', tep_href_link(FILENAME_LOGIN, 'action=paypal_login', 'SSL', false)); ?>" }); }); </script>  
    In includes/modules/content/login/cm_paypal_login.php on line 259 (to prevent a blank/white screen once a user has logged in via PayPal when returning to the store).
    Find:
    echo '<script>window.opener.location.href="' . str_replace('&amp;', '&', $return_url) . '";window.close();</script>'; Replace with:
    echo '<script> if( typeof window.opener === \'undefined\' || window.opener === null ){ window.location.href="' . str_replace('&amp;', '&', $return_url) . '"; }else{ window.opener.location.href="' . str_replace('&amp;', '&', $return_url) . '"; window.close(); } </script>';  
  12. Thanks
    greasemonkey reacted to Smoky Barnable in PayPal App for osCommerce Online Merchant   
    The Login with PayPal function no longer works. It currently returns an Invalid authorization code error when a customer attempts to login using their PayPal credentials. On the developer site it states:
    It's called "connect with paypal" now and I notice the login button looks different.
  13. Thanks
    greasemonkey reacted to flying_kites in ShipStaion for OsCommerce   
    For 2.2 it is the same.
     
     
     
  14. Like
    greasemonkey reacted to Hotclutch in International SEO   
    Unique content is best, but supplier text is common amongst ecommerce sites. I don't see Google penalising sites for it. Even if you have this kind of product description you can still compete by exploiting the many other ranking factors.
  15. Haha
    greasemonkey reacted to burt in Optional Related Products, Version 4.0   
    I'm just off to have a 🍻 😂  
     
  16. Like
    greasemonkey reacted to burt in Fake accounts   
    $bad_companies = array('google', 'apple'); if (in_array(strtolower($company), $bad_companies)) {   $error = true; } You can add more company names into the $bad_companies array.
  17. Like
    greasemonkey got a reaction from valquiria23 in RMA Returns System for osC2.3.4BS   
    Here you go @frankl
    Should work with any version of https://apps.oscommerce.com/m2hDP&amp;rma-returns-system-for-osc2-3-4bs
    Just drop in files, navigate to admin -> modules -> dashboard then + Install Modules in the top right corner and install the Returns Modules.
    Installs a dashboard module displaying a list of the 6 most recently modified returns on admin/index.php.
    ram-system-dashboard-module.zip
  18. Like
    greasemonkey reacted to azpro in Addon installer concept   
    I agree - Finalize 2.3 Community Version as it stands now. It is workable and for those who want to stick with older addons it should work.
    The rest of us should focus energy on 2.4 ....  That's to say  2.4 Community Edition because I do not think any official will ... blah blah blah .....
     
  19. Haha
    greasemonkey reacted to Dan Cole in Help with ot_shipping due the free shipping   
    Some people wear shorts year round up here too...

    I think our dogs are a bit smarter though...

  20. Like
    greasemonkey reacted to Dan Cole in Help with ot_shipping due the free shipping   
    @John W 50's...cold....seriously...what do you know about cold?  In Edmonton yesterday it was colder then at both the North and South poles.  Now that's cold.
    Dan
  21. Like
    greasemonkey got a reaction from ghprosvs in Free Shipping On Total Price With Weight Shipping Module   
    Sorry yes that was a typo from my phone... try tep_db_fetch_array
  22. Like
    greasemonkey got a reaction from mattjt83 in One-Page / Guest Checkout   
    Hey guys, enjoying this discussion.... 
    Just wanted to point out, if you think it's relevant to OsC, Amazon (the largest ecom retailer in the world by far) doesn't use one page checkout. 
    4 super simple clean steps  
     
  23. Like
    greasemonkey got a reaction from mattjt83 in One-Page / Guest Checkout   
    Hey guys, enjoying this discussion.... 
    Just wanted to point out, if you think it's relevant to OsC, Amazon (the largest ecom retailer in the world by far) doesn't use one page checkout. 
    4 super simple clean steps  
     
  24. Like
    greasemonkey got a reaction from TITO4 in Paypal Express or Standard opinions wanted   
    @@John W no question - Express. All the issues of days gone by seem to be fixed, with Express Enabled you can 1) you can take advantage of PayPal Checkout, 2)
    you can take advantage of Login with PayPal and 3) if required, you can now use PayPal Pro.
     
    You can refer to this link for more details on how I have it set up; http://forums.oscommerce.com/topic/410909-paypal-app-and-234bs-gold/?p=1755266
     
    Note: if you need to use a Discount Module this one works with Express.... http://addons.oscommerce.com/info/9460
  25. Like
    greasemonkey reacted to Harald Ponce de Leon in PayPal App for osCommerce Online Merchant   
    What paths are shown in the update logs in includes/apps/paypal/work/update_log-*.php? Your custom admin directory or hardcoded "admin"?
×