Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Added Battle for Azeroth template.
Browse files Browse the repository at this point in the history
  • Loading branch information
masterking32 committed Sep 11, 2020
1 parent 625fa61 commit 7cd0eaa
Show file tree
Hide file tree
Showing 207 changed files with 7,666 additions and 13 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,19 @@ If you got a blank screen, You can enable `debug_mode` in the config file.
3. Show TOPs by Playtime, Kills, Honor Point, Arena Point, Arena Team (Multi-Realm support).
4. How to connect Page.
5. Contact us page.
6. Change Password (4/10/2019).
7. Restore Password (5/31/2019).
8. Vote System (4/03/2020).
9. Support HCaptcha/Recaptcha v2 (7/27/2020).
10. Support Two-Factor Authentication (2FA) (7/28/2020).
11. Multi-Language support (9/10/2020) (Support: 🇬🇧 English, 🇮🇷 Persian, 🇮🇹 Italian, 🇨🇳 Chinese-simplified, 🇹🇼 Chinese-traditional).
6. Multiple template (Light, Icecrown, Kaelthas, Advance, Battle for Azeroth).
7. Change Password (4/10/2019).
8. Restore Password (5/31/2019).
9. Vote System (4/03/2020).
10. Support HCaptcha/Recaptcha v2 (7/27/2020).
11. Support Two-Factor Authentication (2FA) (7/28/2020).
12. **Multi-Language support** (9/10/2020) (Support: 🇬🇧 English, 🇮🇷 Persian, 🇮🇹 Italian, 🇨🇳 Chinese-simplified, 🇹🇼 Chinese-traditional).

## Changelogs

**2.0.0 (8/03/2020):**
1. Added Battle for Azeroth template.

**1.9.9 (8/03/2020):**
1. Multi-Language support.

Expand Down Expand Up @@ -86,13 +90,17 @@ RESTORE PASSWORD DOESN'T WORK IN DEMO VERSIONS.

[Kaelthas Template](http://wowsimpleregistration.gigfa.com/kaelthas/)

Advance Template - NO HAVE LIVE DEMO!
Advance Template/Battle for Azeroth - NO HAVE LIVE DEMO!

## Screenshots

## Advance Template

![BFA](https://raw.githubusercontent.com/masterking32/WoWSimpleRegistration/master/screenshots/a-bfa-min.jpg)
![Advance](https://raw.githubusercontent.com/masterking32/WoWSimpleRegistration/master/screenshots/a-bfa-min.jpg)

## Battle for Azeroth

![BFA](https://raw.githubusercontent.com/masterking32/WoWSimpleRegistration/master/screenshots/b1.jpg)

## Light Template

Expand Down
3 changes: 2 additions & 1 deletion application/config/config.php.sample
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ light
advance
icecrown
kaelthas
battleforazeroth
=====================================================================*/
$config['template'] = 'light';
/*===================================================================
Expand Down Expand Up @@ -299,4 +300,4 @@ $config['realmlists'] = array( // Add your realmlist here



$config['script_version'] = '1.9.9';
$config['script_version'] = '2.0.0';
7 changes: 6 additions & 1 deletion application/include/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function getCaptchaJS()
return '';
}

function GetCaptchaHTML()
function GetCaptchaHTML($bootstrap = true)
{
if (!empty(get_config('captcha_type'))) {
if (get_config('captcha_type') == 1) {
Expand All @@ -283,6 +283,11 @@ function GetCaptchaHTML()
}
}

if(empty($bootstrap))
{
return '<div class="input-group"><input type="text" placeholder="' . lang('captcha') . '" name="captcha"></div><p style="text-align: center;margin-top: 10px;"><img src="' . user::$captcha->inline() . '" style="border - radius: 5px;"/></p>';
}

return '<div class="input-group"><span class="input-group">' . lang('captcha') . '</span><input type="text" class="form-control" placeholder="' . lang('captcha') . '" name="captcha"></div><p style="text-align: center;margin-top: 10px;"><img src="' . user::$captcha->inline() . '" style="border - radius: 5px;"/></p>';
}

Expand Down
1 change: 1 addition & 0 deletions application/language/chinese-simplified.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
$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'] = '欢迎来到我们的服务器,赶快加入我们吧!';
Expand Down
1 change: 1 addition & 0 deletions application/language/chinese-traditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
$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'] = '歡迎來到我們的伺服, 趕快加入我們吧! ';
Expand Down
1 change: 1 addition & 0 deletions application/language/english.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
$language['tpl_advance_custom_css'] = '';
$language['tpl_icecrown_custom_css'] = '';
$language['tpl_kaelthas_custom_css'] = '';
$language['tpl_battleforazeroth_custom_css'] = '';

$language['welcome_to'] = 'Welcome to';
$language['welcome_message'] = 'Welcome to our private server, Join us now!';
Expand Down
1 change: 1 addition & 0 deletions application/language/italian.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
$language['tpl_advance_custom_css'] = '';
$language['tpl_icecrown_custom_css'] = '';
$language['tpl_kaelthas_custom_css'] = '';
$language['tpl_battleforazeroth_custom_css'] = '';

$language['welcome_to'] = 'Benvenuto in';
$language['welcome_message'] = 'Benvenuto nel nostro server privato, Partecipa adesso!';
Expand Down
1 change: 1 addition & 0 deletions application/language/persian.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
$language['tpl_advance_custom_css'] = '#hero .btn-get-started, .why-us .accordion-list a, .faq .faq-list a{ font-family: vazir;direction: rtl;} .icon-box, .content, .why-us, .faq, .contact .info { text-align: right;} .services .icon-box i,.contact .info i { float: right; margin-left: 10px;}';
$language['tpl_icecrown_custom_css'] = '';
$language['tpl_kaelthas_custom_css'] = '';
$language['tpl_battleforazeroth_custom_css'] = '.hero-section, .hero-slider, .progressBar, .owl-stage-outer, .owl-nav, .owl-dots, .owl-stage{ direction: ltr;} p, .site-btn, .site-btn-login{font-family: vazir;}';

$language['welcome_to'] = 'خوش آمدید به';
$language['welcome_message'] = 'به سرور شخصی ما خوش آمدید، هم اکنون به جمع ما بپیوندید.';
Expand Down
6 changes: 3 additions & 3 deletions application/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
require_once app_path . 'include/vote.php';
require_once app_path . 'include/status.php';

if (!preg_match('/^([a-z-]+)$/i', get_config('language')) || !file_exists(app_path . 'language/' . get_config('language') . '.php')) {
if (!preg_match('/^([a-z-]+)$/i', strtolower(get_config('language'))) || !file_exists(app_path . 'language/' . strtolower(get_config('language')) . '.php')) {
die('Language is not valid!');
}

require_once app_path . 'language/' . get_config('language') . '.php';
require_once app_path . 'language/' . strtolower(get_config('language')) . '.php';

$antiXss = new AntiXSS();
if (!empty(get_config('script_version'))) {
/* @TODO Add online version check! */
if (version_compare(get_config('script_version'), '1.9.9', '<')) {
if (version_compare(get_config('script_version'), '2.0.0', '<')) {
echo 'Use last version of config.php file.';
exit();
}
Expand Down
Binary file added screenshots/b1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7cd0eaa

Please sign in to comment.