Player registration, login and custom data(with/without activation code by email)?how to set it?
Set the constants REGISTER_EMAIL_* appropriately in config.php as documented at http://skaredcreations.com/api/combu/page_config.html
FRANCESCO CROCETTI @ SKARED CREATIONS
thanks!but...
// Email settings
define ("EMAIL_SENDER_ADDRESS", "admin@myserver.ext");
define ("EMAIL_SENDER_NAME", "Combu Admin");
I didn't find where to set the password?i want send a email to registrator
You can refer to this:
Sorry, but I don't understand your question.
Here is how it works when you have REGISTER_EMAIL_REQUIRED set to TRUE:
- during the registration you'll set the email property before calling Update()
- the webservice will send an email to that address:
- EMAIL_SENDER_ADDRESS is the address of the sender and EMAIL_SENDER_NAME is its display name, you don't need to set your email address password because it's not using the mail server of EMAIL_SENDER_ADDRESS but it uses the internal one that is running on webserver
- REGISTER_EMAIL_SUBJECT is the subject of the email
- REGISTER_EMAIL_MESSAGE is the path to an HTML file on webserver that contains the message, the system has already a default file for this and it is /lib/email_register.html (that you can duplicate this and then edit to change the mail content; the link in my previous post contains more info about this, there isn't currently a way to write the password in the outgoing email because this would have required to send the password in clear on request and this is not good for security)
You'll also need the RESETPWD_EMAIL_SUBJECT and RESETPWD_EMAIL_MESSAGE to send an email when the user requests to reset its password (it works same way as REGISTER_EMAIL_SUBJECT and REGISTER_EMAIL_MESSAGE, you'll also find default values for this and the default mail content in /lib/email_resetpwd.html).
FRANCESCO CROCETTI @ SKARED CREATIONS
i see,thanks!