mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 09:16:18 +00:00
some extra information added + changed the default hardcoded register & support url in the client_cfg.cpp
This commit is contained in:
parent
2e68196b2a
commit
b1c10fbf10
5 changed files with 29 additions and 20 deletions
|
@ -323,13 +323,13 @@ CClientConfig::CClientConfig()
|
||||||
TexturesLoginInterface.push_back("texture_interfaces_v3_login");
|
TexturesLoginInterface.push_back("texture_interfaces_v3_login");
|
||||||
|
|
||||||
DisplayAccountButtons = true;
|
DisplayAccountButtons = true;
|
||||||
CreateAccountURL = "https://secure.ryzom.com/signup/from_client.php";
|
CreateAccountURL = "http://shard.ryzomcore.org/ams/index.php?page=register";
|
||||||
ConditionsTermsURL = "https://secure.ryzom.com/signup/terms_of_use.php";
|
ConditionsTermsURL = "https://secure.ryzom.com/signup/terms_of_use.php";
|
||||||
EditAccountURL = "https://secure.ryzom.com/payment_profile/index.php";
|
EditAccountURL = "https://secure.ryzom.com/payment_profile/index.php";
|
||||||
BetaAccountURL = "http://www.ryzom.com/profile";
|
BetaAccountURL = "http://www.ryzom.com/profile";
|
||||||
ForgetPwdURL = "https://secure.ryzom.com/payment_profile/lost_secure_password.php";
|
ForgetPwdURL = "https://secure.ryzom.com/payment_profile/lost_secure_password.php";
|
||||||
FreeTrialURL = "http://www.ryzom.com/join/?freetrial=1";
|
FreeTrialURL = "http://www.ryzom.com/join/?freetrial=1";
|
||||||
LoginSupportURL = "http://www.ryzom.com/en/support.html";
|
LoginSupportURL = "http://shard.ryzomcore.org/ams/index.php";
|
||||||
Position = CVector(0.f, 0.f, 0.f); // Default Position.
|
Position = CVector(0.f, 0.f, 0.f); // Default Position.
|
||||||
Heading = CVector(0.f, 1.f, 0.f); // Default Heading.
|
Heading = CVector(0.f, 1.f, 0.f); // Default Heading.
|
||||||
EyesHeight = 1.5f; // Default User Eyes Height.
|
EyesHeight = 1.5f; // Default User Eyes Height.
|
||||||
|
|
|
@ -3,3 +3,5 @@ CREDITS REGARDING THE AMS
|
||||||
##################################################################
|
##################################################################
|
||||||
- Muhammad Usman (Charisma Layout http://usman.it/themes/charisma/)
|
- Muhammad Usman (Charisma Layout http://usman.it/themes/charisma/)
|
||||||
- prdatur (Icon Set http://opengameart.org/users/prdatur)
|
- prdatur (Icon Set http://opengameart.org/users/prdatur)
|
||||||
|
- Tobi (original Drupal Module)
|
||||||
|
- Botanic (Mentoring & original drupal module)
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
-Edit config .php file
|
|
||||||
-Atm also edit the autoload function's paths
|
|
||||||
-call the install.php function in your terminal located in the sql folder
|
|
||||||
|
|
||||||
for mailing:
|
|
||||||
-set imap settings in config file (also make sure the folder exists that you will use for mail logging and storing emails)
|
|
||||||
-make sure imap is enabled.
|
|
|
@ -1,5 +1,10 @@
|
||||||
-Make Permission www dependend, so it can be implemented in drupal with hook_permission();
|
-Make Permission www dependend, so it can be implemented in drupal with hook_permission();
|
||||||
-in helpers make_folders mkdir($value); should be drupal_mkdir();
|
-in helpers make_folders mkdir($value); should be drupal_mkdir();
|
||||||
-write backwards compatible script for existing nel db!
|
|
||||||
-fix the callback in add_user_to_sgroup.php and show_sgroup.php in the func dir
|
-fix the callback in add_user_to_sgroup.php and show_sgroup.php in the func dir
|
||||||
-put mycrypt stuff from func/modify_email_of_sgroup in the setPassword itself.
|
-put mycrypt stuff from func/modify_email_of_sgroup in the setPassword itself.
|
||||||
|
-fix the error paths by making them use the ingame_path & outgame paths too
|
||||||
|
|
||||||
|
module related:
|
||||||
|
-put the install.php stuff into the module.install file
|
||||||
|
-add extra data fields that can be changed like the gender, country
|
||||||
|
|
||||||
|
|
|
@ -42,23 +42,31 @@ $cfg['db']['ring']['pass'] = '';
|
||||||
// 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';
|
||||||
|
//groupemail is the email that sends the email
|
||||||
$cfg['mail']['default_groupemail'] = 'amsryzom@gmail.com';
|
$cfg['mail']['default_groupemail'] = 'amsryzom@gmail.com';
|
||||||
|
//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
|
||||||
$cfg['mail']['default_username'] = 'amsryzom@gmail.com';
|
$cfg['mail']['default_username'] = 'amsryzom@gmail.com';
|
||||||
$cfg['mail']['default_password'] = 'lol123bol';
|
//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
|
||||||
$cfg['mail']['host'] = "ryzomcore.com";
|
$cfg['mail']['host'] = "ryzomcore.com";
|
||||||
|
|
||||||
//Defines mailing related stuff
|
//Defines mailing related stuff
|
||||||
$SUPPORT_GROUP_IMAP_CRYPTKEY = "azerty";
|
$SUPPORT_GROUP_IMAP_CRYPTKEY = "azerty";
|
||||||
$TICKET_MAILING_SUPPORT = true;
|
$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/daan/mail";
|
||||||
|
$MAIL_LOG_PATH = "/home/daan/mail/cron_mail.log";
|
||||||
|
|
||||||
//terms of service url location
|
//terms of service url location
|
||||||
$TOS_URL ="http://createyourtos.com";
|
$TOS_URL ="http://heregoesyourtos.com";
|
||||||
|
|
||||||
//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';
|
||||||
|
@ -72,15 +80,16 @@ $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 edit these..)
|
||||||
$AMS_LIB = dirname( dirname( __FILE__ ) ) . '/ams_lib';
|
$AMS_LIB = dirname( dirname( __FILE__ ) ) . '/ams_lib';
|
||||||
$AMS_TRANS = $AMS_LIB . '/translations';
|
$AMS_TRANS = $AMS_LIB . '/translations';
|
||||||
$AMS_CACHEDIR = $AMS_LIB . '/cache';
|
$AMS_CACHEDIR = $AMS_LIB . '/cache';
|
||||||
//Here your inc and func resides
|
//Here your inc and func resides
|
||||||
$SITEBASE = dirname( __FILE__ ) . '/html/' ;
|
$SITEBASE = dirname( __FILE__ ) . '/html/' ;
|
||||||
|
|
||||||
$BASE_WEBPATH = 'http://localhost:40917/www/html';
|
//the paths to your website url
|
||||||
$IMAGELOC_WEBPATH = 'http://localhost:40917/ams_lib/img';
|
$BASE_WEBPATH = 'http://localhost:40917';
|
||||||
|
$IMAGELOC_WEBPATH = 'http://localhost:40917/img';
|
||||||
$WEBPATH = $BASE_WEBPATH . '/index.php';
|
$WEBPATH = $BASE_WEBPATH . '/index.php';
|
||||||
$INGAME_WEBPATH = $BASE_WEBPATH . '/index.php';
|
$INGAME_WEBPATH = $BASE_WEBPATH . '/index.php';
|
||||||
$CONFIG_PATH = dirname( __FILE__ );
|
$CONFIG_PATH = dirname( __FILE__ );
|
||||||
|
|
Loading…
Reference in a new issue