Like the title says, I want to create users and give them a password dynamically created by my PHP script. I also want to add contacts based on their “friends” (kinda like how Facebook works). Also, related to the user creation question, what encryption is used for the password? And can that be changed?
If you are using Openfire’s database for user authentication, you can’t directly modify the database and have openfire use it. Openfire has a cache that prevents that from working. For user accounts, you can use the UserService plugin and then make URL requests against this service from the PHP script.