renamed the config to config.default.php
This commit is contained in:
parent
b1c10fbf10
commit
17233ba735
3 changed files with 136 additions and 10 deletions
|
@ -0,0 +1,116 @@
|
||||||
|
<div class="title">
|
||||||
|
RYZOM CORE INGAME REGISTRATION
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?php echo $WELCOME_MESSAGE; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form name="Page1"
|
||||||
|
method="post"
|
||||||
|
action="register">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td width="33%" <?php if ($USERNAME_ERROR == "TRUE"){ echo 'class="error"';}?> id="caption-Username">Desired Username: </td>
|
||||||
|
|
||||||
|
<td width="25%">
|
||||||
|
<input type="text"
|
||||||
|
name="Username"
|
||||||
|
value=""
|
||||||
|
maxlength="12"
|
||||||
|
onfocus=
|
||||||
|
"javascript:showTooltip('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.', this);" />
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td id="comment-Username" <?php if ($USERNAME_ERROR == "TRUE"){ echo 'class="error"';}?> width="42%"><?php if ($USERNAME_ERROR == "TRUE"){ echo $USERNAME;}?></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width="33%" <?php if ($PASSWORD_ERROR == "TRUE"){ echo 'class="error"';}?> id="caption-Password">Desired Password:</td>
|
||||||
|
|
||||||
|
<td width="25%">
|
||||||
|
<input type="password"
|
||||||
|
name="Password"
|
||||||
|
value=""
|
||||||
|
maxlength="20"
|
||||||
|
onkeyup=
|
||||||
|
"testPassword(document.Page1.Password.value, 'comment-Password')"
|
||||||
|
onfocus="javascript:showTooltip(' 5-20 characters.', this);" />
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td id="comment-Password" <?php if ($PASSWORD_ERROR == "TRUE"){ echo 'class="error"';}?> width="42%"><?php if ($PASSWORD_ERROR == "TRUE"){ echo $PASSWORD;}?></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width="33%"<?php if ($CPASSWORD_ERROR == "TRUE"){ echo 'class="error"';}?> id="caption-ConfirmPass">Confirm Password:</td>
|
||||||
|
|
||||||
|
<td width="25%"><input type="password"
|
||||||
|
name="ConfirmPass"
|
||||||
|
value=""
|
||||||
|
maxlength="20"
|
||||||
|
onfocus="javascript:showTooltip('Retype your Password', this);" />
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td id="comment-ConfirmPass" <?php if ($CPASSWORD_ERROR == "TRUE"){ echo 'class="error"';}?>width="42%"><?php if ($CPASSWORD_ERROR == "TRUE"){ echo $CPASSWORD;}?></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width="33%" <?php if ($EMAIL_ERROR == "TRUE"){ echo 'class="error"';}?> id="caption-Email">Email Address (to which a confirmation email will be sent):</td>
|
||||||
|
|
||||||
|
<td width="25%">
|
||||||
|
<input type="text"
|
||||||
|
name="Email"
|
||||||
|
value=""
|
||||||
|
maxlength="255"
|
||||||
|
onfocus=
|
||||||
|
"javascript:showTooltip('Please verify that the e-mail address you enter here is valid and will remain valid in the future. It will only be used to manage your <?php echo $GAME_NAME; ?> account.', this);" />
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td id="comment-Email" <?php if ($EMAIL_ERROR == "TRUE"){ echo 'class="error"';}?> width="42%"><?php if ($EMAIL_ERROR == "TRUE"){ echo $EMAIL;}?></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width=
|
||||||
|
"33%" <?php if ($TAC_ERROR == "TRUE"){ echo 'class="error"';}?>
|
||||||
|
colspan="2"><input type="checkbox"
|
||||||
|
name="TaC"
|
||||||
|
value="1"
|
||||||
|
onfocus="javascript:showTooltip('', this);" /><span id=
|
||||||
|
"caption-TaC">YES, I agree to the terms of
|
||||||
|
service</span></td><?php if ($TAC_ERROR == "TRUE"){
|
||||||
|
echo '<td id="comment-TaC" class="error" width="42%">You must accept the Terms of Service</td>';}
|
||||||
|
else {
|
||||||
|
echo '<td width="42%" id="comment-TaC" >';}; ?>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="c1">
|
||||||
|
<input type="submit"
|
||||||
|
name="Submit"
|
||||||
|
value="Continue" />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div id="signupTooltip"
|
||||||
|
class="c2"
|
||||||
|
inset=""></div>
|
||||||
|
|
||||||
|
<div id="tooltip-Username">
|
||||||
|
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.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="tooltip-Password">
|
||||||
|
5-20 characters.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="tooltip-ConfirmPass">
|
||||||
|
Retype your Password
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="tooltip-Email">
|
||||||
|
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 <?php echo $GAME_NAME; ?> account.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="tooltip-TaC"></div>
|
|
@ -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", "", "");
|
// 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.
|
// 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';
|
//$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_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_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';
|
$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";
|
$cfg['mail']['host'] = "ryzomcore.com";
|
||||||
|
|
||||||
//Defines mailing related stuff
|
//Defines mailing related stuff
|
||||||
|
@ -54,8 +61,9 @@ $SUPPORT_GROUP_IMAP_CRYPTKEY = "azerty";
|
||||||
$TICKET_MAILING_SUPPORT = false;
|
$TICKET_MAILING_SUPPORT = false;
|
||||||
|
|
||||||
//You have to create this dir at first!
|
//You have to create this dir at first!
|
||||||
$MAIL_DIR = "/tmp/mail";
|
//The incoming emails will be backed up here and the log file keeps track of the mail_cron job.
|
||||||
$MAIL_LOG_PATH = "/tmp/mail/cron_mail.log";
|
$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
|
//crypt is being used by encrypting & decrypting of the IMAP password of the supportgroups
|
||||||
$cfg['crypt']['key'] = 'Sup3rS3cr3tStuff';
|
$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
|
// if true= the login service automaticaly create a ring user and a editor character if needed
|
||||||
$CREATE_RING = true ;
|
$CREATE_RING = true ;
|
||||||
|
|
||||||
// site paths definitions
|
// site paths definitions, you shouldn't have to alter these!
|
||||||
$AMS_LIB = dirname( __FILE__ ) . '/ams_lib';
|
$AMS_LIB = dirname( __FILE__ ) . '/ams_lib';
|
||||||
$AMS_TRANS = $AMS_LIB . '/translations';
|
$AMS_TRANS = $AMS_LIB . '/translations';
|
||||||
$AMS_CACHEDIR = $AMS_LIB . '/cache';
|
$AMS_CACHEDIR = $AMS_LIB . '/cache';
|
||||||
$SITEBASE = dirname( __FILE__ );
|
$SITEBASE = dirname( __FILE__ );
|
||||||
|
|
||||||
|
//the paths to your website url
|
||||||
$BASE_WEBPATH = 'http://localhost:40917/drupal';
|
$BASE_WEBPATH = 'http://localhost:40917/drupal';
|
||||||
$IMAGELOC_WEBPATH = $BASE_WEBPATH. '/sites/all/modules/ryzommanage/ams_lib/img' ;
|
$IMAGELOC_WEBPATH = $BASE_WEBPATH. '/sites/all/modules/ryzommanage/ams_lib/img' ;
|
||||||
$WEBPATH = $BASE_WEBPATH .'/ams';
|
$WEBPATH = $BASE_WEBPATH .'/ams';
|
||||||
|
@ -86,7 +96,7 @@ $CONFIG_PATH = dirname( __FILE__ );
|
||||||
$DEFAULT_LANGUAGE = 'en';
|
$DEFAULT_LANGUAGE = 'en';
|
||||||
|
|
||||||
//defines if logging actions should happen or not.
|
//defines if logging actions should happen or not.
|
||||||
$TICKET_LOGGING = true;
|
$TICKET_LOGGING = false;
|
||||||
|
|
||||||
//defines the time format display
|
//defines the time format display
|
||||||
$TIME_FORMAT = "m-d-Y H:i:s";
|
$TIME_FORMAT = "m-d-Y H:i:s";
|
|
@ -46,11 +46,11 @@ $cfg['db']['ring']['pass'] = '';
|
||||||
//imap connection string as explained above
|
//imap connection string as explained above
|
||||||
$cfg['mail']['default_mailserver']= '{imap.gmail.com:993/imap/ssl}INBOX';
|
$cfg['mail']['default_mailserver']= '{imap.gmail.com:993/imap/ssl}INBOX';
|
||||||
//groupemail is the email that sends the email
|
//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
|
//groupname will be the name displayed as sender
|
||||||
$cfg['mail']['default_groupname'] = 'Ryzomcore Support';
|
$cfg['mail']['default_groupname'] = 'Ryzomcore Support';
|
||||||
//the username of the account
|
//the username of the account
|
||||||
$cfg['mail']['default_username'] = 'amsryzom@gmail.com';
|
$cfg['mail']['default_username'] = 'example@gmail.com';
|
||||||
//the matching password
|
//the matching password
|
||||||
$cfg['mail']['default_password'] = 'passw0rd';
|
$cfg['mail']['default_password'] = 'passw0rd';
|
||||||
//the host, being used when a mail is sent from a support group: support_groups_name@host
|
//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!
|
//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.
|
//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_DIR = "/home/username/mail";
|
||||||
$MAIL_LOG_PATH = "/home/daan/mail/cron_mail.log";
|
$MAIL_LOG_PATH = "/home/username/mail/cron_mail.log";
|
||||||
|
|
||||||
//terms of service url location
|
//terms of service url location
|
||||||
$TOS_URL ="http://heregoesyourtos.com";
|
$TOS_URL ="http://heregoesyourtos.com";
|
Loading…
Reference in a new issue