Auto Registration ?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #6
RE: Auto Registration ?
You've got to state what you're having trouble with.

There's a number of components in what you're trying to do:
  • randomly pick something from an array
  • creating the user (you don't need to insert it into the database)
  • the option you want

(08-17-2010 10:12 AM)Imran Wrote:  This is hard for me to understand. Frown Help Yumi !
Why?  If you understand PHP, it's just a matter of breaking things down.
It's fairly logical what the code does
  • if we're adding a user...
  • run plugin hooks
  • if we've come from a POST request
  • determine usergroup stuff
  • set up userhandler
  • set data for userhandler
  • validate
  • if validated, log action and redirect admin

My Blog
08-17-2010 01:45 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Auto Registration ? - Imran - 08-16-2010, 06:30 AM
RE: Auto Registration ? - ZiNgA BuRgA - 08-16-2010, 08:12 AM
RE: Auto Registration ? - Imran - 08-17-2010, 01:24 AM
RE: Auto Registration ? - ZiNgA BuRgA - 08-17-2010, 07:11 AM
RE: Auto Registration ? - Imran - 08-17-2010, 10:12 AM
RE: Auto Registration ? - ZiNgA BuRgA - 08-17-2010 01:45 PM
RE: Auto Registration ? - Imran - 08-17-2010, 05:25 PM
RE: Auto Registration ? - ZiNgA BuRgA - 08-17-2010, 07:00 PM

 Standard Tools
Forum Jump: