﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>尘缘的博客 &#187; discuz</title>
	<atom:link href="http://www.4wei.cn/archives/category/discuz/feed" rel="self" type="application/rss+xml" />
	<link>http://www.4wei.cn</link>
	<description>PHP+Redis+ThinkPHP+LocoySpider+Discuz!+DEDE+PHPCMS</description>
	<lastBuildDate>Fri, 03 Feb 2012 04:20:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>DX全能接口实现随机回复的发布</title>
		<link>http://www.4wei.cn/archives/1001517</link>
		<comments>http://www.4wei.cn/archives/1001517#comments</comments>
		<pubDate>Thu, 03 Nov 2011 15:11:38 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[LocoySpider]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001517</guid>
		<description><![CDATA[尘缘的接口采用主程序加密，配置文件加密的方式，有编程经验的同学可以直接修改配置文件来实现自定义发布效果的功能。 如一些同学需要使用随机用户名发帖的功能，简单来说，只需要在config.php加上一段代码即可实现。 作用是随机生成一组(多条回复内容)随机回复的内容。 完整的配置文件如下：]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001517/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[免费]土豆网视频专辑采集接口详解</title>
		<link>http://www.4wei.cn/archives/1001501</link>
		<comments>http://www.4wei.cn/archives/1001501#comments</comments>
		<pubDate>Wed, 12 Oct 2011 13:17:50 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[discuz]]></category>
		<category><![CDATA[LocoySpider]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001501</guid>
		<description><![CDATA[接上篇： [免费下载]土豆网专辑采集规则+接口 http://www.4wei.cn/archives/1001491 以下是接口全文。 我给一些重要步骤做了注释。 tudou.php下载]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001501/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz!X全能发布接口2011版视频教程发布，近乎完美，秒杀一切！</title>
		<link>http://www.4wei.cn/archives/1001352</link>
		<comments>http://www.4wei.cn/archives/1001352#comments</comments>
		<pubDate>Sun, 29 May 2011 15:27:30 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[LocoySpider]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001352</guid>
		<description><![CDATA[X2轰轰烈烈的发布了，尘缘花了近半个月的时间，对X系列接口进行了优化、重构，同时也针对最新的接口，发布了新的使用教程，欢迎大家下载使用。&#160; 同时，尘缘也将免费版同步做了发布效果优化，大家可以下载试用。 截至2011-05-29，尘缘开发的Discuz!系列接口已经完全适用于Discuz!7.1/7.2，Discuz!X1/X1.5/X1，欢迎新老用户购买升级！ 商业版使用视频教程： 基本安装：http://www.4wei.cn/files/X2/1.wmv 高级配置：http://www.4wei.cn/files/X2/2.wmv 分类信息：http://www.4wei.cn/files/X2/3.wmv 从视频中，我们可以看出，尘缘开发的接口，已经能达到近乎99%的原帖效果还原率，还原效果极其牛逼。按一些收费用户的话说，那就是秒杀一切。 尘缘的接口可以真正做到原帖用户、原帖时间(其它人开发的收费接口虽然也抄袭了这一名称，但还不能完全解决匹配问题，但决对会出现错位的问题，而且是一错千里)、任意附件识别、图文混排还原！ 喵了个咪地，牛了个逼地~]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001352/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
<enclosure url="http://www.4wei.cn/files/X2/1.wmv" length="56130048" type="video/asf" />
<enclosure url="http://www.4wei.cn/files/X2/2.wmv" length="35803276" type="video/asf" />
<enclosure url="http://www.4wei.cn/files/X2/3.wmv" length="49333844" type="video/asf" />
		</item>
		<item>
		<title>Discuz!x2接口的一点更新和未来功能开发设计</title>
		<link>http://www.4wei.cn/archives/1001344</link>
		<comments>http://www.4wei.cn/archives/1001344#comments</comments>
		<pubDate>Fri, 27 May 2011 17:10:17 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001344</guid>
		<description><![CDATA[今天有同学反映一些像引号和&#60; &#62;类的代码，无法正确转换为UBB，发布出来以后出现乱码。经过一顿测试，发现DX对未正常闭合的HTML不能完美的实现UBB转换。 一顿倒腾以后，先解决了这个bug。 然后给非图片附件加上自动隐藏的功能，方便某些同志有特殊的要求，当然还想着做一个不在帖内显示附件的功能，后来想想会破坏帖子结构，就未加上这个功能。 然后呢，优化了一下正则过滤的函数，对多媒体的支持非常完美，像YouKu这类的播放代码可以直接支持，其它的播放代码也是非常容易获取不错的效果。 从我现在的测试来看，数据采集的还原效果可高达95%。 非常之牛。升级以后，有收费用户速度来报，效果非常完美，把我给乐得。 从昨天开始正式迁回公司的技术部，接触Ruby的开发，PHP的应用还着重留在DX2的开发上，根据公司的需求，今后X的接口，功能会为这样规划。 基于Web界面，可以对某一条帖子进行多账号回帖，支持指定用户、时间和内容，当然也必须有图片和附件的支持； 预发布功能，将帖子和回复采集过来以后，可以减量发布到论坛 预谋做基于火车论坛采集器扩张一套发布接口，然后给出打包价 如果有同学还有其它建议，可以找尘缘发表建议。这段时间抽周末的时间，就要着手进行开发咯。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001344/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>解决Discuz!X周期性抽风，实现Discuz!X自动清理缓存</title>
		<link>http://www.4wei.cn/archives/1001330</link>
		<comments>http://www.4wei.cn/archives/1001330#comments</comments>
		<pubDate>Fri, 13 May 2011 08:32:02 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001330</guid>
		<description><![CDATA[哥们刚刚入职到EOE，管理公司的几个论坛，差点没让X1.5的UTF-8版本给整背过气去。 现在论坛一段时间后发现论坛周期性（大约每天2次）出现问题，页面title消失，登陆框错位，DIY模块内容消失等，搞得人好乱呐。 一直没有找到原因，但每次都是清理缓存过问题解决。 Discuz!X上一找，有问题的同志不少，而且都是UTF-8版（你说中国人最啥他要迷信UTF8版呐，模板少，插件少，问题多，占用资源多）。 没有时间做DX整体的代码跟踪，只好从表面上解决问题，那就是隔一段时间自动清理一下缓存。 于是开发了下面的计划任务，很简单，估计其它朋友也用得着，所以发上来分享下。 代码很安全，不要怀疑我的菊花。代码中也加了一些说明，有个性需求的同学可以修改下。 配置方法也很简单，不过我还是截图了，方便一些新同学。 下载文件包以后，直接按你的编码上传到对应目录就行，然后在后台添加以下的计划任务。 点击下载：clearCache 注意：计划任务含有一定风险，使用后出现的一切不良后果自负。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001330/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>discuz!X1.5与用户(UID)有关的字段表(字典)</title>
		<link>http://www.4wei.cn/archives/1001298</link>
		<comments>http://www.4wei.cn/archives/1001298#comments</comments>
		<pubDate>Tue, 03 May 2011 02:45:59 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001298</guid>
		<description><![CDATA[完成多个论坛的合并时，需要对用户相关的表进行UID升位，增加合并后的偏移量。 于是整理了以下数据字典，方便在程序中使用。 从X2数据库中整理出来的用户关联字段包含17个： authorid buid buyerid fromuid fuid makeruid moderatorid operatorid opuid rateeid raterid recommenduid sellerid targetuid touid uid vuid]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001298/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>跟大家讨论一个Discuz论坛合并的解决方案，看看有没有更好的解决办法</title>
		<link>http://www.4wei.cn/archives/1001290</link>
		<comments>http://www.4wei.cn/archives/1001290#comments</comments>
		<pubDate>Thu, 28 Apr 2011 09:47:32 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001290</guid>
		<description><![CDATA[我自己有一个论坛，X1.5，25万用户，这几天买了一个论坛，7.2的，11万用户。 我想把两个论坛用户进行合并，看好了，是用户合并，不是两个论坛合并成一个论坛。 首先要进行用户合并，现在发现的重复用户名有接近1万，产生的帖子和回复总数在5千多，其它表中的数据若干。 我目前完成的ucenter转换程序，将discuz7.2的UC用户合并到了X1.5中，然后使用X1.5的UCenter，也就是对7.2的member表进行升位操作了。 两个论坛的用户已经可以正常交叉登陆或者激活了。 现在麻烦在重复用户的处理上。现在的解决办法是要等重复用户登陆进来以后，提示他更换用户名，获取到新UID以后，再将此用户原来的数据表中的uid进行升位。 这里有一个时间差，如果这个用户的ID是5，没有进行升级时，x1.5中也有一个用户也是5，这里的数据就会重合。 麻烦在这里。 后备方案是，忽略掉重复用户产生的旧数据，这些数据量小，而且比较老，价值并不高。 其它朋友在合并的时候，是直接将重复用户按用户和邮箱进行合并，同名的不同用户，直接将用户名添加前后缀进行激活，然后进行数据升位，这样可以很干净的完成数据合并，这样会损失部份用户体验。 这个方法被我列为第二选择方案。 我目前完成的合并程序，可以自动寻找合并后的用户进行数据库表进行升位，只要数据库下含有uid,authorid的字段，都会自动匹配用户信息完成升级，因此可以不考虑discuz版本。 不知道其它兄台是如何解决这样的问题的。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001290/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>UCenter 应用开发简略指南</title>
		<link>http://www.4wei.cn/archives/1001265</link>
		<comments>http://www.4wei.cn/archives/1001265#comments</comments>
		<pubDate>Mon, 18 Apr 2011 05:35:13 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001265</guid>
		<description><![CDATA[　　你有PHP的开发基础？想把自己的程序集成到 UCenter？呵呵，来对了，看看这篇文章再动手吧，我会告诉你如何让自己的程序加入到 UCenter 的大家庭里。 　　首先，自然是要下载一份UCenter 1.0.0 接口开发手册，而且要随时留意这个手册哦，它会随着 UCenter 版本的升级而更新。 　　大家拿到了手册后会看到目前 UCenter 所内含的八大类接口函数（用户、短消息、好友、积分、头像、标签、事件、应用）。别看着头大，不一定都集成哦，按需所需，你觉得需要哪些就用哪些。在进行集成前，你需要先按照以下步骤进行一些准备工作： 复制一份接口开发手册里面的 client/ 目录到你程序的根目录下。 然后复制一份开发手册里面样例程序 examples/ 目录中的 api/ 子目录到你程序的根目录下。 如果您的应用程序的根目录有 config.inc.php 文件，在此文件里定义以 UC_ 开头的常量，具体常量内容可以参考手册中“了解 UCenter”章节。 此时，你需要在 UCenter 的“应用管理”-&#62;“+添加新应用”选择“自定义安装”，“接口 URL”填写你程序的 URL 地址，通信密钥可随意填写，如“12345”，“应用类型”选择“其他”，然后创建新应用，记录下新应用的 ID 。然后在 config.inc.php 中的 UC_APPID 常量填写新应用的 ID，UC_KEY 填写刚才填写的通信密钥“12345”。这时回到应用管理，如果此时提示此应用“通信成功”，说明您的准备工作已完成。如果你的程序的配置文件不是 config.inc.php 其自行修改代码 api/uc.php 中的内容。 　　准备工作进行完毕后，首先你需要集成的是用户接口，因为用户接口是集成其他接口的先决条件。 　　使用以下接口函数你必须同时设计和他相关的 API 的代码，关系如下： 接口函数 API 同步登录、同步退出 synlogin(同步登录)、synlogout(同步退出) 积分兑换 getcreditsettings(提供积分参数)、updatecreditsettings(设置积分兑换参数)、updatecredit(更新用户积分) 标签 [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001265/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UCenter API使用入门</title>
		<link>http://www.4wei.cn/archives/1001261</link>
		<comments>http://www.4wei.cn/archives/1001261#comments</comments>
		<pubDate>Mon, 18 Apr 2011 05:30:00 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001261</guid>
		<description><![CDATA[如果你写了一个WEB程序，你又想与ucenter共用一个用户库，你会怎么做？ 来吧，让我告诉你，只要几个简单的步骤就行了。 1、先到ucenter administrator建一个应用，在应用里配置完你的项目的地址，在UC_KEY那里随便输入一些字符串，越长越好。【在这里有配置通讯文件的名称，好象是提示你在api目录下，你可以定义一个，默认是uc.php】。然后你会一直发现应用列表中，该应用一直是通讯失败。 2、生成应用后，在应用详情的最下方有一个textarea框，这个就是系统帮你生成的连接ucenter的配置文件 。 3、在您的项目根目录下建立一个api目录，里面放上刚才说的通讯文件，默认是uc.php 在通讯文件里定义一些常量，可以从uchome、supesite、等里面拷贝出来，其实就是一些返回值 的常量。 加载刚才ucenter administrator所生成的配置文件。 到comsenz的任何一个程序中拷贝一下authcode函数（一般在common.inc.php或者global.inc.php中） 写上简单的判断代码： $code = $_GET['code'];   //取得GET回来的code变量 //经过authcode解码后，转化为一个数组，这个数组里其实就有一些简单的验证信息，如：时间，传递过来的操作等 parse_str(authcode($code, ‘DECODE’, UC_KEY), $get); //如果当前时间大于传递来的时间1小时，返回超时 if(time() – $get['time'] &#62; 3600) { exit(‘Authracation has expiried’); } //如果转换出来的$get变量是空值 ，那肯定是出错了 if(empty($get)) { exit(‘Invalid Request’); } //获取传递过来的操作 $action = $get['action']; //写上一个简单的判断 if ($action == ‘test’){ exit(API_RETURN_SUCCEED); } 4、写完这样的代码后，去ucenter管理中心看一下应用列表，是不是通讯成功了？ 其实那个通讯成功，就是发送了一个 action = [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz!X2采集程序(火车采集器发布接口)开发完成</title>
		<link>http://www.4wei.cn/archives/1001229</link>
		<comments>http://www.4wei.cn/archives/1001229#comments</comments>
		<pubDate>Tue, 12 Apr 2011 08:01:10 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001229</guid>
		<description><![CDATA[Discuz!X2 Beta版已经发布了几天，这段时间在把玩X2中，同时也完成了对DX2系列接口的开发。 Discuz!X2接口实现的功能和以往的DX采集接口功能基本上一致，正式版中可能会考虑加入部份SEO功能。以前的版本可以参考：Discuz!X 全能发布接口，最强大的Discuz!X采集程序]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001229/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Discuz!数据表thread字段displayorder详解</title>
		<link>http://www.4wei.cn/archives/1001109</link>
		<comments>http://www.4wei.cn/archives/1001109#comments</comments>
		<pubDate>Wed, 09 Mar 2011 07:52:27 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001109</guid>
		<description><![CDATA[我们在做开发时，要调用某些列表的帖子，可以根据帖子的权重调用不同级别的帖子，displayorder这个字段在Discuz论坛中就存储了帖子不同级别的信息。 让帖子列表中不显示已经被删除的帖子和待审核的帖子，就是限制cdb_threads.displayorder字段。 当displayorder=0时，表示正常帖子 当displayorder=-1时，被删除的帖子 当displayorder=-2时，表示待审核的帖子 除此以外，还有其他几个值： 当displayorder=1时，表示板块置顶帖子 当displayorder=2时，表示分类置顶帖子 当displayorder=3时，表示全局置顶帖子 于是，我们在写SQL的时候，使用大于小于来筛选数据。 只调用置顶贴 只调用普通贴]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001109/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz!X全能接口附件大小修正补丁，2010-11-13。</title>
		<link>http://www.4wei.cn/archives/1000988</link>
		<comments>http://www.4wei.cn/archives/1000988#comments</comments>
		<pubDate>Sat, 13 Nov 2010 14:18:05 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000988</guid>
		<description><![CDATA[Discuz!X全能接口附件大小修正补丁，适用X1，X1.5的discuz采集接口：火车采集器 For Discuz!X 全能发布接口 部分UTF-8编码的用户，在附件目录中使用了中文，造成附件大小为0KB，附件却能下载的Bug。 部份图片尺寸获取不正常，宽度为0的bug。 请有此问题的用户下载补丁，解压到论坛根目录运行！：locoy.patcher 附：部份用户启用了自定义表情包，可以用以下SQL更新表情，以解决不能显示表情的问题！]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000988/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&quot;您的请求来路不正确或表单验证串不符&quot;的另类解决办法</title>
		<link>http://www.4wei.cn/archives/1000967</link>
		<comments>http://www.4wei.cn/archives/1000967#comments</comments>
		<pubDate>Wed, 27 Oct 2010 06:41:13 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000967</guid>
		<description><![CDATA[从这个函数可以看出，DZ在检查用户的请求时，有判断HASH值和来路。 判断Hash值能检查用户请求的合法性，实际运用中也很有用，那强制检查肯定是非常有用的。 再看REFERER检查，我个人觉得多此一举，因为要做模拟POST，浏览器头是很容易就能模拟出来的，再加有部份网站做了负载均衡，或者使用代理服务器的话，就会出现“您的请求来路不正确或表单验证串不符，无法提交。请尝试使用标准的web浏览器进行操作。”的错误。 在部署代理服务器以后，Discuz的代码要改成这样： 其中，www.a.com是被代理服务器的真实域名。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000967/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Discuz!用户注册失败错误标记符</title>
		<link>http://www.4wei.cn/archives/1000963</link>
		<comments>http://www.4wei.cn/archives/1000963#comments</comments>
		<pubDate>Sat, 23 Oct 2010 02:57:31 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000963</guid>
		<description><![CDATA[使用Discuz!X 文章/相册/日志全能发布接口注册用户时，有时会提示注册用户失败，以下是错误原因，供大家参考。 -1:用户名包含敏感字符或被系统屏蔽 -2:用户名包含被系统屏蔽的字符 -3:该用户名已经被注册 -4:用户名包含敏感字符 -5:用户名包含不可使用的邮箱域名 -6:该 Email 地址已经被注册]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000963/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[DX1Bug]修改任务无法添加ICON</title>
		<link>http://www.4wei.cn/archives/1000946</link>
		<comments>http://www.4wei.cn/archives/1000946#comments</comments>
		<pubDate>Thu, 16 Sep 2010 07:38:46 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000946</guid>
		<description><![CDATA[搜索 改成]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000946/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X1用户注册后无法跳回来源页的bug修正</title>
		<link>http://www.4wei.cn/archives/1000944</link>
		<comments>http://www.4wei.cn/archives/1000944#comments</comments>
		<pubDate>Wed, 15 Sep 2010 09:21:20 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000944</guid>
		<description><![CDATA[在所有页面中搜索以下代码： 改成： 此问题一般出现在用户注册的时间，无法跳回来源页面，可以直接在moudle/member/member_logging.php中修改。 错误在于只判断了变量是否定义，未检测变量是否有值，修改以后则会主动去记录用户的来源页面，此处有可能是笔误。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000944/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz!X1取消注册必填项</title>
		<link>http://www.4wei.cn/archives/1000942</link>
		<comments>http://www.4wei.cn/archives/1000942#comments</comments>
		<pubDate>Wed, 15 Sep 2010 03:10:15 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000942</guid>
		<description><![CDATA[如果我们需要用户填写某项必填项，可以在后台设置用户栏为必填，但并不一定就要在注册时填写，无谓增加用户的注册时间成本。 可以通过以下的办法解决，用户注册以后再填写必填项。 修改/moudle/member/member_register.php，大约70行左右 即在注册的时候不显示也不验证必填项。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000942/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DISCUZ调用小头像的方法</title>
		<link>http://www.4wei.cn/archives/1000937</link>
		<comments>http://www.4wei.cn/archives/1000937#comments</comments>
		<pubDate>Sat, 11 Sep 2010 02:11:56 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000937</guid>
		<description><![CDATA[Discuz!的帖内头像灰常大，用户的回帖还没有头像多，浪费空间真是严重呐。 于是，将用户头像改成小头像吧。 这里呢，就是调用小头像了，其它有middle和big可选。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000937/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Discuz!X1应用中心不能显示应用名称</title>
		<link>http://www.4wei.cn/archives/1000924</link>
		<comments>http://www.4wei.cn/archives/1000924#comments</comments>
		<pubDate>Wed, 01 Sep 2010 13:12:25 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[X1]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000924</guid>
		<description><![CDATA[不能显示应用名称的原因是模板中没有加上应用的变量，解决办法有两个。 1，在模板title标记中加入应用标题，如：“{if !empty($app['appname'])}$app['appname'] {/if}”; 2，在userapp.php中，给{if !empty($topic['title'])}$topic['title'] {/if}变量赋值： 打开source\module\userapp\userapp_app.php，在末尾加上：$topic['title'] = $app['appname']; 预览地址：http://bbs.xiaogou.com/userapp.php]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000924/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>全能版接口专用的国内省市随机IP库</title>
		<link>http://www.4wei.cn/archives/1000807</link>
		<comments>http://www.4wei.cn/archives/1000807#comments</comments>
		<pubDate>Sat, 05 Jun 2010 16:35:27 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[LocoySpider]]></category>
		<category><![CDATA[DiscuzX]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000807</guid>
		<description><![CDATA[此前开发的全能版采集接口，均使用随机IP生成手段，这个方法生成的IP，可能遍布全球，看起来真实性不高。 针对这个问题，在PHPwind全能版接口中，我增加了一个国内IP随机的功能。这个功能，可以从指定的IP列表中，随机抽取一些国内IP作为用户的活动IP，这样看起来貌似会增加论坛的真实性。 后程序交付客户使用，客户反映效果非常良好。于是，我又将这个功能复制到Discuz!X接口中，并在今天对接口做了升级。 这个IP库是从纯真IP库中，反向剥离出来的，IP数据非常全面。考虑到发布时的实际需求，我将IP库条数限制为了10万条，经过简单压缩，文件大约在2M左右。 下面提供的IP库是我从一些省市中随机生成的，并不针对某一个城市，如果有需要需要特定国家或者地区的IP地址，可以联系我生成。 简单演示： 使用方法： 下载IP文件列表文件 解压后上传到论坛的data目录(Dz!X和PW都是data目录，discuz 7.x 在 forumdata)即可 本文件基于纯真IP库2010-5-31生成 为了避免资源占用过高，本程序生成的IP地址条数为10万条 点击下载：locoy.ip.rar]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000807/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

