307 Commits

Author SHA1 Message Date
slawkens
ccdcdd01d8 Move admin files 2021-07-04 06:50:34 +02:00
slawkens
152e5ac70e Fix forum table style (boards & thread view) 2021-06-08 22:16:03 +02:00
slawkens
878dfc5a01 bcsub is not needed here
bcmath module is not required anymore
2021-05-01 01:21:22 +02:00
slawkens
2400f7c20a Fix #158 Thanks @Misztrz 2021-05-01 01:05:19 +02:00
czbadaro
9d7854dda6
Gratis premium account (#156)
* skip premdays and lastdays calculation when premdays = 65535 (gratis premium in TFS)

* TFS consider 65535 as gratis premium account and PHP_INT_MAX does not assume this value

* adds condition of premdays=65535 and standardize the label "gratis premium account" with tibia client

* adjust the label "days" when there is only one day of premium account

* adjusted premium account status

* Some small adjustment

* Sorry, typo.

Co-authored-by: slawkens <slawkens@gmail.com>
2021-04-22 22:49:42 +02:00
slawkens
7303aabc2b Some small fix regarding parsing creature name from request 2021-04-22 19:13:37 +02:00
slawkens
ab478f488a Fix some unexpected behaviour in characters.php
Just in case someone uses $storage variable somewhere in their code
Thanks TheEther
2021-04-14 02:20:26 +02:00
slawkens
93a1760263 Patch "Delete char with house" from develop
Co-Authored-By: Lee <42119604+Leesneaks@users.noreply.github.com>
2021-02-16 02:18:13 +01:00
slawkens
7fd784b2f6 You cannot delete character more than twice (Thanks Okke) 2020-11-24 16:13:23 +01:00
slawkens
8518afe70d Fix two boxes being show on email_change_cancel 2020-10-12 22:30:04 +02:00
slawkens
836499a48c Fix some PhpStorm editor error message 2020-10-09 20:06:08 +02:00
slawkens
fcff820858 Fix #131 2020-07-07 00:53:56 +02:00
whiteblXK
dc536f0fc0
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>
2020-07-07 00:31:50 +02:00
slawkens
f958b8dd4f Change hasTable -> hasColumn 2020-07-07 00:16:09 +02:00
whiteblXK
f3061a0e74
Fixed bug with showing hidden character 2020-07-06 23:07:18 +02:00
slawkens
d4222e98e6 Fix #132 2020-07-03 23:24:46 +02:00
slawkens
0ac01b3f0d Fix undefined constant 2020-06-26 23:57:22 +02:00
slawkens
f519784cae Fix #126 (Max count and chance not shown)
(cherry picked from commit 5250b3189b287048a710f78cc7f43174e30e8dee)
2020-06-03 20:42:10 +02:00
Lee
fd4a507645 Update version.php
- removed extra line that is added when using a newer version than official release.

(cherry picked from commit e2ab3013403075647118441d32000ed8e327caae)
2020-06-03 20:41:53 +02:00
slawkens
2f52e5d9f3 Fixes in create new character nick
+ fixed config.character_name_min/max_length being ignored in change_name.php

(cherry picked from commit d148b71f0f7559029ac2e6afee0af2bd9493dc8a)
2020-06-03 20:39:52 +02:00
slawkens
99bcd54afe Fix cancel change email request
Thanks to OtLand user anyeor

(cherry picked from commit df59b104db5924b26501090901c75096c3538f4b)
2020-06-03 20:34:36 +02:00
slawkens
6ce6eee529 Fix exception when characters.frags enabled on TFS 1.x
(cherry picked from commit ee6e68d0bf9417f3193bcfd4ea2920d8430806db)
2020-06-03 20:34:19 +02: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
slawkens
ee9e939f88 Fix highscores online status for TFS 0.3/0.4
And all distributions, where players.online column is present
2020-02-15 08:27:06 +01:00
slawkens
2dbf189f43 Use $db->exec where appropriate
May bring some performance boost (little, but still)
2020-02-15 03:15:53 +01:00
slawkens
82e64559a8 Cache newses for 1 hour
+ Merge News classes into one and move to separate file
2020-02-15 02:47:53 +01:00
slawkens
b61c6151eb This was wrong, Mr. @whiteblxk
As its not accounts table but players :)
2020-02-12 23:45:43 +01:00
slawkens
13d0718780 RuntimeException instead of die() 2020-02-12 23:20:16 +01:00
slawkens
f475c671f7 Add enable_tinymce option to Pages editor 2020-02-11 01:02:46 +01:00
slawkens
8345b839e7 Add info if PHP is enabled on the admin pages 2020-02-11 00:37:42 +01:00
slawkens
72c79e005a Add some new hooks for the account/create page
Also moved some account-create text to plugins
2020-02-10 23:07:23 +01:00
slawkens
059b8824a2 Fix function name 2020-02-07 00:22:59 +01:00
slawkens
a03a8bf0d5 Fix #51 2020-01-22 00:33:50 +01:00
slawkens
c7f2cab56a Remove useless .htaccess 2020-01-15 20:57:31 +01:00
slawkens
2bd372dbaa Add index.html to prevent autoindex
This fixes #101
2020-01-15 20:55:57 +01:00
slawkens
e08557e5ae Remove myaac_hooks table, load info directly from .json files and cache them 2020-01-13 20:19:34 +01:00
tobi132
0711d555e1 Fixed #99 2019-12-28 22:48:24 +01:00
tobi132
be9ce34dc8 Fixed #98 2019-12-25 01:31:30 +01:00
tobi132
bb60d17ccc Forgot about look_addons 2019-12-09 20:52:00 +01:00
tobi132
1aa8062310 Interactive player outfit chooser 2019-12-09 20:20:22 +01:00