• Content count

  • Joined

  • Last visited

  • Days Won


fbg13 last won the day on June 24 2017

fbg13 had the most liked content!

Community Reputation

340 Excellent

About fbg13

  • Rank
    Sr. Member

Recent Profile Visitors

1,329 profile views
  1. $first = $selectWatch->eq(0); $second = $selectWatch->eq(1); $third = $selectWatch->eq(2); https://processwire.com/api/ref/wire-array/eq/
  2. Why are there two modules? Can the main module be used without the "Packages Manager" module? Why the "sort by name" button and not use the table header? Delete all button goes all the way to the right because no "position: relative" on parent. You could also float it to right. Sorry if these were already discussed.
  3. I installed the module, converted the field and nothing changes for me.
  4. @Juergen I get null without parentheses. What PHP version are you using? I'm using 7.1.13
  5. @Juergen works for me. Your $image is null, so check that you're on the right page/have the right field name.
  6. @mikhail The Fieldset field can also be used to achieve that.
  7. @BitPoet The module doesn't remove the mention page on uninstall, it's not found because it's hidden. If you create it in the getModuleInfo method it will be removed by PW on uninstall. public static function getModuleInfo() { return array( ... "page" => [ "name" => "mention", "title" => "Mention", "status" => "hidden" ] ); }
  8. @CarloC try { echo $modules->get('LoginRegister')->execute(); } catch (WireException $e) { echo "Too many failed login attempts.<br>" . $e->getMessage(); }
  9. @CarloC try { $session->login($username, $pass); } catch (WireException $e) { $loginError = "Too many failed login attempts.<br>" . $e->getMessage(); }
  10. How about making it only visible when a get variable is set and has the same value as a variable set by the user? $pass = '12345'; if ($_GET['pass'] !== $pass) { exit; }
  11. I can confirm this, tested with PHP 7.1/7.2, PW 3.0.87/86 on Opera and FireFox, both uikit and default themes.
  12. .foo is another tld they they force https on, here is a blog post by google https://security.googleblog.com/2017/09/broadening-hsts-to-secure-more-of-web.html
  13. https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/
  14. The 2018 Guide to Building Secure PHP Software