Code Monkey home page Code Monkey logo

levels-ranks-web's People

Contributors

borzoff avatar bubobih avatar crashzk avatar crazyhackgut avatar emreires avatar flamesone avatar fr0nch avatar lemonpaka avatar m0st1ce avatar muvikdesign avatar redestroyder avatar sapsandev avatar shaneajm avatar shormario avatar stwxdev avatar theeldarka avatar torriz avatar valeologist avatar veselkovsergey avatar wend4r avatar xmazax avatar z4ch3r avatar zubat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

levels-ranks-web's Issues

PHP Notice: Undefined offset

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 bug

В стате FPS не учитывает убийство в голову, в базе в таблицу hits_head попаданию пишутся, а вот в LR уже косяк
http://SSMaker.ru/dd30480a/

Ломается структура db.php

Если в панели администратора удалить любой мод (колонку для соединения с БД какого-нибудь плагина/модуля), вся структура в db.php выстраивается в одну строку.

cant add sourcebans mod

when try to add sourcebans mod it gives me a blank page of error
image
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&section=db

Unitpay 404 ERROR

Поставил модуль module_page_lk_impulse
Подключил Unitpay (ключи, адрес обработчика. все настроил)
При пополнении баланса пишет: UNITPAY: Ошибка 404 "Страница не найдена"
В чем может быть проблема?

Авторизация через Steam

При авторизации через Steam, вышло данное предупреждение, до обновления веба с последними фиксами ночными всё было нормально. Нажимая кнопку перейти на него перекидывает на окно авторизации на сайте https, и больше ничего
1

Время бана и мута

Время бана и мута нужно сократить для, а то не понятно на сколько мут или бан. ))

изображение

Administrator contacts in the footer

Предлагаю добавить возможность выводить свои контакты в футере.
Есть футер. Есть копирайты в нём:

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".

Pins does not show _.png

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.

web interface not working

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

Баг при начальной настройке ЛК модуля.

Здравствуйте, на этапе начальной настройки ЛК модуля, после ввода нужных данных и нажатия кнопки "Проверка/Далее" на сайте ничего не происходит(странице ввода остаётся), а в cache/sessions/db.php неправильно записывается инфа о БД, которая при дальнейшем нажатии на кнопки снова добавляется, из-за чего сайт падает:
...
),
),
);array (
'lk' =>
array (
...

Фиксится в ручную очень просто - путём удаления );array ( , а вот как автоматику пофиксить - не имею понятия.

Предложение проверки статуса на вак бан

Хотелось бы видеть в профиле статус вак бана типа забанен или отсутствует и добавить возможность используя модуль скрывать его, но не удалять из базы )
пример превью чек статуса из материал админ

изображение

изображение
Я думаю, что это будет очень важная информация чек профиля

А ещё лучше отображать три вида бана, как на примере этого ресурса https://csgopedia.com/ru/steam-id-finder/?profiles=Made_In_Bolivia

изображение

CSS и JS

Сейчас подгрузка стилей и скриптов сделана очень странно: вместо обычных CSS/JS файлов (которые имеют свойство кэшироваться, тем самым ускоряя последующие загрузки), они встраиваются пыхокодом (см. пример) в зависимости от неких настроек - в страницу, из-за чего одни и тот же блок постоянно передаётся по Сети вместо того, чтобы осесть в кэше браузера.

В связи с этим, предлагаю вместо явного "хардкодинга" этого контента раскидать все стили по файлам по-человечески. Браузер сможет кэшировать контент как минимум. А чтобы избавиться от условий - для каждой настройки свой отдельный CSS-файл.

Ну и раз уж зашла речь о стилях и скриптах...
Очень странно выглядит, что JS - не минифицирован (пример по ссылке выше), отдаётся на браузеры и публикуется в целом "as is", а CSS - минифицирован (пример там же).
Предлагаю так же загрузить в репозиторий оригинальные CSS-файлы без минификации, а JS наоборот минифицировать.

Предлагаемые мною изменения сократят время повторной загрузки любой страницы, поскольку браузер сможет и будет кэшировать JS + CSS.

server error

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'

Panel setting cannot be saved properly.

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?

ExStats Not Updating on Panel

Hello. I have ExStats Weapons installed on my game server and the plugin is writing to the table but the web panel isn't updating the info.

exstats

ExStats Hits works fine but not weapons. (I mention this because they are called the same in the player.php file).

Lazy database connection

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.

Не баг а фича :)

Не лучше будет выводить после часов, минуты, а потом уже секунды, если нет 1-ой минуты :)

image

Исправления показа рангов в профиле игрока

<th class="text-center table-text"><img src="<?php echo 'storage/cache/img/ranks/' . $General->arr_general['ranks_pack'] . '/'; empty( $Player->top_with_player[$ti]['rank'] ) ? print 0 : print $Player->top_with_player[$ti]['rank'];?>.png"></th>

Нужно изменить $General->arr_general на $Player->found[ $Player->server_group ]
Иначе будет вот такое
Скриншот

Triple, quad & aces not working

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

Offset error, Undefined variable, +50mb of errors

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

Кеш иконок

Нет иконки со стима. Когда открываешь то загружается

image

image

Hardcoded strings in ext/Auth.php

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":

$this->user_auth[0] = ['name' => 'Неизвестно', 'lastconnect' => '', 'rank' => '00'];

$this->server_info[0]['name_servers'] = 'Неизвестно';

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.