discuz 设置游客侧边导航不可见

discuz 设置游客侧边导航不可见

1、修改/template/default/forum/forumdisplay.htm

将:

<div id="ct" class="wp cl comiis_rollzbox{if $_G['forum']['allowside'] && $comiis_list_zlb==0} ct2{else} ct2km{/if}"{if $leftside } style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}>

<!--{if $leftside }-->

修改为

<div id="ct" class="wp cl comiis_rollzbox{if $_G['forum']['allowside'] && $comiis_list_zlb==0} ct2{else} ct2km{/if}"{if $leftside && !in_array($_G['groupid'], array(7))} style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}>

<!--{if $leftside && !in_array($_G['groupid'], array(7)) }-->

这样修改完后,在管理后台更新缓存即可!

huan

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: