slawkens
5087fc4a00
You cannot delete character more than twice (Thanks Okke)
...
(cherry picked from commit 7fd784b2f615d87a028f2e1d90ec99fd67acb576)
2020-11-24 18:12:49 +01:00
Lee
30cdb1ba73
Dashboard modules updated
...
More flexibility and additions on the dashboard modules.
-Statistics: Accounts, Players, Monsters, Guilds, Houses
-Website Status: Maintenance
-Server Status: name, client, map, monsters loaded, MOTD,
default:
'admin_panel_modules' => 'statistics,web_status,server_status,lastlogin,created,points,coins,balance',
2020-11-07 14:36:12 +00:00
Lee
9bc63bb55c
Datatables update
...
I noticed if the datatables files wasn't cached some pages that didn't use it would take slightly longer to load whilst it downloaded it.
This will only write the js and css files onto the page if $use_datatable = true; is set on the page.
See accounts/news/players pages for examples.
It wasn't a massive performance loss for the user but not needed if those pages are hardly ever used.
2020-11-07 13:53:11 +00:00
Lee
6f74029d76
Update spells.php
...
$canEdit was removed in a previous git.
Removing this fixes the error.
2020-11-06 14:18:08 +00:00
slawkens
cf2c5e36bc
Feature/better highscores ( #141 )
...
* Move highscores to twig
* Add highscores frags for TFS 1.x
* Change $config to config()
* Cache highscores
The most asked and long awaited feature? :>
* Fix highscores_per_page and rename configurable
* Fix next page link (some typo)
* Fix too many players being shown
* Fix when changing config.highscores_per_page
* Update system/pages/highscores.php
Co-authored-by: whiteblXK <krzys16001@gmail.com>
Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-11-02 23:34:29 +01:00
slawkens
5d5875d540
Bans page working for TFS 1.x + move to Twig ( #140 )
...
* Bans page working for TFS 1.x + move to Twig
* Remove some debug code
* Add some protection
* Better check.
2020-10-30 06:52:50 +01:00
slawkens
9fe419cfe7
Creatures and monsters are now reloaded in Admin Panel
2020-10-27 07:33:21 +01:00
slawkens
42a628731d
move characters link to twig
2020-10-27 07:24:21 +01:00
slawkens
928de13459
Fix two boxes being show on email_change_cancel
...
(cherry picked from commit 8518afe70d7c0c2f79a4a3b21028509be7373e67)
2020-10-12 22:31:31 +02:00
slawkens
65b4b2d183
Rename file to admin.data.html.twig
2020-10-09 23:38:33 +02:00
slawkens
94b145b215
New class: DataLoader (loads data from server)
...
Also combined some code responsible for loading server data
2020-10-09 23:37:24 +02:00
slawkens
b5736ad559
Rename items.php to server data.php
2020-10-09 22:29:19 +02:00
slawkens
ab3912b378
Save towns as plain PHP File in cache folder
...
+ Also load them on install + on reload items
= better performance when in dev mode
2020-10-09 22:27:48 +02:00
slawkens
3090989dea
Fixed accounts editor for OTServ, which dont have accounts.group_id
2020-10-09 00:37:28 +02:00
slawkens
92314b8dac
Fix some PhpStorm editor error message
2020-10-09 00:36:47 +02:00
slawkens
c30300c368
New configurable: item_images_extension
2020-10-08 00:13:35 +02:00
slawkens
602a4aa835
Feature/experience stages twig ( #135 )
...
* Move Experience Stages to Twig
* Change name to underline (standard)
* Update system/pages/experiencestages.php
Co-authored-by: whiteblXK <krzys16001@gmail.com>
Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-08-24 19:36:43 +02:00
slawkens
289dd3c170
New configurable: guild_description_default
2020-07-14 01:05:09 +02:00
slawkens
de1d6b9629
Fix #131
...
(cherry picked from commit fcff820858dca3e8d2692e9bfee27ea89c8b9727)
2020-07-07 00:54:34 +02:00
whiteblXK
722264a083
Added limit to search characters ( #134 )
...
* Update characters.php
* Update config.php
* Variable name change, better use LIMIT in query instead in loop
* Just to be sure. Security first :)
* use config function
Co-authored-by: slawkens <slawkens@gmail.com>
(cherry picked from commit dc536f0fc01862f052d5edee29ac188ac63fcf66)
2020-07-07 00:54:29 +02:00
slawkens
357d487af7
Change hasTable -> hasColumn
2020-07-07 00:15:54 +02:00
whiteblXK
1b802b040d
Fixed bug with showing hidden character
...
(cherry picked from commit f3061a0e74c19a75fda59a69a47a07fd757f671c)
2020-07-07 00:02:33 +02:00
slawkens
25afbd935c
Fix #132
...
(cherry picked from commit d4222e98e604592a9453a8ccde8ad2d7c28b85eb)
2020-07-03 23:25:08 +02:00
slawkens
03467ea64e
Update change_password email to be more informal
2020-06-06 19:51:17 +02:00
slawkens
7469d520c9
Add $member var annotation
2020-06-06 17:13:51 +02:00
slawkens
5250b3189b
Fix #126 (Max count and chance not shown)
2020-05-27 22:21:45 +02:00
Lee
e2ab301340
Update version.php
...
- removed extra line that is added when using a newer version than official release.
2020-05-25 23:33:06 +01:00
slawkens
af85a8b711
Display "Unknown Town" when town not found
2020-05-25 00:15:30 +02:00
slawkens
b3556c008e
Add note which template menus are being edited
2020-05-24 19:34:48 +02:00
slawkens
e84933cf26
Ignore index.html in logs viewer
2020-05-10 11:45:04 +02:00
slawkens
d148b71f0f
Fixes in create new character nick
...
+ fixed config.character_name_min/max_length being ignored in change_name.php
2020-05-09 14:07:53 +02:00
Lee
d281fc588b
Fixes
...
-As requested the datatables and bootstrap files have been moved into the tools folder
-Fixed spells and creatures datatable.
-Double space in name fix.
2020-05-07 01:36:56 +01:00
slawkens
df59b104db
Fix cancel change email request
...
Thanks to OtLand user anyeor
2020-04-21 00:22:50 +02:00
slawkens
ee6e68d0bf
Fix exception when characters.frags enabled on TFS 1.x
2020-04-20 22:35:41 +02:00
Lee
d7333b3f21
Update accounts.php
...
Fix for accounts.php type not found.
2020-04-06 15:08:52 +01:00
Lee
375bd58a0c
Admin Update
...
-Account limit fix
-Player editor full player table.
2020-04-02 20:54:20 +01:00
Lee
cddd915adf
Admin fixes
...
-login/logout error fix
-debugging code removed
2020-04-02 18:44:15 +01:00
Lee
a0afeb2a7a
Update accounts.php
...
-Bans table error
-Fix for #114
2020-04-02 14:52:38 +01:00
Lee
eaa11c68f3
Admin Panel Updates
...
- Updated Admin Panel to Bootstrap 4.
- Code cleanup
- Rewrote menu generation code
- Added top 10 coins, top 10 premium points, last 10 logins to modules page.
- Added full account list to Account editor
- Added load outfits from XML to player editor and lists all enabled outfits in editor (will default to textbox if array of outfits do not exist)
- Added tabs to account editor - account, characters,store history, bans(this is based off the bans.php page so will not work on TFS 0.2/1.0)
- Updated datepickers to display the actual date rather than unix time.
- Added last 10 posts to player editor
2020-03-31 02:03:16 +01:00
slawkens
b7bb570420
Fix change info when config.account_country is disabled
...
Some PHP warnings and notices
2020-03-14 14:24:14 +01:00
slawkens
d94499af86
Fix displaying spells when level = 0
2020-02-29 23:14:42 +01:00
slawkens
7424901aca
Change tooltip css class to item_image (bootstrap conflict)
2020-02-28 21:50:21 +01:00
slawkens
044271ad00
Change button look
2020-02-25 21:35:09 +01:00
slawkens
b8130d3fd3
Fix class name in highscores
2020-02-25 20:36:14 +01:00
slawkens
4468f3dd37
Add some notice
2020-02-25 20:36:04 +01:00
slawkens
0c9219f885
Fixed CHANGELOG.md loading in Admin Panel
2020-02-25 10:33:57 +01:00
slawkens
09db8e072e
Fix typo
2020-02-18 15:16:29 +01:00
slawkens
9b3dbdc54f
Save mailer error messages to file (always)
...
Filename: mailer-error.log
This will help debugging mail sending for new users
2020-02-15 23:57:15 +01:00
slawkens
f3ddf631c1
Fix typo
2020-02-15 23:13:35 +01:00
slawkens
518ae4d97a
* don't install plugin when requirements are not satisfied
2020-02-15 22:41:52 +01:00