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
8021308822
Update Twig from 1.35.0 to 1.42.4 (PHP 5.5 is now required!)
...
This fixes some errors on PHP 7.4 and contains even more fixes
Also bumped PHP version to 5.5 as Twig requires it.
2020-02-15 05:41:38 +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
d0d77b8775
Fix index.html deleting on cacheClear()
2020-02-15 02:40:16 +01:00
slawkens
13d0718780
RuntimeException instead of die()
2020-02-12 23:20:16 +01:00
slawkens
1ab32ca3ba
New functions: getCustomPage() and getCustomPageInfo()
2020-02-11 01:00:42 +01:00
slawkens
08f011eb33
New configurable: smtp_debug
2020-02-03 20:48:11 +01:00
tobi132
fba9f66a1f
Fix for othire not finding lookaddons column
2019-12-03 01:31:35 +01:00
tobi132
ed14f9ada0
Add optional $params param into log_append (will log arrays)
2019-10-17 12:07:08 +02:00
tobi132
9250f20559
Add get outfit to getTopPlayers (required very often)
2019-10-17 12:06:38 +02:00
tobi132
d8a70a3da6
Optimizations
2019-07-23 07:45:35 +02:00
tobi132
813de7eb3c
Add configLua function
2019-07-23 07:45:21 +02:00
tobi132
410c15c997
Fixed getItemNameById function
...
Please reload your items in admin panel to make it work
2019-07-23 07:45:03 +02:00
Evil Puncker
af1a6cf5ff
Updated copyright year and SSL link
...
Updated year to 2019 and made all my-aac.org links go to SSL by default
2019-07-17 20:22:07 -03:00
slawkens
14cb37725e
* new configurable: footer_show_load_time
2019-04-24 11:50:28 +02:00
slawkens
fc3bd432ef
* simply ignore notice if key does not exist on config()
2019-04-24 11:23:18 +02:00
slawkens
7b1989cef2
* add clear_cache.php bin command
2019-04-23 23:50:54 +02:00
slawkens
3febb340d4
* removed duplicated jquery declarations
...
This fixes some stranges errors with javascript being triggered on website
for example: not working color changes on Menus page when clicking on Add New button
2019-04-13 04:04:25 +02:00
slawkens
6a167e99dc
Add optional parameters to deleteDirectory function
...
($dir, $ignore = array(), $contentOnly = false)
2019-04-13 03:17:01 +02:00
Lee
d1e6061541
Admin panel fixes ( #62 )
...
* Admin Panel
* fixes
-Code Clean Up
-Remove dist folder and merged into tools.
2018-11-24 15:42:20 +01:00
Lee
6dab50cbd8
Admin Panel ( #61 )
...
Thank you Lee for this awesome, Bootstrap Admin Panel!
2018-11-22 07:12:14 +01:00
slawkens
2010094f83
* fixed multiple mail recipients when using admin mailer function
...
It resulted in mail being sent to all users multiple times..
2018-06-08 21:08:00 +02:00
slawkens
fb1b9fea09
* stop using global $cache variable, use Singleton pattern instead
2018-06-03 17:09:21 +02:00
slawkens
05e15ce9ad
* replace deprecated HTML <font> tag with <span>
2018-06-01 13:35:27 +02:00
slawkens
68d74a490b
* performance and optimisations fixes part 2, according to awesome PHPStorm Php Inspections plugin!
2018-05-29 21:16:48 +02:00
slawkens
bf361238cb
* remove whitespaces
2018-05-29 21:06:15 +02:00
slawkens
4023fda5b6
* fixed _mail() function when $add_html_tags is disabled
2018-05-29 20:42:18 +02:00
slawkens
de36cfd2eb
* add global helper config($key) function + twig binding
2018-05-29 20:29:18 +02:00
slawkens
b828b8e44a
* do not display software version
2018-05-29 20:08:29 +02:00
slawkens1
515b42cd51
* support for some old servers, where arrays are used in config.lua
2018-04-16 20:31:23 +02:00
slawkens
eab416c0b4
* some optimizations & fixes according to awesome PHPStorm Php Inspections plugin!
2018-03-21 13:52:41 +01:00
slawkens1
04dca2f274
* new configurable: smtp_secure
...
* as described in #43 by miqueiaspenha
2018-01-29 23:11:17 +01:00
slawkens1
51acb739e9
* fixed #42
...
* changed mb_strtolower functions to strtolower() - was useless in this
case
* attemp to fix some bug with PHPMailer not finding its language file
2018-01-26 08:04:28 +01:00
slawkens1
16bcb70863
* new hooks: LOGIN, LOGIN_ATTEMPT, LOGOUT
...
* fixed bug with uninstalling some plugin dirs
* updated TODO
2018-01-14 08:59:37 +01:00
slawkens1
fc243466da
* install: better error message on database failed connect
...
* changed <p> tag to <div> in notification messages
2018-01-13 21:18:21 +01:00
slawkens
a083dd048d
* fixed PHP warning about country not existing on online and characteres pages
2018-01-08 11:47:41 +01:00
slawkens1
4102b44352
* important fix for servers with promotion column ( #36 )
...
* caused player.vocation to be resetted when saving player, for example:
on change name, accept invite to guild, leave guild
* fixed empty success message on leave guild
* (internal) using $player->getVocationName() where possible instead of
older method
* fixed some warning in guild show
2018-01-08 01:00:56 +01:00
slawkens1
087988dde3
* fixed getBoolean function when boolean is passed
2018-01-08 00:01:03 +01:00
slawkens1
1025fad0e6
* cache $db->hasTable and $db->hasColumn functions
...
* changed tableExist and fieldExist to $db->hasTable(table) +
$db->hasColumn(table, column)
* new configurable: database_log - can log database queries and show in
website source when logged as super admin
* removed debug_level configurable, enabled by default when logged on
super admin
* added OTS_Account:getCountry()
* added posibility to load OTS_Player partially, and without skills
* (internal) changed depracated $ots->createObject() functions with
their OTS_ equivalents
* (internal) removed unused code
2018-01-06 05:44:33 +01:00
slawkens1
01c0d021b2
* added player status to tibiacom top 5 highscores box
...
* fix when there are no changelogs or highscores yet
2018-01-03 21:27:47 +01:00
slawkens
53ab7af8dc
* small fix regarding getTopPlayers function which was ignoring $limit variable
2018-01-02 10:23:04 +01:00
slawkens1
4535687b48
* automatically generate plain mail from html
2017-12-26 22:30:52 +01:00
slawkens1
779dd003dd
* update to 0.7.3
...
* better solution for hidding samples (configurable)
* removed players.is_sample field
2017-12-19 00:01:59 +01:00
slawkens1
19dbbdcf4f
* auto generate myaac cache & session prefix on install to be unique accross installations
...
* prevent adding duplicated newses with installation
* players.is_sample to prevent displaying on highscores
2017-12-18 09:54:42 +01:00
slawkens1
56a01e1e64
* fixed account email confirm function
...
* log some error info when mail cannot be send on account create
* fixed some weird include possibilities with forum and account actions
(verify action name)
* twig getLink function will now return with full url (BASE_URL
included)
* fixed some changelog PHP Notice warning
* (internal) shortened message functions
2017-11-12 21:55:12 +01:00
slawkens
7b84614a79
* removed @version header from files, as it was hard to maintain
2017-11-09 10:02:15 +01:00
slawkens
9aa4e308c1
* reverted removing base href in html head
...
* added anonymous usage statistics reporting
* (fix) don't show templates that doesn't exist in Menus option in Admin Panel
* (fix) menu ordering by category
* (fix) showing changelog with urls in Admin Panel
* (internal) moved uninstall logic to Plugins class
2017-11-03 09:43:47 +01:00
slawkens
583f3394fc
* added featured article to tibiacom template (you can add them with add news button)
...
* added networks (facebook and twitter) and highscores (top 5) boxes to tibiacom template, configurable in templates/tibiacom/config.php
* fixed polls box in tibiacom template
* (internal) moved tibiacom boxes to separate directory
* (internal) renamed constant TICKET -> TICKER
2017-10-26 15:35:22 +02:00
slawkens
5e414ebda8
* added news ticker for kathrine template
...
* (internal) moved news tickers to twig template
* (internal) moved Forum class to separate file
* (internal) moved deprecated functions to compat.php
2017-10-25 09:50:12 +02:00