slawkens
160ed3b237
Remove configs from previous commit
2023-07-21 11:39:25 +02:00
slawkens
1543dd864e
Save config.php in Settings
...
Egg and hen problem solved :)
* Test database connection on save settings -> prevents from making website unusable if connection is wrong
* Test server_path -> same
There is no config.php anymore, just config.local.php, which can be edited manually and also from admin panel
2023-07-21 11:38:52 +02:00
slawkens
399f263b42
Rename variable
2023-07-21 06:05:33 +02:00
slawkens
1b2fd39ea7
Move news config to settings
2023-07-20 21:01:33 +02:00
slawkens
ed7daf9482
Move signature config to settings
2023-07-20 20:52:08 +02:00
slawkens
978090c8ae
More config to settings: account_types, genders, highscores, admin
2023-07-20 20:24:07 +02:00
slawkens
ac3a6c36d5
Remove whitespaces
2023-07-20 18:13:06 +02:00
slawkens
a8a2c72381
Move status config to settings
2023-07-20 18:12:22 +02:00
slawkens
55a5ccdd1e
Move forum config to settings
2023-07-20 16:36:59 +02:00
slawkens
a7b8ccaee2
Merge branch 'develop' into feature/settings
2023-07-20 14:24:46 +02:00
slawkens
e14df529c0
Revert some change
2023-07-19 22:40:39 +02:00
slawkens
9f67cab503
Add twig context for twig hook() function
...
Allows to use variables from template inside the hook file with usage of $context variable
2023-07-19 22:40:11 +02:00
slawkens
99c53c75f2
New guild hooks, for some upcoming big feature ;)
2023-07-19 22:26:47 +02:00
slawkens
ddb093ec48
Fix highscores if there is only 1 record
2023-07-19 11:57:26 +02:00
slawkens
afa1adb90b
Add settings.callbacks.get
2023-07-13 16:47:09 +02:00
slawkens
e83880653a
Extract Settings:save function
2023-07-13 15:29:19 +02:00
slawkens
4af944a00b
Change variable name
2023-07-13 15:20:13 +02:00
slawkens
48ceada956
Rename team_* variables + add to deprecated
2023-07-13 15:13:15 +02:00
slawkens
e7ef1679a0
nothing important
2023-07-13 13:04:31 +02:00
slawkens
228b2d071b
Add: show_if - account_mail_verify
2023-07-13 13:04:22 +02:00
slawkens
1ea9a76ea9
Fix: check on page load if radio button is checked
2023-07-13 13:03:52 +02:00
slawkens
c7c8ff266b
Hide section title on show_if
2023-07-13 12:10:07 +02:00
slawkens
b062c424d8
Merge branch 'develop' into feature/settings
2023-07-13 11:08:48 +02:00
slawkens
714476bf29
Merge branch '0.9' into develop
2023-07-13 11:08:30 +02:00
slawkens
e49690b52b
Thanks @anyeor for previous fix
2023-07-13 11:03:37 +02:00
slawkens
f9d35b719b
Fix: cannot create topic on this board (check wasn't working)
2023-07-11 11:17:34 +02:00
slawkens
c886384f2c
Merge branch 'develop' into feature/settings
2023-07-08 19:16:22 +02:00
slawkens
a61cd43c3c
Forum: nothing important, just formatting
2023-07-07 17:43:28 +02:00
slawkens
6d1b3235d2
Merge branch '0.9' into develop
2023-07-07 17:29:02 +02:00
slawkens
e7e9d8e3b9
Shorten some forum code about length
2023-07-07 17:20:50 +02:00
slawkens
8cf0e80019
Forum: better error messages (Suggested by @anyeor)
2023-07-07 17:20:23 +02:00
slawkens
c392fa7272
Fix guild description on guilds page
2023-07-02 13:48:57 +02:00
slawkens
082884baa0
Fix guild description not shown
2023-07-02 00:26:44 +02:00
slawkens
3a31a0326c
Fix guild description not shown
2023-07-02 00:26:33 +02:00
slawkens
2d561f267d
Fix guild description not shown on guilds page
2023-06-30 19:52:20 +02:00
slawkens
5eafff737a
Guilds & Characters: Use CSS word-break: break-all instead of PHP wordwrap
...
Suggested by @anyeor
2023-06-30 19:52:05 +02:00
slawkens
8cf4d0cb0f
Add word-break on forum thread & reply
...
When someone inserts long word, is will break into multiple lines
2023-06-30 19:43:36 +02:00
slawkens
d1953470d9
Add word-break on forum thread & reply
...
When someone inserts long word, is will break into multiple lines
2023-06-30 19:43:31 +02:00
slawkens
3a52f2c403
nothing important
2023-06-30 17:35:39 +02:00
slawkens
ac40922957
Merge branch '0.9' into develop
2023-06-30 17:32:40 +02:00
slawkens
5aed9ee1a4
Forum: Fix quote and edit post buttons not being shown
2023-06-30 17:30:29 +02:00
slawkens
8318169c39
Fix twig exception thrown when player does not exist
2023-06-30 17:30:01 +02:00
slawkens
ad00cf3fc3
Fix BASE_DIR when accessing /tools
2023-06-30 17:29:49 +02:00
slawkens
3ff7b21287
Move <base href> above, so it works, thanks @Leesneaks
2023-06-30 17:28:34 +02:00
slawkens
36fbae850d
Revert "<base> is not working properly, use full URL instead"
...
This reverts commit fa015b8d39d926aa0bc3ea2f59577afa22174c51.
2023-06-30 17:28:19 +02:00
slawkens
24ff5684cd
More changes to deleted characters (Account, guilds)
...
Account: Cannot change name, comment, gender
+ Cannot be deleted if owns a guild
Guilds: Cannot create, cannot be invited, cannot accept invite, cannot be passed leadership to
2023-06-30 17:27:31 +02:00
slawkens
aab62fb724
Important fix: Not allow create char if limit is exceeded (by @anyeor )
...
Could have been used to spam database, now it doesn't ignore deleted characters
He is not my brother :P Just same last name
2023-06-30 17:25:32 +02:00
slawkens
a810890614
code formatting
2023-06-30 17:25:21 +02:00
slawkens
a3bfdc1ec8
small adjustments
2023-06-25 08:54:36 +02:00
slawkens
a7dc719934
small adjustments
2023-06-25 08:54:22 +02:00