diff --git a/code/ryzom/tools/server/ryzom_ams/drupal_module/oldmodule/templates/ingame_register.phtml b/code/ryzom/tools/server/ryzom_ams/drupal_module/oldmodule/templates/ingame_register.phtml new file mode 100644 index 000000000..1f0fc0859 --- /dev/null +++ b/code/ryzom/tools/server/ryzom_ams/drupal_module/oldmodule/templates/ingame_register.phtml @@ -0,0 +1,116 @@ +
+ RYZOM CORE INGAME REGISTRATION +
+ +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + You must accept the Terms of Service';} + else { + echo ' +
id="caption-Username">Desired Username: + + width="42%">
id="caption-Password">Desired Password: + + width="42%">
id="caption-ConfirmPass">Confirm Password: + width="42%">
id="caption-Email">Email Address (to which a confirmation email will be sent): + account.', this);" /> + width="42%">
+ colspan="2">YES, I agree to the terms of + service';}; ?> +
+ +
+ +
+
+ +
+ +
+ 5-12 lower-case characters and numbers. The login (username) you create here will be + your login name. The name of your game characters will be chosen later on. +
+ +
+ 5-20 characters. +
+ +
+ Retype your Password +
+ +
+ Please verify that the e-mail address you enter here is valid and will remain valid + in the future. It will be used to manage your account. +
+ +
\ No newline at end of file diff --git a/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/config.php b/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/config.default.php similarity index 85% rename from code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/config.php rename to code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/config.default.php index 023bb0941..ec810a402 100644 --- a/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/config.php +++ b/code/ryzom/tools/server/ryzom_ams/drupal_module/ryzommanage/config.default.php @@ -42,11 +42,18 @@ $cfg['db']['ring']['pass'] = variable_get('ryzommanage_ringpassword', ''); // NNTP server on port 119 use: $nntp = imap_open ("{localhost:119/nntp}comp.test", "", ""); // To connect to a remote server replace "localhost" with the name or the IP address of the server you want to connect to. //$cfg['mail']['server'] = '{localhost:110/pop3/novalidate-cert}INBOX'; + +//imap connection string as explained above $cfg['mail']['default_mailserver']= '{imap.gmail.com:993/imap/ssl}INBOX'; -$cfg['mail']['default_groupemail'] = 'amsryzom@gmail.com'; +//groupemail is the email that sends the email +$cfg['mail']['default_groupemail'] = 'example@gmail.com'; +//groupname will be the name displayed as sender $cfg['mail']['default_groupname'] = 'Ryzomcore Support'; -$cfg['mail']['default_username'] = 'amsryzom@gmail.com'; +//the username of the account +$cfg['mail']['default_username'] = 'example@gmail.com'; +//the matching password $cfg['mail']['default_password'] = 'lol123bol'; +//the host, being used when a mail is sent from a support group: support_groups_name@host $cfg['mail']['host'] = "ryzomcore.com"; //Defines mailing related stuff @@ -54,8 +61,9 @@ $SUPPORT_GROUP_IMAP_CRYPTKEY = "azerty"; $TICKET_MAILING_SUPPORT = false; //You have to create this dir at first! -$MAIL_DIR = "/tmp/mail"; -$MAIL_LOG_PATH = "/tmp/mail/cron_mail.log"; +//The incoming emails will be backed up here and the log file keeps track of the mail_cron job. +$MAIL_DIR = "/home/username/mail"; +$MAIL_LOG_PATH = "/home/username/mail/cron_mail.log"; //crypt is being used by encrypting & decrypting of the IMAP password of the supportgroups $cfg['crypt']['key'] = 'Sup3rS3cr3tStuff'; @@ -71,11 +79,13 @@ $ALLOW_UNKNOWN = true ; // if true= the login service automaticaly create a ring user and a editor character if needed $CREATE_RING = true ; - // site paths definitions +// site paths definitions, you shouldn't have to alter these! $AMS_LIB = dirname( __FILE__ ) . '/ams_lib'; $AMS_TRANS = $AMS_LIB . '/translations'; $AMS_CACHEDIR = $AMS_LIB . '/cache'; $SITEBASE = dirname( __FILE__ ); + +//the paths to your website url $BASE_WEBPATH = 'http://localhost:40917/drupal'; $IMAGELOC_WEBPATH = $BASE_WEBPATH. '/sites/all/modules/ryzommanage/ams_lib/img' ; $WEBPATH = $BASE_WEBPATH .'/ams'; @@ -86,7 +96,7 @@ $CONFIG_PATH = dirname( __FILE__ ); $DEFAULT_LANGUAGE = 'en'; //defines if logging actions should happen or not. -$TICKET_LOGGING = true; +$TICKET_LOGGING = false; //defines the time format display $TIME_FORMAT = "m-d-Y H:i:s"; diff --git a/code/ryzom/tools/server/ryzom_ams/www/config.php b/code/ryzom/tools/server/ryzom_ams/www/config.default.php similarity index 93% rename from code/ryzom/tools/server/ryzom_ams/www/config.php rename to code/ryzom/tools/server/ryzom_ams/www/config.default.php index 7e0a50c3b..c559b8b2c 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/config.php +++ b/code/ryzom/tools/server/ryzom_ams/www/config.default.php @@ -46,11 +46,11 @@ $cfg['db']['ring']['pass'] = ''; //imap connection string as explained above $cfg['mail']['default_mailserver']= '{imap.gmail.com:993/imap/ssl}INBOX'; //groupemail is the email that sends the email -$cfg['mail']['default_groupemail'] = 'amsryzom@gmail.com'; +$cfg['mail']['default_groupemail'] = 'example@gmail.com'; //groupname will be the name displayed as sender $cfg['mail']['default_groupname'] = 'Ryzomcore Support'; //the username of the account -$cfg['mail']['default_username'] = 'amsryzom@gmail.com'; +$cfg['mail']['default_username'] = 'example@gmail.com'; //the matching password $cfg['mail']['default_password'] = 'passw0rd'; //the host, being used when a mail is sent from a support group: support_groups_name@host @@ -62,8 +62,8 @@ $TICKET_MAILING_SUPPORT = false; //You have to create this dir at first! //The incoming emails will be backed up here and the log file keeps track of the mail_cron job. -$MAIL_DIR = "/home/daan/mail"; -$MAIL_LOG_PATH = "/home/daan/mail/cron_mail.log"; +$MAIL_DIR = "/home/username/mail"; +$MAIL_LOG_PATH = "/home/username/mail/cron_mail.log"; //terms of service url location $TOS_URL ="http://heregoesyourtos.com";