Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] eMule 发布插件 for Discuz!4.0.0正式版

[复制链接]
阿狗狗 发表于 2005-12-29 12:39:53 | 显示全部楼层
補充一下  不然用繁體或是utf-8版 文章空格會有問題


include/discuzcode.func.php

  1. return $htmlon || $allowhtml ? $message : nl2br(str_replace(array("\t", '   ', '  '), array('        ', '   ', '  '), $message));
复制代码



繁體或utf8版

  1.         return $htmlon || $allowhtml ? $message : nl2br(str_replace(array("\t", '   ', '  '), array('        ', '   ', '  '), $message));
复制代码



修改為

  1.         $message = $htmlon || $allowhtml ? $message : nl2br(str_replace(array("\t", '   ', '  '), array('        ', '   ', '  '), $message));
  2. return  str_replace("/<br />","/\n",$message);
复制代码



注意&nbsp空格的問題

不然發帖所有空格都會變成一個
回复

使用道具 举报

veff 发表于 2006-1-19 11:44:12 | 显示全部楼层
强得要死~

跟VeryCD像到不能再像了!!!
回复

使用道具 举报

bonusboy29 发表于 2006-1-23 07:43:10 | 显示全部楼层
谁解决一下全选的问题
回复

使用道具 举报

tryer 发表于 2006-2-8 08:43:18 | 显示全部楼层
还是有问题,有些ed链接可以,有些发布出来ed链接显示错误
回复

使用道具 举报

shutiao 发表于 2006-2-8 12:33:44 | 显示全部楼层
我的安装好没其它问题,只有一个就是这段代码
  1. <a href="javascript:emulelink()"><img src="{IMGDIR}/bb_emule.gif" border="0" alt="发布 ed2k 连接"></a>
复制代码

在我这会变成

<a href="javascript:emulelink()"><img src="{IMGDIR}/bb_emule.gif" border="0" alt="?? ed2k ??"></a>

发布 ed2k 连接  这里的字会边乱码!不知道怎么回事啊 ?
回复

使用道具 举报

5664882 发表于 2006-2-13 14:41:14 | 显示全部楼层
为什么我的include/discuzcode.func.php里没
  1. return $htmlon || $allowhtml ? $message : nl2br(str_replace(array("\t", '   ', '  '), array('        ', '   ', '  '), $message));
复制代码
这段代码??

[ 本帖最后由 5664882 于 2006-2-13 14:46 编辑 ]
回复

使用道具 举报

shutiao 发表于 2006-2-14 20:55:31 | 显示全部楼层
怎么没人回复啊?!
回复

使用道具 举报

shutiao 发表于 2006-2-17 20:20:44 | 显示全部楼层
继续顶 ~!
回复

使用道具 举报

gxpn 发表于 2006-2-25 04:58:35 | 显示全部楼层
已经安装成功~不错~哈哈
回复

使用道具 举报

qq12300 发表于 2006-3-3 13:57:31 | 显示全部楼层
能象WWW.VERYCD论坛一样的插件就顶好的
如图

本帖子中包含更多资源

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

x
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-21 13:17 , Processed in 0.114314 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表