Lee
31f0050f4e
Admin - Dataloader updates
...
-Npc Lib added
-Admin Dataloader updated to load NPC names into a cached array.
-Spinner Updated to a loading button.
2021-03-09 23:38:23 +00:00
Lee
7ce005341e
Twig filter (timeago)
...
Added twig filter timeago for dates.
2021-03-09 23:17:24 +00:00
slawkens
f0c136c421
More fixes for PHP 8.0
2021-02-16 01:40:24 +01:00
slawkens
5fa1321619
Fixes to database version and monsters table
2021-02-16 01:12:45 +01:00
slawkens
792ec17d18
Increase size of myaac_visitors.page column to 2048
...
Thanks to OtLand user kaleuui (https://otland.net/threads/myaac-v0-8-3.268654/page-11#post-2643853 )
2021-02-16 00:56:25 +01:00
slawkens
5bd5aa0edf
Fix compatibility with PHP 8.0 (latest XAMPP)
...
Solution by doctrine developers
2021-02-16 00:28:54 +01:00
slawkens
6b07d56627
Fix setPremDays for latest TFS
...
Fixes editing account in admin panel
2021-02-15 21:05:08 +01:00
slawkens
15d381adfd
Fixed account getPremDays() function for latest TFS
...
This fixes account management + signature
2021-02-15 20:57:24 +01:00
Lee
23b44d6c8a
#142 Guildnick fix
...
Fixes the Guildnick not showing in the guild pages.
2021-02-14 12:50:10 +00:00
slawkens
e3f2abc06e
Fix parsing empty strings in config.lua (with comments)
...
(cherry picked from commit eed490507c83518812451e0ba50b23d5a2914ab0)
2021-02-13 22:57:11 +01:00
slawkens
ebe900fca8
Ignore arrays in config.lua (fixes experienceStages loading)
...
In future we want to parse arrays too, this is just a temporary solution
Thread: https://otland.net/threads/myacc-problem.274795/
2021-02-13 21:53:40 +01:00
slawkens
5a8bcec014
Fix installer choosing name, when config.php is not loaded yet
...
It has been almost 1 month there, seems no one is using develop branch ;)
2021-02-13 21:44:49 +01:00
Lee
a1c7c2768c
Delete char with house #149
...
oops, didn't mean to submit that last push, I hadn't added the empty check. (noob moment)
quick fix for #149
2021-02-02 14:42:30 +00:00
Lee
565e6e3a3d
Delete char with house #149
...
Patch to stop players deleting themselves if they have a house
Fixes #149
2021-02-02 14:13:36 +00:00
slawkens
855e9aa3b9
Fix: do not count deleted characters
...
On create new character page
2021-01-20 19:46:07 +01:00
slawkens
a271edec47
Forgot this..
2021-01-20 18:03:30 +01:00
slawkens
81b293a5a6
Fixes to character name validation
...
Admin should be able to create any name
Also fixes to config.character_name_min_length being ignored
2021-01-20 18:02:07 +01:00
slawkens
8b41e144f8
Open/Closed Website Status now changes dynamically
2021-01-18 02:17:39 +01:00
slawkens
a41f653e05
Move Admin module statistics to Twig
2021-01-18 02:00:46 +01:00
slawkens
f24ff295e8
Add alt="icon"
...
Don't like those warnings in IDE :P
2021-01-18 01:48:21 +01:00
slawkens
b399bee3ac
Cancel button should return to menus main screen
2021-01-18 01:47:56 +01:00
slawkens
8f88c82a13
Add "table-responsive d-md-table" class
...
Makes tables in admin panel responsive
2021-01-18 01:47:11 +01:00
slawkens
d8ac88b7d9
Add more clients to clients.conf.php
2021-01-18 01:45:52 +01:00
slawkens
b24370e7ed
Fixed the check if vocations.xml were correctly loaded
2021-01-17 17:44:30 +01:00
slawkens
98bd51436b
Unified naming
2021-01-07 11:47:57 +01:00
slawkens
1fa4b1e660
Remove some useless maxlength attribute
2021-01-04 22:06:50 +01:00
slawkens
04a36b1d11
Rename to Recovery Key
2021-01-04 22:06:26 +01:00
slawkens
611d6f505d
Add option to send mail to account with Mailer
...
"Send Mail" link next to Email input in account editor
2021-01-04 21:34:52 +01:00
slawkens
af161b5143
Fix: PHPMailer is included through composer now
2021-01-04 19:17:07 +01:00
slawkens
d5880eac8c
Use BASE_URL instead of template_path for icons
...
Cause they are located in images/news folder
2021-01-04 16:35:01 +01:00
slawkens
02d6ab5fe7
Add lastCheck full date to Server Status panel
2021-01-04 16:32:25 +01:00
Lee
5547ccffd6
Twig updates
...
Moved non-global functions from twig back into PHP.
2021-01-04 13:11:18 +00:00
Lee
8c06bd1738
function Truncate added
...
missing function added to functions lib.
2021-01-04 12:42:13 +00:00
Lee
bb3602073c
AdminPanel updates - changelog
...
-Admin menu updates
-Moved getchangelogtype/where to functions file and added to twig
-Added changelog editor to admin panel and updated changelog page
-Renamed the changelog md reader to clmd and edited the version file.
2021-01-04 12:23:36 +00:00
slawkens
a8a36c73e6
Fix notice about premend
2020-12-30 00:27:42 +01:00
slawkens
98b1d854f9
Refactor some line
2020-12-30 00:24:14 +01:00
slawkens
1ada2317fd
Add support for accounts.premium_ends_at (Latest tfs 1.x)
2020-12-30 00:10:49 +01:00
slawkens
40722c8c30
Password can now contain any characters
...
Also added limit of 29 characters (client limitation)
2020-12-30 00:10:11 +01:00
Lee
fbe9c31d10
config update
...
renamed and cleaned up the settings names for easier comprehension
2020-12-29 17:50:10 +00:00
Lee
0aed705a6a
migration 31 fix.
...
Some mysql dbs won't allow text to have a default value.
2020-12-29 17:43:17 +00:00
Lee
06e864c954
added between()
...
Added missing function from creature update.
2020-12-29 17:36:16 +00:00
Lee
8e6bc73ca6
Creature page overhaul
...
Updates the creature pages to show more information.
You will need to reload your creatures.
-modifies database with migration 31
-small customisations are allowed via config file.
-functions added, getMonsterLink, getItemRarity, getCreatureImgPath, left, right,
-added functions to twig.
-view elements, immunities, summons, voices, loot, pushables, canpush, canwalk, runonhealth,hostile,attackable,rewardboss,defense,armor
-filter bosses
-show list as picture preview or names list
2020-12-28 16:37:03 +00:00
Fernando Matos
6f42a60e59
Add a brand new charming installation (for version 0.9) ( #144 )
...
* Add a brand new charming installation
* Fix alert position in setup requirements validation
* Add some missing definitions
* A distinction between bootstrap CSS classes and myaac classes
For CSS-styled messages
* Remove unused functions for messages
Co-authored-by: slawkens <slawkens@gmail.com>
2020-12-22 07:47:47 +01:00
slawkens
3beedc1747
New configurable: outfit_images_wrong_looktypes
2020-12-21 01:59:32 +01:00
slawkens
6603815a81
Update bans.php
2020-12-21 01:54:17 +01:00
slawkens
c1027d3663
Fixes on new highscores
...
Fixed link to next page on first visit default highscores
Fixed position of "No records yet."
Also count pages is starting from 1 now (not from 0 like before)
2020-12-21 01:54:00 +01:00
slawkens
7d73e3cd98
Refactor code in delete_character.php
2020-12-19 23:25:46 +01:00
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