免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享

【仿百度】未登录回复框提示注册

本文来自:★flash之路-flash技术交流★ 转帖请注明出处! 作者:flashroad 您是第1573个浏览者

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
flashroad友情提示:
“点评”不是“回帖”!
【版权】爱秀已废

1、编辑viewthread.htm模板

找到

  1. <!--{if $fastpost && $allowpostreply}--> {subtemplate viewthread_fastpost}<!--{/if}-->
复制


修改为

  1. <!--{if $fastpost && $allowpostreply}-->{subtemplate viewthread_fastpost}<!--{elseif !$discuz_uid}--> {subtemplate aa_zyhome_fastpost}
  2. <!--{/if}-->
复制


2、新建模板,名称:aa_zyhome_fastpost
  1. <span class="right"> </span><p> </p>
  2. <div id="f_post" class="mainbox viewthread">
  3. <table cellspacing="0" cellpadding="0">
  4. <tr>
  5. <td class="postauthor">
  6. </td>
  7. <td class="postcontent">
  8. <div style="position:relative;">
  9. <span id="fastpostreturn"></span>
  10. <div class="editor_tb" onclick="return false">
  11. {eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'textbg', 'smilies'));}
  12. {subtemplate seditor} <span class="right">
  13. <a onclick="return switchAdvanceMode(this.href)" href="post.php?action=reply&fid=$fid&tid=$tid">高级模式</a>
  14. <span class="pipe">|</span>
  15. <span id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a onclick="showWindow('newthread', this.href);return false;" href="post.php?action=newthread&fid=$fid">发新话题</a></span></span></div>
  16. <textarea rows="5" cols="80" name="message" id="fastpostmessage" tabindex="4" class="txtarea" readonly="yes"></textarea>
  17. <p><button name="replysubmit" tabindex="5" id="fastpostsubmit" type="submit" value="replysubmit">发表回复</button>
  18. <input id="fastpostrefresh" type="checkbox" value="on"> <label for="fastpostrefresh">回帖后跳转到最后一页</label></p>
  19. <div style="position:absolute; left:350px; top:67px;">
  20.          <a href="connect.php?mod=login&op=init&referer=index.php" rel="nofollow"><img align="right" src="http://www.discuz.net/static/image/common/qq_login.gif"></a>
  21. </div>
  22. <div style="position:absolute; left:125px; top:70px; width:230px; height:20px">
  23.         您需要登录后才可以回帖 <a class="xi2" onclick="showWindow('login', this.href)" href="logging.php?action=login" style="color: rgb(51, 102, 153);">登录</a><span class="pipe">|</span><a class="xi2" href="register.php" style="color: rgb(51, 102, 153);">立即注册</a>
  24. </div>
  25. </div>
  26. </td>
  27. </tr>
  28. </table>
  29. </div>
  30. <p></p>
复制
您所在的用户组只能看到部分内容.
如查看全部内容, 请先登录或者注册.

友情提示:单击下列任意一个表情,即可瞬间自动回复本帖!

好贴......
郁闷......
开心......
擦汗......
鄙视......
狂怒
谢谢
爱你呦
拜托了
嗯嗯
OMG
求关注
伤心......
无奈.....
无奈.....
无奈.....
无奈.....
无奈.....
哈哈哈
NO
OK
what
我来了

最近访问本帖者列表:

阿么
访问时间:2019-05-03 03:48
中文名字
访问时间:2018-10-26 16:25
flashroad
访问时间:2018-08-24 16:43
天使小小
访问时间:2018-08-18 16:47

打赏

取消

感谢您的支持,我会继续努力的!

扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

Powered by 爱秀代码,分享从这里开始,精彩与您同在

点评
B Color Smilies

您还可以输入:个字符
X

X

 

B Color Image Link Quote Code Smilies
高级模式 | 发新话题

您需要登录后才可以回帖 登录|立即注册

快速
返回顶部
返回首页