Перейти до змісту
Переглянути в додатку

Кращий спосіб перегляду. Дізнатися більше.

IPB-Board.com

Повноекранний додаток на головному екрані з push-сповіщеннями, значками та іншим.

Щоб встановити цей додаток на iOS та iPadOS
  1. Торкніться Піктограма «Поділитися» в Safari
  2. Прокрутіть меню та натисніть Додати на головний екран.
  3. Натисніть Додати у верхньому правому куті.
Щоб встановити цю програму на Android
  1. Натисніть меню з трьома крапками (⋮) у верхньому правому куті браузера.
  2. Натисніть Додати на головний екран або Встановити програму.
  3. Підтвердіть, натиснувши Встановити.

Ciko

Адміністратор
  • Зареєстровано

  • Відвідування

Весь контент Ciko

  1. Било: Сечас: Админ Панелб-Внешний вид-Ваш стиль-Проче-repButtons найти: <li <if test="giveRepDown:|:IPSMember::canRepDown( $data, $member ) === false">style="display:none"</if>> <a href='{$this->settings['base_url']}app=core&module=global&section=reputation&do=add_rating&app_rate={$data['app']}&type={$data['type']}&type_id={$data['primaryId']}&rating=-1&secure_key={$this->member->form_hash}&post_return={$data['primaryId']}' class='rep_down' title='{$this->lang->words['reputation_down']}'>{parse replacement="rep_down"}</a> </li>Заменить на: <if test="in_array( $this->memberData['member_group_id'], array( '4','6'))"> <li <if test="giveRepDown:|:IPSMember::canRepDown( $data, $member ) === false">style="display:none"</if>> <a href='{$this->settings['base_url']}app=core&module=global&section=reputation&do=add_rating&app_rate={$data['app']}&type={$data['type']}&type_id={$data['primaryId']}&rating=-1&secure_key={$this->member->form_hash}&post_return={$data['primaryId']}' class='rep_down' title='{$this->lang->words['reputation_down']}'>{parse replacement="rep_down"}</a> </li> </if>Где '4','6' - это ID групп пользователей у которых кнопка негативной репутации будет отключена .
  2. Админ Панель-Внешний вид-Ваш стиль-Глобальные-globalTemplate найти: {parse variable="helpActive" default="" oncondition="IPS_APP_COMPONENT == 'core' AND $this->request['module'] == 'help'" value="active"}Ниже добавить: <li id="nav_discussion" class="left"><a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras&section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></li>
  3. Админ Панель-Внешний вид-Ваш стиль-Список форумов-boardIndexTemplate найти: <if test="showTotals:|:$this->settings['show_totals']"><div id='board_stats'> <ul class='ipsType_small ipsList_inline'> <li class='clear'> <span class='value'>{$stats['info']['total_posts']}</span> {$this->lang->words['total_posts']} </li> <li class='clear'> <span class='value'>{$stats['info']['mem_count']}</span> {$this->lang->words['total_members']} </li> <li class='clear'> <a href='{$stats['info']['last_mem_link']}' title='{$this->lang->words['view_profile']}' class='value'>{$stats['info']['last_mem_name']}</a> {$this->lang->words['newest_member']} </li> <li class='clear' data-tooltip="{$stats['info']['most_time']}"> <span class='value'>{$stats['info']['most_online']}</span> {$this->lang->words['online_at_once']} </li></ul></div></if>После кода: <li class='clear' data-tooltip="{$stats['info']['most_time']}"> <span class='value'>{$stats['info']['most_online']}</span> {$this->lang->words['online_at_once']} </li>Добавить: <li class='clear' data-tooltip="{$stats['info']['b_started']}">Перейти на FTP-Клиент admin/applications/forums/modules_public/forums/boards.phpНайти: $stats_output['total_posts'] = $stats['total_replies'] + $stats['total_topics'];Добавить ниже: $stats_output['b_started'] = $this->registry->getClass('class_localization')->getDate($this->settings['board_start'], 'LONG');
  4. В шаблоне userInfoPane находим : <span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span> </p> </div> </li> </ul> </if>Ниже добавить: <!--REPUTATION BEGIN--> <if test="RepPositive:|:$author['pp_reputation_points'] > 0"> <div class='reputation positive' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div> </if> <if test="RepNegative:|:$author['pp_reputation_points'] < 0"> <div class='reputation negative' > <div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div> </if> <if test="RepZero:|:$author['pp_reputation_points'] == 0"> <div class='reputation zero' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div> </if><!--REPUTATION END-->Если вы хотите, чтобы данные уровни отображались, вместо предложенного выше кода добавьте следующий: <!--REPUTATION BEGIN--> <if test="RepPositive:|:$author['pp_reputation_points'] > 0"> <div class='reputation positive' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </if> <if test="RepNegative:|:$author['pp_reputation_points'] < 0"> <div class='reputation negative' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </if> <if test="RepZero:|:$author['pp_reputation_points'] == 0"> <div class='reputation zero' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </if> <if test="RepText:|:$author['author_reputation'] && $author['author_reputation']['text']"> <span class='title'>{$author['author_reputation']['text']}</span> </if> <if test="RepImage:|:$author['author_reputation'] && $author['author_reputation']['image']"> <span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['m_reputation']}' /></span> </if></div><!--REPUTATION END-->
  5. 1. Открываем шаблон userInfoPane (глобальные). 2. Находим: <if test="postCount:|:$author['member_id']"><li class='post_count desc lighter'>{parse exp[b][/b]ression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}</li></if></ul>Ниже добавить: <if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']"><div class='reputation-container'><!-- Blue Reputation Bar --><if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=10"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_1c.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=11 && $author['pp_reputation_points']<=20"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_2c.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=21 && $author['pp_reputation_points']<=30"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_3c.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=31 && $author['pp_reputation_points']<=40"><img class="inlineimg" src="http://localhost/ipb/public/style_extra/reputation_icons/level_4c.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=41 && $author['pp_reputation_points']<=50"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_5c.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><!-- /Blue Reputation Bar --><!-- Green Reputation Bar --><if test="$author['pp_reputation_points']>=51 && $author['pp_reputation_points']<=80"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_1b.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=81 && $author['pp_reputation_points']<=110"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_2b.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=111 && $author['pp_reputation_points']<=140"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_3b.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=141 && $author['pp_reputation_points']<=170"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_4b.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=171 && $author['pp_reputation_points']<=200"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_5b.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><!-- /Green Reputation Bar --><!-- Gold Reputation Bar --><if test="$author['pp_reputation_points']>=201 && $author['pp_reputation_points']<=250"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_1a.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=251 && $author['pp_reputation_points']<=300"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_2a.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=301 && $author['pp_reputation_points']<=350"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_3a.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=351 && $author['pp_reputation_points']<=400"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_4a.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=401"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_5a.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><!-- /Gold Reputation Bar --><!-- Neutral Reputation Bar --><if test="$author['pp_reputation_points']==0"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_0.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><!-- /Neutral Reputation Bar --><!-- Negative Reputation Bar --><if test="$author['pp_reputation_points']<=-1 && $author['pp_reputation_points']>=-10"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_-1.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']<=-11 && $author['pp_reputation_points']>=-20"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_-2.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']<=-21 && $author['pp_reputation_points']>=-30"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_-3.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']<=-31 && $author['pp_reputation_points']>=-40"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_-4.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']<=-41"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_-5.png" alt="Репутация: {$author['pp_reputation_points']}" data-tooltip="Репутация: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><!-- /Negative Reputation Bar --></div></if>Для <div class='reputation-container'> можно добавить следующий CSS код: .reputation-container{margin:9px 0 0;}Чтобы красивее смотрелось Разъяснение: <if test="$author['pp_reputation_points']>=21 && $author['pp_reputation_points']<=30"><img src="http://localhost/ipb/public/style_extra/reputation_icons/level_3c.png" alt="{$this->lang->words['word_reputation']}: {$author['pp_reputation_points']}" data-tooltip="{$this->lang->words['word_reputation']}: {$author['pp_reputation_points']}" border="0" height="17" width="117" /></if><if test="$author['pp_reputation_points']>=21 && $author['pp_reputation_points']<=30"> — если репутация БОЛЬШЕ или РОВНА 21 баллам репутации + МЕНЬШЕ или РОВНА 30 баллам репутации, показывать следующую картинку. data-tooltip="{$this->lang->words['word_reputation']}: {$author['pp_reputation_points']}" — всплывающая подсказка в стиле IPB. reputation.zip
  6. Ну тогда сохраните весь код то что у вас сечас есть на всякий случий и замените все на: <if test="$this->settings['hoverDescriptions']='no'"></if><if test="$this->settings['removeStatsColumn']='no'"></if><if test="$this->settings['customForumIcons']='no'"></if><!-- -->{parse js_module="forums"}<script type="text/javascript">//<![CDATA[ //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = {$this->request['showforum']}; ipb.templates['topic_rename'] = new Template("<input type='text' id='#{inputid}' value='#{value}' class='input_text' size='50' maxlength='{$this->settings['topic_title_max_len']}' /> <input type='submit' value='{$this->lang->words['rename_topic_update']}' class='input_submit' id='#{submitid}' /> <a href='#' id='#{cancelid}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>"); var markerURL = ipb.vars['base_url'] + "app=forums&module=ajax&section=markasread&i=1"; // Ajax URL so don't use & var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />"; ipb.forums.modPerms = []; <if test="$this->memberData['g_is_supmod']"> ipb.forums.modPerms['approve'] = 1; ipb.forums.modPerms['delete'] = 1; ipb.forums.modPerms['hide'] = 1; ipb.forums.modPerms['unhide'] = 1; ipb.forums.modPerms['pin'] = 1; ipb.forums.modPerms['unpin'] = 1; ipb.forums.modPerms['open'] = 1; ipb.forums.modPerms['close'] = 1; ipb.forums.modPerms['move'] = 1; ipb.forums.modPerms['merge'] = 1; <else /> <if test="isset( $this->memberData['forumsModeratorData'][ $forum_data['id'] ] )"> ipb.forums.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['topic_q']}; ipb.forums.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']}; ipb.forums.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_soft_delete']}; ipb.forums.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_un_soft_delete']}; ipb.forums.modPerms['pin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic']}; ipb.forums.modPerms['unpin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']}; ipb.forums.modPerms['open'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['open_topic']}; ipb.forums.modPerms['close'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['close_topic']}; ipb.forums.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['move_topic']}; ipb.forums.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['split_merge']}; </if> </if> ipb.templates['topic_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'> <span class='desc'>{$this->lang->words['f_comment_action_count']} </span> <select id='tactInPopup' class='input_select'> </select> <input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /> </div>");//]]></script><div class='ipbfs_titlebox'><if test="watchismember:|:$this->memberData['member_id']"> <if test="hasFollowData:|:$other_data['follow_data']"> <span class='right'>{$other_data['follow_data']}</span> </if></if><h1 class='ipsType_pagetitle'>{$forum_data['name']}</h1><div class='ipsType_pagedesc forum_rules'> <if test="rules:|:$forum_data['show_rules']"> <if test="rulesinline:|:$forum_data['show_rules'] == 2"> <strong>{$forum_data['rules_title']}</strong> {$forum_data['rules_text']} </if> <if test="ruleslink:|:$forum_data['show_rules'] == 1"> <a href='{parse url="app=forums&module=forums&section=rules&f={$forum_data['id']}" base="public"}' title='{$this->lang->words['view_forum_rules']}'>{$forum_data['rules_title']}</a> </if> <else /> {$forum_data['description']} </if></div></div><br /><if test="hasannouncements:|:is_array( $announce_data ) AND count( $announce_data )"> <div class='content_border'><table class='ipb_table topic_list hover_rows' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='announcements'> <foreach loop="announcements:$announce_data as $aid => $adata"> <tr class='row2 announcement' id='arow_{$adata['announce_id']}'> <td> <php>$_seoTitle = $adata['announce_seo_title'] ? $adata['announce_seo_title'] : "%%{$adata['announce_title']}%%";</php> {parse replacement="t_announcement"} <h4> <a href="{parse url="showannouncement={$adata['announce_id']}&f={$forum_data['id']}" seotitle="{$_seoTitle}" template="showannouncement" base="public"}" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a> </h4> <span class='desc'>{$this->lang->words['posted_by']} {parse template="userHoverCard" group="global" params="$adata"} <if test="announcedates:|:$adata['announce_start'] AND $adata['announce_start'] != '--'">, {$adata['announce_start']}</if> </span> </td> </tr> </foreach> </table></div> <br /> </if><!-- __-SUBFORUMS-__ --><if test="hassubforums:|:is_array( $sub_forum_data ) AND count( $sub_forum_data )"> <div class='category_block block_wrap'> {parse replacement="header_start"}<h3 class='maintitle'>{$this->lang->words['sub_forum_title']}</h3>{parse replacement="header_end"} <div class='ipsBox table_wrap removeDefault'> <div class='ipsBox_container'> <table class='ipb_table forumHover' summary="{$this->lang->words['cat_subforums']} '{$forum_data['name']}'"> <foreach loop="subforums:$sub_forum_data as $_data"> <if test="subforumdata:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )"> <foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data"> <if test="forumRedirect:|:$forum_data['redirect_on']"> <tr class='redirect_forum' id='f_{$forum_data['id']}'> <td class='col_c_icon'> <if test="$forum_data['_has_unread']"> <a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">{$forum_data['icon']}<else /><img src='{$this->settings['img_url']}/f_icon.png' /></if></a> <script type='text/javascript'> <if test="$this->settings['dp3_fi_mode'] == 'replace'">var unreadIcon = "{$forum_data['icon_read']}";</if> ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </script> <else /> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">{$forum_data['icon']}<else /><img src='{$this->settings['img_url']}/f_icon_read.png' /></if> </if> </td> <td <if test="$this->settings['removeStatsColumn']=='no'"><if test="canSeeLastInfoRedirect:|:$this->memberData['gbw_view_last_info']">colspan='2'</if></if> class='col_c_forum'> <a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'><if test="$forum_data['_name']">{$forum_data['_name']}<else />{$forum_data['name']}</if></a> <if test="$forum_data['description']"><if test="$this->settings['hoverDescriptions']=='yes'"><span class='forum_desc_pos'><span class='forum_desc_con'><span class='forum_description'>{$forum_data['description']}</span></span></span><else /><p class='desc forum_desc'>{$forum_data['description']}</p></if></if> </td> <td class='desc'> <ul class='last_post ipsType_small'> <li class='desc lighter'><em>{parse format_number="$forum_data['redirect_hits']"} {$this->lang->words['rd_hits']}</em></li></ul> </td> </tr> <else /> <tr class='<if test="$forum_data['_has_unread']">unread<else />notnew</if>'> <td class='col_c_icon'> <if test="$forum_data['_has_unread']"> <a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><if test="$this->settings['customForumIcons']=='yes'"> <php> $imageURL = "{$this->settings['img_url']}"; $imageFolder = basename($imageURL); $forumId = $forum_data['id']; </php> <if test="is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_images/' . $imageFolder . '/forum_images/' . $forumId . '.png' )"> <img src="{style_images_url}/forum_images/{$forum_data['id']}.png" alt="" /> <else /> <img src="{style_images_url}/forum_images/default.png" alt="" /> </if> <else /> <img src='{$this->settings['img_url']}/f_icon.png' /> </if></a> <script type='text/javascript'> ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </script> <else /> <if test="$this->settings['customForumIcons']=='yes'"> <php> $imageURL = "{$this->settings['img_url']}"; $imageFolder = basename($imageURL); $forumId = $forum_data['id']; </php> <if test="is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_images/' . $imageFolder . '/forum_images/' . $forumId . '.png' )"> <img src="{style_images_url}/forum_images/{$forum_data['id']}.png" alt="" class='fadedForumIcon' /> <else /> <img src="{style_images_url}/forum_images/default.png" alt="" class='fadedForumIcon' /> </if> <else /> <img src='{$this->settings['img_url']}/f_icon_read.png' /> </if> </if> </td> <td class='col_c_forum'> <h4 class='forum_name'> <if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])"> <a href='{parse url="showforum={$forum_data['id']}&modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}' class='ipsBadge ipsBadge_orange' data-tooltip="{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}" style='vertical-align: top'>{$this->lang->words['f_queued_badge']}</a> </if> <strong class='highlight_unread'><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a></strong> </h4> <if test="$this->settings['removeStatsColumn']=='yes'"><div class='forum_stats'><span>{$this->lang->words['topics']}:</span> {$forum_data['topics']} <span>{$this->lang->words['replies']}:</span> {$forum_data['posts']}</div></if> <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']"> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{parse expression="IPSText::striptags( IPSText::htmlspecialchars($__data[1]) )"}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if> </li> </foreach> </ol> </if><if test="$forum_data['description']"><if test="$this->settings['hoverDescriptions']=='yes'"><span class='forum_desc_pos'><span class='forum_desc_con'><span class='forum_description'>{$forum_data['description']}</span></span></span><else /><p class='desc forum_desc'>{$forum_data['description']}</p></if></if> </td> <if test="$this->settings['removeStatsColumn']=='no'"><!--<td class='col_c_stats ipsType_small'> <ul> <li>{$forum_data['topics']} {$this->lang->words['topics']}</li> <li>{$forum_data['posts']} {$this->lang->words['replies']}</li> </ul> </td>--><td style='width: 7%;'><span class='nstatsNumber'>{$forum_data['topics']}</span><span class='nstatsText'>{$this->lang->words['topics']}</span></td><td style='width: 7%;'><span class='nstatsNumber'>{$forum_data['posts']}</span><span class='nstatsText'>{$this->lang->words['replies']}</span></td></if><if test="canSeeLastInfoSubs:|:$this->memberData['gbw_view_last_info']"> <td class='col_c_post'> <if test="hideLastInfo:|:$forum_data['hide_last_info']"> <ul class='last_post'> <li class='desc lighter'><em>{$this->lang->words['f_protected']}</em></li> </ul> <else /><if test="hideTopicInTitle:|:$forum_data['_hide_last_date']"> {parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => '' )"} <else /> {parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"}</if> <ul class='last_post ipsType_small'> <if test="!$forum_data['last_id']"> <li class='desc lighter'><em>{$this->lang->words['f_none']}</em></li> <else /> <li><span class='highlight_unread'>{$forum_data['last_topic_title']}</span></li> <li> <span class='desc lighter blend_links'> <if test="hideDateUrl:|:$forum_data['_hide_last_date']"> {parse date="$forum_data['last_post']" format="DATE"} <else /> <a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="DATE"}</a> </if> </span> <if test="lastPosterID:|:$forum_data['last_poster_id']"> {$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$forum_data"} </if> </li> </if> </ul> </if> </td></if> </tr> </if> </foreach> </if> </foreach> </table> </div> </div>{parse replacement="box_end"} </div> <br /><br /></if><if test="showtopics:|:$forum_data['sub_can_post']"> <div class='topic_controls clearfix'> {$forum_data['SHOW_PAGES']} <ul class='topic_buttons'> <if test="usercanpost:|:$forum_data['_user_can_post']"> <li><a href='{parse url="module=post&section=post&do=new_post&f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' accesskey='s'>{$this->lang->words['topic_start']}</a></li> <else /> <li class='disabled'><span><if test="isGuestPostTopicTop:|: ! $this->memberData['member_id']">{$this->lang->words['forum_no_start_topic_guest']}<else />{$this->lang->words['forum_no_start_topic']}</if></span></li> </if> <if test="moderationDropdownLink:|:$this->memberData['is_mod'] == 1"> <li class='non_button'> <a href='#' id='forum_mod_options' class='ipbmenu'>{$this->lang->words['forum_management']}</a> </li> </if> <if test="markRead:|:$this->memberData['member_id'] || $this->settings['topic_marking_guests']"><li class='non_button'> <a data-clicklaunch="forumMarkRead" data-fid="{$forum_data['id']}" href='{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$forum_data['id']}" base="public"}' title='{$this->lang->words['mark_as_read']}'><img src='{$this->settings['img_url']}/icon_check.png' /> {$this->lang->words['mark_as_read']}</a> </li></if> </ul> </div> <if test="moderationDropdownMenu:|:$this->memberData['is_mod'] == 1"> <ul class='ipbmenu_content' id='forum_mod_options_menucontent' style='display: none'> <li> <a href='{parse url="showforum={$forum_data['id']}&modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_unapproved']}'>{$this->lang->words['mod_unapproved']}</a> </li> <li> <a href='{parse url="showforum={$forum_data['id']}&modfilter=hidden" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a> </li> <if test="$this->memberData['g_is_supmod']"> <li> <a href='{parse url="app=forums&module=moderate&section=moderate&do=prune_start&f={$forum_data['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_prumemovetopics']}'>{$this->lang->words['mod_prumemovetopics']}</a> </li> </if> </ul> </if> {parse replacement="header_start"}<div class='ipsFilterbar maintitle'> <if test="topicsismod:|:$this->memberData['is_mod'] == 1"> <span class='right'> <input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /> </span> </if> <ul class='ipsList_inline ipsType_small' style='margin-top: 1px;'> <li <if test="ka_last_post:|:$this->request['sort_key'] == 'last_post' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=last_post&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_recent']}</a></li> <li <if test="ka_start_date:|:$this->request['sort_key'] == 'start_date' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=start_date&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_start']}</a></li> <li <if test="ka_replies:|:$this->request['sort_key'] == 'posts' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=posts&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_replies']}</a></li> <li <if test="ka_viewed:|:$this->request['sort_key'] == 'views' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=views&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_views']}</a></li> <li <if test="$this->request['sort_by'] == 'A-Z' or !in_array( $this->request['sort_key'], array( 'last_post', 'start_date', 'posts', 'views' ) )">class='active'</if>><a href='#forum_filter_menucontent' id='forum_filter'>{$this->lang->words['sort_custom']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /> </a> </li> <if test="answerLink:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )"> <li <if test="ka_viewed:|:isset($this->request['answered'])">class='active'</if>> <a href="#filter_answered_menucontent" id='filter_answered'>{$this->lang->words['tmenu_answered_link']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /> </a> </li> </if> </ul> </div>{parse replacement="header_end"} <if test="answerMenu:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )"> <ul id='filter_answered_menucontent' class='ipbmenu_content' style='display: none'> <li> <a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key={$this->request['sort_key']}&sort_by={$this->request['sort_by']}&answered=true" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_answered']}</a> </li> <li> <a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key={$this->request['sort_key']}&sort_by={$this->request['sort_by']}&answered=false" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_unanswered']}</a> </li> <li> <a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key={$this->request['sort_key']}&sort_by={$this->request['sort_by']}" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_show_all']}</a> </li> </ul> <script type='text/javascript'> new ipb.Menu( $('filter_answered'), $('filter_answered_menucontent'), { stopClose: true } ); </script> </if> <div id='forum_filter_menucontent' class='ipbmenu_content ipsPad' style='display: none'> <form id='filter_form' action="{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&changefilters=1" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}" method="post"> <strong>{$this->lang->words['filter_type']}</strong><br /> <select name="topicfilter" id='topic_filter' class='input_select'>{$footer_filter['topic_filter']}</select> <br /><br /> <strong>{$this->lang->words['filter_sort']}</strong><br /> <select name="sort_key" id='sort_by' class='input_select'>{$footer_filter['sort_by']}</select> <br /><br /> <strong>{$this->lang->words['filter_direction']}</strong><br /> <select name="sort_by" id='direction' class='input_select'>{$footer_filter['sort_order']}</select> <br /><br /> <strong>{$this->lang->words['filter_time']}</strong><br /> <select name="prune_day" id='time_frame' class='input_select'>{$footer_filter['sort_prune']}</select> <br /><br /> <input type='checkbox' value='1' name='remember' class='input_check' id='remember_filter' /> <label for='remember_filter'>{$this->lang->words['remember_options']}</label> <br /><br /> <input type="submit" value="{$this->lang->words['sort_submit']}" class="input_submit" /> </form> </div> <script type='text/javascript'> new ipb.Menu( $('forum_filter'), $('forum_filter_menucontent'), { stopClose: true } ); </script> <div class='ipsBox removeDefault'> <div class='ipsBox_container'> <table class='ipb_table topic_list hover_rows <if test="topicsismod:|:$this->memberData['is_mod'] == 1">is_mod</if>' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='forum_table'> <tr class='header hide'> <th scope='col' class='col_f_icon'> </th> <th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th> <th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th> <th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th> <if test="canSeeLastInfoHeader:|:$this->memberData['gbw_view_last_info']"><th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th></if> <if test="topicsismod:|:$this->memberData['is_mod'] == 1"> <th scope='col' class='col_f_mod short'><input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /></th> </if> </tr> <!-- BEGIN TOPICS --> <if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )"> <foreach loop="topics:$topic_data as $tid => $data"><if test="!$this->subHeadShow"> <if test="$data['pinned']"> <th scope='col' class='webask-warn' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>Важные темы</th> </if> <if test="$this->subHeadShow=1"> </if></if><if test="$data['pinned']"> <if test="$this->hasPinned=1"> </if><else /> <if test="$this->hasPinned"> <if test="$this->hasPinned=0"> </if> <tr class='subhead altbar'> <if test="$this->memberData['is_mod'] == 1"> <th scope='col' class='webask-no-warn' colspan='6'> <else /> <th scope='col' class='webask-no-warn' colspan='5'> </if>Темы </th> </if></if> {parse template="topic" group="forum" params="$data, $forum_data, $other_data, $inforum"} </foreach> <else /> <tr> <if test="notopicsspan:|:$this->memberData['is_mod'] == 1"> <td colspan='6' class='no_messages'> <else /> <td colspan='5' class='no_messages'> </if> {$this->lang->words['no_topics']} </td> </tr> </if> </table> <if test="hastopics:|:$other_data['hasMore']"> <div id='more_topics' style='display: none'> <a href='#' id='forum_load_more'>{$this->lang->words['load_more_topics']}</a> </div> <script type='text/javascript'> ipb.forums.fetchMore = { 'f': parseInt("{$this->request['showforum']}") , 'page': parseInt("{$this->request['page']}"), 'sort_by': "{$this->request['sort_by']}", 'sort_key': "{$this->request['sort_key']}", 'topicfilter': "{$this->request['topicfilter']}", 'prune_day': "{$this->request['prune_day']}", 'max_topics': "{$this->settings['display_max_topics']}" }; </script> </if> </div> </div>{parse replacement="box_end"} <br /> <div class='topic_controls clear'> {$forum_data['SHOW_PAGES']} <ul class='topic_buttons'> <if test="bottomusercanpost:|:$forum_data['_user_can_post']"> <li><a href='{parse url="module=post&section=post&do=new_post&f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' rel='nofollow' accesskey='s'>{$this->lang->words['topic_start']}</a></li> <else /> <li class='disabled'><span><if test="isGuestPostTopic:|: ! $this->memberData['member_id']">{$this->lang->words['forum_no_start_topic_guest']}<else />{$this->lang->words['forum_no_start_topic']}</if></span></li> </if> </ul> </div> <div id='forum_footer' class='statistics clear clearfix'> <if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )"> <div id='forum_led_by' class='right ipsType_small'> <img src='{$this->settings['img_url']}/icon_users.png' /> {$this->lang->words['forum_led_by']} <foreach loop="moderators:$mod_data as $p => $r"> <a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]"></if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if> </foreach> </div> </if> <if test="showactiveusers:|:is_array( $active_user_data ) AND count( $active_user_data )"> <div id='forum_active_users' class='active_users stats_list'> <h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_titlef'], $active_user_data['stats']['total'] )"}</h4> <p class='statistics_brief'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['stats']['members'], $active_user_data['stats']['guests'], $active_user_data['stats']['anon'] )"}</p> <br /> <ul class='ipsList_inline'> <if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )"> {parse expression="implode( ', ', $active_user_data['names'] )"} </if> </ul> </div> </if> </div></if><br class='clear' /> <div id='delPopUp' style='display:none'> <h3 class='bar'>{$this->lang->words['dlt_title']}</h3> <div class='general_box'> <form action='#{removeUrl}' method='POST'> <strong>{$this->lang->words['dlt_remove_from_view']}</strong> <p class='desc'>{$this->lang->words['dlt_remove_from_view_desc']}</p> <p style='padding:4px 0px 4px 0px'>{$this->lang->words['dlt_reason']} <input type='text' name='deleteReason' id='delPop_reason' value='' style='width:65%' /> <input type='submit' class='input_submit' value='{$this->lang->words['dlt_remove']}' /></p> </form> <div style='#{permaDelete}padding-top:5px'> <strong>{$this->lang->words['dlt_delete_from_topic']}</strong> <p class='desc'>{$this->lang->words['dlt_delete_from_topic_desc']}</p> <p style='padding:4px 0px 4px 0px'><input type='button' class='input_submit' onclick="window.location='#{permaUrl}';" value='{$this->lang->words['dlt_delete_now']}' /></p> </div> </div></div><if test="moderationform:|:$this->memberData['is_mod'] == 1"> <form id='modform' class='right' method="post" action="{parse url="" base="public"}"> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="moderate" /> <input type="hidden" name="section" value="moderate" /> <input type="hidden" name="do" value="topicchoice" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" name="f" value="{$forum_data['id']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="modfilter" value="{$this->request['modfilter']}" /> <input type="hidden" value="{$this->request['selectedtids']}" id='selectedtids' name="selectedtids" /> <input type="hidden" name="tact" id="tact" value="" /> </form></if><select style='display:none' id='multiModOptions'><if test="hasMultiModeratorOptions:|:is_array( $multi_mod_data ) AND count( $multi_mod_data )"> <foreach loop="mm:$multi_mod_data as $mm_data"> <option value="t_{$mm_data[0]}">{$mm_data[1]}</option> </foreach></if></select>
  7. Добавить после: <li class='clear' data-tooltip="{$stats['info']['most_time']}"> <span class='value'>{$stats['info']['most_online']}</span> {$this->lang->words['online_at_once']} </li>
  8. Вы походу вообще не туда код добавили что исправить нужно добавить код: Админ Панель-Внешний вид-Ваш стиль-Список тем форума-forumIndexTemplate найти: var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";Ниже добавить: ipb.forums.modPerms = []; <if test="$this->memberData['g_is_supmod']"> ipb.forums.modPerms['approve'] = 1; ipb.forums.modPerms['delete'] = 1; ipb.forums.modPerms['hide'] = 1; ipb.forums.modPerms['unhide'] = 1; ipb.forums.modPerms['pin'] = 1; ipb.forums.modPerms['unpin'] = 1; ipb.forums.modPerms['open'] = 1; ipb.forums.modPerms['close'] = 1; ipb.forums.modPerms['move'] = 1; ipb.forums.modPerms['merge'] = 1; <else /> <if test="isset( $this->memberData['forumsModeratorData'][ $forum_data['id'] ] )"> ipb.forums.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['topic_q']}; ipb.forums.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']}; ipb.forums.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_soft_delete']}; ipb.forums.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_un_soft_delete']}; ipb.forums.modPerms['pin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic']}; ipb.forums.modPerms['unpin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']}; ipb.forums.modPerms['open'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['open_topic']}; ipb.forums.modPerms['close'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['close_topic']}; ipb.forums.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['move_topic']}; ipb.forums.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['split_merge']}; </if> </if>Чтоб исправить хук связь с администрацей заменить все на: <div class="ipsSideBlock clearfix"> <h3>Связь с Администрацией</h3> <div class="_sbcollapsable"> <if test="in_array($this->memberData['member_id'], $members['id'])"><php>$this->memberData['wa_frilance_money'] = htmlspecialchars($this->memberData['wa_frilance_money']);$this->memberData['wa_frilance_min'] = htmlspecialchars($this->memberData['wa_frilance_min']);$this->memberData['wa_frilance_jobs'] = htmlspecialchars($this->memberData['wa_frilance_jobs']);$this->memberData['wa_frilance_portfolio'] = htmlspecialchars($this->memberData['wa_frilance_portfolio']);</php> <div class="wa_frilance_admin"> <input type='button' class='input_submit wa_frilance_input wa_frilance_open' value='Редактировать'> <div style="display: none;"> <input size='30' class='input_text wa_frilance_input wa_frilance_portfolio' type='text' placeholder='Ссылка на стр вк' value="{$this->memberData['wa_frilance_portfolio']}"> <input size='30' class='input_text wa_frilance_input wa_frilance_jobs' type='text' maxlength='35' placeholder='Должность' value="{$this->memberData['wa_frilance_jobs']}"> <input size='30' class='input_text wa_frilance_input wa_frilance_min' type='text' maxlength='35' placeholder='оставить поле пустым' value="{$this->memberData['wa_frilance_min']}" style="width: calc( (100% - 30px) / 2);float: left;"> <input size='30' class='input_text wa_frilance_input wa_frilance_money' type='text' maxlength='35' placeholder='Логин скайпа' value="{$this->memberData['wa_frilance_money']}" style="width: calc( (100% - 30px) / 2);float: right;"> <input type='button' class='input_submit wa_frilance_input wa_frilance_save alt' value='Сохранить'> </div> </div> </if> <foreach loop="$members as $user"><php>$user['wa_frilance_jobs'] = htmlspecialchars($user['wa_frilance_jobs']);$user['wa_frilance_portfolio'] = htmlspecialchars($user['wa_frilance_portfolio']);$user['wa_frilance_min'] = htmlspecialchars($user['wa_frilance_min']);$user['wa_frilance_money'] = htmlspecialchars($user['wa_frilance_money']);$user['wa_frilance_portfolio'] = htmlspecialchars($user['wa_frilance_portfolio']);</php> <if test="$user['wa_frilance_jobs'] != '' AND $user['wa_frilance_portfolio'] != ''"> <div class="wa_frilance"> <a href="{$this->settings['base_url']}/user/{$user['member_id']}-{$user['members_seo_name']}/" class="ipsUserPhotoLink left"> <img src="{$this->settings['board_url']}/<if test="$user['pp_thumb_photo'] != ''">uploads/{$user['pp_thumb_photo']}<else />webask/frilance/default_large.png</if>" class="ipsUserPhoto ipsUserPhoto_mini"> </a> <php> if($user['last_activity'] > time() - 60*5) $user['_online'] = TRUE; else $user['_online'] = FALSE; $user['wa_bb'] = IPSText::getTextClass('bbcode')->preDisplayParse( IPSText::getTextClass('bbcode')->preDbParse( '[member=' . $user['members_display_name'] . ']' ) ); </php> <div class="wa_frilance_info"> <div>{$user['wa_bb']} <if test="$user['_online']"><span class="ipsBadge ipsBadge_green" style="margin-top: -4px;padding: 0px 3px;height: 14px;line-height: 14px;background: rgba(170, 170, 170, 0);"><i class="fa fa-dot-circle-o" style=" color: #32E700; font-size: 11px; margin-top: 3px;"></i></span><else /><span class="ipsBadge ipsBadge_grey" style="margin-top: -4px;padding: 0px 3px;height: 14px;line-height: 14px;background: rgba(170, 170, 170, 0);"><i class="fa fa-dot-circle-o" style=" color: #570000; font-size: 11px; margin-top: 3px;"></i></span></if></div> <div style="padding-top: 5px;">{$user['wa_frilance_jobs']}</div> </div> <a target="_blank" data-tooltip="Вконтакте" href="{$user['wa_frilance_portfolio']}" class="ipsButton_secondary wa_frilance_port"><i class="fa fa-vk" style=" font-size: 14px; margin-top: 3px; color: #5D6069; };"></i></a> <a target="_blank" data-tooltip="Скайп" href="skype:{$user['wa_frilance_money']}?add" class="ipsButton_secondary wa_frilance_mon"><i class="fa fa-skype" style=" font-size: 14px; margin-top: 3px; color: #5D6069; };"></i></a><style>i.fa.fa-skype:hover { color: #517C95;}</style> <a href="{$this->settings['board_url']}/index.php?app=members&module=messaging&section=send&do=form&fromMemberID={$user['member_id']}" data-tooltip="Отправить ЛС" id="pm_xxx_{$user['member_id']}" class="pm_button ipsButton_secondary wa_frilance_mess"><i class="fa fa-envelope" style=" font-size: 14px; margin-top: 3px; color: #5D6069; };"></i></a> </div> </if> </foreach> </div></div><script>jQuery(document).ready( function(){ jQuery(".wa_frilance_open").click( function(){ jQuery(".wa_frilance_open").next("div").fadeToggle(); }) jQuery(".wa_frilance_save").click( function(){ jQuery.post('{$this->settings['board_url']}/webask/frilance/frilance.php', {portfolio: jQuery(".wa_frilance_portfolio").val(), jobs: jQuery(".wa_frilance_jobs").val(), min: jQuery(".wa_frilance_min").val(), money: jQuery(".wa_frilance_money").val()}, function(data){ location.reload(); }) })});</script>
  9. Тогда все заменить на: Все что начинаетса от var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";Заменить да самого нызу: На ета: var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />"; <if test="markercatforums:|:is_array( $cat_data ) AND count( $cat_data )"> <foreach loop="markercategories:$cat_data as $_data"> <if test="markerhasforums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )"> <foreach loop="markerforums:$_data['forum_data'] as $forum_id => $forum_data"> <if test="markernotredirect:|:!$forum_data['redirect_on']"> <if test="markerhasunread:|:$forum_data['_has_unread']"> ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </if> </if> </foreach> </if> </foreach> </if>//]]></script><if test="showTotals:|:$this->settings['show_totals']"> <div id='board_stats'> <ul class='ipsType_small ipsList_inline'> <li class='clear'> <span class='value'>{$stats['info']['total_posts']}</span> {$this->lang->words['total_posts']} </li> <li class='clear'> <span class='value'>{$stats['info']['mem_count']}</span> {$this->lang->words['total_members']} </li> <li class='clear'> {IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )} {$this->lang->words['newest_member']} </li> <li class='clear' data-tooltip="{$stats['info']['most_time']}"> <span class='value'>{$stats['info']['most_online']}</span> {$this->lang->words['online_at_once']} </li> </ul> </div></if><div id='board_statistics' class='statistics clearfix'> <h4 class='statistics_head clearfix'><ul id='stat_links' class='ipsList_inline right ipsType_small'> <if test="statsLinks:|:1==1"> <!-- Hook point --> <li><a href="{parse url="app=forums&module=extras&section=stats&do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li> <li><a href="{parse url="app=forums&module=extras&section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li> <li><a href="{parse url="app=members&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public" seotitle="false"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li> <if test="reputationEnabled:|:$this->settings['reputation_enabled']"> <li> <a href="{parse url="app=members&module=reputation&section=most" base="public" template="most_liked" seotitle="most_liked"}" title="<if test="reputationTypeTitle:|:$this->settings['reputation_point_types'] == 'like'">{$this->lang->words['most_rep_likes']}<else />{$this->lang->words['most_rep_rep']}</if>"> <if test="reputationType:|:$this->settings['reputation_point_types'] == 'like'"> {$this->lang->words['most_rep_likes']} <else /> {$this->lang->words['most_rep_rep']} </if> </a> </li> </if> </if> </ul><if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</if></h4> <if test="$this->settings['show_active']"><p class='statistics_brief desc'> {parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"} <if test="onlineListEnabled:|:$this->settings['allow_online_list']"> <a href='{parse url="app=members&module=online&sort_order=desc" base="public"}' title='{$this->lang->words['online_link']}'>({$this->lang->words['online_link']})</a></if> </p></if> <if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']"> <br /> <p> <span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span> </p> </if></div>
  10. by Avrora, обновите кэш форума Как обновить: Обнова кєша
  11. Невозможно перевести защищенный пакет языков
  12. Пробуйте так. Найти: var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";Ниже добавить: <if test="markercatforums:|:is_array( $cat_data ) AND count( $cat_data )"> <foreach loop="markercategories:$cat_data as $_data"> <if test="markerhasforums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )"> <foreach loop="markerforums:$_data['forum_data'] as $forum_id => $forum_data"> <if test="markernotredirect:|:!$forum_data['redirect_on']"> <if test="markerhasunread:|:$forum_data['_has_unread']"> ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </if> </if> </foreach> </if> </foreach> </if>//]]>
  13. Всегда когда вы перенести свой форум трапляютса ошибки такие логи у вас ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Date: Sun, 11 Aug 2015 20:00:44 +0000Error: 1267 - Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='IP Address: 71.37.59.187 - /index.php?s=15622acb712db8e5099eb57c770cc8d0&app=core&module=attach&section=attach&do=attach_upload_process&attach_rel_module=post&attach_rel_id=0&attach_post_key=294a13865a09ec82a39c619df3bd91a2&forum_id=76&_nsc=1----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------mySQL query error: SELECT c.*,t.* FROM attachments c LEFT JOIN attachments_type t ON ( t.atype_extension=c.attach_ext ) WHERE c.attach_rel_module='post' AND c.attach_post_key='294a13865a09ec82a39c619df3bd91a2'.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.| File | Function | Line No. ||----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|| admin/applications/core/sources/classes/attach/controller.php | [classes_attach_controller].attachmentUploadShow | 196 |'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'| admin/applications/core/sources/classes/attach/controller.php | [classes_attach_controller].attachmentUploadProcess | 95 |'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'| admin/applications/core/modules_public/attach/attach.php | [classes_attach_controller].run | 39 |'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'| admin/sources/base/ipsController.php | [public_core_attach_attach].doExecute | 306 |'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' Говорить о том что вас в бд: Illegal mix of collations разных кодировках в базе И всегда после переноса загрузи файлов темах видает ошибка что-то Ошибка403 Исправить можна разные рашеные есть. В .htaccess Добавит: SecFilterEngine OffSecFilterScanPOST Off[/CODE]Если не помагает: php_value post_max_size 12Mphp_value upload_max_filesize 12M[/CODE]Если ошибка останитса тогда свяжитса с хостингом.
  14. Ciko опублікував файл в Стилі для IPB 3.4.x
    • 0 раз скачали
    • Версія [3.4.x]
    Тёмный игровой стиль на тему Counter Strike
    Безкоштовний
  15. Ciko опублікував тема в Стилі для IPB 3.4.x
    Название: WESTGAMING Добавил: Ciko Добавлен: 17 нояб. 2015 Категория: Стили для IPB 3.4.x Тёмный игровой стиль на тему Counter Strike Нажмите здесь, чтобы скачать файл
  16. Ciko опублікував файл в Стилі для IPB 3.4.x
    • 6 раз скачали
    • Версія [3.4.x]
    Тёмный игровой стиль для IPB 3.4.x
    Безкоштовний
  17. Ciko опублікував тема в Стилі для IPB 3.4.x
    Название: Conned România Добавил: Ciko Добавлен: 17 нояб. 2015 Категория: Стили для IPB 3.4.x Автор: asdasd Тёмный игровой стиль для IPB 3.4.x Нажмите здесь, чтобы скачать файл
  18. Ciko опублікував файл в Стилі для IPB 3.4.x
    • 10 раз скачали
    • Версія [3.4.x]
    Профессиональный Web стиль от IPBFangorn.
    Безкоштовний
  19. Ciko опублікував тема в Стилі для IPB 3.4.x
    Название: Agra Skin Добавил: Ciko Добавлен: 16 нояб. 2015 Категория: Стили для IPB 3.4.x Профессиональный Web стиль от IPBFangorn. Нажмите здесь, чтобы скачать файл
  20. Ciko опублікував файл в Стилі для IPB 3.4.x
    • 5 раз скачали
    • Версія [3.4.x]
    Стиль для игрового проекта.
    Безкоштовний
  21. Ciko опублікував тема в Стилі для IPB 3.4.x
    Название: Animated Добавил: Ciko Добавлен: 16 нояб. 2015 Категория: Стили для IPB 3.4.x Автор: Mutu Стиль для игрового проекта. Нажмите здесь, чтобы скачать файл
  22. Ciko опублікував файл в Компоненти для IPB 3.4.x
    • 21 раз скачали
    • Версія 2.0.1
    Компонент добавляет пользовательскые карти к вам профиль.
    Безкоштовний
  23. Ciko опублікував тема в Компоненти для IPB 3.4.x
    Просмотреть файл Member Map версия: 2.0.1 Компонент добавляет пользовательскые карти к вам профиль. Автор Ciko Скачать файл Добавлен 16.11.2015 Поделиться Размер файла 392 КБ Категория Компоненты для IPB 3.4.x Язык RUS Локализатор Гость
  24. Ciko опублікував файл в Компоненти для IPB 3.4.x
    • 63 раза скачали
    • Версія 1.4.2 (Build 2)
    Мини-чат является многофункциональным Мини-чат система для вашего IP.Board. Мини-чат позволит пользователям посылать крики друг друга и позволяют другие могут их прочитать. Ваш собственный микро-блогов системы, без необходимости Java, Flash или любой другой зависимости браузера!
    Безкоштовний
  25. Ciko опублікував тема в Компоненти для IPB 3.4.x
    Просмотреть файл [IF] IPB Shoutbox версия: 1.4.2 (Build 2) Мини-чат является многофункциональным Мини-чат система для вашего IP.Board. Мини-чат позволит пользователям посылать крики друг друга и позволяют другие могут их прочитать. Ваш собственный микро-блогов системы, без необходимости Java, Flash или любой другой зависимости браузера! Автор Ciko Скачать файл Добавлен 16.11.2015 Поделиться Размер файла 222 КБ Категория Компоненты для IPB 3.4.x Язык ENG Локализатор Гость

Акаунт

Навігація

Пошук

Пошук

Налаштування push-сповіщень браузера

Chrome (Android)
  1. Натисніть значок замка поруч з адресним рядком.
  2. Натисніть Дозволи → Сповіщення.
  3. Налаштуйте свої налаштування.
Chrome (Комп'ютер)
  1. Натисніть значок замка в адресному рядку.
  2. Виберіть Налаштування сайту.
  3. Знайдіть Сповіщення та налаштуйте потрібні параметри.