A starter website for people using CMaNGOS. This will allow users to login and register on your CMaNGOS powered server.
You can find a basic demo here.
- PHP 7.1+
- Web server (ex. Apache or Nginx)
- CMaNGOS instance
- You can download this by clicking on the green Code button above. It will download a
.zip
file. Unzip the contents into your web space. - You do not need to perform any
composer install
command, but you may want to usecomposer update
if in the future an update is made to Laizerox/php-wowemu-auth. - Make sure to update the
configuration.php
file with your database settings. In this file you can also set the GM level and expansion pack value you want to give newly registered users. - You can upload a new image for the site to the
assets/img
directory. If the name of the image is something other thanhome-jumbotron.jpg
you'll want to edit thehome-jumbotron
CSS class inassets/css/custom.css
. - You'll likely want to add some input validation and clensing. Perhaps in the future I will do this via HTML Purifier.
- I also recommend vieiwng the
register.php
andlogin.php
pages and add your own code for handling successful and failed registrations and logins. As they are now they do not handle either, so the user will be presented with a blank white page regardless of whether or not the registration or login is successful or not.