viiprogrammer Posted January 22, 2016 Report Share Posted January 22, 2016 Пошло по рукам... Описание: Позволяет изменить время сайта под время своей странны (смена ручная в настройках) Скриншоты: Цена договорная. free Timezona.zip 14 1 Quote Link to comment Share on other sites More sharing options...
viiprogrammer Posted January 23, 2016 Author Report Share Posted January 23, 2016 13 загрузок +2 2 Quote Link to comment Share on other sites More sharing options...
branis Posted January 23, 2016 Report Share Posted January 23, 2016 cпасибо * Quote Link to comment Share on other sites More sharing options...
JacksScripts Posted January 23, 2016 Report Share Posted January 23, 2016 просто так поставлю + без скачивания XD Quote Link to comment Share on other sites More sharing options...
branis Posted January 23, 2016 Report Share Posted January 23, 2016 Я думаю там надо добавить запрос когда регистрируются Quote Link to comment Share on other sites More sharing options...
vii engine Posted January 23, 2016 Report Share Posted January 23, 2016 ребята задам глупый вопрос как поставить + в репу??и спасибо за модуль отдельное Quote Link to comment Share on other sites More sharing options...
Shaman Daniels Posted January 23, 2016 Report Share Posted January 23, 2016 ребята задам глупый вопрос как поставить + в репу??и спасибо за модуль отдельное Группе "Новичок" запрещено ставить репутацию, личные сообщения, создание тем... Всё это для того, что бы обезопасить форум от всяких прохожих, которые неоднократно пытались нанести вред проекту... Для того, что-бы перейти в группу "Пользователь" - нужно набрать 20 сообщений на форуме. Так-же напоминаю, что накрутка пустых постов, которые не имеют никакого смысла - тоже особо пользы не принесут... 2 Quote Link to comment Share on other sites More sharing options...
vii engine Posted January 24, 2016 Report Share Posted January 24, 2016 Группе "Новичок" запрещено ставить репутацию, личные сообщения, создание тем... Всё это для того, что бы обезопасить форум от всяких прохожих, которые неоднократно пытались нанести вред проекту... Для того, что-бы перейти в группу "Пользователь" - нужно набрать 20 сообщений на форуме. Так-же напоминаю, что накрутка пустых постов, которые не имеют никакого смысла - тоже особо пользы не принесут... Спасибо Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 25, 2016 Report Share Posted January 25, 2016 Доброго дня. Возможно я косячник. Тут вот какое дело всё сделал по инструкции ,но перестала загружаться страница настроек. Кто знает где мог косякнуть? Quote Link to comment Share on other sites More sharing options...
zadrot02 Posted January 25, 2016 Report Share Posted January 25, 2016 В инструкции есть такой код Дальше в system/modules/settings.php после switch($act){ ставим //################### Timezona ###################// case "timezona": NoAjaxQuery(); $timezona = intval($_POST['timezona']); if($timezona =< 24){ $db->query("UPDATE `".PREFIX."_users` SET timezona = '".$timezona."' WHERE user_id = '".$user_id."'"); } die(); break; Нужно убрать < из if($timezona =< 24){ Так как будет ошибка не помню какая. Quote Link to comment Share on other sites More sharing options...
zadrot02 Posted January 25, 2016 Report Share Posted January 25, 2016 Ну у меня по крайней мере так получилась ошибка. Не загружалась страница настроек из-за одного знака. Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 25, 2016 Report Share Posted January 25, 2016 Убрал но не помогло,у меня тоже страница настроек не робит. Quote Link to comment Share on other sites More sharing options...
currt Posted January 25, 2016 Report Share Posted January 25, 2016 убери = из этого кода if($timezona =< 24){ Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 25, 2016 Report Share Posted January 25, 2016 //################### Timezona ###################// case "timezona": NoAjaxQuery(); $timezona = intval($_POST['timezona']); if($timezona < 24){ $db->query("UPDATE `".PREFIX."_users` SET timezona = '".$timezona."' WHERE user_id = '".$user_id."'"); } die(); break; Убрал,как видишь,загрузил и ноль эмоций Quote Link to comment Share on other sites More sharing options...
zadrot02 Posted January 25, 2016 Report Share Posted January 25, 2016 //################### Timezona ###################// case "timezona": NoAjaxQuery(); $timezona = intval($_POST['timezona']); if($timezona < 24){ $db->query("UPDATE `".PREFIX."_users` SET timezona = '".$timezona."' WHERE user_id = '".$user_id."'"); } die(); break; Убрал,как видишь,загрузил и ноль эмоций А скинь то, что написано. Или же скинь скриншот. Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 25, 2016 Report Share Posted January 25, 2016 А скинь то, что написано. Или же скинь скриншот. https://yadi.sk/i/313OKIW6nhpq5 https://yadi.sk/i/mHBT11d8nhpw7 https://yadi.sk/i/at-VBtqFnhq5r Quote Link to comment Share on other sites More sharing options...
zadrot02 Posted January 25, 2016 Report Share Posted January 25, 2016 https://yadi.sk/i/313OKIW6nhpq5 https://yadi.sk/i/mHBT11d8nhpw7 https://yadi.sk/i/at-VBtqFnhq5r Я имел ввиду ошибку страницы настроек. Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 25, 2016 Report Share Posted January 25, 2016 Я имел ввиду ошибку страницы настроек. Просто не открывается Quote Link to comment Share on other sites More sharing options...
zadrot02 Posted January 25, 2016 Report Share Posted January 25, 2016 Просто не открывается Белый экран или что? Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 25, 2016 Report Share Posted January 25, 2016 Белый экран или что? да Quote Link to comment Share on other sites More sharing options...
AdVest Posted January 25, 2016 Report Share Posted January 25, 2016 (edited) if($timezona){ правильное решение Edited January 25, 2016 by AdVest Quote Link to comment Share on other sites More sharing options...
Armagedosha Posted January 26, 2016 Report Share Posted January 26, 2016 if($timezona){ правильное решение Не помогло,скрины с кодом прикрепил. Quote Link to comment Share on other sites More sharing options...
viiprogrammer Posted January 26, 2016 Author Report Share Posted January 26, 2016 Не помогло,скрины с кодом прикрепил. Замени: $tpl->set('{timezs}', installationSelected($row['timezona']), ' <option value="1">GMT-11 "Samoa"</option> <option value="2">GMT-10 "Hawaii"</option> <option value="3">GMT-9 "Alaska"</option> <option value="4">GMT-8 "Los Angeles"</option> <option value="5">GMT-7 "Denver"</option> <option value="6">GMT-6 "Chicago"</option> <option value="7">GMT-5 "New York"</option> <option value="8">GMT-4 "Caracas"</option> <option value="9">GMT-3 "Buenos Aires"</option> <option value="10">GMT-2 "Sao Paulo"</option> <option value="11">GMT-1 "Azores"</option> <option value="12">GMT 0 "London"</option> <option value="13">GMT1 "Berlin,Paris"</option> <option value="14">GMT 2 "Kyiv, Minsk"</option> <option value="15">GMT 3 "Moscow, Saint-Peterburg"</option> <option value="16">GMT 4 "Yerevan"</option> <option value="17">GMT 5 "Yekaterinburg, Tashkent"</option> <option value="18">GMT 6 "Novosibirsk"</option> <option value="19">GMT 7 "Krasnoyarsk, Bangkok"</option> <option value="20">GMT 8 "Singapore, Hong Kong"</option> <option value="21">GMT 9 "Tokyo"</option> <option value="22">GMT 10 "Vladivostok"</option> <option value="23">GMT 11 "Sydney"</option> <option value="24">GMT 12 "Kamchatka"</option> ')); На: $tpl->set('{timezs}', installationSelected($row['timezona'], ' <option value="1">GMT-11 "Samoa"</option> <option value="2">GMT-10 "Hawaii"</option> <option value="3">GMT-9 "Alaska"</option> <option value="4">GMT-8 "Los Angeles"</option> <option value="5">GMT-7 "Denver"</option> <option value="6">GMT-6 "Chicago"</option> <option value="7">GMT-5 "New York"</option> <option value="8">GMT-4 "Caracas"</option> <option value="9">GMT-3 "Buenos Aires"</option> <option value="10">GMT-2 "Sao Paulo"</option> <option value="11">GMT-1 "Azores"</option> <option value="12">GMT 0 "London"</option> <option value="13">GMT1 "Berlin,Paris"</option> <option value="14">GMT 2 "Kyiv, Minsk"</option> <option value="15">GMT 3 "Moscow, Saint-Peterburg"</option> <option value="16">GMT 4 "Yerevan"</option> <option value="17">GMT 5 "Yekaterinburg, Tashkent"</option> <option value="18">GMT 6 "Novosibirsk"</option> <option value="19">GMT 7 "Krasnoyarsk, Bangkok"</option> <option value="20">GMT 8 "Singapore, Hong Kong"</option> <option value="21">GMT 9 "Tokyo"</option> <option value="22">GMT 10 "Vladivostok"</option> <option value="23">GMT 11 "Sydney"</option> <option value="24">GMT 12 "Kamchatka"</option> ')); 2 Quote Link to comment Share on other sites More sharing options...
iKill Posted January 27, 2016 Report Share Posted January 27, 2016 В настройках пишет Ошибка сервера 500 Quote Link to comment Share on other sites More sharing options...
viiprogrammer Posted January 27, 2016 Author Report Share Posted January 27, 2016 В настройках пишет Ошибка сервера Смотри выше 500 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.