povstance Posted April 7, 2013 Report Share Posted April 7, 2013 Название: Easy Pages 1.1.3 Добавил: povstance Добавлен: 08 Апр 2013 Категория: Компоненты, Приложения для IP.Board Название по-русски : Дополнительные страницы для IP.Board Версия IP.Board: 3.4.x Easy Pages 1.1.3 - простой и мощный компонент для создания дополнительных страниц на вашем форуме. Для создания страницы вы можете ввести название и содержимое, вам даже не нужно знать HTML или PHP (хотя вы можете использовать их в своих страницах) Respected, neygomon, taulalan and 1 other 4 Quote Link to comment Share on other sites More sharing options...
HooLIGUN Posted April 7, 2013 Report Share Posted April 7, 2013 (edited) Спасибо.Как раз ждал обновку В названии темы бы еще написали что это версия 1.1.3 Edited April 7, 2013 by HooLIGUN Quote Link to comment Share on other sites More sharing options...
povstance Posted April 7, 2013 Author Report Share Posted April 7, 2013 HooLIGUN, прошу прощения, упустил этот момент Quote Link to comment Share on other sites More sharing options...
HooLIGUN Posted April 7, 2013 Report Share Posted April 7, 2013 А как это понимать? Quote Link to comment Share on other sites More sharing options...
povstance Posted April 7, 2013 Author Report Share Posted April 7, 2013 HooLIGUN, не знаю, проверил лично у себя на 3.4.3, все работает нормально. Quote Link to comment Share on other sites More sharing options...
HooLIGUN Posted April 7, 2013 Report Share Posted April 7, 2013 povstance,Ну да,я тоже установил,визуальный редактор работает...Но версия смутила Quote Link to comment Share on other sites More sharing options...
povstance Posted April 7, 2013 Author Report Share Posted April 7, 2013 HooLIGUN, сам сначала удивился, но все пошло как по маслу, видимо разработчик засыпая обнову штамповал Quote Link to comment Share on other sites More sharing options...
neygomon Posted May 16, 2013 Report Share Posted May 16, 2013 Всем привет. У меня тут проблемка с данным приложением. Нет пункта в меню Других приложений. Пробовал раз 5 переустановить, включая полное удаление файлов с хоста и заливал по новой. Не помогло. Версия IPB - 3.4.4 Версия приложения - 1.1.3 ps К вам на сервер скрин залить не могу, выдает ошибку (Возникла ошибка при загрузке файла) Заранее спасибо за помощь) Quote Link to comment Share on other sites More sharing options...
povstance Posted May 16, 2013 Author Report Share Posted May 16, 2013 xacker11, компонент точно включен в АЦ? Quote Link to comment Share on other sites More sharing options...
neygomon Posted May 18, 2013 Report Share Posted May 18, 2013 компонент точно включен в АЦ? я же приложил скрин где четко видно, что он включен. Quote Link to comment Share on other sites More sharing options...
povstance Posted May 18, 2013 Author Report Share Posted May 18, 2013 xacker11, стесняюсь спросить... Где? Quote Link to comment Share on other sites More sharing options...
neygomon Posted May 18, 2013 Report Share Posted May 18, 2013 стесняюсь спросить... Где? был. видимо модеры потерли.. Вот он: Quote Link to comment Share on other sites More sharing options...
neygomon Posted May 18, 2013 Report Share Posted May 18, 2013 UPD: Проблема не только с данным приложением. Ссылка на топик: Quote Link to comment Share on other sites More sharing options...
number202 Posted August 19, 2013 Report Share Posted August 19, 2013 как добавить ребят ? Quote Link to comment Share on other sites More sharing options...
MontiQ Posted August 19, 2013 Report Share Posted August 19, 2013 АЦ-настройки-приложения-управление приложениями-Easy Page - редактировать - Права доступа - Скрыть вкладку (нет) _yhp.p.ht/admin/index.php?adsess=e0ef39a049bfc76f7de19cb1a7fb5a75&app=core&module=applications§ion=applications&do=applications_overview number202 and AUYKGN 2 Quote Link to comment Share on other sites More sharing options...
number202 Posted August 19, 2013 Report Share Posted August 19, 2013 АЦ-настройки-приложения-управление приложениями-Easy Page - редактировать - Права доступа - Скрыть вкладку (нет) _yhp.p.ht/admin/index.php?adsess=e0ef39a049bfc76f7de19cb1a7fb5a75&app=core&module=applications§ion=applications&do=applications_overview сделал все по 1 пункту , появилось page , но как изменить название , и вставить туда ссылку ? AUYKGN 1 Quote Link to comment Share on other sites More sharing options...
AUYKGN Posted August 19, 2013 Report Share Posted August 19, 2013 number202, в настройках шарься, там всё должно быть! Quote Link to comment Share on other sites More sharing options...
bsnet Posted April 24, 2014 Report Share Posted April 24, 2014 (edited) Вторую вкладку(раздел) реально сделать с страницами в этом моде? А то я допустим хоче сделать раздел с страницами разных тематик. Edited April 24, 2014 by bsnet Quote Link to comment Share on other sites More sharing options...
MontiQ Posted May 27, 2014 Report Share Posted May 27, 2014 Помогите вставить PHP код. Хочу приделать туда BanList сервера ( SuperBan) в самом скрипте 4 файла ( index.php , chek.php, config.php , ban,php ) вся нужная информация в файле index.php <?PHP // Делает выборку из таблицы superban include "config.php"; function MakeSelection($sql) { global $host, $login, $password, $db; $conn = mysql_connect($host, $login, $password); mysql_set_charset('utf8', $conn); if (!$conn) { echo "Unable to connect to DB: " . mysql_error(); } if (!mysql_select_db($db)) { echo "Unable to select mydbname: " . mysql_error(); } $result = mysql_query($sql); if (!$result) { echo "Could not successfully run query ($sql) from DB: " . mysql_error(); } else { while ($row = mysql_fetch_assoc($result)) { $users[] = $row; } } mysql_free_result($result); mysql_close($conn); return $users; } // Выбирает что и как запрашивать из таблицы function BottomPanel() { global $table, $lines; if ($_GET["search"] == "") $sql = "Select * from ".$table." order by banid desc"; else { $search = mysql_escape_string($_GET["search"]); $sql = "Select * from ".$table." where ip like '%".$search."%' or banname like '%".$search."%' or name like '%".$search."%' order by banid desc"; } $users = MakeSelection($sql); //Печатаем резальтат PrintResult($users); } // Печатает результат запроса function PrintResult($array) { global $top_color, $line_odd_color, $line_even_color, $bottom_color, $page_color, $cursor_color, $lines, $line_add_color; print(" <tr align = left bgcolor = "".$top_color.""> <td><b>Дата [время]</b></td> <td><b>Ник игрока</b></td> <td><b>Ник админа</b></td> <td><b>Причина<b></td> <td><b>Статус бана<b></td> </tr>"); if (count($array) > 0) { if (isset($_GET["page"])) {$p = ($_GET["page"]-1)*$lines;} else {$p = 0;} for ($i = $p; $i < $p+$lines and $i < count($array); $i++) { if (intval($array[$i]['unbantime']) > 0) {$unban = (($array[$i]['unbantime']-$array[$i]['time'])/60)." мин.";} if (intval($array[$i]['unbantime']) == 0) {$unban = "Навсегда";} if (intval($array[$i]['unbantime']) == -1) {$unban = "Разбанен";} if ($array[$i]['reason'] == "") {$reason = "Не указана";} else {$reason = $array[$i]['reason'];} if ($flag) { $flag = false; $color = $line_even_color; } else { $flag = true; $color = $line_odd_color; } print(" <tr align = left bgcolor = "".$color."" onMouseOver="this.style.backgroundColor='".$cursor_color."'" onMouseOut="this.style.backgroundColor='".$color."'" onClick="Toggle(dop".$i.")"> <td>".date("d.m.Y [H:i]", $array[$i]['time'])."</td> <td>".htmlspecialchars($array[$i]['banname'])."</td> <td>".$array[$i]['admin']."</td> <td>".$reason."</td> <td>".$unban."</td> </tr>"); if ($array[$i]['bantime'] == 0) $bantime = date("d.m.Y [H:i]", $array[$i]['time']); else $bantime = date("d.m.Y [H:i]", $array[$i]['bantime']); if (intval($array[$i]['unbantime']) > 0) $unban = date("d.m.Y [H:i]", $array[$i]['unbantime']); else $unban = "-"; print(" <tr align = left bgcolor = "".$line_add_color."" id = "dop".$i."" style = "display: none;"> <td colspan="5"><b>Последний визит: </b>".$bantime."<br><b>Последний IP адрес: </b>".$array[$i]['ip']."<br><b>Последний ник: </b>".$array[$i]['name']."<br><b>Дата окончания бана: </b>".$unban."</td> </tr>"); } print("<tr align = left bgcolor = "".$bottom_color.""><td colspan = 5>"); if (ceil(count($array)/$lines) > 1) { for ($i = 1; $i <= ceil(count($array)/$lines); $i++) { if (isset($_GET["page"])) {$p = $_GET["page"];} else {$p = 1;} if ($p == $i) { Print("<font style="background-color: #BBBBBB;"> ".$i." </font> "); } else { Print("<a href = "?page=".$i."" style="background-color: ".$page_color.";" onMouseOver="this.style.backgroundColor='".$cursor_color."'" onMouseOut="this.style.backgroundColor='".$page_color."'"> ".$i." </a> "); } } } print(" </td></tr>"); } } // Делает запрсс из таблицы superban function SqlQuery() { global $font_size, $font_color; echo "<form name="search" method="get" style="font-family: Verdana; font-size: ".$font_size."; color: ".$font_color.""> Поиск: <input type="text" name="search" value="".$_GET["search"].""><input type="submit" value="Искать"></form>"; echo "<table align="center" border = 0 cellpadding = 3 cellspacing = 3 width = 100% style="font-family: Verdana; font-size: ".$font_size."; color: ".$font_color."">"; BottomPanel(); echo "</table>"; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Бан-лист</title> <script> function Toggle(el) { el.style.display = (el.style.display == 'none') ? '' : 'none' } </script> <style type="text/css"> a { text-decoration: none; } a:link { color: <?echo $font_color?>; } a:visited { color: <?echo $font_color?>; } a:active { color: <?echo $font_color?>; } a:hover { color: <?echo $font_color?>; } </style> </head> <body bgcolor = "<?echo $bgcolor?>"> <?SqlQuery()?> </body> </html> Как её вывести в Easy Page? Quote Link to comment Share on other sites More sharing options...
SanyaSamp Posted May 27, 2014 Report Share Posted May 27, 2014 Помогите вставить PHP код. Хочу приделать туда BanList сервера ( SuperBan) в самом скрипте 4 файла ( index.php , chek.php, config.php , ban,php ) вся нужная информация в файле index.php <?PHP // Делает выборку из таблицы superban include "config.php"; function MakeSelection($sql) { global $host, $login, $password, $db; $conn = mysql_connect($host, $login, $password); mysql_set_charset('utf8', $conn); if (!$conn) { echo "Unable to connect to DB: " . mysql_error(); } if (!mysql_select_db($db)) { echo "Unable to select mydbname: " . mysql_error(); } $result = mysql_query($sql); if (!$result) { echo "Could not successfully run query ($sql) from DB: " . mysql_error(); } else { while ($row = mysql_fetch_assoc($result)) { $users[] = $row; } } mysql_free_result($result); mysql_close($conn); return $users; } // Выбирает что и как запрашивать из таблицы function BottomPanel() { global $table, $lines; if ($_GET["search"] == "") $sql = "Select * from ".$table." order by banid desc"; else { $search = mysql_escape_string($_GET["search"]); $sql = "Select * from ".$table." where ip like '%".$search."%' or banname like '%".$search."%' or name like '%".$search."%' order by banid desc"; } $users = MakeSelection($sql); //Печатаем резальтат PrintResult($users); } // Печатает результат запроса function PrintResult($array) { global $top_color, $line_odd_color, $line_even_color, $bottom_color, $page_color, $cursor_color, $lines, $line_add_color; print(" <tr align = left bgcolor = "".$top_color.""> <td><b>Дата [время]</b></td> <td><b>Ник игрока</b></td> <td><b>Ник админа</b></td> <td><b>Причина<b></td> <td><b>Статус бана<b></td> </tr>"); if (count($array) > 0) { if (isset($_GET["page"])) {$p = ($_GET["page"]-1)*$lines;} else {$p = 0;} for ($i = $p; $i < $p+$lines and $i < count($array); $i++) { if (intval($array[$i]['unbantime']) > 0) {$unban = (($array[$i]['unbantime']-$array[$i]['time'])/60)." мин.";} if (intval($array[$i]['unbantime']) == 0) {$unban = "Навсегда";} if (intval($array[$i]['unbantime']) == -1) {$unban = "Разбанен";} if ($array[$i]['reason'] == "") {$reason = "Не указана";} else {$reason = $array[$i]['reason'];} if ($flag) { $flag = false; $color = $line_even_color; } else { $flag = true; $color = $line_odd_color; } print(" <tr align = left bgcolor = "".$color."" onMouseOver="this.style.backgroundColor='".$cursor_color."'" onMouseOut="this.style.backgroundColor='".$color."'" onClick="Toggle(dop".$i.")"> <td>".date("d.m.Y [H:i]", $array[$i]['time'])."</td> <td>".htmlspecialchars($array[$i]['banname'])."</td> <td>".$array[$i]['admin']."</td> <td>".$reason."</td> <td>".$unban."</td> </tr>"); if ($array[$i]['bantime'] == 0) $bantime = date("d.m.Y [H:i]", $array[$i]['time']); else $bantime = date("d.m.Y [H:i]", $array[$i]['bantime']); if (intval($array[$i]['unbantime']) > 0) $unban = date("d.m.Y [H:i]", $array[$i]['unbantime']); else $unban = "-"; print(" <tr align = left bgcolor = "".$line_add_color."" id = "dop".$i."" style = "display: none;"> <td colspan="5"><b>Последний визит: </b>".$bantime."<br><b>Последний IP адрес: </b>".$array[$i]['ip']."<br><b>Последний ник: </b>".$array[$i]['name']."<br><b>Дата окончания бана: </b>".$unban."</td> </tr>"); } print("<tr align = left bgcolor = "".$bottom_color.""><td colspan = 5>"); if (ceil(count($array)/$lines) > 1) { for ($i = 1; $i <= ceil(count($array)/$lines); $i++) { if (isset($_GET["page"])) {$p = $_GET["page"];} else {$p = 1;} if ($p == $i) { Print("<font style="background-color: #BBBBBB;"> ".$i." </font> "); } else { Print("<a href = "?page=".$i."" style="background-color: ".$page_color.";" onMouseOver="this.style.backgroundColor='".$cursor_color."'" onMouseOut="this.style.backgroundColor='".$page_color."'"> ".$i." </a> "); } } } print(" </td></tr>"); } } // Делает запрсс из таблицы superban function SqlQuery() { global $font_size, $font_color; echo "<form name="search" method="get" style="font-family: Verdana; font-size: ".$font_size."; color: ".$font_color.""> Поиск: <input type="text" name="search" value="".$_GET["search"].""><input type="submit" value="Искать"></form>"; echo "<table align="center" border = 0 cellpadding = 3 cellspacing = 3 width = 100% style="font-family: Verdana; font-size: ".$font_size."; color: ".$font_color."">"; BottomPanel(); echo "</table>"; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Бан-лист</title> <script> function Toggle(el) { el.style.display = (el.style.display == 'none') ? '' : 'none' } </script> <style type="text/css"> a { text-decoration: none; } a:link { color: <?echo $font_color?>; } a:visited { color: <?echo $font_color?>; } a:active { color: <?echo $font_color?>; } a:hover { color: <?echo $font_color?>; } </style> </head> <body bgcolor = "<?echo $bgcolor?>"> <?SqlQuery()?> </body> </html> Как её вывести в Easy Page? лучше через IP Content Quote Link to comment Share on other sites More sharing options...
Pastuh Posted September 18, 2014 Report Share Posted September 18, 2014 Возник вопрос. Необходимо использовать данное приложение как несколько страниц на форуме, где будут размещены другие сайты через фрейм, что то типа базы данных игры и личного кабинета к ней. Скажем пытаюсь сделать цельный сайт на базе IPB. Как бы 1 страницу сделал все отлично. Но возникла проблема при создание второй. Необходимо что бы обе страницы были в навигационном меню форума и когда пользователь находится на них у них была подсветка, как это сделано у страниц Форумы и Пользователи. 1 я добавил, все отлично. Блок находится в <foreach loop="applications:$header_items['applications'] as $data"> <if test="showingapp:|:$data['app_show']"> {parse variable="appActive" default="" oncondition="$data['app_active']" value="active"} ***КОД КОТОРЫЙ ДОБАВИЛ**** <if test="$data['app_dir'] == 'easypages'"> <li id='nav_app_{$data['app_dir']}}' class="left {parse variable="appActive"}"><a href='{parse url="{$data['app_link']}" seotitle="{$data['app_seotitle']}" template="{$data['app_template']}" base="{$data['app_base']}"}gamebase' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], $this->lang->words['nav_menu_database'] )"}'>{$this->lang->words['nav_menu_database']}</a></li> </if> ***КОНЕЦ*** </if> </foreach> Как видно что тут идет проверка конкретно на приложение easypages Необходимо добавить ещё один if с проверкой страницы или же добавить данное условие для проверки какую страницу открывать, а именно: Это первое: href='{parse url="{$data['app_link']}" seotitle="{$data['app_seotitle']}" template="{$data['app_template']}" base="{$data['app_base']}"}gamebase' А это будет например второе: href='{parse url="{$data['app_link']}" seotitle="{$data['app_seotitle']}" template="{$data['app_template']}" base="{$data['app_base']}"}manageuser' gamebase и manageuser это и есть страницы которые мы создаем в данном приложение. Вид ссылки получается например такой: __site.com/pages/gamebase Прошу помочь с реализацией. Quote Link to comment Share on other sites More sharing options...
masiania Posted February 28, 2015 Report Share Posted February 28, 2015 при переходе на созданную страницу отображается список форум, а не страница (версия 3.4.6) Quote Link to comment Share on other sites More sharing options...
Almaziko Posted March 18, 2015 Report Share Posted March 18, 2015 Ребяяят, подскажите почему у меня вместо русского языка в этом компоненте всё пишется знаками вопроса? Ну никак не пойму... Quote Link to comment Share on other sites More sharing options...
WOLF Posted March 18, 2015 Report Share Posted March 18, 2015 кодировка бд должна быть: utf8_general_ci Quote Link to comment Share on other sites More sharing options...
wick Posted March 26, 2015 Report Share Posted March 26, 2015 можно ли изменить как то ссылку site.ru/page/ на site.ru/моё название/ ? 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.
Note: Your post will require moderator approval before it will be visible.