Jump to content

Hari KT

Members
  • Posts

    131
  • Joined

  • Last visited

Everything posted by Hari KT

  1. Symfonians make an independent library symfony dependent, when they can write a bundle for it https://t.co/MV8lmjKDvZ . / cc @ALusitanian

  2. Oh @infibeam what do you mean by tracking? Could you please send it by India Postal Service? http://t.co/rfEt43bj1R

  3. RT @erusev: @msurguy @ericlbarnes Parsedown now has an extension that adds support for Markdown Extra - https://t.co/kFwCHPTKag.

  4. RT @dhrrgn: Framework Devs: Stop trying to do everything. Do the hard stuff, leave the easy stuff to the developers. Force people to actual…

  5. How to effectively work with multiple files in Vim? http://t.co/gVLEJ1iViK Read on this is awesome :-) .

  6. RT @leanpub: .@followchrisp Typed PHP https://t.co/YY02oOtsc4 is the featured book on Leanpub! https://t.co/7B8N80eFd1

  7. RT @JeremyKendall: Whoah! Looks what happening in September! http://t.co/aWaiM2iHv6 #phpc #php #security

  8. Wondering how @SonySIX can manage to show https://t.co/LZThxWGexz and https://t.co/Qj39zZtvRD same time. Or @google showing the wrong result

  9. Hey @tarang9211 , I did looked into the files you have provided. You can see already some well written help over https://processwire.com/talk/topic/126-anybody-did-user-registrationlogin/ . I assume you are looking for a ajax based user registration. So what you need to do is create a template register.php and do the post validation and return back the response. Depending on response send the user to next page. In the register.php template you can validate and create a user via the api something like $data = array( 'username' => 'someone', 'password' => 'password', 'email' => 'someone@something.com', 'fullname' => 'Some One', ); $successflag = true; $sql_check = wire('users')->find("email={$data['email']}"); $messages = array(); if (count($sql_check)) { // user already exists $messages[] = array( 'Email already exists', ); $successflag = false; } $sql_check = wire('users')->find("name={$data['username']}"); if (count($sql_check)) { // user already exists $messages[] = array( 'Username already exists', ); $successflag = false; } if ($successflag) { $newuser = new User(); $newuser->name = $data['username']; $newuser->pass = $data['password']; $newuser->email = $data['email']; $newuser->fullname = $data['fullname']; $newuser->roles->add($roles->get("guest")); $newuser->roles->add($roles->get("member")); $newuser->save(); } Hope that helps you a bit to start. Thanks
  10. Tried installing #nikki https://t.co/URiMpvc9Ps by @_odino_ . Currently it is waiting installing the npm dependencies :( .

  11. RT @Edmondfernandes: Found in Bangalore, no number plate and MP fund for Public used for VIPs ? seriously ? http://t.co/PeUyO6TZht

  12. Oh python website got a new redesign. Good to see https://t.co/D9kD1uyK8Y .

  13. Security Check For Symfony Component-Based Projects http://t.co/V5zOeqS6HC via @cordoval

  14. Awesome, and thanks for sharing.
  15. Finished hearing http://t.co/WiSvGs4DVm , thank you @pmjones for mentioning me. @thatpodcast checkout this in adr http://t.co/gwPBogZXbM

  16. RT @lukestokes: OH: Being in business is really just being a money launderer for the government.

  17. RT @cordoval: From Symfony to Gush: The Game Changer Tool for All Git Communities http://t.co/9sJEfwazTO via @cordoval

  18. RT @zendcon: Down to the final hours of talk submissions. http://t.co/K82KiiGBk9 #cfp

  19. Submitted 2 talks and 1 tutorial for @zendcon .

  20. RT @jakeasmith: When reporting a bug to an engineer, never ever ever say “it’s broken”. Instead, say “when I did X, I expected Y, but got Z…

  21. RT @_odino_: Certificationy, train for the #symfony2 certifications from your console http://t.co/DxRRvwUW3i #php #training

  22. RT @nithinbekal: Had a fantastic time at today's @keralarb meetup. You know the meetup is a success when people hang out and talk for 2 hou…

  23. RT @keralarb: python flavored #KRUG meetup happening this week http://t.co/hsVyOIFvnm #ruby #python @KeralaJS

×
×
  • Create New...