<?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>h9999h 我的足迹 &#187; Discuz经验</title>
	<atom:link href="http://www.h9999h.com/category/discuz/feed" rel="self" type="application/rss+xml" />
	<link>http://www.h9999h.com</link>
	<description>路漫漫</description>
	<lastBuildDate>Thu, 02 Feb 2012 02:56:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Discuz! X2 使用jQuery 的方法</title>
		<link>http://www.h9999h.com/201201/1832.html</link>
		<comments>http://www.h9999h.com/201201/1832.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 01:12:07 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201201/1832.html</guid>
		<description><![CDATA[2012年1月31日星期二

想在Discuz! X2 上使用jQuery，但发现竟然出错，很闹心。

经过一阵的琢磨，并借鉴了网上的一些文章，很简单的实现了，具体方法如下。

1 添加外部jQuery脚本文件

修改header_common.htm文件，在其最后一行之上，即添加common.js 脚本文件那一行之上中添加jQuery脚本。

例如：

    &#60;script type=&#8217;text/javascript&#8217; src=&#8217;template/hljout2012/common/jquery.js&#8217;&#62;&#60;/script&#62;

    &#60;script type=&#8221;text/javascript&#8221; src=&#8221;{$_G[setting][jspath]}common.js?{VERHASH}&#8221;&#62;&#60;/script&#62;

注：这里需要把jquery.js文件添加到template/default/common/目录。header_common.htm文件在template/default/ common/目录下。

特别注意，添加jQuery脚本语句一定要在添加common.js脚本语句之上。

2 使用jQuery方法

使用jQuery的时候，用 &#8220;jQuery&#8221;替代&#8221;$&#8221;。

例如：

原来写成  $(&#8216;#divtab&#8217;).css({&#8216;width&#8217;,'100%&#8217;}); 样式的语句都要写成   jQuery (&#8216;#divtab&#8217;).css({&#8216;width&#8217;,'100%&#8217;});

这样就可以正常使用jQuery了，享受jQuery的强大与简洁。
]]></description>
			<content:encoded><![CDATA[<p>2012年1月31日星期二
</p>
<p>想在Discuz! X2 上使用jQuery，但发现竟然出错，很闹心。
</p>
<p>经过一阵的琢磨，并借鉴了网上的一些文章，很简单的实现了，具体方法如下。
</p>
<p>1 添加外部jQuery脚本文件
</p>
<p>修改header_common.htm文件，在其最后一行之上，即添加common.js 脚本文件那一行之上中添加jQuery脚本。
</p>
<p>例如：
</p>
<p>    &lt;script type=&#8217;text/javascript&#8217; src=&#8217;template/hljout2012/common/jquery.js&#8217;&gt;&lt;/script&gt;
</p>
<p>    &lt;script type=&#8221;text/javascript&#8221; src=&#8221;{$_G[setting][jspath]}common.js?{VERHASH}&#8221;&gt;&lt;/script&gt;
</p>
<p>注：这里需要把jquery.js文件添加到template/default/common/目录。header_common.htm文件在template/default/ common/目录下。
</p>
<p>特别注意，添加jQuery脚本语句一定要在添加common.js脚本语句之上。
</p>
<p>2 使用jQuery方法
</p>
<p>使用jQuery的时候，用 &#8220;jQuery&#8221;替代&#8221;$&#8221;。
</p>
<p>例如：
</p>
<p>原来写成  $(&#8216;#divtab&#8217;).css({&#8216;width&#8217;,'100%&#8217;}); 样式的语句都要写成   jQuery (&#8216;#divtab&#8217;).css({&#8216;width&#8217;,'100%&#8217;});
</p>
<p>这样就可以正常使用jQuery了，享受jQuery的强大与简洁。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201201/1832.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz! X2 去掉（取消）论坛、页面的搜索条</title>
		<link>http://www.h9999h.com/201106/1718.html</link>
		<comments>http://www.h9999h.com/201106/1718.html#comments</comments>
		<pubDate>Sun, 19 Jun 2011 04:51:56 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201106/1718.html</guid>
		<description><![CDATA[2011年6月19日星期日

Discuz! X2 去掉（取消）论坛、页面的搜索条


	
注意：本方法搜索条去掉后将在各个地方都不显示，不能控制在论坛主页不显示而在帖子页面显示。


 
后台-》全局-》搜索设置-》开启搜索：将全部关掉（即选择框不选择）


 
]]></description>
			<content:encoded><![CDATA[<p>2011年6月19日星期日
</p>
<p>Discuz! X2 去掉（取消）论坛、页面的搜索条
</p>
<p><img src="http://www.h9999h.com/wp-content/uploads/2011/06/061911_0446_DiscuzX21.png" alt=""/>
	</p>
<p>注意：本方法搜索条去掉后将在各个地方都不显示，不能控制在论坛主页不显示而在帖子页面显示。
</p>
<p>
 </p>
<p>后台-》全局-》搜索设置-》开启搜索：将全部关掉（即选择框不选择）
</p>
<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201106/1718.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz 7.2去掉标题中“Powered by Discuz!”字样</title>
		<link>http://www.h9999h.com/201101/1631.html</link>
		<comments>http://www.h9999h.com/201101/1631.html#comments</comments>
		<pubDate>Sun, 16 Jan 2011 12:13:01 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201101/1631.html</guid>
		<description><![CDATA[去掉标题中&#8221;Powered by Discuz!&#8221;字样

1 修改header_common.htm文件

文件位置：\template\default\common\header_common.htm

搜索&#8221;Powered by Discuz!&#8221;，

语句如下：

&#60;title&#62;&#60;!&#8211;{if !empty($navtitle)}&#8211;&#62;$navtitle &#8211; &#60;!&#8211;{/if}&#8211;&#62;&#60;!&#8211;{if empty($nobbname)}&#8211;&#62; $_G['setting']['bbname'] &#8211; &#60;!&#8211;{/if}&#8211;&#62; Powered by Discuz!&#60;/title&#62;

删除其中的&#8221; Powered by Discuz!&#8221;；

删除其中末尾&#8221;&#60;!&#8211;{/if}&#8211;&#62;&#8221;前面的&#8221; &#8211; &#8220;；


 
2 修改viewthread_printable.htm文件

文件位置：\template\default\forum\viewthread_printable.htm

搜索&#8221;Powered by Discuz!&#8221;，

语句如下：

&#60;title&#62;$_G[forum_thread][subject] &#8211; $_G['setting']['bbname'] &#8211; Powered by Discuz!&#60;/title&#62;

删除其中的：&#8221; &#8211; Powered by Discuz!&#8221;
]]></description>
			<content:encoded><![CDATA[<p>去掉标题中&#8221;Powered by Discuz!&#8221;字样
</p>
<p>1 修改header_common.htm文件
</p>
<p>文件位置：\template\default\common\header_common.htm
</p>
<p>搜索&#8221;Powered by Discuz!&#8221;，
</p>
<p>语句如下：
</p>
<p>&lt;title&gt;&lt;!&#8211;{if !empty($navtitle)}&#8211;&gt;$navtitle &#8211; &lt;!&#8211;{/if}&#8211;&gt;&lt;!&#8211;{if empty($nobbname)}&#8211;&gt; $_G['setting']['bbname'] &#8211; &lt;!&#8211;{/if}&#8211;&gt; Powered by Discuz!&lt;/title&gt;
</p>
<p>删除其中的&#8221; Powered by Discuz!&#8221;；
</p>
<p>删除其中末尾&#8221;&lt;!&#8211;{/if}&#8211;&gt;&#8221;前面的&#8221; &#8211; &#8220;；
</p>
<p>
 </p>
<p>2 修改viewthread_printable.htm文件
</p>
<p>文件位置：\template\default\forum\viewthread_printable.htm
</p>
<p>搜索&#8221;Powered by Discuz!&#8221;，
</p>
<p>语句如下：
</p>
<p>&lt;title&gt;$_G[forum_thread][subject] &#8211; $_G['setting']['bbname'] &#8211; Powered by Discuz!&lt;/title&gt;
</p>
<p>删除其中的：&#8221; &#8211; Powered by Discuz!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201101/1631.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SupeSite(SS)备份数据库超大的原因及解决方法</title>
		<link>http://www.h9999h.com/201009/1237.html</link>
		<comments>http://www.h9999h.com/201009/1237.html#comments</comments>
		<pubDate>Wed, 08 Sep 2010 06:07:17 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201009/1237.html</guid>
		<description><![CDATA[2010年9月6日星期一


 
最近发现备份SupeSite竟然达到26个数据文件，算下来超过了50M了。可是我没有做什么，也没有进行采集，SS对我来说就是调用论坛的主题的标题而已，搜索了一下，也没发现什么明确的解决方法，只好自己探索了。

偶然到&#8221;资讯管理&#8221;中发现&#8221;待审箱&#8221;里竟然有万余条资讯等待批准，原来如此，所有的问题就出现在这里。无聊的人发的很多资讯，导致数据量猛增，增加了数据库空间。找到原因，就可以解决了。

具体处理过程如下；

1 关闭用户发布资讯的功能

不让用户发布资讯就不会在这里出现待审资讯，本来网站就不需要别人在这里发布资讯。

SS后台-〉用户管理-〉用户组 ， 对&#8221;普通用户组&#8221;进行编辑，点击操作下的&#8221;编辑&#8221;。

将&#8221;信息管理&#8221;中的&#8221;发布资讯&#8221;选择为&#8221;不许可&#8221;，其他的要不不许可，要不需要审核，要不禁止。

这样彻底禁止发布资讯。

2 删除全部待审资讯

SS后台-〉批量维护-〉主题管理，通过修改&#8221;发表时间范围&#8221;检索全部资讯，然后选择&#8221;批量删除全部信息&#8221;中的&#8221;彻底删除&#8221;。然后提交，删除完毕。

但是这一步虽然删了，后台看不到，但是仍然存在数据库中。

3 清理数据库

进入数据库操作界面，一般应该是phpMyAdmin，找到表supe_spacenews和 supe_spaceitems，点击&#8221;清空&#8221;按钮，清空全部数据。（不要告诉我你不会使用phpMyAdmin）

解决完毕。

后来发现，其实不用第2步就可以了，直接清空数据库就行。

SupeSite版本7.0
]]></description>
			<content:encoded><![CDATA[<p>2010年9月6日星期一
</p>
<p>
 </p>
<p>最近发现备份SupeSite竟然达到26个数据文件，算下来超过了50M了。可是我没有做什么，也没有进行采集，SS对我来说就是调用论坛的主题的标题而已，搜索了一下，也没发现什么明确的解决方法，只好自己探索了。
</p>
<p>偶然到&#8221;资讯管理&#8221;中发现&#8221;待审箱&#8221;里竟然有万余条资讯等待批准，原来如此，所有的问题就出现在这里。无聊的人发的很多资讯，导致数据量猛增，增加了数据库空间。找到原因，就可以解决了。
</p>
<p>具体处理过程如下；
</p>
<p>1 关闭用户发布资讯的功能
</p>
<p>不让用户发布资讯就不会在这里出现待审资讯，本来网站就不需要别人在这里发布资讯。
</p>
<p>SS后台-〉用户管理-〉用户组 ， 对&#8221;普通用户组&#8221;进行编辑，点击操作下的&#8221;编辑&#8221;。
</p>
<p>将&#8221;信息管理&#8221;中的&#8221;发布资讯&#8221;选择为&#8221;不许可&#8221;，其他的要不不许可，要不需要审核，要不禁止。
</p>
<p>这样彻底禁止发布资讯。
</p>
<p>2 删除全部待审资讯
</p>
<p>SS后台-〉批量维护-〉主题管理，通过修改&#8221;发表时间范围&#8221;检索全部资讯，然后选择&#8221;批量删除全部信息&#8221;中的&#8221;彻底删除&#8221;。然后提交，删除完毕。
</p>
<p>但是这一步虽然删了，后台看不到，但是仍然存在数据库中。
</p>
<p>3 清理数据库
</p>
<p>进入数据库操作界面，一般应该是phpMyAdmin，找到表supe_spacenews和 supe_spaceitems，点击&#8221;清空&#8221;按钮，清空全部数据。（不要告诉我你不会使用phpMyAdmin）
</p>
<p>解决完毕。
</p>
<p>后来发现，其实不用第2步就可以了，直接清空数据库就行。
</p>
<p>SupeSite版本7.0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201009/1237.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz 特殊主题不显示广告问题</title>
		<link>http://www.h9999h.com/201009/1236.html</link>
		<comments>http://www.h9999h.com/201009/1236.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 07:55:08 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201009/1236.html</guid>
		<description><![CDATA[2010年9月6日星期一

近日才发现，Discuz7.0的特殊主题不能显示设置的广告，这是很郁闷，也很莫名其妙。真不知道那些人设计这个功能什么目的？Discuz有些功能设计就是让人匪夷所思，不知道想的是什么，给人的感觉就是拍脑袋，一拍一个功能，一拍变化一下，至于这个功能真有什么用，那就再说了。

分析了一下，终于找到了解决方法，很简单。

修改文件：bbs\templates\default\viewthread_node.htm

在文件中搜索&#8221;&#38;&#38; empty($insenz['hardadstatus'])&#8221;，总共有四处，然后将其分别删掉。

OK，一切结束了。特殊主题显示设置的广告了。

Discuz版本7.0。


 
]]></description>
			<content:encoded><![CDATA[<p>2010年9月6日星期一
</p>
<p>近日才发现，Discuz7.0的特殊主题不能显示设置的广告，这是很郁闷，也很莫名其妙。真不知道那些人设计这个功能什么目的？Discuz有些功能设计就是让人匪夷所思，不知道想的是什么，给人的感觉就是拍脑袋，一拍一个功能，一拍变化一下，至于这个功能真有什么用，那就再说了。
</p>
<p>分析了一下，终于找到了解决方法，很简单。
</p>
<p>修改文件：bbs\templates\default\viewthread_node.htm
</p>
<p>在文件中搜索&#8221;&amp;&amp; empty($insenz['hardadstatus'])&#8221;，总共有四处，然后将其分别删掉。
</p>
<p>OK，一切结束了。特殊主题显示设置的广告了。
</p>
<p>Discuz版本7.0。
</p>
<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201009/1236.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>建议Discuz论坛发表回复后仅显示回复的内容</title>
		<link>http://www.h9999h.com/201008/1215.html</link>
		<comments>http://www.h9999h.com/201008/1215.html#comments</comments>
		<pubDate>Fri, 20 Aug 2010 02:09:19 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>
		<category><![CDATA[发表回复]]></category>
		<category><![CDATA[回复内容]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201008/1215.html</guid>
		<description><![CDATA[2010年8月20日星期五


 
Discuz论坛现在&#8221;发表回复&#8221;后，显示帖子第一页或者最后一页，个人认为这是个不必要的浪费。第一页的内容都看过了，再显示出来没有意义；最后一页也许有用，但对于多数网站来说，不会快到发个帖子就有好几个回复跟上去，多数情况下也是个浪费。浪费了网站的数据流量，如果帖子中有很多照片更是一个巨大的浪费。

所以建议，Discuz论坛发表回复后，仅显示回复的内容，以便减少对流量的浪费。
]]></description>
			<content:encoded><![CDATA[<p>2010年8月20日星期五
</p>
<p>
 </p>
<p>Discuz论坛现在&#8221;发表回复&#8221;后，显示帖子第一页或者最后一页，个人认为这是个不必要的浪费。第一页的内容都看过了，再显示出来没有意义；最后一页也许有用，但对于多数网站来说，不会快到发个帖子就有好几个回复跟上去，多数情况下也是个浪费。浪费了网站的数据流量，如果帖子中有很多照片更是一个巨大的浪费。
</p>
<p>所以建议，Discuz论坛发表回复后，仅显示回复的内容，以便减少对流量的浪费。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201008/1215.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UCenter后台不能备份数据，出现“未知错误”原因一解</title>
		<link>http://www.h9999h.com/201008/1203.html</link>
		<comments>http://www.h9999h.com/201008/1203.html#comments</comments>
		<pubDate>Thu, 05 Aug 2010 14:51:32 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201008/1203.html</guid>
		<description><![CDATA[2010年8月5日星期四

前几日转移论坛，却发现新安装的UCenter后台不能备份数据，显示&#8221;未知错误&#8221;，当然也没有办法恢复数据了。

郁闷，不知道什么原因，很奇怪。

最后却是一个极为简单的失误造成的。这个失误就是&#8221;上传UCenter压缩文件的时候没有使用二进制模式&#8221;。

说起来可笑吧，按规定上传的时候要FTP选择二进制模式，这一次不知道怎么就给忽略了，而且这样的问题很难查，写到这里给朋友们做个借鉴吧。


 
]]></description>
			<content:encoded><![CDATA[<p>2010年8月5日星期四
</p>
<p>前几日转移论坛，却发现新安装的UCenter后台不能备份数据，显示&#8221;未知错误&#8221;，当然也没有办法恢复数据了。
</p>
<p>郁闷，不知道什么原因，很奇怪。
</p>
<p>最后却是一个极为简单的失误造成的。这个失误就是&#8221;上传UCenter压缩文件的时候没有使用二进制模式&#8221;。
</p>
<p>说起来可笑吧，按规定上传的时候要FTP选择二进制模式，这一次不知道怎么就给忽略了，而且这样的问题很难查，写到这里给朋友们做个借鉴吧。
</p>
<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201008/1203.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Discuz X1  增加“发起活动”等“特殊主题”按钮</title>
		<link>http://www.h9999h.com/201005/1078.html</link>
		<comments>http://www.h9999h.com/201005/1078.html#comments</comments>
		<pubDate>Sun, 23 May 2010 13:18:50 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>
		<category><![CDATA[Discuz X1]]></category>
		<category><![CDATA[发起活动]]></category>
		<category><![CDATA[按钮]]></category>
		<category><![CDATA[特殊主题]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201005/1078.html</guid>
		<description><![CDATA[2010年5月20日星期四
Discuz X1中，虽然鼠标经过&#8221;发帖&#8221;按钮的时候会显示&#8221;特殊主题&#8221;的菜单，但有些朋友对计算机不是很熟练，不能够熟练掌握此技巧，所以与其浮动出菜单，不如直接显示特殊主题的按钮，更清晰明了。
修改后如图：

修改方法如下：
1 主题列表页上方增加&#8221;发起活动&#8221;按钮

修改后如上图所示。
修改文件
DixcuzX1安装目录\template\default\forum\forumdisplay.htm
在第85行之前（如果你没有改变forumdisplay.htm文件内容的话）
或者在搜索如下代码行之前
&#60;!&#8211;{if !$_G['gp_archiveid']}&#8211;&#62;&#60;button id=&#8221;newspecial&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onmouseover=&#8221;$(&#8216;newspecial&#8217;).id = &#8216;newspecialtmp&#8217;;this.id = &#8216;newspecial&#8217;;showMenu({&#8216;ctrlid&#8217;:this.id})&#8221;{if !$_G['forum']['allowspecialonly']} onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&#38;action=newthread&#38;fid=$_G[fid]&#8216;)&#8221;{else} onclick=&#8221;location.href=&#8217;forum.php?mod=post&#38;action=newthread&#38;fid=$_G[fid]&#8216;&#8221;{/if}&#62;&#60;strong&#62;{lang send_posts}&#60;/strong&#62;&#60;/button&#62;&#60;!&#8211;{/if}&#8211;&#62;
添加如下代码：
&#60;!&#8211;{if $_G['group']['allowpostactivity'] &#38;&#38; !$_G['gp_archiveid'] }&#8211;&#62;
&#60;button id=&#8221;newactivity&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&#38;action=newthread&#38;fid=$_G[fid]&#38;special=4&#8242;)&#8221;&#62;&#60;strong&#62;{lang post_newthreadactivity}&#60;/strong&#62;&#60;/button&#62;
&#60;!&#8211;{/if}&#8211;&#62;
保存后重新刷新页面，新的&#8221;发起活动&#8221;按钮就出现了。
2主题列表页下方增加&#8221;发起活动&#8221;按钮
修改文件
DixcuzX1安装目录\template\default\forum\forumdisplay_list.htm
在第倒数第二行之前（如果你没有改变forumdisplay_ list.htm文件内容的话）
或者在搜索如下代码行之前
&#60;!&#8211;{if !$_G['gp_archiveid']}&#8211;&#62;&#60;button class=&#8221;pn pnc&#8221; id=&#8221;newspecialtmp&#8221; onmouseover=&#8221;$(&#8216;newspecial&#8217;).id = &#8216;newspecialtmp&#8217;;this.id = &#8216;newspecial&#8217;;showMenu({&#8216;ctrlid&#8217;:this.id})&#8221;{if !$_G['forum']['allowspecialonly']} onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&#38;action=newthread&#38;fid=$_G[fid]&#8216;)&#8221;{else} onclick=&#8221;location.href=&#8217;forum.php?mod=post&#38;action=newthread&#38;fid=$_G[fid]&#8216;&#8221;{/if}&#62;&#60;strong&#62;{lang send_posts}&#60;/strong&#62;&#60;/button&#62;&#60;!&#8211;{/if}&#8211;&#62;
添加如下代码：
&#60;!&#8211;{if $_G['group']['allowpostactivity'] &#38;&#38; !$_G['gp_archiveid'] }&#8211;&#62;
&#60;button id=&#8221;newactivity&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&#38;action=newthread&#38;fid=$_G[fid]&#38;special=4&#8242;)&#8221;&#62;&#60;strong&#62;{lang post_newthreadactivity}&#60;/strong&#62;&#60;/button&#62;
&#60;!&#8211;{/if}&#8211;&#62;
保存后重新刷新页面，新的&#8221;发起活动&#8221;按钮就出现了。
修改后样式如图：

3帖子浏览页上方&#8221;发贴&#8221;之间前增加&#8221;发布活动&#8221;按钮（如果该板块允许发布活动)
修改文件
DixcuzX1安装目录\template\default\forum\viewthread.htm
在96行之前，（如果你没有改变viewthread.htm文件内容的话）
或者在搜索如下代码行之前
&#60;!&#8211;{if [...]]]></description>
			<content:encoded><![CDATA[<p>2010年5月20日星期四</p>
<p>Discuz X1中，虽然鼠标经过&#8221;发帖&#8221;按钮的时候会显示&#8221;特殊主题&#8221;的菜单，但有些朋友对计算机不是很熟练，不能够熟练掌握此技巧，所以与其浮动出菜单，不如直接显示特殊主题的按钮，更清晰明了。</p>
<p>修改后如图：</p>
<p><img src="http://www.h9999h.com/wp-content/uploads/2010/05/052310_1315_DiscuzX11.jpg" alt="" /></p>
<p>修改方法如下：</p>
<p>1 主题列表页上方增加&#8221;发起活动&#8221;按钮</p>
<p><span id="more-1078"></span></p>
<p>修改后如上图所示。</p>
<p>修改文件</p>
<p>DixcuzX1安装目录\template\default\forum\forumdisplay.htm</p>
<p>在第85行之前（如果你没有改变forumdisplay.htm文件内容的话）</p>
<p>或者在搜索如下代码行之前</p>
<p>&lt;!&#8211;{if !$_G['gp_archiveid']}&#8211;&gt;&lt;button id=&#8221;newspecial&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onmouseover=&#8221;$(&#8216;newspecial&#8217;).id = &#8216;newspecialtmp&#8217;;this.id = &#8216;newspecial&#8217;;showMenu({&#8216;ctrlid&#8217;:this.id})&#8221;{if !$_G['forum']['allowspecialonly']} onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&#8216;)&#8221;{else} onclick=&#8221;location.href=&#8217;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&#8216;&#8221;{/if}&gt;&lt;strong&gt;{lang send_posts}&lt;/strong&gt;&lt;/button&gt;&lt;!&#8211;{/if}&#8211;&gt;</p>
<p>添加如下代码：</p>
<p>&lt;!&#8211;{if $_G['group']['allowpostactivity'] &amp;&amp; !$_G['gp_archiveid'] }&#8211;&gt;</p>
<p>&lt;button id=&#8221;newactivity&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&amp;special=4&#8242;)&#8221;&gt;&lt;strong&gt;{lang post_newthreadactivity}&lt;/strong&gt;&lt;/button&gt;</p>
<p>&lt;!&#8211;{/if}&#8211;&gt;</p>
<p>保存后重新刷新页面，新的&#8221;发起活动&#8221;按钮就出现了。</p>
<p>2主题列表页下方增加&#8221;发起活动&#8221;按钮</p>
<p>修改文件</p>
<p>DixcuzX1安装目录\template\default\forum\forumdisplay_list.htm</p>
<p>在第倒数第二行之前（如果你没有改变forumdisplay_ list.htm文件内容的话）</p>
<p>或者在搜索如下代码行之前</p>
<p>&lt;!&#8211;{if !$_G['gp_archiveid']}&#8211;&gt;&lt;button class=&#8221;pn pnc&#8221; id=&#8221;newspecialtmp&#8221; onmouseover=&#8221;$(&#8216;newspecial&#8217;).id = &#8216;newspecialtmp&#8217;;this.id = &#8216;newspecial&#8217;;showMenu({&#8216;ctrlid&#8217;:this.id})&#8221;{if !$_G['forum']['allowspecialonly']} onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&#8216;)&#8221;{else} onclick=&#8221;location.href=&#8217;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&#8216;&#8221;{/if}&gt;&lt;strong&gt;{lang send_posts}&lt;/strong&gt;&lt;/button&gt;&lt;!&#8211;{/if}&#8211;&gt;</p>
<p>添加如下代码：</p>
<p>&lt;!&#8211;{if $_G['group']['allowpostactivity'] &amp;&amp; !$_G['gp_archiveid'] }&#8211;&gt;</p>
<p>&lt;button id=&#8221;newactivity&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&amp;special=4&#8242;)&#8221;&gt;&lt;strong&gt;{lang post_newthreadactivity}&lt;/strong&gt;&lt;/button&gt;</p>
<p>&lt;!&#8211;{/if}&#8211;&gt;</p>
<p>保存后重新刷新页面，新的&#8221;发起活动&#8221;按钮就出现了。</p>
<p>修改后样式如图：</p>
<p><img src="http://www.h9999h.com/wp-content/uploads/2010/05/052310_1315_DiscuzX12.jpg" alt="" /></p>
<p>3帖子浏览页上方&#8221;发贴&#8221;之间前增加&#8221;发布活动&#8221;按钮（如果该板块允许发布活动)</p>
<p>修改文件</p>
<p>DixcuzX1安装目录\template\default\forum\viewthread.htm</p>
<p>在96行之前，（如果你没有改变viewthread.htm文件内容的话）</p>
<p>或者在搜索如下代码行之前</p>
<p>&lt;!&#8211;{if !$_G['forum_thread']['is_archived']}&#8211;&gt;&lt;button id=&#8221;newspecial&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onmouseover=&#8221;$(&#8216;newspecial&#8217;).id = &#8216;newspecialtmp&#8217;;this.id = &#8216;newspecial&#8217;;showMenu({&#8216;ctrlid&#8217;:this.id})&#8221;{if !$_G['forum']['allowspecialonly']} onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&#8216;)&#8221;{else} onclick=&#8221;location.href=&#8217;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&#8216;&#8221;{/if}&gt;&lt;strong&gt;{lang send_posts}&lt;/strong&gt;&lt;/button&gt;&lt;!&#8211;{/if}&#8211;&gt;</p>
<p>添加如下代码：</p>
<p>&lt;!&#8211;{if $_G['group']['allowpostactivity'] &amp;&amp; !$_G['gp_archiveid'] }&#8211;&gt;</p>
<p>&lt;button id=&#8221;newactivity&#8221; class=&#8221;pn pnc&#8221; prompt=&#8221;post_newthread&#8221; onclick=&#8221;showWindow(&#8216;newthread&#8217;, &#8216;forum.php?mod=post&amp;action=newthread&amp;fid=$_G[fid]&amp;special=4&#8242;)&#8221;&gt;&lt;strong&gt;{lang post_newthreadactivity}&lt;/strong&gt;&lt;/button&gt;</p>
<p>&lt;!&#8211;{/if}&#8211;&gt;</p>
<p>保存后重新刷新页面，新的&#8221;发起活动&#8221;按钮就出现了。</p>
<p>修改后样式如图：</p>
<p><img src="http://www.h9999h.com/wp-content/uploads/2010/05/052310_1315_DiscuzX13.jpg" alt="" /></p>
<p>4 增加其他特殊主题按钮</p>
<p>可以通过修改上添加的代码中&#8221;special=&#8221;对应的值来显示其他的特殊主题按钮。具体对应如下：</p>
<p style="margin-left: 18pt;">1 发起投票</p>
<p style="margin-left: 18pt;">2 出售商品</p>
<p style="margin-left: 18pt;">3 发布悬赏</p>
<p style="margin-left: 18pt;">4 发起活动</p>
<p style="margin-left: 18pt;">5 发起辩论</p>
<p style="margin-left: 18pt;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201005/1078.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Discuz X1 建议增加“发起活动”等“特殊主题”按钮</title>
		<link>http://www.h9999h.com/201005/1217.html</link>
		<comments>http://www.h9999h.com/201005/1217.html#comments</comments>
		<pubDate>Sat, 22 May 2010 14:03:04 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>
		<category><![CDATA[Discuz X1]]></category>
		<category><![CDATA[发起活动]]></category>
		<category><![CDATA[按钮]]></category>
		<category><![CDATA[特殊主题]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201008/1217.html</guid>
		<description><![CDATA[
 
2010年5月22日星期六


 
建议增加&#8221;发起活动&#8221;等&#8221;特殊主题&#8221;按钮。

在论坛实际运行中发现，虽然鼠标经过&#8221;发帖&#8221;按钮的时候会显示&#8221;特殊主题&#8221;的菜单，但有些朋友对计算机不是很熟练，不能够熟练掌握此技巧，所以与其浮动出菜单，不如直接显示特殊主题的按钮，更清晰明了。

建议Discuz官方在论坛后台设置选项，可以设置是否显示&#8221;特殊主题&#8221;按钮，显示哪个&#8221;特殊主题&#8221;按钮，这样更能有效的为不同能力的朋友服务。

具体效果大致如图


	

 
]]></description>
			<content:encoded><![CDATA[<p>
 </p>
<p>2010年5月22日星期六
</p>
<p>
 </p>
<p>建议增加&#8221;发起活动&#8221;等&#8221;特殊主题&#8221;按钮。
</p>
<p>在论坛实际运行中发现，虽然鼠标经过&#8221;发帖&#8221;按钮的时候会显示&#8221;特殊主题&#8221;的菜单，但有些朋友对计算机不是很熟练，不能够熟练掌握此技巧，所以与其浮动出菜单，不如直接显示特殊主题的按钮，更清晰明了。
</p>
<p>建议Discuz官方在论坛后台设置选项，可以设置是否显示&#8221;特殊主题&#8221;按钮，显示哪个&#8221;特殊主题&#8221;按钮，这样更能有效的为不同能力的朋友服务。
</p>
<p>具体效果大致如图
</p>
<p><img src="http://www.h9999h.com/wp-content/uploads/2010/08/082010_1357_DiscuzX11.jpg" alt=""/>
	</p>
<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201005/1217.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz X1 不显示主题列表的侧边栏</title>
		<link>http://www.h9999h.com/201005/1045.html</link>
		<comments>http://www.h9999h.com/201005/1045.html#comments</comments>
		<pubDate>Thu, 20 May 2010 11:56:15 +0000</pubDate>
		<dc:creator>h9999h</dc:creator>
				<category><![CDATA[Discuz经验]]></category>
		<category><![CDATA[Discuz X1]]></category>
		<category><![CDATA[不显示]]></category>
		<category><![CDATA[侧边栏]]></category>

		<guid isPermaLink="false">http://www.h9999h.com/201005/1045.html</guid>
		<description><![CDATA[Discuz X1 不显示主题列表的侧边栏

2010年5月20日

在Discuz进入后台&#8221;管理中心&#8221;，

进入  论坛-》板块管理

找到需要设置的板块

选择&#8221;编辑板块&#8221;

进入&#8221;扩展设置&#8221;选项卡，

在&#8221;显示边栏&#8221;中修改为&#8221;否&#8221;。


	

 
点击&#8221;提交&#8221;，修改完毕。
]]></description>
			<content:encoded><![CDATA[<p>Discuz X1 不显示主题列表的侧边栏
</p>
<p>2010年5月20日
</p>
<p>在Discuz进入后台&#8221;管理中心&#8221;，
</p>
<p>进入  论坛-》板块管理
</p>
<p>找到需要设置的板块
</p>
<p>选择&#8221;编辑板块&#8221;
</p>
<p>进入&#8221;扩展设置&#8221;选项卡，
</p>
<p>在&#8221;显示边栏&#8221;中修改为&#8221;否&#8221;。
</p>
<p><img src="http://www.h9999h.com/wp-content/uploads/2010/05/052010_1200_DiscuzX11.jpg" alt=""/>
	</p>
<p>
 </p>
<p>点击&#8221;提交&#8221;，修改完毕。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.h9999h.com/201005/1045.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

