在 DZX2.5 中默認是刪除了此功能
因好多朋友都想要回此功能
所以搜索了一下放出此修改方法

QQ截圖20120417233700.jpg
template/default/forum/viewthread_node.htm
搜索

  1. <!--{if helper_access::check_module('follow')}-->
  2.                                         <li >
  3.                                                 <a href="home.php?mod=spacecp&ac=follow&op=add&hash=FORMHASH&fuid=$post%5Bauthorid%5D" id="followmod_$post[authorid]" title="{lang follow}" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
  4.                                         </li>
  5.                                         <!--{/if}-->

在此代碼下加上

  1.                                         <li ><a href="home.php?mod=spacecp&ac=friend&op=add&uid=$post%5Bauthorid%5D&handlekey=addfriendhk_$post%5Bauthorid%5D" id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 1, {'ctrlid':this.id,'pos':'00'});" title="{lang viewthread_left_addfriend}" >{lang viewthread_left_addfriend}</a></li>
  2.                                         <li ><a href="home.php?mod=spacecp&ac=poke&op=send&uid=$post%5Bauthorid%5D" id="a_poke_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 0);" title="{lang viewthread_left_poke}" >{lang viewthread_left_poke}</a></li>

保存 上傳覆蓋 後台 更新緩存