levelsranks / levels-ranks-web Goto Github PK
View Code? Open in Web Editor NEWAdaptive WEB Interface for Levels Ranks statistics plugin
License: GNU General Public License v3.0
Adaptive WEB Interface for Levels Ranks statistics plugin
License: GNU General Public License v3.0
Почему одновременно отображается только одна база данных?
Players Statistics = ERR_TOO_MANY_REDIRECTS
And the player doesn't show on website.
How to fix ?
PHP Notice: Undefined offset: 0 in /app/page/general/sidebar.php on line 104
ему тут явно не нравится что-то
<div class="tooltip-sidebar box-button-srv-0" style=""><?php echo $Translate->get_translate_phrase( $Auth->user_auth[0]['rank'], 'ranks_' . $Auth->server_info[ 0 ]['ranks_pack'] )?></div>
если случайно выключил
В стате FPS не учитывает убийство в голову, в базе в таблицу hits_head попаданию пишутся, а вот в LR уже косяк
http://SSMaker.ru/dd30480a/
Если в панели администратора удалить любой мод (колонку для соединения с БД какого-нибудь плагина/модуля), вся структура в db.php выстраивается в одну строку.
when try to add sourcebans mod it gives me a blank page of error
apache server error log-
[Sun Oct 13 20:47:02.655389 2019] [php7:error] [pid 522] [client 43.230.106.111:2800] PHP Fatal error: Uncaught Error: Unsupported operand types in /var/www/rank/app/modules/module_page_adminpanel/ext/Admin.php:141\nStack trace:\n#0 /var/www/rank/app/modules/module_page_adminpanel/forward/data.php(45): Admin->action_db_add_mods()\n#1 /var/www/rank/app/ext/Graphics.php(31): require('/var/www/rank/a...')\n#2 /var/www/rank/index.php(134): app\ext\Graphics->__construct(Object(app\ext\General), Object(app\ext\Modules), Object(app\ext\Db), Object(app\ext\Auth), Object(app\ext\Notifications))\n#3 {main}\n thrown in /var/www/rank/app/modules/module_page_adminpanel/ext/Admin.php on line 141, referer: http://rank.mysticgaming.tk/?page=adminpanel§ion=db
How i can install this ? Some eng instructions ?
please add password field in settings
for connect to servers with password by template.
steam://connect/[:][/]/
Поставил модуль module_page_lk_impulse
Подключил Unitpay (ключи, адрес обработчика. все настроил)
При пополнении баланса пишет: UNITPAY: Ошибка 404 "Страница не найдена"
В чем может быть проблема?
Предлагаю добавить возможность выводить свои контакты в футере.
Есть футер. Есть копирайты в нём:
date © Levels Ranks - Web Interface #version by M0st1ce.
Куда-нибудь рядом я бы хотел вставить что-то типа "Связаться с администратором".
EN:
I propose to add the ability to display your contacts in the footer.
There is a footer. There are copyrights in it:
date © Levels Ranks-Web Interface #version by M0st1ce.
Somewhere nearby I would like to insert something like "Contact the administrator".
If the image is missing, _.png does not show, but wants to display _xxxx_yyyy.png even if the file does not exist.
Thanks for your fix.
i pasted the web files to my subdomain root directory but its not working
this is the error apache server shows
[Sun Oct 13 01:27:01.461436 2019] [php7:error] [pid 3192] [client 43.230.107.75:1605] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function app\ext\General::__construct(), 0 passed in /var/www/rank/index.php on line 113 and exactly 1 expected in /var/www/rank/app/ext/General.php:39\nStack trace:\n#0 /var/www/rank/index.php(113): app\ext\General->__construct()\n#1 {main}\n thrown in /var/www/rank/app/ext/General.php on line 39
I got a GOTV bot on my pug server , and It always shows 1/10 when the server is emety and 11/10 when the server is full. How to fix it ?
Здравствуйте, на этапе начальной настройки ЛК модуля, после ввода нужных данных и нажатия кнопки "Проверка/Далее" на сайте ничего не происходит(странице ввода остаётся), а в cache/sessions/db.php неправильно записывается инфа о БД, которая при дальнейшем нажатии на кнопки снова добавляется, из-за чего сайт падает:
...
),
),
);array (
'lk' =>
array (
...
Фиксится в ручную очень просто - путём удаления );array ( , а вот как автоматику пофиксить - не имею понятия.
Хотелось бы видеть в профиле статус вак бана типа забанен или отсутствует и добавить возможность используя модуль скрывать его, но не удалять из базы )
пример превью чек статуса из материал админ
Я думаю, что это будет очень важная информация чек профиля
А ещё лучше отображать три вида бана, как на примере этого ресурса https://csgopedia.com/ru/steam-id-finder/?profiles=Made_In_Bolivia
The module_block_main_servers_monitoring stops rendering the next servers in the list when one server is downed.
Example of all servers showing (expected functionality):
Working normally
Example of one server down, the rest not showing:
Bad behaviour
Expected behavior:
If a server is down, display the next servers status regardless.
I have a banlist longer time than this panel. When a site visitor clicks on a player, they see that the "page not found". Logically, a player could never log in to the LevelRanks database (permanent ban, long ban).
I recommend that these players cannot be clicked when they do not exist.
Предлагаю переместить либу SourceQuery в app/ext
, нежели хранить и использовать ее ради опционального мониторинга.
Это единственно верное решение для дальнейшего расширения проекта.
Сама причина: https://hlmod.ru/threads/lr-web-chat-logging-beta.54595/post-489720
Сейчас подгрузка стилей и скриптов сделана очень странно: вместо обычных CSS/JS файлов (которые имеют свойство кэшироваться, тем самым ускоряя последующие загрузки), они встраиваются пыхокодом (см. пример) в зависимости от неких настроек - в страницу, из-за чего одни и тот же блок постоянно передаётся по Сети вместо того, чтобы осесть в кэше браузера.
В связи с этим, предлагаю вместо явного "хардкодинга" этого контента раскидать все стили по файлам по-человечески. Браузер сможет кэшировать контент как минимум. А чтобы избавиться от условий - для каждой настройки свой отдельный CSS-файл.
Ну и раз уж зашла речь о стилях и скриптах...
Очень странно выглядит, что JS - не минифицирован (пример по ссылке выше), отдаётся на браузеры и публикуется в целом "as is", а CSS - минифицирован (пример там же).
Предлагаю так же загрузить в репозиторий оригинальные CSS-файлы без минификации, а JS наоборот минифицировать.
Предлагаемые мною изменения сократят время повторной загрузки любой страницы, поскольку браузер сможет и будет кэшировать JS + CSS.
Hello!
Am getting this error when click on Players Statistics. Any help?
I am getting a error 500 on my apache server
logs:
[Sat Dec 28 12:38:23.353697 2019] [proxy_fcgi:error] [pid 4588] [client 146.196.39.193:64224] AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected '?' in /home/stats/public_html/app/ext/Db.php on line 193\n'
When I change a setting such as background wallpaper, It will show the tab successful.
And refresh this page you will find the page does not change at all. And back to panel, the settings
that I have changed are recovered. How to fix this?
Если зайти в профиль любого игрока и нажать на его аватарку то перебрасывает обратно на эту-же страницу.
API установлен.
At this moment, LR web from start application, initiates all available connection. This can cause instantiating connection for SourceBans (for example) if it is not required. As a result, LR web can spend more time on database starting.
I suggest migrate to "lazy" connection method: connection is being created only if required. For example, some module called method queryNum()
and passed SourceBans
as connection. Core check connection existing before execution, and if connect isn't exist - creates one.
What is needed to get Triple, Quad and aces to work?
It dosn't update on the profile pages.
Looking in the Player.php it is not pulling data from anywhere, and there are no tables in the db that contains that data?
Is it not completely done yet?
kind regards
404
Необходимые таблицы не найдены!
Hello! How can I solve this errors?
[11-Mar-2021 23:31:04 Europe/Bucharest] PHP Notice: Undefined index: rank in /home2/betiviir/public_html/app/page/general/sidebar.php on line 36
[11-Mar-2021 23:31:04 Europe/Bucharest] PHP Notice: Undefined index: rank in /home2/betiviir/public_html/app/page/general/sidebar.php on line 104
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Notice: Undefined offset: 0 in /home2/betiviir/public_html/app/page/general/sidebar.php on line 104
[11-Mar-2021 23:33:21 Europe/Bucharest] PHP Notice: Undefined offset: 0 in /home2/betiviir/public_html/app/page/general/sidebar.php on line 104
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Notice: Undefined variable: d_data in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_column() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home2/betiviir/public_html/app/modules/module_block_main_stats/forward/data.php on line 34
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Notice: Undefined offset: 0 in /home2/betiviir/public_html/app/page/general/sidebar.php on line 104
[11-Mar-2021 23:33:23 Europe/Bucharest] PHP Notice: Undefined offset: 0 in /home2/betiviir/public_html/app/page/general/sidebar.php on line 104
don't have to be in the near future, but to eventually have a button or page where you can update the modules or the core system itself
Would it be possible to add Неизвестно => "Unknown" to storage\cache\sessions\translator.php
'_Unknown' =>
array (
'EN' => 'Unknown',
'RU' => 'Неизвестно',
'UA' => 'Неізвестноi',
'LT' => 'Nežinoma',
'TR' => 'Bilinmeyen'
)
for global use it in other files like Auth.php etc?
Example of hardcoded russian strings for "Unknown":
levels-ranks-web/web_dev/app/ext/Auth.php
Line 280 in f1f8b44
levels-ranks-web/web_dev/app/ext/Auth.php
Line 283 in f1f8b44
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.