Jump to content

Featured Replies

  • Author
comment_58483

Recouse, поиск, поиск и ещё раз ПОИСК

Прежде чем создать тему,я вбиваю свою проблему в поиск.

 

Или я неправильно ввожу или же кинь ссылку.

comment_58484

Идешь в 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>
Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.