Jump to content

Featured Replies

Ребят у меня такая фигня помогите пожалуйста! 

 

Screenshot_4.png

Link to comment
https://ipbmafia.ru/topic/12638-pomogite/
Share on other sites

Ребят у меня такая фигня помогите пожалуйста! 

 

Screenshot_4.png

И где тут "фигня?"

Link to comment
https://ipbmafia.ru/topic/12638-pomogite/?&do=findComment&comment=94594
Share on other sites

И где тут "фигня?"

Нету модерации темы , не могу исправить:(

Link to comment
https://ipbmafia.ru/topic/12638-pomogite/?&do=findComment&comment=94595
Share on other sites

Открываем шаблон 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>

 

Link to comment
https://ipbmafia.ru/topic/12638-pomogite/?&do=findComment&comment=94598
Share on other sites

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.


Guest
Ответить в этой теме...

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

  • No registered users viewing this page.