Giter Club home page Giter Club logo

wowsimpleregistration's Introduction

๐ŸŒ Simple Registration Page for TrinityCore/AzerothCore/AshamaneCore/CMangos

Create a versatile website for your game server with this easy-to-use script, featuring compatibility with major server cores.

Supported Cores:

โญ If you liked the project, feel free to give it a shining star. โญ

๐Ÿ–ฑ๏ธ Prerequisites

Ensure PHP version 8.0 or higher is installed and the following extensions are enabled:

โš™๏ธ Installation Guide (Last version - PHP 8)

  1. Fulfill the above prerequisites on your server.

  2. Obtain the project files:

    • Download and unzip the project, or clone it using Git:
      git clone https://github.com/masterking32/WoWSimpleRegistration
      
  3. Navigate to the application/config/ directory and rename the file config.php.sample to config.php.

  4. Edit the newly renamed config.php file, inserting your server details. Note that if using the "Image Captcha" feature, PHP's GD2 module must be enabled.

  5. Once configuration is complete, your registration page should be operational.

๐Ÿ”ง PHP 7 Version Download

For those requiring PHP 7 support, please use the last compatible commit for PHP 7. Follow these steps to clone the repository at the specific commit:

git clone https://github.com/masterking32/WoWSimpleRegistration
cd WoWSimpleRegistration
git checkout 32a1e7e6bc31f2ed6ed1d83f64d1ae62aeab9d32

๐Ÿช› Debugging

Encountering a blank page can be a common issue, typically indicating a hidden error that needs to be diagnosed. To facilitate troubleshooting, enable debug_mode in the configuration file.

Hereโ€™s how to enable debug mode:

  • Open the config.php file.
  • Locate the $config['debug_mode'] parameter.
  • Set it to true to enable debug mode.

โš ๏ธ Important: Remember to disable debug mode once you have resolved the issues. Debug mode should be set to false before deploying the website in a production environment or going live. This helps to ensure security and performance are not compromised.

โœ… Features

  1. Registration Page: Accommodating a wide range of game versions including Vanilla, TBC, WotLK, MoP, WoD, Legion, and BFA.
  2. Online Players Status: Check who's online at the server, with support for multiple realms.
  3. Leaderboards: Display top players based on Playtime, Kills, Honor Points, Arena Points, and Arena Teams across different realms.
  4. Connection Guide: Step-by-step โ€˜How to connectโ€™ page for new players.
  5. Contact Form: Accessible โ€˜Contact usโ€™ page for inquiries and support.
  6. Multiple Themes: Choose from various templates such as Light, Icecrown, Kaelthas, Advance, and Battle for Azeroth.
  7. Password Management: Facilities to change (as of April 10, 2019) and recover passwords (as of May 31, 2019).
  8. Vote System: Engage your community with a voting system (added on April 3, 2020).
  9. Captcha Integration: Protect your site with HCaptcha/Recaptcha v2 (since July 27, 2020).
  10. Two-Factor Authentication (2FA): Add an extra layer of security with 2FA (introduced on July 28, 2020).
  11. Multilingual Support: Making the site accessible to a global audience with support for various languages (added on September 10, 2020), including:
    • ๐Ÿ‡ฌ๐Ÿ‡ง English
    • ๐Ÿ‡ฎ๐Ÿ‡ท Persian
    • ๐Ÿ‡ฎ๐Ÿ‡น Italian
    • ๐Ÿ‡จ๐Ÿ‡ณ Chinese Simplified
    • ๐Ÿ‡น๐Ÿ‡ผ Chinese Traditional
    • ๐Ÿ‡ธ๐Ÿ‡ช Swedish
    • ๐Ÿ‡ซ๐Ÿ‡ท French
    • ๐Ÿ‡ฉ๐Ÿ‡ช German
    • ๐Ÿ‡ช๐Ÿ‡ธ Spanish
    • ๐Ÿ‡ฐ๐Ÿ‡ท Korean
    • ๐Ÿ‡ท๐Ÿ‡บ Russian
    • ๐Ÿ‡ต๐Ÿ‡น Portuguese

๐Ÿ—’๏ธ Changelog

2.0.2 (2/24/2021)

  • Added a language changer feature. (Thanks to DuelistRag3)

2.0.1 (2/20/2021)

  • Introduced SRP6 support for CMangos.

2.0.0 (8/03/2020)

  • New Battle for Azeroth template added.

1.9.9 (8/03/2020)

  • Multi-language support introduced.

1.9.8 (8/03/2020)

  • Implemented SRP6 support.

1.9.7 (7/28/2020)

  • Added Two-Factor Authentication (2FA) support.
  • Patched a low-level security vulnerability. (Important: Please upgrade to this version)
  • Resolved various bugs.
  • Included the account set addon command as a post-registration step for SOAP registrations.

1.9.6 (7/27/2020)

  • Added HCaptcha/Recaptcha/Image captcha support.
  • Enhanced page load performance.
  • Expanded descriptions within the config file for better clarity.
  • Updated composer packages.

1.9.5 (4/17/2020)

  • Enabled Register/Restore Password feature via SOAP, with CMangos support.

1.9.4 (4/03/2020)

  • Vote system feature added.

1.9.3 (4/02/2020)

  • Introduced a new template.

1.9.2 (3/31/2020)

  • Fixed reported issues.

1.9.1 (3/12/2020)

  • Added PHP version check.

1.9 (3/12/2020)

  • Allowed multiple accounts to share one email address for non-battle.net servers.
  • Changed the user identification method from email to username for password change and restoration features on non-battle.net servers.
  • Added the option to enable or disable the display of top players and online players.

๐Ÿ–ผ๏ธ Screenshots

Advance Template

Advance Template Screenshot

Battle for Azeroth Template

Battle for Azeroth Template Screenshot

Light Template

Light Template Register Page Screenshot

IceCrown Template

IceCrown Template Home Page Screenshot

Kael'thas Template

Kael'thas Template Home Page Screenshot

Looking for more visuals? Browse additional screenshots here.

โฌ‡๏ธ Credits

๐Ÿง‘โ€๐Ÿ’ป Programming

๐Ÿซ‚ Translations

Heartfelt thanks to all the contributors for their invaluable support and contributions to this project.

wowsimpleregistration's People

Contributors

coolzoom avatar den13501 avatar dependabot[bot] avatar duelistrag3 avatar haeniken avatar helias avatar kitzunu avatar masoudr avatar masterking32 avatar oiuv avatar phentora avatar rescr1pt avatar xjose93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wowsimpleregistration's Issues

Vote sites quality of life suggestion

Hello,

First of all i wanna say thank you for the amazing Simple registration page.

However i have 1 suggestion. Could you make the vote sites open in a new tab instead when clicking the vote sites?
It's a little hectic to open the vote site, having to go back to the site, scroll down and rinse and repeat.

Other than that its awesome. Thank you!

Images not displaying, templates not loading

Recently installed this site to use for registrations and I seem to have it connected to my Wow server, but I have issues with getting this site to display any images, or even formatting.
Site is being hosted on a Debian 10 (Buster) Linux VM locally.
Using
PHP 7.3.19-1~deb10u1
Apache/2.4.38 (Debian)
PHP7.3-common

I have enabled the following in php.ini

extension=gd2
extension=gmp
extension=mbstring
extension=pdo_firebird
extension=pdo_mysql
extension=pdo_oci
extension=pdo_odbc
extension=snmp
extension=soap

The site looks like this
wowweb1

Verified the URL in settings, and also tried different templates, they all do the same thing.

My website have NO IMAGES loaded

Hello ! Thanks for providing a nice website that seems to fit my needs (:
I have a problem with my installation : I set it up and the website is loading but without any image at all... The themes seem to not load properly. I don't get where it fails, enabling debug mode doesn't change anything to the display actually...

I'm stuck :/

I try to use it with the latest TrinityCore as CMS working with the new auth method are quite rare.
bug_website_capt

If you're able to figure out what's hapenning... Ty (:

Error data base acess

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in /var/www/html/brasil-wow/application/vendor/catfan/medoo/src/Medoo.php:323 Stack trace: #0 /var/www/html/brasil-wow/application/include/database.php(39): Medoo\Medoo->__construct() #1 /var/www/html/brasil-wow/application/loader.php(48): database::db_connect() #2 /var/www/html/brasil-wow/index.php(33): require_once('/var/www/html/b...') #3 {main} thrown in /var/www/html/brasil-wow/application/vendor/catfan/medoo/src/Medoo.php on line 323

everything I do, is the same error
I'm using the debian 10 buster, MariaDB 10

ย  Nome do Utilizador Nome do Host Tipo Privilรฉgios Conceder/Grant Acรงรตes
ย  root % global ALL PRIVILEGES Sim Editar privilรฉgios
ย  root localhost global ALL PRIVILEGES Sim Editar privilรฉgios
ย  wowadmin % global ALL PRIVILEGES Sim Editar privilรฉgios
ย  wowadmin localhost global ALL PRIVILEGES Sim

Could you help me, please

Unclear Installation Instructions

I tried to deploy this on an Ubuntu 18.04 server, and the instructions are extremely unclear. Simply installing the repo into /var/www/html doesn't work, website fails to handle request. Turning on debug mode gives the following error:
Fatal error: Uncaught InvalidArgumentException: Unsupported PDO driver: mysql in /var/www/html/application/vendor/catfan/medoo/src/Medoo.php:280 Stack trace: #0 /var/www/html/application/include/database.php(26): Medoo\Medoo->__construct(Array) #1 /var/www/html/application/loader.php(43): database::db_connect() #2 /var/www/html/index.php(9): require_once('/var/www/html/a...') #3 {main} thrown in /var/www/html/application/vendor/catfan/medoo/src/Medoo.php on line 280

Prompt: "Your account has been created." but the account is invalid

Registration prompt: "Your account has been created." but the account is invalid, mysql database: "account" table, no account dat.

Version 2.0.2

<?php
/**
 * @author Amin Mahmoudi (MasterkinG)
 * @copyright    Copyright (c) 2019 - 2021, MasterkinG32. (https://masterking32.com)
 * @link    https://masterking32.com
 * @Description : It's not masterking32 framework !
 **/

/*===================================================================
baseurl
    That's your website URL. Example: "https://DOMAIN.COM"
page_title
    That's your website title. Example: "My WOW Private server!"
language
    Default website language (english/persian/italian/chinese-simplified/chinese-traditional/swedish/french/german/spanish/korean)
supported_langs
	List of languages supported, You can remove each language you don't want!
	if you want to disable language changer, Change it to: $config['supported_langs'] = false;
=====================================================================*/
$config['baseurl'] = "http://XXX.com"; // MAKE SURE USE VALID URL, If you have any issue loading images and template please check this field
$config['page_title'] = "Simple Register";
$config['language'] = "chinese-simplified";
$config['supported_langs'] = [
	'english' => 'English',
	'persian' => 'Persian',
	'italian' => 'Italian',
	'chinese-simplified' => 'Chinese Simplified',
	'chinese-traditional' => 'Chinese Traditional',
	'swedish' => 'Swedish',
	'french' => 'French',
	'german' => 'German',
	'spanish' => 'Spanish',
	'korean' => 'Korean'
];
/*===================================================================
If you see a white screen or have an issue, you can enable it to see the errors.
Note that after testing, be sure to disable this option.
=====================================================================*/
$config['debug_mode'] = true; // ENABLE Debug mode if you got blank screen or 503 error, to see what happen?
/*===================================================================
Your server information.
realmlist
    Server Realmlist
patch_location
    If have patch set URL to download our patch here or make that empty
game_version
    Your game version
=====================================================================*/
$config['realmlist'] = 'XXX';
$config['patch_location'] = 'http://mypatch.com/patch.mpq';
$config['game_version'] = '3.3.5a (12340)';
/*===================================================================
Select your server expansion.
If you want to use advance template, Your images and backgrounds will be changed for your expansion.
0 = Classic
1 = The Burning Crusade (TBC)
2 = Wrath of the Lich King (WotLK)
3 = Cataclysm
4 = Mist of Pandaria (MOP)
5 = Warlords of Draenor (WOD)
6 = Legion
7 = BFA (I'm not sure about this one!)
=====================================================================*/
$config['expansion'] = '2';
/*===================================================================
Core Type:
0 = TrinityCore
1 = AzerothCore
2 = AshamaneCore
3 = Skyfire Project
4 = OregonCore
5 = CMangos
10 = etc
=====================================================================*/
$config['server_core'] = 1;
/*===================================================================
If your server is WoD/Legion/BFA you should enable it!
=====================================================================*/
$config['battlenet_support'] = false;
/*===================================================================
If your core password encryption is SRP6, you need to enable it.
For last versions of the TrinityCore(3.3.5/master) you need to enable it. https://git.io/JJRH4 and https://git.io/JJrxq
Enable that if you use the last version of TC.
You need to enable the GMP extension for PHP.
=====================================================================
***************** GMP REQUIRED ********************
******Uncomment extension=gmp in your php.ini******
=====================================================================*/
$config['srp6_support'] = false; // READ COMMENTS, [Please ENABLE GMP]
/*===================================================================
If you have an issue with top players or online players you can disable them!
disable_top_players
    Disable server top players page [true: Hide top players page]
disable_online_players
    Disable online players page [true: Hide online players page]
disable_changepassword
    Disable change password
    Change this to true, If you are using SOAP for registration.
=====================================================================*/
$config['disable_top_players'] = false;
$config['disable_online_players'] = false;
$config['disable_changepassword'] = false;
/*===================================================================
Allow to users make account with an email for several accounts (Just work for non-battle.net servers)
=====================================================================*/
$config['multiple_email_use'] = false;
/*===================================================================
Template name, You can change it to:
light
advance
icecrown
kaelthas
battleforazeroth
=====================================================================*/
$config['template'] = 'light';
/*===================================================================
SMTP config.
We need this part to send an email. (used for restore password and 2FA)
You can use your own SMTP or Gmail/Yahoo/Hotmail and etc
smtp_host
    Specify main and backup SMTP servers
smtp_port
    TCP port to connect to
smtp_auth
    Enable SMTP authentication
smtp_user
    SMTP username
smtp_pass
    SMTP password
smtp_secure
    Enable TLS encryption, `ssl` also accepted
smtp_mail
    Send emails by ...
=====================================================================*/
$config['smtp_host'] = 'smtp1.example.com';
$config['smtp_port'] = 587;
$config['smtp_auth'] = true;
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'SECRET';
$config['smtp_secure'] = 'tls';
$config['smtp_mail'] = '[email protected]';
/*===================================================================
vote_system
    You can enable/disable vote system.
    Vote system is a simple and don't have postback or something like that to verify the votes
    If you use Cloudflare and you have issue with IPs and voting, Read this: https://support.cloudflare.com/hc/en-us/articles/200170786
vote_sites
    Your vote sites and images, must be array.
=====================================================================*/
$config['vote_system'] = false;
$config['vote_sites'] = array(
    array(
        'image' => 'http://www.top100arena.com/hit.asp?id=93137&c=WoW&t=2',
        'site_url' => 'http://www.top100arena.com/in.asp?id=93137'
    ),
    array(
        'image' => 'https://topg.org/topg.gif',
        'site_url' => 'https://topg.org/wow-private-servers/in-479394'
    ),
    array(
        'image' => 'http://www.xtremeTop100.com/votenew.jpg',
        'site_url' => 'http://www.xtremetop100.com/in.php?site=1132364316'
    )
);
/*===================================================================
You can use Image captcha or HCaptcha or Recaptcha v2.
If you want to use Recaptcha v2 or HCaptcha required to enable cURL in your PHP.
** We recommend using HCaptcha. **
captcha_type
    0) Image Captcha
    1) HCaptcha
    2) ReCaptcha v2
    +2) Disable captcha. (DON'T DO THAT!)
For image captcha, you don't need to put anything for captcha_key captcha_secret or captcha_language.
captcha_secret/captcha_secret
    To get key and secret for HCaptcha go to https://hCaptcha.com/?r=6d4f9117ba12
    To get key and secret for Recaptcha go to https://www.google.com/recaptcha
captcha_language
    https://docs.hcaptcha.com/languages
    https://developers.google.com/recaptcha/docs/language
=====================================================================
******Uncomment extension=gd2 in your php.ini******
=====================================================================*/
$config['captcha_type'] = 0;
$config['captcha_key'] = '';
$config['captcha_secret'] = '';
$config['captcha_language'] = 'en';
/*===================================================================
soap_for_register
    Don't Enable it for AzerothCore/TrinityCore/SkyFire and AshamaneCore.
    If you enable that you need to disabled change password feature.
    If you want to enable Two-Factor Authentication (2FA) you don't need to enable this option.
    For Two-Factor Authentication (2FA)  just need to config other parts of the SOAP.

SOAP features need to enable soap in your PHP.

soap_host
    SOAP server address
soap_port
    SOAP server port.
soap_uri
    urn:TC for TrinityCore
    urn:AC for AzerothCore
    urn:MaNGOS for Mangos
soap_style
    SOAP style
soap_username
    SOAP account username
soap_password
    SOAP account password
soap_ca_command
    Create account command
    You can use it like this too: '.account create {USERNAME} {PASSWORD} {PASSWORD} {EMAIL}'
    Check create account command in your server!
soap_cp_command
    Change password command
    account set password {USERNAME} {PASSWORD} {PASSWORD}
    Check change password command in your server
soap_asa_command
    If you use soap_for_register, You need to set this command.
    This command will be run after soap_ca_command.
    If you don't want to run any command after soap_ca_command you can make it empty like this: ''
    account set addon {USERNAME} {EXPANSION}
=====================================================================
******Uncomment extension=soap in your php.ini******
=====================================================================*/
$config['soap_for_register'] = false;
$config['soap_host'] = '127.0.0.1';
$config['soap_port'] = '7878';
$config['soap_uri'] = 'urn:MaNGOS';
$config['soap_style'] = 'SOAP_RPC';
$config['soap_username'] = 'admin_soap';
$config['soap_password'] = 'admin_soap';
$config['soap_ca_command'] = 'account create {USERNAME} {PASSWORD}';
$config['soap_cp_command'] = 'account set password {USERNAME} {PASSWORD} {PASSWORD}';
$config['soap_asa_command'] = 'account set addon {USERNAME} {EXPANSION}';
/*===================================================================
Two-Factor Authentication (2FA)
Your core must support 2fa.
This feature just works for cores that have 2fa command.
If your core support 2fa but don't have any command, you can check this: https://github.com/masterking32/WoWSimpleRegistration/pull/20 (Support some of the cores, Required to use 2fa for registration.)

You need to config SOAP too but you don't need to enable 'soap_for_register'.
For security reasons, We used email to enable 2fa, You need to enable SMTP config.

2fa_support
    You can enable or disable it. (true/false)
soap_2d_command
    Command to disable 2fa.
    account set 2fa {USERNAME} off
soap_2e_command
    Command to enable 2fa.
    account set 2fa {USERNAME} {SECRET}
=====================================================================*/
$config['2fa_support'] = false;
$config['soap_2d_command'] = 'account set 2fa {USERNAME} off';
$config['soap_2e_command'] = 'account set 2fa {USERNAME} {SECRET}';
/*===================================================================
You Auth/Realmd MySQL information.
db_auth_host
    Auth Database Host
db_auth_port
    Auth Database Port
db_auth_user
    Auth Database Username
db_auth_pass
    Auth Database Password
db_auth_dbname
    Auth Database DBName
=====================================================================*/
$config['db_auth_host'] = 'XXX';
$config['db_auth_port'] = '3306';
$config['db_auth_user'] = 'root';
$config['db_auth_pass'] = 'XX828';
$config['db_auth_dbname'] = 'acore_auth';
/*===================================================================
Your character's databases.
If your server has a lot of realms you can check the example at the bottom of the file.
=====================================================================*/
$config['realmlists'] = array(
    "1" => array(
        'realmid' => 1, // Realm ID
        'realmname' => "AzerothCore", // Realm Name
        'db_host' => "152.*.217.141", // MySQL Host IP
        'db_port' => "3306", // MySQL Host Port
        'db_user' => "root", // MySQL username
        'db_pass' => 'XX3828', // MySQL password
        'db_name' => "acore_characters" // Characters database name
    )
);

/*
 **********************************
 * EXMAPLE OF MORE THAN ONE REALM *
 **********************************

$config['realmlists'] = array( // Add your realmlist here
    "1" => array(
        'realmid' => 1,
        'realmname' => "Realm 1",
        'db_host' => "127.0.0.1",
        'db_port' => "3306",
        'db_user' => "root",
        'db_pass' => "root",
        'db_name' => "rm1_chars"
    ),
    "2" => array(
        'realmid' => 2,
        'realmname' => "Realm 2",
        'db_host' => "127.0.0.1",
        'db_port' => "3306",
        'db_user' => "root",
        'db_pass' => "root",
        'db_name' => "rm2_chars"
    ),
    "3" => array(
        'realmid' => 3,
        'realmname' => "Realm 3",
        'db_host' => "127.0.0.1",
        'db_port' => "3306",
        'db_user' => "root",
        'db_pass' => "root",
        'db_name' => "rm3_chars"
    )
);
*/



$config['script_version'] = '2.0.2';

QQๆˆชๅ›พ20211004004936
QQๆˆชๅ›พ20211004004803
QQๆˆชๅ›พ20211004005238
a

After completing the registered account, log in the game prompt: "The account is locked, but can be unlocked"

After completing the registered account, log in the game prompt: "The account is locked, but can be unlocked"

Thank you for providing such a great sharing. In the TrinityCore3.5(2020.08.17) application, I completed the deployment and successfully registered an account, but I logged in to the game client and prompted: "This account is locked, but it can be unlocked." May I ask where I should stick to?

Restore password fails via SOAP. Fatal error "cannot connect to host"

Restore password only works when said account actually has an email, regardless of SOAP enabled or not.
The mail gets sent but when the link is clicked the following error displays:

Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers in /var/www/html/application/include/functions.php:164 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://127.0.0....', 'urn:MaNGOS#exec...', 1, 0) #1 /var/www/html/application/include/functions.php(164): SoapClient->__call('executeCommand', Array) #2 /var/www/html/application/include/user.php(454): RemoteCommandWithSOAP('account set pas...') #3 /var/www/html/application/include/user.php(19): user::restorepassword_setnewpw('', '...') #4 /var/www/html/index.php(34): user::post_handler() #5 {main} thrown in /var/www/html/application/include/functions.php on line 164

I have a very barebones SOAP registration script right now which works to create an account with user and password, I have even tried a newly made account as the SOAP user to test if it has proper access, it has.

OS: Centos 7
PHP: 7.3.13
PHP modules installed and enabled.

How to reproduce:
Enable SOAP. Restore a password. Click the link in the e-mail. The error shows up.

Broken Instructions

Tried to deploy to an Ubuntu 18.04 server, had a lot more setup to do only to be thrown PHP errors. Are there more detailed compile instructions?

AzerothCore registered account function is invalid

Describe the bug
After registration, there is no account data in the database "account" table

Expected behavior
After completing the registration action, and WoWSimpleRegistration prompts: "Your account has been created." The mysql.account table should create account data
Screenshots

Desktop (please complete the following information):
-OS: [windows10]
-Server core: [azerothcore]
-Core repository: [https://github.com/azerothcore/azerothcore-wotlk]
-Game version: [3.3.5]
-PHP version: [7.2.0]
-Browser [chrome]

Additional context

Can not change password

    Share your vMangos repo and if you are using SOAP for register .... change the password not working make sure that feature is disabled.

Originally posted by @masterking32 in #55 (comment)

I had the same problem๏ผŒI use Light's Hope Vanilla Reapck V21 and disable SOAP๏ผŒI can receive the new password which can login the game. but it said Invalid old password when I change the password in webpage,
It may be caused by this change

Not working for the newest version of AzerothCore

As the title says, currently the page is not working for the newest version of AzerothCore. The core got updated and apparently that introduced some new implementations to the account system.

Currently if you try to register an account with this page, while using AzerothCore, you will get the green message "Your account has been created.", but in reality it is not.

Dockerfile

FROM php:7.2-alpine3.11
RUN apk update && apk add build-base
RUN apk add postgresql postgresql-dev \
&& apk add libpng-dev \
&& apk add freetype-dev \
&& apk add libmcrypt-dev \
&& apk add libpng-dev \
&& apk add libjpeg-turbo \
&& apk add libjpeg-turbo-dev
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-install mysqli pdo pdo_mysql \
&& docker-php-ext-install pdo pdo_pgsql pgsql \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include \
--with-jpeg-dir=/usr/include \
&& docker-php-ext-install gd \
&& docker-php-ext-install mbstring \
&& docker-php-ext-enable gd
RUN apk add zlib-dev git zip \
&& docker-php-ext-install zip
RUN curl -sS https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/ \
&& ln -s /usr/local/bin/composer.phar /usr/local/bin/composer
COPY . /home/www-data
WORKDIR /home/www-data/application
RUN composer update && composer install --prefer-source --no-interaction
WORKDIR /home/www-data/
ENV PATH="~/.composer/vendor/bin:./vendor/bin:${PATH}"
EXPOSE 8000
EXPOSE 587
EXPOSE 3306
ENTRYPOINT php -S 0.0.0.0:8000

took the time to make a Dockerfile for you, could not submit a PR tho.
example use case of the dockerfile

docker build . -t wowsignup:dev
docker run -d -p 80:8000 --name=wowsignup wowsignup:dev

HELP

help is erros
image

AzerothCore remove `sha_pass_hash` make this project cant work.

This is a really great project, it's easy to use and very reliable.

Thank you for your contribution.

AzerothCore's latest code removes sha_pass_hash column of the account table, that makes project no longer available.

Can anyone update this project for AzerothCore when they are free?

This is the commit information of AzerothCore

commit 485f7e76391a5bbf1af6b3219d27db721af38440
Date: Sun Mar 21 15:17:57 2021 +0100

 feat(Core/DB/Authserver): remove `sha_pass_hash` (#4827)

Thanks for developers.

Account registration

Describe the bug
So after configuring everything that I needed for registration to work, I tried registering accounts and it says your account has been created but the database has no new accounts. I'm not getting any errors and the wow server seems to be working just fine.

To Reproduce
Steps to reproduce the behavior:

  1. Install the website
  2. Configure settings
  3. Attempt to create account

Expected behavior
The account should end up inserted into the DB

Screenshots
https://i.imgur.com/NdfVpRA.png

Desktop (please complete the following information):

Additional context
If I enable picture captcha it either says captcha is required or captcha failed when everything is right.
I'm also running it on a 4 node load balanced website with round robin balancing.

Vote problems

ok so, I setup the vote links and image adresses, and when I click on them, the site on refreshes himself and nothing in rest..

Would be usefull to implement new tab feature... I mean when you click on the vote link to open the vote page in a new tab

Fatal error

After setting up everything in the config.php file and I try to access the site, I get the following fatal error:
Fatal error: Uncaught Error: Call to undefined function Gregwar\Captcha\imagecreatetruecolor() in /var/www/html/WoWSimpleRegistration/application/vendor/gregwar/captcha/src/Gregwar/Captcha/CaptchaBuilder.php:401 Stack trace: #0 /var/www/html/WoWSimpleRegistration/application/include/user.php(38): Gregwar\Captcha\CaptchaBuilder->build() #1 /var/www/html/WoWSimpleRegistration/index.php(34): user::post_handler() #2 {main} thrown in /var/www/html/WoWSimpleRegistration/application/vendor/gregwar/captcha/src/Gregwar/Captcha/CaptchaBuilder.php on line 401

Segmentation Fault for New Accounts on server startup

Describe the bug
Creating account via webpage works until the bnetserver crashes/stops/restarts
Deleting the account created via webpage (account table entry in the auth database) allows the server to load up normally, however this causes the account to be disconnected and the player can no longer access to realm properly...

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'website address' create account
  2. ( at this point you can use the account to play on the server normally)
  3. shut bnet server down
  4. relaunch bnet server
  5. See error

Expected behavior
Bnetserver should load with out a segmentation fault when accounts are created

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop:

  • OS: [Windows 10]
  • Server core: [TrinityCore - BFA-Reforged]
  • Core repository: BfaCore-Reforged
  • Game version: 8.3.7
  • Browser Firefox 101.0.1 (64-bit)

Server:

  • OS: Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-121-generic x86_64)
  • SSL version: OpenSSL 1.1.1f 31 Mar 2020 (library: OpenSSL 1.1.1f 31 Mar 2020)
  • Apache2 version: 2.4.41
  • PHP version: 7.1.0
  • Boost version: 1.67.0
  • MySQL client library: 8.0.29
  • MySQL server ver: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1

Additional context
Add any other context about the problem here.

SMTP issue

I am having issues getting SMTP to work and send the emails. I know my information is correct as I use it on my PhPBB website and it works flawlessly. I am not sure what the issue might be besides that on PhPBB it asks

"Authentication method for SMTP:
Only used if a username/password is set, ask your provider if you are unsure which method to use."

It then has some options such as PLAIN or LOGIN, I use LOGIN to make my SMTP work and send the emails for registration on my PhPBB.

Desktop (please complete the following information):

  • OS: Windows 10
  • Server core: cMaNGOS
  • Game version: 1.12.1-3.3.5a
  • PHP version: 8.0.7
  • Browser Brave

image
This information works perfect for PhPBB

$config['smtp_host'] = 'smtp.comcast.net';
$config['smtp_port'] = 587;
$config['smtp_auth'] = true;
$config['smtp_user'] = 'username';
$config['smtp_pass'] = 'password';
$config['smtp_secure'] = 'ssl';
$config['smtp_mail'] = 'noreply.cheekybugger.net';

But this wont send for this website :/

feature request for account recovery

for no battle.net accounts you can have multiple accounts with same emails, currently the reset feature doesn't allow to write account name in case you want to reset only one account.

Registration issues


Page reality normal

Registration also indicates success

The database has no registration information

HTTP ERROR 500

Describe the bug
A clear and concise description of what the bug is.
Make sure you are enabled debug_mode in the config file.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'up to page'

Desktop (please complete the following information):

  • OS: [windows 10
  • Server core: AzerothCore
  • Game version: [8.3.7]
  • PHP version: [7.4
  • Browser chrome, eage]

error1

https://imgbox.com/6fbRWaAY

[Request] Forum and Armory

Are you planning to implement such features?
I saw the folders in the website and I thought that you want to implement them.

would be nice

Registration with hcaptcha enabled fail with error message

Describe the bug :

Encounter registration error visible by enable debug option. I already enable gd int php....

Steps to reproduce the behavior:

  1. Go to website url
  2. Click on register
  3. Fill with account email & password then resolve hcaptcha
  4. See error : Fatal error: Uncaught Error: Call to undefined function curl_init() in C:\srvwow\website\application\include\functions.php:212 Stack trace: #0 C:\srvwow\website\application\include\functions.php(256): validate_hcaptcha('XXXXXXXXX') #1 C:\srvwow\website\application\include\user.php(81): captcha_validation() #2 C:\srvwow\website\application\include\user.php(33): user::bnet_register() #3 C:\srvwow\website\index.php(34): user::post_handler() #4 {main} thrown in C:\srvwow\website\application\include\functions.php on line 212

Expected behavior :
Create account

Desktop :

  • OS: Windows server 2016
  • Server core: TrinityCore (SPP legion)
  • Game version: [e.g 3.3.5]
  • PHP version: 7
  • Browser Firefox

php.ini :

;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
extension=php_intl.dll
extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_exif.dll      ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll

php error log :

`PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: ../php7/ext\php_curl.dll (Le module sp\xef\xbf\xbdcifi\xef\xbf\xbd est introuvable.), ../php7/ext\php_php_curl.dll.dll (Le module sp\xef\xbf\xbdcifi\xef\xbf\xbd est introuvable.)) in Unknown on line 0

`

You cannot register users to the server through the WEB,

Describe the bug
You cannot register users to the server through the WEB,
and you can successfully register users with worldserver manual commands.

Desktop (please complete the following information):

  • OS: [windows]
  • Server core: [ TrinityCore]
  • Core repository: [https://github.com/TrinityCore/TrinityCore/releases/tag/TDB335.21101]
  • Game version: [ 3.3.5]
  • PHP version: [ 7.4.0]
  • Browser [chrome]
    myweb http://780wow.com

Add Korean Language

Thanks for sharing a good website.
I edited the configuration file for Korean
Add files plase

File Name : korean.php

$language['lang'] = 'korean';
$language['custom_css'] = '';
$language['tpl_light_custom_css'] = '';
$language['tpl_advance_custom_css'] = '';
$language['tpl_icecrown_custom_css'] = '';
$language['tpl_kaelthas_custom_css'] = '';
$language['tpl_battleforazeroth_custom_css'] = '';

$language['welcome_to'] = 'ํ™˜์˜ ํ•ฉ๋‹ˆ๋‹ค.';
$language['welcome_message'] = '์„œ๋ฒ„์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค. ์ง€๊ธˆ ๊ฐ€์ž…ํ•˜์„ธ์š”.';
$language['get_started'] = '์‹œ ์ž‘ ํ•˜ ๊ธฐ';
$language['home'] = 'ํ™ˆ ํ™” ๋ฉด';
$language['about'] = '์„œ๋ฒ„์— ๊ด€ํ•˜์—ฌ';
$language['how_to_connect'] = '์ ‘ ์† ๋ฐฉ ๋ฒ•';
$language['register'] = 'ํšŒ ์› ๊ฐ€ ์ž…';
$language['server_status'] = '์„œ ๋ฒ„ ์ƒ ํƒœ';
$language['contact'] = '์—ฐ ๋ฝ ํ•˜ ๊ธฐ';
$language['server_information'] = '์„œ ๋ฒ„ ์ • ๋ณด';
$language['server_type'] = '์„œ ๋ฒ„ ํƒ€ ์ž…';
$language['server_uptime'] = '์„œ๋ฒ„ ๊ตฌ๋™์‹œ๊ฐ„';
$language['xp_rate'] = '๊ฒฝํ—˜์น˜ ๋ฐฐ์œจ';
$language['drop_rate'] = '๋“œ๋ž ๋ฐฐ์œจ';
$language['start_level'] = '์‹œ์ž‘ ๋ ˆ๋ฒจ';
$language['max_level'] = '์ตœ๋Œ€ ๋ ˆ๋ฒจ';
$language['fixed_spells'] = '์ŠคํŽ  ์ˆ˜์ •์‚ฌํ•จ';
$language['fixed_dungeons'] = '๋˜์ „ ์ˆ˜์ •์‚ฌํ•ญ';
$language['fixed_instances'] = '์ธ๋˜ ์ˆ˜์ •์‚ฌํ•ญ';
$language['edit_on'] = 'ํŽธ์ง‘ ๊ฐ€๋Šฅ';
$language['server_address'] = '์„œ ๋ฒ„ ์ฃผ ์†Œ';
$language['realmlist'] = '๋ ๋ฆ„๋ฆฌ์ŠคํŠธ';
$language['create_account'] = '๊ณ„์ •์ƒ์„ฑ';
$language['create_account_tip1'] = '๋จผ์ € ๊ณ„์ •์„ ์ƒ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ด ๊ณ„์ •์€ ์›นํŽ˜์ด์ง€ ๋กœ๊ทธ์ธ์— ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ๊ณ„์ •์ƒ์„ฑ ํŽ˜์ด์ง€๋ฅผ ์—ด๋ ค๋ฉด "ํšŒ์›๊ฐ€์ž…"์„ ํด๋ฆญํ•˜์„ธ์š”.';
$language['download_game'] = 'ํด๋ผ์ด์–ธํŠธ ๋‹ค์šด๋กœ๋“œ';
$language['create_account_tip2'] = '์›”๋“œ ์˜ค๋ธŒ ์›Œํฌ๋ž˜ํ”„ํŠธ๋ฅผ ๋‹ค์šด๋กœ๋“œ ํ•˜์‹ญ์‹œ์˜ค. Windows, Mac ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ํ˜„์žฌ ๋ฒ„์ „์€'. get_config('game_version').'์ž…๋‹ˆ๋‹ค.';
$language['setup_game'] = '๊ฒŒ์ž„ ์„ค์น˜';
$language['create_account_tip3'] = '๊ฒŒ์ž„์ด ์„ค์น˜๋œ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์—ฝ๋‹ˆ๋‹ค."World of Warcraft" "Data" ๋ผ๋Š” ํด๋”๋ฅผ ์—ฐ ๋‹ค์Œ "koKR" ํด๋”๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. "realmlist.wtf" ํŒŒ์ผ์„ ๋ฉ”๋ชจ์žฅ์œผ๋กœ ์—ฝ๋‹ˆ๋‹ค.';
$language['change_server_address'] = '์„œ๋ฒ„ ์ฃผ์†Œ ๋ณ€๊ฒฝ';
$language['create_account_tip4'] = '๋ชจ๋“  ํ…์ŠคํŠธ๋ฅผ ์ง€์šฐ๊ณ  ๋‹ค์Œ์œผ๋กœ ๋ณ€๊ฒฝํ•˜์„ธ์š”.';
$language['server_rules'] = '์„œ๋ฒ„๊ทœ์น™';
$language['read_before_register'] = '๋“ฑ๋กํ•˜๊ธฐ ์ „์— ์ฝ์œผ์‹ญ์‹œ์˜ค';
$language['read_our_rules'] = '์„œ๋ฒ„ ๊ทœ์น™์— ๋Œ€ํ•˜์—ฌ ์ˆ™์ง€ํ•ด์ฃผ์„ธ์š”';
$language['rule'] = '์„œ๋ฒ„๊ทœ์น™';
$language['create_new_game_account'] = '์ƒˆ๋กœ์šด ๊ณ„์ • ์ƒ์„ฑ';
$language['email'] = '์ด๋ฉ”์ผ์ฃผ์†Œ';
$language['username'] = '์‚ฌ์šฉ์žID';
$language['password'] = 'ํŒจ์Šค์›Œ๋“œ';
$language['retype_password'] = 'ํŒจ์Šค์›Œ๋“œ ํ™•์ธ';
$language['captcha'] = '๋ณด์•ˆ๋ฌธ๊ตฌ(์•„๋ž˜๋ฌธ์ž ์ž…๋ ฅ)';
$language['change_password'] = '๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ';
$language['restore_password'] = '๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณต๊ตฌ';
$language['vote_for_us'] = '์„œ๋ฒ„ ํˆฌํ‘œํ•˜๊ธฐ';
$language['two_factor_authentication'] = '2๋‹จ๊ณ„ ์ธ์ฆํ•˜๊ธฐ';
$language['two_factor_authentication_tip1'] = 'Google Authenticator. ์„ค์น˜ํ•˜๊ธฐ';
$language['two_factor_authentication_enable'] = '2FA ํ™œ์„ฑํ™”';
$language['close'] = '๋‹ซ ๊ธฐ';
$language['vote'] = 'ํˆฌํ‘œ';
$language['old_password'] = '์ด์ „ ๋น„๋ฐ€๋ฒˆํ˜ธ';
$language['online_players'] = '์˜จ๋ผ์ธ ํ”Œ๋ ˆ์ด์–ด';
$language['online_players_msg1'] = '์ตœ๋Œ€ 49๋ช…๋งŒ ํ‘œ์‹œ - ํ˜„์žฌ ์˜จ๋ผ์ธ ํ”Œ๋ ˆ์ด์–ด';
$language['online_players_msg2'] = 'ํ˜„์žฌ ๊ฒŒ์ž„์ค‘์ธ ํ”Œ๋ ˆ์ด์–ด๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.';
$language['name'] = '์ด๋ฆ„';
$language['race'] = '์ข…์กฑ';
$language['class'] = 'ํด๋ž˜์Šค';
$language['level'] = '๋ ˆ๋ฒจ';
$language['top_players'] = '์ƒ์œ„ ํ”Œ๋ ˆ์ด์–ด';
$language['play_time'] = '๊ฒŒ์ž„ ํ”Œ๋ ˆ์ด ์‹œ๊ฐ„';
$language['killers'] = 'ํ‚ฌ ํ˜„ํ™ฉ';
$language['kills'] = '์ฃฝ์ธ ์ˆ˜';
$language['honor_points'] = '๋ช…์˜ˆ ํฌ์ธํŠธ';
$language['honor_level'] = '๋ช…์˜ˆ ๋ ˆ๋ฒจ';
$language['arena_points'] = '์•„๋ ˆ๋‚˜ ํฌ์ธํŠธ';
$language['arena_teams'] = '์•„๋ ˆ๋‚˜ ํŒ€';
$language['rank'] = '๋žญํ‚น';
$language['rating'] = '๋“ฑ๊ธ‰';
$language['captain_name'] = '์บกํ‹ด ์ด๋ฆ„';
$language['frequently_questions'] = '์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌผ';
$language['question'] = '์งˆ๋ฌธ';
$language['answer'] = '๋‹ต๋ณ€';
$language['location'] = '์œ„์น˜';
$language['call'] = 'ํ˜ธ์ถœํ•˜๊ธฐ';
$language['restore_account_password'] = '๋น„๋ฐ€๋ฒˆํ˜ธ ์ดˆ๊ธฐํ™”';
$language['about_server'] = '์„œ๋ฒ„์— ๋Œ€ํ•˜์—ฌ';
$language['game_version'] = '๊ฒŒ์ž„ ๋ฒ„์ „';
$language['server_patch'] = '์„œ๋ฒ„ ํŒจ์น˜';
$language['download'] = 'ํด๋ผ์ด์–ธํŠธ ๋‹ค์šด๋กœ๋“œ';

$language['use_valid_email'] = '์ด๋ฉ”์ผ์— ์œ ํšจํ•œ ์ฃผ์†Œ๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”';
$language['use_valid_username'] = '์‚ฌ์šฉ์ž ID์— ์œ ํšจํ•œ ๋ฌธ์ž๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”';
$language['old_password_not_valid'] = '์ด์ „ ๋น„๋ฐ€๋ฒˆํ˜ธ๊ฐ€ ํ‹€๋ ธ์Šต๋‹ˆ๋‹ค.';
$language['passwords_not_equal'] = '๋น„๋ฐ€๋ฒˆํ˜ธ๊ฐ€ ๊ฐ™์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['passwords_length'] = '๋น„๋ฐ€๋ฒˆํ˜ธ ๋ฌธ์ž ๊ธธ์ด๊ฐ€ ์œ ํšจํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['username_length'] = '์‚ฌ์šฉ์ž ID ๋ฌธ์ž ๊ธธ์ด๊ฐ€ ์œ ํšจํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['username_or_email_exists'] = '์‚ฌ์šฉ์ž ID ๋˜๋Š” ์ด๋ฉ”์ผ์ด ์ด๋ฏธ ์กด์žฌํ•ฉ๋‹ˆ๋‹ค.';
$language['email_exists'] = '์ด๋ฏธ ์‚ฌ์šฉ์ค‘์ธ ์ด๋ฉ”์ผ';
$language['username_exists'] = '์ด๋ฏธ ์‚ฌ์šฉ์ค‘์ธ ID';
$language['account_created'] = '์ƒˆ๋กœ์šด ๊ณ„์ •์ด ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.';
$language['error_try_again'] = '์˜ค๋ฅ˜!! ๋‹ค์‹œ ์‹œ๋„ํ•˜์„ธ์š”.';
$language['password_changed'] = '๋น„๋ฐ€๋ฒˆํ˜ธ๊ฐ€ ๋ณ€๊ฒฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.';
$language['email_not_correct'] = '์ด๋ฉ”์ผ ์ฃผ์†Œ๊ฐ€ ์˜ฌ๋ฐ”๋ฅด์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['username_not_correct'] = '์‚ฌ์šฉ์ž ID๊ฐ€ ์˜ฌ๋ฐ”๋ฅด์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['check_your_email'] = '์ด๋ฉ”์ผ์„ ํ™•์ธํ•ด ์ฃผ์„ธ์š”.(์ŠคํŒธ, ์ •ํฌ๋ฉ”์ผ๋กœ ์ˆ˜์‹ ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.)';
$language['account_is_not_valid'] = '๊ณ„์ •์ด ์œ ํšจํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['vote_site_not_valid'] = 'ํˆฌํ‘œ ์‚ฌ์ดํŠธ๊ฐ€ ์œ ํšจํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.';
$language['you_already_voted'] = '์ด๋ฏธ ํˆฌํ‘œ ํ•˜์…จ์Šต๋‹ˆ๋‹ค.';
$language['captcha_not_valid'] = '๋ณด์•ˆ๋ฌธ์ž๊ฐ€ ํ‹€๋ ธ์Šต๋‹ˆ๋‹ค.';
$language['hcaptcha_not_valid'] = '๋ณด์•ˆ๋ฌธ์ž๊ฐ€(HCaptcha) ํ‹€๋ ธ์Šต๋‹ˆ๋‹ค.';
$language['recaptcha_not_valid'] = '๋ณด์•ˆ๋ฌธ์ž๊ฐ€(ReCaptcha) ํ‹€๋ ธ์Šต๋‹ˆ๋‹ค.';
$language['captcha_required'] = '๋ณด์•ˆ๋ฌธ์ž๊ฐ€(Captcha) ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.';

templates not working

Site works great but I can't get any of the templates to work. It's always just plain text. Any idea what I'm doing wrong?

nevermind. i'm an idiot. i had the wrong baseurl

problem with registration

it seems like everything has been configured correctly, the site itself works, it even creates users, but for some reason the slat and verifier fields with zeros help please
image
image

Create account via SOAP expansion config

I can create account via soap, but by default accounts are created with expansion 0 set...
I have $config['expansion'] = '1'; in config.php... but is not creating accounts with expansion 1... what can be done to create accounts with different valor to expansion?

Suggestion/Idea

I'd like to make a suggestion.

In regards to enabling 2FA, Changing password, Restoring passwords.
I feel it might be wise to ask for Username and Email for each one.
as for 2FA it only asks for Username, which i feel asking for both is more secure.

To restore password, it will ask for username and email.
To change password, it will ask for old password, new password, username and email.
To enable 2FA, it will ask for username and email.

Also could you please add.
Forgotten account and it will ask for email address which would then check the auth database.
which in return will send you the username of the single account you may have or multiple accounts you may have.

Change Password

Describe the bug
Changing password don't work, new password says the password is not valid when trying to change it.
You can still login to the game with it.

To Reproduce

  1. Recover Password
  2. Try change password

Expected behavior
Should change password

Desktop (please complete the following information):

  • OS: Ubuntu
  • Server core: vMangos
  • Game version: 1.12.1
  • PHP version: 7.4
  • Browser: Chrome

HTTP ERROR 500

I get this error:

host Localhost cant proccess your current request
HTTP ERROR 500

unable to create new account when activate HCaptcha or Captchat

Hello,

I am unable to create a new account or reset password when activate the HCaptchat
I always got error: HCaptcha is not valid i already verified with the image identification.
in the php log error, i got this message:

[02-Jan-2021 23:02:53 America/Montreal] PHP Notice: Trying to get property 'success' of non-object in C:\WoWSimpleRegistration\application\include\functions.php on line 207

I use php version 7.4.1x64TS with apache 2.4 on windows
with all the module require activated.

if i deactivate any captchat, then the account would create properly. this error appear as soon as i active any Captchat option
Any idea what causing this?

Creating passwords do not work properly

Describe the bug
when creating a test account for one of my test runs on your registration application
i added the account but the password got rejected does it count the max allowable password lengths that Wrath of the lich king client supports think it was 16 characters

also does it support extended Ascii just wondering since i used Keepassxc to create the password had to fiddle with the settings to find a working password with a complicated enough password for my standards ;) mixed special characters, numbers and so on for maximum entropy

To Reproduce
Steps to reproduce the behavior:

  1. create account name
  2. create the password test the most advanced password option from keepassxc "creates utter gibberish" for maximum entropy
  3. click on create account
  4. and it will give you error for failed creation of account not sure if the server core itself does not support
    advanced passwords or if it's some oversight on your part either way thought i might give you a heads up on this issue
    otherwise things work smoothly :) great work

btw server is not public it's just for my own use on my local network might open it up at a later date for friends and family

Expected behavior
created account without issues

Screenshots
have none

Desktop (please complete the following information):

  • OS: Ubuntu Mate 20.04.3
  • Server core: TrinityCore
  • Game version: 3.3.5a
  • PHP version: 7.4.3
  • Browser Chrome

Additional context
nothing more to add other than keep up the good work :)

Use mail() instead of SMTP

Is it possible to use PHP's build-in send mail() function instead of setting up a seperate SMTP server?

Thanks in advance.

vote system

for cmangos users vote system is not available?>
I don't know how to activate it, make it show up link a link on my site or something...

I am using kaelthas template...

Site doesn't display correctly

Hi - I'm using nginx and php-fpm to host this code, and I don't seem to be able to get it to display correctly.

Nginx Info:
nginx version: nginx/1.18.0

PHP Info:
PHP 7.3.23 (cli) (built: Sep 29 2020 08:33:03) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.23, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.23, Copyright (c) 1999-2018, by Zend Technologies

Basic PHP configuration - am I missing something?

  location / {
    try_files $uri $uri/ /index.php;
  }

  location ~ \.php$ {
        fastcgi_pass 127.0.0.1:9000;
        try_files $uri =404;
	fastcgi_split_path_info ^(.+\.php)(/.+)$;
	fastcgi_index index.php;
	include fastcgi.conf;
  }

I have all dependencies as far as I can tell (using Fedora 31 on this server) that are listed in the requirements. Is there one that would cause the site to load like plain HTML vs nice PHP layout in screenshots (i.e. advanced theme)?

This is what it looks like:
Screen Shot 2020-10-29 at 5 26 07 PM

Any suggestions are appreciated - ty

Register as link

so I am trying to link the register page but I can't, cause register page is not a link
Example :First of all, you must create an account.

But I can't link it cause it doesn't hage a link! can you help or implement something about it?

2fa qr code scanning not working on iphone

When i tried to scan one of the generated qr codes on my iphone i got the following error:

Doing some research it looks like the 2fa key needs to be base32 encoded for the scanning to work.

Is that something you can add?

Fail Register with latest AzerothCore

Describe the bug
A clear and concise description of what the bug is.
Make sure you are enabled debug_mode in the config file.

Displayed "Created"
But no account create in database

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Server core: [e.g. TrinityCore]
  • Game version: [e.g 3.3.5]
  • PHP version: [e.g 7.1.0]
  • Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Registration page does not seem to create accounts correctly.

Describe the bug
A clear and concise description of what the bug is.
Make sure you are enabled debug_mode in the config file.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'The registration page and create the account'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error - once the account is created it creates an account in battlenet_accounts but not in accounts itself which in return breaks the account and you can login but can not join the realm, if you create one via the console it works fine.

Expected behavior
A clear and concise description of what you expected to happen.
It should create an account in "accounts" in the database along side the battlenet_accounts table.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 11
  • Server core: [e.g. TrinityCore] 42698
  • Core repository: [e.g https://github.com/Example_Core/WoWServer]
  • Game version: 9.2
  • PHP version: 7.1
  • Browser Firefox but also happens with other browsers.

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.