对于在帖子页的这一行管理条如果想去掉,需要打开 emplatedefaultforumviewthread.htm 文件,删除 104-140 行的代码,更新缓存即可

  1. <!--{if $modmenu['thread']}-->
  2.   <div id="modmenu" >
  3. <!--{eval $modopt=0;}-->
  4. <!--{if $_G['forum']['ismoderator']}-->
  5. <!--{if
    $_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a
    href="javascript:;" onclick="modthreads(3, 'delete')">{lang
    modmenu_deletethread}</a><span
    >|</span><!--{/if}-->
  6. <!--{if
    $_G['group']['allowbumpthread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;" onclick="modthreads(3,
    'bump')">{lang modmenu_updown}</a><span
    >|</span><!--{/if}-->
  7. <!--{if
    $_G['group']['allowstickthread'] &&
    ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1)
    && !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;" onclick="modthreads(1,
    'stick')">{lang modmenu_stickthread}</a><span
    >|</span><!--{/if}-->
  8. <!--{if
    $_G['group']['allowlivethread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;"
    onclick="modaction('live')">{lang modmenu_live}</a><span
    >|</span><!--{/if}-->
  9. <!--{if
    $_G['group']['allowhighlightthread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;" onclick="modthreads(1,
    'highlight')">{lang modmenu_highlight}</a><span
    >|</span><!--{/if}-->
  10. <!--{if
    $_G['group']['allowdigestthread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;" onclick="modthreads(1,
    'digest')">{lang modmenu_digestpost}</a><span
    >|</span><!--{/if}-->
  11. <!--{if
    $_G['group']['allowrecommendthread'] &&
    !empty($_G['forum']['modrecommend']['open']) &&
    $_G['forum']['modrecommend']['sort'] != 1 &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;" onclick="modthreads(1,
    'recommend')">{lang modmenu_recommend}</a><span
    >|</span><!--{/if}-->
  12. <!--{if
    $_G['group']['allowstampthread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;"
    onclick="modaction('stamp')">{lang modmenu_stamp}</a><span
    >|</span><!--{/if}-->
  13. <!--{if
    $_G['group']['allowstamplist'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;"
    onclick="modaction('stamplist')">{lang
    modmenu_icon}</a><span
    >|</span><!--{/if}-->
  14. <!--{if
    $_G['group']['allowclosethread'] &&
    !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] !=
    3}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modthreads(4)"><!--{if
    !$_G['forum_thread']['closed']}-->{lang
    modmenu_switch_off}<!--{else}-->{lang
    modmenu_switch_on}<!--{/if}--></a><span
    >|</span><!--{/if}-->
  15. <!--{if
    $_G['group']['allowmovethread'] &&
    !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] !=
    3}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modthreads(2, 'move')">{lang modmenu_move}</a><span
    >|</span><!--{/if}-->
  16. <!--{if
    $_G['group']['allowedittypethread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;" onclick="modthreads(2,
    'type')">{lang modmenu_type}</a><span
    >|</span><!--{/if}-->
  17. <!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
  18.   <!--{if
    $_G['group']['allowcopythread'] && $_G['forum']['status'] !=
    3}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modaction('copy')">{lang modmenu_copy}</a><span
    >|</span><!--{/if}-->
  19.   <!--{if
    $_G['group']['allowmergethread'] && $_G['forum']['status'] !=
    3}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modaction('merge')">{lang modmenu_merge}</a><span
    >|</span><!--{/if}-->
  20.   <!--{if
    $_G['group']['allowrefund'] && $_G['forum_thread']['price'] >
    0}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modaction('refund')">{lang
    modmenu_restore}</a><span
    >|</span><!--{/if}-->
  21. <!--{/if}-->
  22. <!--{if
    $_G['group']['allowsplitthread'] &&
    !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] !=
    3}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modaction('split')">{lang modmenu_split}</a><span
    >|</span><!--{/if}-->
  23. <!--{if
    $_G['group']['allowrepairthread'] &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;"
    onclick="modaction('repair')">{lang modmenu_repair}</a><span
    >|</span><!--{/if}-->
  24. <!--{if
    $_G['forum_thread']['is_archived'] && $_G['adminid'] ==
    1}--><!--{eval $modopt++}--><a href="javascript:;"
    onclick="modaction('restore', '',
    'archiveid={$_G[forum_thread][archiveid]}')">{lang
    modmenu_archive}</a><span
    >|</span><!--{/if}-->
  25. <!--{if $_G['forum_firstpid']}-->
  26.   <!--{if
    $_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a
    href="javascript:;" onclick="modaction('warn',
    '$_G[forum_firstpid]')">{lang modmenu_warn}</a><span
    >|</span><!--{/if}-->
  27.   <!--{if
    $_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a
    href="javascript:;" onclick="modaction('banpost',
    '$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span
    >|</span><!--{/if}-->
  28. <!--{/if}-->
  29. <!--{if
    $_G['group']['allowremovereward'] &&
    $_G['forum_thread']['special'] == 3 &&
    !$_G['forum_thread']['is_archived']}--><!--{eval
    $modopt++}--><a href="javascript:;"
    onclick="modaction('removereward')">{lang
    modmenu_removereward}</a><span
    >|</span><!--{/if}-->
  30. <!--{if $_G['forum']['status'] == 3
    && in_array($_G['adminid'], array('1','2')) &&
    $_G['forum_thread']['closed'] < 1}--><a href="javascript:;"
    onclick="modthreads(5, 'recommend_group');return false;">{lang
    modmenu_grouprecommend}</a><span
    >|</span><!--{/if}-->
  31. <!--{if
    $_G['group']['allowmanagetag']}--><a href="javascript:;"
    onclick="showWindow('mods',
    'forum.php?mod=tag&op=manage&tid=$_G[tid]', 'get', 0)">{lang
    post_tag}</a><span
    >|</span><!--{/if}-->
  32. <!--{if
    $_G['group']['alloweditusertag']}--><a href="javascript:;"
    onclick="showWindow('usertag',
    'forum.php?mod=misc&action=usertag&tid=$_G[tid]', 'get',
    0)">{lang usertag}</a><span
    >|</span><!--{/if}-->
  33. <!--{/if}-->
  34. <!--{if $allowpusharticle &&
    $allowpostarticle}--><!--{eval $modopt++}--><a
    href="portal.php?mod=portalcp&ac=article&from_idtype=tid&from_id=$_G['tid']">{lang
    modmenu_pusharticle}</a><span
    >|</span><!--{/if}-->
  35. <!--{hook/viewthread_modoption}-->
  36.   </div>
  37. <!--{/if}-->