Jump to content

benbyf

Members
  • Posts

    818
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by benbyf

  1. now Bass Fishing #SWfuturists - Ai, Ethics and Behaviour now live https://t.co/6HGzX8rlI8

  2. good one, and nice illustrations to points https://t.co/6BSnPiy6ma

  3. will be Bass Fishing Ai, Ethics & behaviour #swfuturists tomorrow here: https://t.co/6HGzX8rlI8 https://t.co/cELMXad6cO

  4. quick installation question: I was able to get wireshell working globally on root but would prefer it to work for another user but couldn't work it out.
  5. RT @buhii: “Machine learning for artists” by @genekogan https://t.co/mT62u2dZOg

  6. RT @janexwang: My thoughts on Paul Mason's #postcapitalism - AI in a post-capitalistic world https://t.co/vSG3rzTXpn

  7. They like coming in late to the party and doing it better, then owning the space altogether, or not bother. https://t.co/vOIzEDbPer

  8. That worked, I had $user overwritten, so i changed it for $u and $p
  9. error persists - it errors with the first call to $user->isLoggedin() (in the head.inc used to hide the nav if not logged in)
  10. hi @sammachin wondered if u could help, whats the best service for batches of text msg (50 >) without a harsh throttle on time or cost?

  11. RT @veritymcintosh: If you ignore the CEOs distracting nipples and the obvious porn applications, the Teslasuit is actually pretty cool htt…

  12. HELLO! I'm using $user->isLoggedin() three times on one template (in the head.inc, template-page.php and foot.inc). I'm using a custom login in my template file: // If they aren't logged in, then show the login form if(!$user->isLoggedin()){ // check for login before outputting markup if($input->post->user && $input->post->pass) { $user = $sanitizer->username($input->post->user); $pass = $input->post->pass; if($session->login($user, $pass)) { // login successful $session->redirect($homepage->url); } else { // login error $session->login_error = 'Login Failed. Please try again, or use the forgot password link below.'; } } if($input->post->user && $input->post->pass) { $login = "<p class='error'>" . $session->login_error . "</p>"; } $login .= "<form action='./' method='post'><div class='login'> <input type='text' id='user' name='user' placeholder='Enter your SP Company Code' /> <input class='hidden' type='password' name='pass' value='' /> <p><input type='submit' class='btn' name='submit' value='Login' /></p> </div></form>"; } // end !logged in Using the correct logins works and everything is cool, but putting the wrong passwords in creates a Internal server error on both the head.inc and foot.inc $user->isLoggedin() functions. I'm probably doing something absurdly stupid here, any ideas? thanks
  13. RT @HartsBakery: Best 'man walks into a bakery...' Joke wins a box of pastries delivered to your office! @templegateBS1 @EngineShed_BB or c…

  14. seems like I’m hitting on a trend https://t.co/JVy6AvfoWh

  15. really? mind telling me the steps? was trying to set it up with mail-in-a-box - this is the domain im setting it up on https://mail.nicegrp.com/
  16. RT @TechCrunch: HERE launches cloud-based maps for automated driving https://t.co/iHoK75fTNi https://t.co/Q8uAO8LgqJ

  17. Interesting post by @ow “Web developers rejoice; Internet Explorer 8, 9 and ...” https://t.co/mhUXzBT1KZ via @thenextweb

  18. RT @NathalieNahai: This is exciting. Intelligence 'networks' discovered in brain for the first time: https://t.co/XwLKeUp7gJ

  19. RT @wearepopup: We Are Pop Up HQ is recruiting a Full Stack Software Engineer. Details + apply here: https://t.co/ZsileZOCWg #jobs https://…

  20. mainly advice on what you'd want to see if you were new to PW theming
×
×
  • Create New...