Jump to content

greasemonkey

Members
  • Content count

    1,262
  • Joined

  • Last visited

  • Days Won

    24

greasemonkey last won the day on December 28 2017

greasemonkey had the most liked content!

Profile Information

  • Real Name
    Scott
  • Gender
    Male

Recent Profile Visitors

29,640 profile views
  1. greasemonkey

    Hack attempt - is there a way to prevent this?

    @raiwa is this cleaned by tep_draw_input_field (which is sanitizing with stripslashes)? And if so... is it enough? This is definitely out of my skill range - it really is just a question. Reading about SQL injections (again I'm not sure I understand it clearly) should we not be using PDO (as in 2.4) or at minimum htmlspecialchars? Source: https://stackoverflow.com/questions/29678806/secure-all-inputs-in-php-form
  2. greasemonkey

    Hack attempt - is there a way to prevent this?

    @ArtcoInc I think the link to your review is very relevant to the thread - and the threat of this hack attempt (I can’t recall the level of detail in your review but maybe you’d update to include this potential risk).
  3. greasemonkey

    Hack attempt - is there a way to prevent this?

    As a suggestion for a different smart search that doesn’t write to your DB... try this one (I’ve been using it for a couple years... works great). https://apps.oscommerce.com/Redirect=9351
  4. greasemonkey

    Hack attempt - is there a way to prevent this?

    Sorry? Where were these huge chunks of code??????? If the code was in a file on your server - you have a HUGE issue... that is nothing to do with the file its self.
  5. greasemonkey

    PayPal App v5.018 Log In with PayPal is now dead

    @peterbuzzin worked perfect..... @Harald Ponce de Leon the PayPal app needs updating... as I'm sure you are aware.
  6. greasemonkey

    Login with Amazon

    @Login with Amazon I hope all is well (I tried to send a DM but it would seem your profile will not allow it).... I found this addon when looking thru the new changes made to prepare for the marketplace... A couple of things - I was sooo excited when I came across this - thinking it would work just like the "Login with Paypal" addon built into the PayPal App. I had to make a few changes to get this working with the bootstrap community edition (changing FILENAME_ and DIR_WS_MODULES to exact files paths)... however was disappointed when I did get it to work... Although it will allow login - it will not pass the customers address to OsC... It looks as though it was really meant for more of a Wordpress like site. I check the documentation here to confirm... Am I missing something? More important than this "login" feature however - I notice you have half (or probably more than half) built Amazon Pay into this addon... What would it take to get Amazon to finish this??????? @Harald Ponce de Leon this would be a GREAT addition to whatever you are working on... offering an additional payment options beyond PayPal (all the other payment apps/addons incl'ed are WAY out of date some/most even end of life). One of the most attractive features of some of the more current ecom platforms is their built in wide range of modern payment methods that are completely missing in OsC.
  7. greasemonkey

    PayPal App for osCommerce Online Merchant

    I concur... it’s not working
  8. greasemonkey

    Forum Changes

    @Harald Ponce de Leon for the sake of this community - who has (although divided at times) remained active in your absence, please be more forthcoming (at least in the near future). It’s not my business - so I’m not sure I care about your brand name, however the people here have been applying glue, bandages and spit to hold this thing together... sorry to be blunt - but you owe it to them.
  9. @burt question: why a hook and not a header tag module?
  10. @JcMagpie Hey Zahid, you've got one dead link in this header tag.... $oscTemplate->addBlock( '<link rel="icon" sizes="192x192" href="' . MODULE_HEADER_TAGS_JCM_FAVICON_DIR . 'nice-highres.png">' . "\n", $this->group); I presume this should be pointing to favicon-192.png?
  11. greasemonkey

    International SEO

    @Dj-Viper if you are referring to the code I posted above - please read the post (this was a mock up... a test... I’m in now way suggesting this as any sort of live code).
  12. greasemonkey

    International SEO

    Here’s another great article on international SEO https://neilpatel.com/blog/international-seo/
  13. greasemonkey

    International SEO

    I'm just going to jump in and share my limited experience trying to set up some international SEO.... I've been trying to target my SEO for Canada and USA for currency.... (its a long story - short version I'm showing my site in USD by IP address to the USA and CAD to all other IP address and googles bots are located in the USA so I'm crawled in USD) First Google doesn't like URL parameters (source) for international crawling... and would much prefer domain or directories (ie usa.mysite.com or www.mysite.com/usa... same for language versions fr-ca.mysite.com or www.mysite.com/fr-ca etc etc... as mentioned above... for me I was trying to get en-us and en-ca) so, out of the box OsC is not in a good place (I believe there is an updated version of SEO urls 5 that has some hreflang features to re-write this.... although I haven't tried it) I used a hreflang tester (link below) to mock up a headertag module to try and replace the included canonical module - I was successful in getting a pass with the example code below however was not successful in combining the hreflang tags WITH canonical tags... https://technicalseo.com/seo-tools/hreflang/ Example code if (basename($PHP_SELF) == 'product_info.php') { $oscTemplate->addBlock(' <link rel="alternate" hreflang="en-ca" href="' . tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'], 'NONSSL', false) . '?currency=CAD'.'" /> <link rel="alternate" hreflang="en-us" href="' . tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'], 'NONSSL', false) . '?currency=USD'.'" /> <link rel="alternate" hreflang="en" href="' . tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'], 'NONSSL', false) . '" /> <link rel="alternate" hreflang="x-default" href="' . tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'], 'NONSSL', false) . '" /> ' . PHP_EOL, $this->group); } } Conclusion - as I understand it.... if this is going to be fixed properly there needs to be a way of re-writing the urls.... to a language directory as an example... The code to create the hreflang and canonical tags is probably not that hard for a coder (I am NOT a coder). Thoughts?
  14. greasemonkey

    RMA Returns System for osC2.3.4BS

    Ok, trying to figure this out on my own in @frankl absence..... it would seem we need to use a checkbox_field in place of a radio. Now just trying to figure out how to pass the variables selected.
  15. greasemonkey

    Fake accounts

    Same
×