Jump to content

Stephan Gebbers

♥Ambassador
  • Content count

    154
  • Joined

  • Last visited

  • Days Won

    2

Stephan Gebbers last won the day on May 8 2018

Stephan Gebbers had the most liked content!

5 Followers

Profile Information

  • Real Name
    Stephan Gebbers
  • Gender
    Male
  • Location
    Potsdam/Germany

Recent Profile Visitors

9,645 profile views
  1. Stephan Gebbers

    jQuery vulnerability -- upgrade needed

    https://github.com/DanielRuf/snyk-js-jquery-174006
  2. Stephan Gebbers

    ULTIMATE Seo Urls 5 - by FWR Media

    Hey, any idea were i could look? everytime i choose a manufacturer in the manufacturers box and the shops shows the products by manufacturer, the language switches back to the shops default language.
  3. i got fooled by the way Oscommerce handles admin sessions again. when you use the build in htaccess protection it never logs you out (or automaticly logs you in with htaccess user/pass). i guess i gonna deactivate that and just use standard htaccess with differenc user/pass. confusing as F when you forget how it is supposed to work.

  4. I realy like your error handler vor mysql error messages! Good Job!

    you think it would work without problems with an older oscommerce version as well?

    1. Jack_mcs

      Jack_mcs

      Glad it was helpful. The changes are to parts of the code that are in all oscommerce shops so there shouldn't be any problems.

    2. Stephan Gebbers

      Stephan Gebbers

      btw: i'm not sure if it is a good idea to send the error_log to the root folder of the shop. i changed that, so it will save it as error_log.txt into folder includes and forbid web access to *.txt in the htaccess of includes folder

      also, the email is send but after the query nothing can be added to $msg. it will not show after the error query. not shure why.. i moved the URI line in front of the line with the error query and that shows up in email now.

    3. Jack_mcs

      Jack_mcs

      That's why there is an option to not send via email. :)

  5. Thank you @burt! How about compatibility of Modules that work with 2.3.4.1 BS Frozen (Bootstrap 3) ?
  6. Stephan Gebbers

    Fake accounts

    i have this in my create_account.php for 5minute emails and bad spam domains. maybe this could be done as a module also? i think the original contribution was from oscbooks.com back then.. // BANNED EMAILS $emails = file(DIR_WS_INCLUDES . 'emails-banned.txt'); for ($i=0, $n=sizeof($emails); $i<$n; $i++) { if (tep_not_null($emails[$i])) { $emaildomain = '@' . trim($emails[$i]); if (is_integer(strpos(strtolower($email_address), $emaildomain))) { $good_email = "no"; break; } } } // Email Whitelist $emails = file(DIR_WS_INCLUDES . 'emails-whitelisted.txt'); for ($i=0, $n=sizeof($emails); $i<$n; $i++) { if (tep_not_null($emails[$i])) { if (is_integer(strpos(strtolower($email_address), trim($emails[$i])))) { $good_email = "yes"; break; } } } if ($good_email == "no") { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_NOT_ALLOWED_ERROR); } // BANNED EMAIL EOF
  7. Stephan Gebbers

    Fake accounts

    What about the Email Domains they are using? Would that be a way to block certain Domains on account creation?
  8. Stephan Gebbers

    Category on Index

    i am already using notepad++ to edit the shop files, saving as UT8 (without BOM). So in theory such problems should not appear. very strange!
  9. Stephan Gebbers

    Category on Index

    i gave up on adding the changes. something seems wrong with copy and pasting it from the forum. stuff like PHP Fatal error: Uncaught Error: Call to undefined function tep_db_q\xef\xbb\xbfuery()
  10. Stephan Gebbers

    Category on Index

    I was looking for something like that on the main page. Just installed it now! Excellent!
  11. Stephan Gebbers

    Favicon Module for Frozen Edge

    check if the attached module works for you. just place all your generated faviconit files (images, xml etc) into the shops root. i took the standard code from faviconit.com and placed it into the header_tags module. so if you have no advanced faviconit.com options it should work. ht_favicon-module.zip
  12. Stephan Gebbers

    A new danger?

    adding //test to my htaccess = instant error 500
  13. Stephan Gebbers

    A new danger?

    try changing //Block bad bots to #Block bad bots
  14. Stephan Gebbers

    Store Logos Multi

    example, as found here (second best answer) https://stackoverflow.com/questions/28650327/responsive-images-srcset-not-working this one switches with the viewport / window size. don't know if that is ideal. what do you think? echo '<a href="' . tep_href_link('index.php') . '"><picture> <source srcset="' . $store_logo_big . '" media="(min-width: 1200px)" /> <source srcset="' . $store_logo_medium . '" media="(min-width: 800px)" /> <img src="' . $store_logo_small . '" title="' . STORE_NAME . '" alt="' . STORE_NAME . '" class="img-responsive no-watermark"/></picture></a>';[code]
  15. Stephan Gebbers

    Store Logos Multi

    so, resizing the browser window will not bring up the other logos i guess.
×