<?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>Think Again &#187; Wordpress</title>
	<atom:link href="http://www.thinkagain.cn/archives/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thinkagain.cn</link>
	<description>Inspire thinking, inspire creativity, inspire future.</description>
	<lastBuildDate>Wed, 01 Feb 2012 07:31:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress插件: WP Smilies</title>
		<link>http://www.thinkagain.cn/archives/1031.html</link>
		<comments>http://www.thinkagain.cn/archives/1031.html#comments</comments>
		<pubDate>Sat, 03 Jan 2009 08:57:17 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=1031</guid>
		<description><![CDATA[WP Smilies是一个非常小巧简单的插件，它仅提供了生成调用wordpress内置表情的图标按钮的功能。该插件直接解析php输出内置表情按钮，并非通过加载js文件等。这个原来只是自己在用模板的一个... ]]></description>
			<content:encoded><![CDATA[<p>English user please navigates to <a href="http://wordpress.org/extend/plugins/wp-smilies/">http://wordpress.org/extend/plugins/wp-smilies/</a>&#160; for instruction.<a href="http://www.thinkagain.cn/archives/989.html"> </a></p>
<p><strong>Latest Update: 2009-01-04</strong></p>
<p>1. 如果不想点击表情后，将页面移动到评论框，请在line21，&#8217;{$value}&#8217;\&#8221;部分的$value}&#8217;后面插入<strong>;return false</strong>，修改后的代码为：&#8217;{$value}&#8217;;return false\&#8221;。谢谢<a href="http://bingu.net/">冰古</a>的建议。</p>
<p>2. 如果不想让插件通过commentform Hook来自动添加表情图标在评论框附近，请在line10，add_action(&#8216;comment_form&#8217;,'wp_smilies&#8217;,-1);这句代码前面加上//，使之成为评论既可以。</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>WP Smilies是一个非常小巧简单的插件，它仅提供了生成调用wordpress内置表情的图标按钮的功能。该插件直接解析php输出内置表情按钮，并非通过加载js文件等。这个原来只是自己在用模板的一个函数而已，索性将它剥离出来做成了这个插件。</p>
<p>1. 使用方法</p>
<p>在使用上也非常简单，在文末处下载该插件。将wp-smilies文件夹上传到plugin目录下。在后台插件页中激活，wordpress smilies即可以了。表情图标会自动添加到评论框附近。具体位置是由评论模板上的comment form的Hook接口位置而定。</p>
<p>2. 函数调用</p>
<p>如果您的评论模板上没有放置comment form Hook接口的话。嗯，先批评下，模板不规范。很容易出现和插件的兼容性问题。</p>
<p>您也可以使用函数调用的方法来生成表情图标按钮。将下列代码放置到评论模板中想要放置表情的位置：</p>
<p><font color="#ff0000">&lt;?php</font> <font color="#0000ff">wp_smilies</font>();<font color="#ff0000">?&gt;</font></p>
<p>3. 关于CSS</p>
<p>插件生成的代码被嵌套在类名为wp_smilies的DIV块内。请自行在模板style.css中添加对wp_smilies类的css定义，以实现其它效果或编排边距等。</p>
<p>插件生成代码通过W3C XHTML 1.0 Transitional验证。</p>
<p>4. DEMO</p>
<p>本站评论框下部表情即是。这些都是wordpress内置表情。全部位于wp-includes\images\smilies\文件夹下。<u>如果有兴趣，您可以自行找些表情图片将内置的替换了。</u></p>
<p>4. 下载</p>
<p>WP官方网站下载地址：<a href="http://wordpress.org/extend/plugins/wp-smilies/">http://wordpress.org/extend/plugins/wp-smilies/</a>。</p>
<p>记得有账号的网友帮我RATE一下啊。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>补充资料，有兴趣延伸阅读下</strong>：</p>
<p><u>如何判断评论模板内是否已放置comment form Hook？</u></p>
<p>用文本编辑器打开模板目录下的comments.php文件，查找下列代码：</p>
<p><font color="#ff0000">&lt;?php</font> <font color="#0000ff">do_action</font>(<font color="#ff80ff">&#8216;comment_form&#8217;</font>, $post-&gt;ID);<font color="#ff0000"> ?&gt;</font></p>
<p>注意，该代码的位置就是表情图标生成的地方。</p>
<p>一个规范的wordpress模板应当在其页头（header.php），页脚（footer.php）上都有wp_head()和wp_footer()代码，以备插件调用用。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/1031.html#comments">评论49:</a></p><p><strong>49.</strong><i>2011.10.13.5:18.pm</i>.&nbsp;<a href="http://www.renprene.com">toptpe</a>: 我真不知道把它放在哪里呢？要么是在框最下面，要么是在帖子下面，搞不定啊</p><p><strong>48.</strong><i>2011.10.09.2:39.pm</i>.&nbsp;<a href="http://vdgou.com">vdgou</a>: 这个插件之前用过…</p><p><strong>47.</strong><i>2011.07.19.10:37.am</i>.&nbsp;<a href="http://taokeba.info/?p=823">WP表情插件 | wordpress站点</a>: [...] 2. 如果不想让插件通过commentform Hook来自动添加表情图标在评论框附近，请在line10，add_action(‘comment_form’,’wp_smilies’,-1);这句代码前面加上//，使之成为评论既可以。  [...]</p><p><strong>46.</strong><i>2011.07.18.3:40.pm</i>.&nbsp;<a href="http://taokeba.bro.cm/?p=591">WP表情插件 | wordpress</a>: [...] 2. 如果不想让插件通过commentform Hook来自动添加表情图标在评论框附近，请在line10，add_action(‘comment_form’,’wp_smilies’,-1);这句代码前面加上//，使之成为评论既可以。  [...]</p><p><strong>45.</strong><i>2011.06.01.7:59.pm</i>.&nbsp;<a href="http://www.nianqing.info">NianQing</a>: 这个插件之前用过...</p><p><strong>44.</strong><i>2011.05.21.9:09.am</i>.&nbsp;<a href="http://www.laoge.me/528/">WP表情插件-WP Smilies - 老哥&#039;s博客</a>: [...] 2. 如果不想让插件通过commentform Hook来自动添加表情图标在评论框附近，请在line10，add_action(‘comment_form’,&#8217;wp_smilies’,-1);这句代码前面加上//，使之成为评论既可以。  [...]</p><p><strong>43.</strong><i>2011.02.01.5:18.pm</i>.&nbsp;<a href="http://www.goxxs.tk/wordpress%e6%8f%92%e4%bb%b6-wp-smilies-37/">去叉叉 &raquo; Blog Archive &raquo; WordPress插件: WP Smilies</a>: [...] 1. 使用方法  [...]</p><p><strong>42.</strong><i>2010.06.07.11:41.am</i>.&nbsp;<a href="http://tc89.com">随缘</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />  这个真不错，谢了</p><p><strong>41.</strong><i>2010.04.12.5:39.am</i>.&nbsp;<a href="http://www.cikiyor.com/2010/04/wordpress-smiley-eklentisi/">cikiyor &raquo; Wordpress Smiley Eklentisi</a>: [...] Smilies eklentisi ThinkAgain tarafından [...]</p><p><strong>40.</strong><i>2009.03.26.6:15.pm</i>.&nbsp;<a href="http://www.rokeer.com">Rokeer</a>: 表情插件很不错，不过感觉有点老了……</p><p><strong>39.</strong><i>2009.02.17.6:39.pm</i>.&nbsp;<a href="http://www.rushu.net/?p=3">RuShu.Net &raquo; Wordpress插件: WP Smilies</a>: [...] 2. 如果不想让插件通过commentform Hook来自动添加表情图标在评论框附近，请在line10，add_action(’comment_form’,&#8217;wp_smilies’,-1);这句代码前面加上//，使之成为评论既可以。  [...]</p><p><strong>38.</strong><i>2009.02.11.2:11.pm</i>.&nbsp;<a href="http://asherpen.info">Asher</a>: 感谢！我喜欢不用修改主题文件的插件 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>37.</strong><i>2009.02.07.11:58.pm</i>.&nbsp;<a href="http://www.showfom.com/">Showfom</a>: 不想错不错</p><p><strong>36.</strong><i>2009.02.07.3:05.pm</i>.&nbsp;<a href="http://www.x-hui.cn/wp-smilies.html">WP Smilies | 给评论加上表情 | Huiの世界</a>: [...] 1. 使用方法  [...]</p><p><strong>35.</strong><i>2009.01.14.2:44.pm</i>.&nbsp;<a href="http://www.liwaili.com.cn">里外里博客</a>: 呵呵, 挺方便的插件, 
快回家了，过来看看了</p><p><strong>34.</strong><i>2009.01.10.5:28.pm</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 好久没来了，预祝山之岚新春快乐！这个没人比我早了吧！</p><p><strong>33.</strong><i>2009.01.10.12:54.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-85031" rel="nofollow">@alex </a>htmlspecialchars_decode是php内置函数，请用php探针检查下的php是否禁止了该函数？</p><p><strong>32.</strong><i>2009.01.08.6:37.pm</i>.&nbsp;<a href="http://www.alexblog.cn">alex</a>: 不好意思，发错了，我的出问题的插件是hot-friends</p><p><strong>31.</strong><i>2009.01.08.6:34.pm</i>.&nbsp;<a href="http://www.alexblog.cn">alex</a>: 为何我会无法更新配置呢？出现Fatal error: Call to undefined function: htmlspecialchars_decode() in *:\*********\wordpress\wp-content\plugins\hot-friends\hot_friends_functions.php on line 43</p><p><strong>30.</strong><i>2009.01.07.3:36.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' />  都是好插件啊</p><p><strong>29.</strong><i>2009.01.07.2:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84906" rel="nofollow">@I-MAN </a>Hi, I-MAN, Thank you for the plugin. I have downloaded it. <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>28.</strong><i>2009.01.07.12:57.pm</i>.&nbsp;<a href="http://surdark.net">浮黑</a>: 岚兄的东东都是实用为本，真不错！</p><p><strong>27.</strong><i>2009.01.06.10:59.pm</i>.&nbsp;<a href="http://kwberry.com/">Kar Win</a>: 学习一下了 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>26.</strong><i>2009.01.06.9:22.pm</i>.&nbsp;<a href="http://www.wrestlingfans.co.cc">I-MAN</a>: One Last Favour,

i found a plugin which was maded for WP2.2.

its Very Small plugin like wp smiles, called Comment Quicktags.

http://wrestlingfans.co.cc/wp-content/plugins/comment_quicktags.zip

its uses buttons insted that code that appears before this comment form. in this website. it could be good for your site too.

i was hoping since alot changed may be you can update it and release at as Comment Qicktags Reloaded.

Thanks</p><p><strong>25.</strong><i>2009.01.06.4:37.pm</i>.&nbsp;<a href="http://www.wrestlingfans.co.cc">I-MAN</a>: ok thanks, but that error disappeared completely, so if you still want to check the file i edited, function.php. i can send. i did not edited css.

i was just checking the way i inserted the code. Thanks alot for you help.</p><p><strong>24.</strong><i>2009.01.06.10:18.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84811" rel="nofollow">@I-MAN </a>OK, You customized a hook (si_ captcha for captcha) and inserted it before comment box, and placed commentform hook after submit button for comment replay notification. I think the way you did is right! 
The problem is if it worked well until you revised style code? (p.s, are you sure it were css style code? Cause usually css code doesnot affect the php execution) Thus you had better to <b>check the code revised</b>. Because the error occasionally occurs, probably you may check the php file. Sometimes redundant space in php file may cause 'can not modify header information'. 
I suggest you to modify php file by using editor instead of directly coding via wordpress wp-admin. Anyway, it would by helpful to send me your source file. You can find my email in AboutMe page.</p><p><strong>23.</strong><i>2009.01.05.7:33.pm</i>.&nbsp;<a href="http://www.wrestlingfans.co.cc">I-MAN</a>: oh it was not about the same hook,

i wanted captcha to show before comment box, and wanted comment replay notification to show after submit button.

i had to move the comment form hook in the comment.php file to down. but the both plugins were brought down with it.

so i maded another hook up the comment box and placed the si captcha in it.


my question was did i do any coding wrong or unsecure like adding that function to function.php. did i do it right. Thanks.</p><p><strong>22.</strong><i>2009.01.05.10:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84783" rel="nofollow">@I-MAN </a>In my opinion, if you want to specify the execution sequence of plugins which use the same hook to invoke, you dont need to customize a new hook because it may cause other trouble. Just find the hook in their source code, like in wp_smilies is <code>add_action('comment_form','wp_smilies',-1);</code>.
Notice that -1 is the execution order of plugin, usually the number is positive. In this case, negative number indicates that wp_smilies will execute first at all. By changing the numbers, you can specify the execution order of plugins. For example:
<code>
add_action('comment_form','plugin a',2);
add_action('comment_form','plugin b',3);
</code>
then plugin a will execute earlier than plugin b.
About "can not modify hearder information" error, one possible reason for this error is the php file was not save in ANSI format, or you can choose save in UTF_8 without BOM format.</p><p><strong>21.</strong><i>2009.01.05.7:38.am</i>.&nbsp;<a href="http://www.wrestlingfans.co.cc">I-MAN</a>: hey i have a question, i hope you can help me with it, i am not realy a coder.

i have two plugins conflicting with each other
SI Captcha
Comment Reply Notification

they both use comment form hook,

which cause the both to be in the same position, thus the whloe style become bad.

so i found a page: http://extralogical.net/2007/06/wphooks/

and i added this code to my style function.php
<code>
function si_captcha() {
    do_action('si_captcha');
}
</code>

and added this code to my comments.php

<code></code>

and change the add function stuff in the Plugin to si captcha

---------------------

it all worked fine untill i got an error when i try to submit changes to the style template in wp admin area. i think it is caused by the code i added. some times appear.

the error was something like this:
Warning: Cannot modify header information - headers already sent by (output started at ......


i hope you can tell me what i did wrong. i can show you my function.php:

<code>

</code>

Thanks</p><p><strong>20.</strong><i>2009.01.04.9:19.pm</i>.&nbsp;<a href="http://www.wrestlingfans.co.cc">I-MAN</a>: <a href="#comment-84728" rel="nofollow">@山之岚 </a>

thanks that worked well.</p><p><strong>19.</strong><i>2009.01.04.8:19.pm</i>.&nbsp;<a href="http://www.dreamix.cn">Dreamix</a>: 我的博客也有可爱的表情，呵呵～</p><p><strong>18.</strong><i>2009.01.04.7:04.pm</i>.&nbsp;<a href="http://www.pingpig.cn">CxLiuPing</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />  不错不错</p><p><strong>17.</strong><i>2009.01.04.6:54.pm</i>.&nbsp;<a href="http://orzdream.cn/">NetPuter</a>: 原来这玩意儿是Thinkagain大哥开发的..
最近有用表情的兴趣..
 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>16.</strong><i>2009.01.04.6:17.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84752" rel="nofollow">@Charles </a>好啊好啊。谢谢哦。</p><p><strong>15.</strong><i>2009.01.04.6:17.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84732" rel="nofollow">@老时 </a>老时的头像果然很sexy啊。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>14.</strong><i>2009.01.04.4:25.pm</i>.&nbsp;<a href="http://www.charletang.cn">Charles</a>: 老哥你太猛了，不错的插件啊。我去帮你rate，嘿嘿</p><p><strong>13.</strong><i>2009.01.04.3:40.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">琪琪老爸</a>: <a href="#comment-84732" rel="nofollow">@老时 </a>
你这个图标就很健康了.</p><p><strong>12.</strong><i>2009.01.04.1:40.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 很少用到表情~</p><p><strong>11.</strong><i>2009.01.04.12:32.pm</i>.&nbsp;<a href="http://lenciel.cn">lenciel</a>: 一直用它...</p><p><strong>10.</strong><i>2009.01.04.11:05.am</i>.&nbsp;<a href="http://www.shichangzhi.cn">老时</a>: 插插更健康啊。</p><p><strong>9.</strong><i>2009.01.04.10:45.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84694" rel="nofollow">@老N </a>这个目前没有这打算啦，现在表情插件已经很多了。可以在网上或官方库上搜一搜。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>8.</strong><i>2009.01.04.10:43.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84706" rel="nofollow">@I-MAN </a>It is possible to do  this, but unfortunately you have to manually modify the source code. 
Please open the wp-smilies.php by source code editor (like notepad++), find line 10: <code>add_action('comment_form','wp_smilies',-1);</code>, and then delete this line or simply insert // at the begin of line to change this line to comment. 
After that plugin will not invoke the commentform hook.</p><p><strong>7.</strong><i>2009.01.04.4:11.am</i>.&nbsp;<a href="http://www.wrestlingfans.co.cc">I-MAN</a>: is there any way for it to only use 
 
by placing it manually even if the 
ID); ?&gt;
exists</p><p><strong>6.</strong><i>2009.01.03.11:46.pm</i>.&nbsp;<a href="http://neolee.cn">老N</a>: 好东西当然要顶，能再开发几套替换表情么？</p><p><strong>5.</strong><i>2009.01.03.11:43.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84688" rel="nofollow">@i.robot </a>新年快乐哦。
<a href="#comment-84690" rel="nofollow">@Yacca </a>其实在官方库里申请了好几个插件了，都没有放置上去，慢慢来吧。总是会给自己找到些理由，比如说最常用的，没时间。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>4.</strong><i>2009.01.03.11:42.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84686" rel="nofollow">@冰古 </a>想要将表情添加到评论内容中间，这个问题还是挺麻烦的。呵呵。还要获取当前位置等等，估计没有一大堆代码是搞不定的，目前暂时没有这个打算。或者说还搞不定。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' />    至于点击后是否移动，倒是觉得点击后移动到评论框是否会方便用户输入呢，所以就没有用这个return false啦。</p><p><strong>3.</strong><i>2009.01.03.10:25.pm</i>.&nbsp;<a href="http://www.eemir3.com/">Yacca</a>: 华丽丽的飘过,新年快乐 ta兄~~~~~
又出插件了...不过我不是表情fans,纯支持了^^</p><p><strong>2.</strong><i>2009.01.03.8:58.pm</i>.&nbsp;<a href="http://getfreeware.net">i.robot</a>: 呵呵, 挺方便的插件, 我帮你顶了一下 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  
新年快乐:)</p><p><strong>1.</strong><i>2009.01.03.8:38.pm</i>.&nbsp;<a href="http://bingu.net">冰古</a>: 点击后不要移动页面吧，onclick值里添加个return false;

表情不能添加到内容的中间，只能添加到内容的末尾。</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2008.08.15.3:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/985.html" title="Updated: 2008-12-08. Latest version v1.4.1。
English user please goes to http://wordpress.org/ext">Wordpress插件: Hot Friends v1.4.1 (218)</a></p><p><i>2007.12.09.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/889.html" title="先纠正一个错误，自己昨天在如何使用Wordpress内置的分页（Nextpage）功能？">Wordpress插件:whole_feed_output v0.1 (2)</a></p><p><i>2007.11.21.10:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/877.html" title="新写了一个插件，wp_list_posts，主要用于生成存档文章清单。写这个插件的">Wordpress2.3 Plugin: wp_list_posts v0.1 (47)</a></p><p><i>2007.11.15.8:07.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/873.html" title="今天从朋友站点逛回自己博客的时候，发现了一个wp_WelcomeMsg的一个bug，即">Wordpress Plugin:wp_welcomMsg v0.21 (19)</a></p><p><i>2007.10.31.10:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/831.html" title="wp_addbookmarks插件升级到0.21版。修正了添加中文标题网页到QQ书签时，网页标">Wordpress插件:wp_addbookmarks 0.21 (56)</a></p><p><i>2007.10.26.2:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/827.html" title="刚刚将tags2metakeywords升级到0.31，解决了无index keywords时显示的一个小bug。

">Wordpress2.3插件:tags2metakeywords 0.31 (4)</a></p><p><i>2007.06.02.6:00.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/177.html" title="WS Downloadmanager是一个文件下载管理的Wordpress插件。该插件除了提供下载次数">文件下载管理插件WS DOWNLOADMANAGER 1.0中文语言文件 (19)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/1031.html/feed</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>12行代码给WordPress主题挂上AJAX</title>
		<link>http://www.thinkagain.cn/archives/1030.html</link>
		<comments>http://www.thinkagain.cn/archives/1030.html#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:20:27 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=1030</guid>
		<description><![CDATA[最近，最新版的wordpress 2.7带来了全新的后台界面，加入了大量的特效，极为漂亮。并且也新增了不少特性，如评论分页和嵌套式回复。觉得有时间的话，是要考虑时下，与时俱进下，改进下Thin... ]]></description>
			<content:encoded><![CDATA[<p><img title="ajax" style="display: inline; margin: 0px 5px 5px 0px" alt="ajax" src="http://www.thinkagain.cn/wp-content/uploads/2008/12/ajax.jpg" align="left" /> 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。）。先找几个借口搪塞下，比方说：</p>
<p>“最近比较忙”，呸，老套! <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' />  </p>
<p>“最近没心情”，嗯，有点挂谱，  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' />  </p>
<p>哎，找个理由其实也是蛮难的。看来，也得将嘴拙这列到缺点清单去了。</p>
<p>最近，最新版的wordpress 2.7带来了全新的后台界面，加入了大量的特效，极为漂亮。并且也新增了不少特性，如评论分页和嵌套式回复。觉得有时间的话，是要考虑时下，与时俱进下，改进下ThinkAgain的模板。另外，晚上和网友回mail的时候，看到他提及尝试给主题添加ajax评论等，看来ajax的应用似乎在wordpress越来越吃香了。咱也得跟上脚步，来写篇ajax相关文章。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  </p>
<p>什么是ajax？这问题问得多好哈。晕倒先。如果对该标题没有兴趣的童鞋可以就此打住不用看了。ajax全称为Asynchronous JavaScript and XML，是一种基于javascript的动态网页开发技术吧。可以说ajax技术的发展极大扩展了javascript的应用。简单地一句话概括，利用javascript将用户请求发送给服务器，服务器接收后处理请求并将结果反馈javascript，最后javascript将结果显示在网页上。原理知道后，可以得知了需要代码处理的也就是对应这么3个步骤了：</p>
<p>1. 如何利用javascript将数据提交给服务器？</p>
<p>2. 服务器如何处理请求？</p>
<p>3. 如何处理服务器的反馈。</p>
<p>貌似很复杂吗？又是javascript，又是服务器处理等等。其实不然啦，别忘了有很多高手早就给小白们开发了一大箩筐好东西了。比如，jquery。</p>
<p>什么是jquery？又来了，<a href="http://www.google.com/search?hl=en&amp;q=jquery" target="_blank">Google去吧</a>。jquery是个javascript库，其内置了非常强大且简单调用的ajax支持。这点是我们想使用的。而从2.3起，wordpress已经内置jquery了，只是在应用jquery上，在代码撰写上和原jquery略有不同而已，见文末补充资料2。</p>
<p>好了，既然wordpress已经内置jquery了，问题似乎很容易解决了。可以利用jquery来提交和处理ajax请求，用wordpress来搞定ajax请求。一切都是wordpress现成的，我们所做的只是如何<strong><u>合理地调用</u></strong>了。回顾下我们的口号，嘿嘿：</p>
<p>“没有蛀牙”。？？？有没有搞错？说起口号，顺口就喊上了，更正下，应该是：</p>
<p>“<strong><u>最大化利用Wordpress内置资源</u></strong>。”</p>
<p>废话一大堆，转入正题，12行代码就可以给主题挂上ajax？当然，没有搞错了，继续滚动鼠标往下看。<u><strong>这里假设，读者能简单修改php，且愿意动手测试（否则也很难体会其中乐趣了）</strong></u>。</p>
<p>先贴上代码。<u><strong>建议在本地服务器上测试</strong></u>。</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> &lt;?php wp_enqueue_script(<span style="color: #006080">'jquery'</span>);?&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> &lt;script type=<span style="color: #006080">'text/javascript'</span>&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span> function my_ajax_example(){</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     jQuery.post(<span style="color: #006080">&quot;&lt;?php echo get_option('siteurl');?&gt;/wp-admin/admin-ajax.php&quot;</span>,</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     {action:<span style="color: #006080">&quot;my_ajax&quot;</span>},</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>     function(str){jQuery(<span style="color: #006080">&quot;#ajaxtest&quot;</span>).append(str);});}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span> &lt;/script&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span> &lt;?php add_action(<span style="color: #006080">'wp_ajax_my_ajax'</span>, <span style="color: #006080">'my_ajax_example'</span>);?&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span> &lt;?php    function my_ajax_example(){ ;?&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span> &lt;?php    echo <span style="color: #006080">'&lt;b&gt;I LOVE WORDPRESS!!!&lt;/b&gt;'</span>;    ?&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span> &lt;?php    exit;};?&gt;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span> &lt;input type=<span style="color: #006080">&quot;button&quot;</span> <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;My Ajax Example&quot;</span> onclick=<span style="color: #006080">&quot;my_ajax_example();&quot;</span>&gt;&lt;div id=<span style="color: #006080">&quot;ajaxtest&quot;</span>&gt;&lt;/div&gt;</pre>
</p></div>
</div>
<p><u>步骤1</u>：将第1-7行代码放到<u>header.php内&lt;/head&gt;</u>标签前面。用wp_enqueue_script来加载wp内置的jquery库，2-7行是加载测试用的js代码。其中调用jquery的post函数来发送ajax请求和接收反馈。</p>
<p><u>步骤2</u>：将第8-11行代码添加到<u>functions.php</u>里面。任意位置即可。但要注意不要出现语法错误。第8行将自定义函数my_ajax_example添加到wp的ajax api接口。9-11行定义了接收ajax请求后的处理和输出内容。这里比较简单，只是输出反馈给js这么一句发自内心的话：“<strong>I LOVE WORDPRESS!!!</strong>”。</p>
<p><u>步骤3</u>：将第12行代码添加到主题模板内拟显示ajax测试效果的地方。随便找个地方如single.php等添加进去。这行代码将会输出一个名为My Ajax Example的按钮，点击这个按钮后，即会发出一个ajax请求，然后显示ajax的反馈效果。这里是在按钮下面输出“<strong>I LOVE WORDPRESS!!!</strong>”。注意，用户应该要根据自己的需求，如ajax评论等，来修改接收ajax请求的函数内容。比如，ajax评论的话，这里就需要定义数据库全局变量$wpdb，然后添加其它语句用于将评论添加到数据库内。</p>
<p>通过这几行简单的代码，已经给wordpress主题挂上了Ajax。当然，这是个非常简单的，利用wordpress提供的api和内置的jquery进行ajax应用的例子。<strong><u>通过这个例子，主要是想提醒Developer们，可以利用wordpress提供ajax的api接口来添加ajax</u></strong>。至于其它应用么，那是<u><strong>**带进门，修行呢是要靠个人</strong></u>的。另外，ajax的应用，还有很多要注意，比如安全性等等。这些进门后，自己都要好好考虑的。换句话说，我还没认真考虑呢。p.s，注意利用wordpress的check_ajax_referer()。</p>
<p>上面的代码测试完毕了吧。嗯，似乎少了点什么？怎么没有骨碌碌转的东西，比如这个：</p>
<p><img title="loading" alt="loading" src="http://www.thinkagain.cn/wp-content/uploads/2008/12/loading.gif" /> </p>
<p>实现这个也很简单。多加2行代码即是了。</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> function my_ajax_example(){</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>     jQuery(<span style="color: #006080">&quot;#ajaxtest&quot;</span>).append(<span style="color: #006080">'&lt;img src=&quot;http://www.thinkagain.cn/wp-content/uploads/2008/12/loading.gif&quot;/&gt;'</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>     jQuery.post(<span style="color: #006080">&quot;&lt;?php echo get_option('siteurl');?&gt;/wp-admin/admin-ajax.php&quot;</span>,{action:<span style="color: #006080">&quot;my_ajax&quot;</span>},</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     function(str){</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     jQuery(<span style="color: #006080">&quot;#ajaxtest&quot;</span>).empty();</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>     jQuery(<span style="color: #006080">&quot;#ajaxtest&quot;</span>).append(str);});}</pre>
</div>
</div>
<p>注意，是添加了</p>
<p><strong>语句1，</strong>jQuery(&quot;#ajaxtest&quot;).append(&#8216;&lt;img src=&quot;http://www.thinkagain.cn/wp-content/uploads/2008/12/loading.gif&quot;/&gt;&#8217;);</p>
<p>即在显示内容前，显示该loading图片。建议将这个图片地址改为本地地址，这样加载速度会快些。以及</p>
<p><strong>语句2.</strong>jQuery(&quot;#ajaxtest&quot;).empty();</p>
<p>在显示内容前，将原内容清空。</p>
<p>p.s，加载内容前显示这种loading图片似乎是ajax的惯例了。处理方法也不单单是上面代码提到的这种，也可以利用jquery提供的其它ajax事件来激活。</p>
<p>&#160;</p>
<p><strong>补充资料，有兴趣延伸阅读下，（授之以渔）：</strong></p>
<p>1. WordPress ajax api接口</p>
<p>用文本编辑器打开wp-admin/admin-ajax.php文件，注意Line1040（2.7版）的这行代码：do_action( &#8216;wp_ajax_&#8217; . $_POST['action'] );</p>
<p>所以，上述代码中第5行，就是提交了一个action变量，其值为“myajax”；</p>
<p>2. wordpress中jquery的应用：</p>
<p>要注意，<u><strong>调用jquery是用jQuery代替$</strong></u>。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/1030.html#comments">评论35:</a></p><p><strong>35.</strong><i>2011.06.01.7:58.pm</i>.&nbsp;<a href="http://www.nianqing.info">NianQing</a>: AJAX是个好东西</p><p><strong>34.</strong><i>2010.04.10.5:28.pm</i>.&nbsp;<a href="http://diglife.info">Terry</a>: 唉，主题不支持ajax，装了@reply或者wp thread comments 都用不了，该怎么办呢~~</p><p><strong>33.</strong><i>2009.12.30.1:18.am</i>.&nbsp;<a href="http://imn.im">Nox</a>: 我还是实现不了这个功能。哭泣啊。。</p><p><strong>32.</strong><i>2009.12.19.4:32.am</i>.&nbsp;Charles: <a href="#comment-110208" rel="nofollow">@我被WordPress中的admin_ajax折腾着 | Jinwen Say </a>
有没有解决办法呀？</p><p><strong>31.</strong><i>2009.06.27.9:56.am</i>.&nbsp;<a href="http://digau.cn">bolo</a>: 好东西啊，学习了</p><p><strong>30.</strong><i>2009.06.19.4:32.pm</i>.&nbsp;<a href="http://nophoebe.cn">忘记月亮</a>: 收藏</p><p><strong>29.</strong><i>2009.05.30.10:25.am</i>.&nbsp;<a href="http://www.xingzou.org/">SMILE</a>: <a href="#comment-110172" rel="nofollow">@Jinwen </a>一样..</p><p><strong>28.</strong><i>2009.05.17.6:27.pm</i>.&nbsp;<a href="http://www.saywp.com/wordpress/how-using-admin-ajax.html">我被WordPress中的admin_ajax折腾着 | Jinwen Say</a>: [...] 最后我找到12行代码给Wordpress主题挂上AJAX这篇文章提及到这个admin_ajax_函数接口的简单例子，自己尝试再更改主题的ajax调用，结果就是成功了！但是……条件是在Firefox下，在IE下会输出一个，仅仅一个数值：“-1”。失败。。。 [...]</p><p><strong>27.</strong><i>2009.05.17.4:09.am</i>.&nbsp;<a href="http://www.saywp.com">Jinwen</a>: 我这天在试，你有没有发现代码的效果只在FF下有效？在IE下会输出一个“-1”，却得不到正确的值？有没有解决的办法？</p><p><strong>26.</strong><i>2009.04.10.9:45.am</i>.&nbsp;<a href="http://www.ttune.net.ru">小T</a>: 写得真不错，现在还用不上 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' /> </p><p><strong>25.</strong><i>2009.03.24.11:21.am</i>.&nbsp;<a href="http://lostindream.com">lostindream</a>: 强悍，测试</p><p><strong>24.</strong><i>2009.02.19.9:20.pm</i>.&nbsp;<a href="http://www.showfom.com/">Showfom</a>: 2.7也能用的吧</p><p><strong>23.</strong><i>2009.02.17.9:12.am</i>.&nbsp;<a href="http://www.idoin.com">Idoin</a>: ajax不熟悉，不过看你的教程应该可以搞定，不错。</p><p><strong>22.</strong><i>2009.01.23.4:42.pm</i>.&nbsp;<a href="http://partof.cn">chommy</a>: 直接复制代码么，有什么语法要求呢。貌似我那里不成功。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p><p><strong>21.</strong><i>2009.01.10.5:29.pm</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 感觉好复杂，还是先不要了，有你的回复插件就可以啦！</p><p><strong>20.</strong><i>2009.01.01.6:32.pm</i>.&nbsp;<a href="http://www.snowyy.com/">Snowyy</a>: 入门，嗯，适合我这般菜鸟，考完试再慢慢研究！谢谢你的教程！</p><p><strong>19.</strong><i>2009.01.01.3:34.pm</i>.&nbsp;<a href="http://www.coent.cn">Coent</a>: 没用过JQUERY,以后再研究</p><p><strong>18.</strong><i>2009.01.01.1:03.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-84506" rel="nofollow">@solincess </a>链接地址已经该啦。Happy New Year！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>17.</strong><i>2009.01.01.11:35.am</i>.&nbsp;<a href="http://www.thewonder.cn">solincess</a>: 你好，我是驴头狗尾的博主，现在原来的boryee.cn域名不用了，改用www.TheWonder.cn了，麻烦你改一下链接，谢啦。</p><p><strong>16.</strong><i>2008.12.29.7:35.pm</i>.&nbsp;<a href="http://cs72.com">kerby</a>: 我是来测试留言的 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>15.</strong><i>2008.12.29.11:29.am</i>.&nbsp;<a href="http://www.panyuye.com">醉倚西风</a>: loading图片很好看</p><p><strong>14.</strong><i>2008.12.25.2:25.pm</i>.&nbsp;<a href="http://mlyang.cn">牧狼羊</a>: 呵呵，博主心情貌似不错，这篇日志写得很有调皮的味道啊。
圣诞快乐，哈哈</p><p><strong>13.</strong><i>2008.12.25.8:58.am</i>.&nbsp;<a href="http://booto.net">Kimcool</a>: Merry Christmas.</p><p><strong>12.</strong><i>2008.12.21.10:18.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 这些技术性太强的我没有什么天赋去懂，只关注现成的活！</p><p><strong>11.</strong><i>2008.12.21.2:11.pm</i>.&nbsp;<a href="http://photozero.net/">neekey</a>: 了解了解～
不知道ThinkAgain最近有什么插件大作？</p><p><strong>10.</strong><i>2008.12.21.12:15.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: wordpress内置的东西太多了，　但用上了的又太少了</p><p><strong>9.</strong><i>2008.12.20.3:40.pm</i>.&nbsp;<a href="http://getfreeware.net">i.robot</a>: 其实早就想看看ajax和wordpress插件的东西,但是一直也是给自己找借口,哈哈,太懒了 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>8.</strong><i>2008.12.20.1:16.am</i>.&nbsp;<a href="http://www.linxo.cn">ZH CEXO</a>: 好玩的东西，先收着~</p><p><strong>7.</strong><i>2008.12.20.12:09.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-81412" rel="nofollow">@冰古 </a>这就是wordpress最吸引人的地方了。
<a href="#comment-81495" rel="nofollow">@i.robot </a>和<a href="#comment-81709" rel="nofollow">@辐射鱼 </a>这里只是抛砖引玉，真正的帅是要自己弄出来的。
<a href="#comment-81736" rel="nofollow">@MY-Hou </a>安全第一麽。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  
<a href="#comment-81750" rel="nofollow">@Yacca </a>想要上效果的话，好好利用wordpress内置的javascript库，如jquery和其插件dimension，UI等等。你的主题会变得很炫的。</p><p><strong>6.</strong><i>2008.12.20.12:02.am</i>.&nbsp;<a href="http://www.eemir3.com/">Yacca</a>: 不小心又一次抛砖引玉了 哈哈...ajax的确帅气,我宁可损失图片,也要上效果啊 哈哈</p><p><strong>5.</strong><i>2008.12.19.11:10.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 一切...都先走本地  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>4.</strong><i>2008.12.19.9:41.pm</i>.&nbsp;<a href="http://eachsite.org">辐射鱼</a>: 帅帅的特效</p><p><strong>3.</strong><i>2008.12.19.9:01.pm</i>.&nbsp;<a href="http://www.showfom.com/">Showfom</a>: 不错，支持个！</p><p><strong>2.</strong><i>2008.12.19.10:33.am</i>.&nbsp;<a href="http://getfreeware.net">i.robot</a>: 先收下了，有时间在仔细研究，嘿嘿</p><p><strong>1.</strong><i>2008.12.19.2:43.am</i>.&nbsp;<a href="http://bingu.net">冰古</a>: WordPress内置的函数功能太丰富了。</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.09.09.8:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/994.html" title="今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程">Wordpress Hacks:WP2.2版后中文邮件标题乱码解决方法 (22)</a></p><p><i>2008.07.29.9:05.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/975.html" title="本文将继续来探讨Wordpress数据库查询的相关话题。文一里，我们知道了WP各">Wordpress数据库查询三板斧之三:如何查看WP数据库查询的具体内容 (7)</a></p><p><i>2008.07.28.10:25.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/974.html" title="网上很多都在谈如何关闭WP2.6的修订记录保存功能。想必已经有很多WP爱好">Wordpress Tips：如何使用自动保存的修订记录 (8)</a></p><p><i>2008.07.27.12:02.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/973.html" title="自2.5起，WP提供了在线编辑时的自动保存功能。自然也是有利有弊。弊么，">Wordpress Hacks：如何管理WP自动保存功能 (10)</a></p><p><i>2008.07.27.10:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/971.html" title="WP2.6带来了很多新功能。如后台的turbo等。相比2.3到2.5，2.5到2.6之间给我的">Wordpress Hacks:如何关闭WP2.6的主题预览 (18)</a></p><p><i>2008.07.25.1:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/969.html" title="Updated: 2008-07-26，更新Hook代码。  续上文，通过Wordpress基准页面数据库查询">Wordpress数据库查询三板斧之二:如何减少WP数据库查询次数和提高运行效率 (12)</a></p><p><i>2008.07.20.8:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/966.html" title="看了下面这张抓图，你就知道我为什么要做这个统计了。  
   昨晚上在DH的">Wordpress数据库查询三板斧之一:WP基准页面数据库查询次数统计 (12)</a></p><p><i>2008.07.16.12:15.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/954.html" title="升级至2.6后，除了插件管理页的布局更改外，似乎还没注意到其它显著的变">启用WP2.6 Turbo功能Step by Step (10)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/1030.html/feed</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Hot friends新增支持用户自定义头像显示</title>
		<link>http://www.thinkagain.cn/archives/1029.html</link>
		<comments>http://www.thinkagain.cn/archives/1029.html#comments</comments>
		<pubDate>Sun, 07 Dec 2008 13:51:18 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Gravatar]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=1029</guid>
		<description><![CDATA[这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在自己的侧边栏挂上了Google Friend Connect的Widget。整天都不知道要收到N封邀请信。自己的网站也早就通过了Google的验证，然... ]]></description>
			<content:encoded><![CDATA[<p><img title="Gravatar" style="display: inline; margin: 0px 10px 5px 0px" alt="Gravatar" src="http://www.thinkagain.cn/wp-content/uploads/2008/03/gravatar_logo.gif" align="left" /> 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在自己的侧边栏挂上了Google Friend Connect的Widget。整天都不知道要收到N封邀请信。自己的网站也早就通过了Google的验证，然而看见闹得这么热乎，反而不想凑热闹了。倒是看着一大堆好友的头像在侧边栏显示，突然想起来，既然Wordpress支持Avatar（Gravatar），干嘛不给Hot friends添加用户自定义头像显示功能呢？</p>
<p>于是乎，三下五除二写好代码，在本站上先挂上测试，也测试了2.7RC1版。貌似没有什么问题了，才上传到WP官方库，将Hot Friends升级到1.4版。</p>
<p>新版主要功能就是新增了对用户自定义头像的支持，插件会自动定期查询用户的最新邮件地址以获取头像地址，并缓存到数据库中。注意，仅仅是缓存头像地址，并不是缓存图片。然后，在页面打开时，根据缓存的头像地址到Gravatar网站去加载头像。这样做法，其一是能保证用户头像都是最新的，其二就是不缓存图片以减少站点的流量。当然缺点就是显示图片时要到Gravatar网站上去加载，所以速度上可能会有些影响。</p>
<p>现在通过在后台选项管理页面，管理者可以选择用链接输出或用用户头像（Wordpress支持的Avatar头像）来显示Hot Friends。<strong>注意，插件默认还是用链接显示Hot Friends。</strong></p>
<p><img title="Hot friends头像选项" alt="Hot friends头像选项" src="http://www.thinkagain.cn/wp-content/uploads/2008/12/hot_friends_options.jpg" /></p>
<p>效果显示：</p>
<p>1. 原来的链接输出方式</p>
<p><img title="Hot friends链接显示" alt="Hot friends链接显示" src="http://www.thinkagain.cn/wp-content/uploads/2008/12/hotfriends_links.jpg" /> </p>
<p>2. 用户头像输出方式，如下图，或参照本站侧边栏。</p>
<p><img title="Hot friends头像" alt="Hot friends头像" src="http://www.thinkagain.cn/wp-content/uploads/2008/12/hotfriends_avatars.jpg" /> </p>
<p>至于，是否显示描述，以及评论数目等，和原来一样，管理者可以在后台设置。注意，新增了Hot Friends头像选项，如下图：</p>
<p><a title="Hot friends头像选项" href="http://www.thinkagain.cn/wp-content/uploads/2008/12/hot_friends_avatar_setting.jpg" target="_blank"><img title="Hot friends头像选项" height="91" alt="Hot friends头像选项" src="http://www.thinkagain.cn/wp-content/uploads/2008/12/hot_friends_avatar_setting.jpg" width="400" /></a> </p>
<p>在这里，管理者可以设置，头像的大小和头像的边距。<strong>默认头像大小和边距分别为32px和5px 0px 0px 5px。请务必根据自己侧边栏的宽度自行设置这两个值。</strong>p.s，Gravatar支持的图片为96px，所以图片大小最好不要超过96px。边距5px 0px 0px 5px分别指的是上，右，下，和左边距。</p>
<p>除了用函数hot_friends()调用外，如果模板支持widget的话，也可以通过调用Hot Friends的widget来显示Hot Friends。当然两种方式生成HTML代码都符合W3C标准。</p>
<p>请到<a href="http://wordpress.org/extend/plugins/hot-friends/" target="_blank">WP官方地址</a>下载Hot Friends插件。有帐号的朋友，别忘了投上一票哦。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/1029.html#comments">评论65:</a></p><p><strong>65.</strong><i>2011.08.19.8:32.am</i>.&nbsp;<a href="http://xfeng.me">小峰JoysBoy</a>: 帅气的插件，一直在用，不过是专门建了个页面来显示友链，现在想在侧栏也显示，但是和之前也没的头像大小就有冲突了，调用函数时有没有什么参数可以控制大小</p><p><strong>64.</strong><i>2010.11.09.1:22.pm</i>.&nbsp;<a href="http://moghania.com">moghania</a>: 为什么不能正确显示头像呢，显示的全是wordpress内置的头像，而在评论页却能看到头像。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p><p><strong>63.</strong><i>2010.01.06.6:25.pm</i>.&nbsp;<a href="http://diedtree.com">归臧</a>: <a href="#comment-80637" rel="nofollow">@hiusan </a>就是就是 ，找了好就都没有找到</p><p><strong>62.</strong><i>2010.01.02.9:24.pm</i>.&nbsp;<a href="http://www.goocn.com">vsweb</a>: 哈哈 好东西啊 收藏啦</p><p><strong>61.</strong><i>2009.12.28.4:19.pm</i>.&nbsp;<a href="http://suoflife.com">su</a>: 请教个问题，单独开一个链接页面然后调用这个插件该怎么操作？</p><p><strong>60.</strong><i>2009.09.04.10:49.am</i>.&nbsp;<a href="http://www.mukispace.com">muki</a>: 我同樣出現跟59F一樣的問題
是在發表迴響的時候出錯</p><p><strong>59.</strong><i>2009.05.25.1:35.pm</i>.&nbsp;<a href="http://hi1980.com/">wulinfo</a>: require_once("wp-admin/includes/bookmark.php");
对这段includes，产生问题
错误如下，是否路径存在问题
Warning: require_once(wp-admin/includes/bookmark.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/h/i/1/hi1980/html/blog/wp-content/plugins/hot-friends/hot_friends_functions.php on line 292</p><p><strong>58.</strong><i>2009.03.29.3:25.pm</i>.&nbsp;<a href="http://hi1980.com/">wulifo</a>: Warning: htmlspecialchars_decode() expects parameter 1 to be string, NULL given in ../blog/wp-includes/compat.php on line 105
这个问题最后发现是Zend版本过低问题</p><p><strong>57.</strong><i>2009.03.28.10:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-101040" rel="nofollow">@wulifo </a>用户的头像是根据他们自己在gravatar网站注册的图像来显示的，每次显示也是从gravatar网站调用，并不存在数据表缓存问题。
htmlspecialchars_decode，这是个php的内置函数，不过，有不少网友都碰到了这个问题，可能得考虑个替换函数，或修正这个bug了。</p><p><strong>56.</strong><i>2009.03.27.7:51.pm</i>.&nbsp;<a href="http://hi1980.com/">wulifo</a>: 还有当用户已经注册了头像，但依然显示之前的替代头像，是否因为数据表中的缓存</p><p><strong>55.</strong><i>2009.03.27.7:42.pm</i>.&nbsp;<a href="http://hi1980.com/">wulifo</a>: 后台设置页面显示：Warning: htmlspecialchars_decode() expects parameter 1 to be string, NULL given in ../blog/wp-includes/compat.php on line 105</p><p><strong>54.</strong><i>2009.03.27.12:48.pm</i>.&nbsp;<a href="http://hi1980.com/">wulifo</a>: <a href="#comment-100947" rel="nofollow">@山之岚 </a>这样就无法区分了，就像我站点上显示的一样</p><p><strong>53.</strong><i>2009.03.27.12:27.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-100820" rel="nofollow">@wulifo </a>嗨，谢谢你的意见。该插件并没有设置gravatar的选项。如果友链没有自定义头像，会由wp自动根据后台设置选用一个头像。p.s，在wp后台discussion页面。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>52.</strong><i>2009.03.27.2:42.am</i>.&nbsp;<a href="http://hi1980.com/">wulifo</a>: 我觉得应该在后台添加一个博主自定义友链头像功能，毕竟不是每个友链都有Gravatar头像，希望博主考虑一下</p><p><strong>51.</strong><i>2009.03.04.10:15.pm</i>.&nbsp;<a href="http://www.renshengblog.com/">享受人生</a>: 好阿，不错的东西，要用要用</p><p><strong>50.</strong><i>2009.02.21.4:06.pm</i>.&nbsp;<a href="http://www.that5.com">that5</a>: 找了好久,还是这个好,谢谢啊</p><p><strong>49.</strong><i>2009.01.22.8:56.am</i>.&nbsp;<a href="http://bbs.guaniu.com">Leeiio</a>: 我是用jquery讓連接前面顯示該網站的favicon呵呵，如果插件能集成這個就更好了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>48.</strong><i>2009.01.15.5:35.pm</i>.&nbsp;<a href="http://www.nooidea.com">nooidea</a>: 只可惜当前的主题不好使。。。

等等再说吧  还好没删一直后天升级呢</p><p><strong>47.</strong><i>2009.01.08.5:41.pm</i>.&nbsp;<a href="http://www.alexblog.cn">alex</a>: 这个功能太棒了，本来准备上马Google Friend Connect的，现在直接升级hot Friend就OK了，强烈支持，新年好运</p><p><strong>46.</strong><i>2009.01.01.6:30.pm</i>.&nbsp;<a href="http://www.snowyy.com/">Snowyy</a>: 新年おめでとう！感谢山之岚兄的优插！

嗯，如果你不介意我没有为你量身定做新年贺词，那请接受这个无差别的祝福：祝你在2009年每天都能有或大或小的不常识惊喜[]~(￣▽￣)~*</p><p><strong>45.</strong><i>2008.12.25.5:25.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">琪琪老爸</a>: 好久没来了。先更新了这个插件，用上了这个功能，真的不错.</p><p><strong>44.</strong><i>2008.12.25.10:37.am</i>.&nbsp;<a href="http://www.underone.com">underone</a>: 帅，这个不错</p><p><strong>43.</strong><i>2008.12.23.9:40.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-82705" rel="nofollow">@醉倚西风 </a>hot friends插件内并没有和评论相关的代码，所以理论上是不会造成评论问题或错误的。请将出错的信息提供出来分析看看。</p><p><strong>42.</strong><i>2008.12.23.12:12.pm</i>.&nbsp;<a href="http://wpcn.net.ru">文痞</a>: 这个插件好啊，俺就去用用～～～～ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>41.</strong><i>2008.12.23.12:15.am</i>.&nbsp;<a href="http://www.panyuye.com">醉倚西风</a>: 不敢用这个插件 在我那里评论就错误评论就错误 郁闷</p><p><strong>40.</strong><i>2008.12.18.11:54.pm</i>.&nbsp;<a href="http://www.mygtd.cn">mygtd</a>: 效果看起来不错，看来我也得自己试试放在自己的BLOG，呵呵，要努力学习学习。</p><p><strong>39.</strong><i>2008.12.14.12:08.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80669" rel="nofollow">@JoBru </a>具体出现什么问题？</p><p><strong>38.</strong><i>2008.12.13.9:28.pm</i>.&nbsp;<a href="http://jobru.net">JoBru</a>: ^为什么我上面就是用不了，到底和哪冲突了～(- -!)</p><p><strong>37.</strong><i>2008.12.13.7:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80650" rel="nofollow">@i.robot </a>山寨版google friend connect，呵呵，被冠上这个名称还挺有意思的。</p><p><strong>36.</strong><i>2008.12.13.6:11.pm</i>.&nbsp;<a href="http://getfreeware.net">i.robot</a>: 没想到我这么少评论都上榜了啊, 偷偷乐一下:D
我觉得这样比原来看上去好多了, 神似山寨Google Friend Connect, 帮你在鲜果推荐一把.</p><p><strong>35.</strong><i>2008.12.13.4:48.pm</i>.&nbsp;<a href="http://yanxc.com">hiusan</a>: GG这个功能在国内确是不怎么实用（至少目前来说）。不过似乎都没有找一个更好的可以把各个博客联系起来的一个平台。就如百度空间那样。</p><p><strong>34.</strong><i>2008.12.13.1:56.am</i>.&nbsp;<a href="http://seosem.ws">dumu</a>: 在一个博客挂了一阵，没有足够的魅力多吸引几个人就撤掉了</p><p><strong>33.</strong><i>2008.12.13.1:55.am</i>.&nbsp;<a href="http://seosem.ws">独木</a>: 在一个博客挂了一阵，没有足够的魅力多吸引几个人就撤掉了</p><p><strong>32.</strong><i>2008.12.12.10:14.pm</i>.&nbsp;<a href="http://014.cc">Dianso</a>: 我也要用上</p><p><strong>31.</strong><i>2008.12.12.12:41.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 已经升级了，但还不知道这玩意，马上到后台设置设置！</p><p><strong>30.</strong><i>2008.12.11.12:25.pm</i>.&nbsp;<a href="http://www.allove.org">sunjian</a>: 9494  我也用上勒    <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>29.</strong><i>2008.12.11.12:36.am</i>.&nbsp;<a href="http://mlyang.cn">牧狼羊</a>: 这位仁兄现在非常的与时俱进啊，赞一个。
不过我首页图片够多了，还是文字多一些比较好。</p><p><strong>28.</strong><i>2008.12.09.4:03.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: <a href="#comment-80031" rel="nofollow">@山之岚 </a>我的站是正常的啊，有几个文件此前上传时0KB，所以可能有些不正常，现在重新检查过了。现在这个空间是不会轻易挂掉的，狗爸爸的，独立IP，挂了也可以马上搞定</p><p><strong>27.</strong><i>2008.12.09.12:37.am</i>.&nbsp;<a href="http://smartr.cn">Jinwen</a>: 这个好，我喜欢看大家的头像，支持 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_exclaim.gif' alt=':!:' class='wp-smiley' /> </p><p><strong>26.</strong><i>2008.12.08.9:34.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-79909" rel="nofollow">@MY-Hou </a>网址已更正啦， <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  
<a href="#comment-80005" rel="nofollow">@shamas </a>1.4.1版已发布，已修正该问题了。谢谢提醒。发布一个插件后，就是不断地补丁啊补丁。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  。p.s，你的站点貌似又挂了。
<a href="#comment-79980" rel="nofollow">@冰古 </a>说明你还是很积极向上滴。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  
<a href="#comment-79905" rel="nofollow">@Luc </a>和<a href="#comment-79906" rel="nofollow">@xiaorsz </a>欢迎试用啊。可别忘了多提建议和意见。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  
<a href="#comment-80001" rel="nofollow">@浮黑 </a>嘿，好好改进，积极向上麽。
<a href="#comment-79993" rel="nofollow">@patrick </a>Gtalk已加。</p><p><strong>25.</strong><i>2008.12.08.5:52.pm</i>.&nbsp;<a href="http://niye.name/">NickyYe</a>: 真是越来越强大了，顶</p><p><strong>24.</strong><i>2008.12.08.4:24.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: <a href="#comment-79949" rel="nofollow">@辐射鱼 </a>sofish同学画在大脑中...</p><p><strong>23.</strong><i>2008.12.08.3:41.pm</i>.&nbsp;<a href="https://3284265.cn">shamas</a>: 改成头像后发现打开链接不能在新窗口了</p><p><strong>22.</strong><i>2008.12.08.3:37.pm</i>.&nbsp;<a href="http://surdark.net">浮黑</a>: 越来越完美了！</p><p><strong>21.</strong><i>2008.12.08.2:48.pm</i>.&nbsp;<a href="http://www.aftertown.cn">patrick</a>: 这个创意很是不错！这就用上 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />  
我加你的Gtalk了，不知你一般什么时间有空？想请教你一个问题 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' /> </p><p><strong>20.</strong><i>2008.12.08.1:47.pm</i>.&nbsp;<a href="https://3284265.cn">shamas</a>: 这个改进非常有意思啊呵</p><p><strong>19.</strong><i>2008.12.08.1:15.pm</i>.&nbsp;<a href="http://bingu.net">冰古</a>: 我也是火热的朋友啊 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>18.</strong><i>2008.12.08.1:14.pm</i>.&nbsp;<a href="http://www.linxo.cn">ZH CEXO</a>: 哇，又更新了，而且我看到了我在首页哦 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  不过我现在的友情链接不多，以后再用你开发的这个功能强大的东东~</p><p><strong>17.</strong><i>2008.12.08.12:20.pm</i>.&nbsp;<a href="http://pejag.cn">打篮球的手</a>: 效果很不错，这个插件越来越精品了</p><p><strong>16.</strong><i>2008.12.08.12:09.pm</i>.&nbsp;<a href="http://photozero.net/">neekey</a>: 很好很需要 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>15.</strong><i>2008.12.08.11:10.am</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: 这么这里也有霍霍呢……</p><p><strong>14.</strong><i>2008.12.08.11:05.am</i>.&nbsp;<a href="http://neolee.cn">老N</a>: 呵呵，这个有点❀，哈哈</p><p><strong>13.</strong><i>2008.12.08.10:47.am</i>.&nbsp;<a href="http://www.bssn.org">bssn</a>: 不错不错。我又一次被你的创意深深打动。</p><p><strong>12.</strong><i>2008.12.08.9:44.am</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 很不错的idea，你太有才了</p><p><strong>11.</strong><i>2008.12.08.9:30.am</i>.&nbsp;<a href="http://zuoshen.com">Donald</a>: 啊，這個特性不錯啊～側邊欄遍布Gravatar <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>10.</strong><i>2008.12.08.9:18.am</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: <a href="#comment-79943" rel="nofollow">@Yacca </a>新皮？在哪里？</p><p><strong>9.</strong><i>2008.12.08.9:15.am</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: 则个则个，太花骚了，撒花儿撒花儿</p><p><strong>8.</strong><i>2008.12.08.8:46.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 未来的新皮已在设计中...这个更新会让友链过于炫目滴-.- 哈哈...</p><p><strong>7.</strong><i>2008.12.08.6:13.am</i>.&nbsp;<a href="http://genmicha.cn">Chada</a>: wow，越来越棒了。

话说那个GFC，我也是很早就接到了邀请，但是在考虑到底要不要加上去，然后几天就过了，也无需邀请了，呵呵。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>6.</strong><i>2008.12.08.5:03.am</i>.&nbsp;<a href="http://54liby.cn">liby</a>: 嗯。。。有一个方便大家的插件</p><p><strong>5.</strong><i>2008.12.08.12:24.am</i>.&nbsp;<a href="http://ecvip.org">oxygen</a>: 你终于更新了，我来留个言，上镜一把 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>4.</strong><i>2008.12.08.12:24.am</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 最后那个网址给错了  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p><p><strong>3.</strong><i>2008.12.07.11:50.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 立即更新  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>2.</strong><i>2008.12.07.11:46.pm</i>.&nbsp;<a href="http://www.xiaorsz.com">xiaorsz</a>: 很强大！！越来越完善了！
有时间了要用下！！</p><p><strong>1.</strong><i>2008.12.07.11:14.pm</i>.&nbsp;<a href="http://www.igolb.com">Luc</a>: 这个件越来越好了，准备插上。跑这里回复下也感到荣幸 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> </p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.10.27.9:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html" title="如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。

其中hotfriends">从更新hot friends和mailtocmmenter谈起 (33)</a></p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2008.08.15.3:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/985.html" title="Updated: 2008-12-08. Latest version v1.4.1。
English user please goes to http://wordpress.org/ext">Wordpress插件: Hot Friends v1.4.1 (218)</a></p><p><i>2008.08.07.11:19.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/981.html" title="如题，将Hot Friends 1.0放上来内测。毕竟众人拾柴火焰高吧。功能方面，现阶">Hot Friends v1.0(Beta)内测 (52)</a></p><p><i>2008.08.03.11:23.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/978.html" title="难得一个周末呆在家里，想睡个懒觉都不行。隔壁的朝鲜学校的音乐CIRCLE的">鸟儿早起 (43)</a></p><p><i>2008.03.31.3:26.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/904.html" title="昨日在后台看到WP2.5发布之后，紧接着就到WP官方网站去下载了2.5版。除了">Wordpress Tips:如何使用WP2.5内置的Gravatar (21)</a></p><p><i>2007.12.09.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/889.html" title="先纠正一个错误，自己昨天在如何使用Wordpress内置的分页（Nextpage）功能？">Wordpress插件:whole_feed_output v0.1 (2)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/1029.html/feed</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
		<item>
		<title>从更新hot friends和mailtocmmenter谈起</title>
		<link>http://www.thinkagain.cn/archives/1024.html</link>
		<comments>http://www.thinkagain.cn/archives/1024.html#comments</comments>
		<pubDate>Mon, 27 Oct 2008 13:52:15 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/archives/1024.html</guid>
		<description><![CDATA[如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。
其中hotfriends新版并没有添加新功能。只是修改了文件名，避免在一些Wordpress平台上可能发生的兼容问题。一直在考虑在后台新增些... ]]></description>
			<content:encoded><![CDATA[<p>如题。将<a href="http://wordpress.org/extend/plugins/hot-friends/" target="_blank">Hot friends</a>和<a href="http://wordpress.org/extend/plugins/mailtocommenter/" target="_blank">mailtocommenter</a>插件分别更新到1.3.2和1.3版。</p>
<p>其中<a href="http://wordpress.org/extend/plugins/hot-friends/" target="_blank">hotfriends</a>新版并没有添加新功能。只是修改了文件名，避免在一些Wordpress平台上可能发生的兼容问题。一直在考虑在后台新增些管理方面的功能，暂时没有写出来。</p>
<p><a href="http://wordpress.org/extend/plugins/mailtocommenter/" target="_blank">mailtocommenter</a>方面主要是更正了几个Bug。这里谢谢网友<a href="http://golfreader.cn/" target="_blank">Joe</a>，他发现了@user选项的代码问题。以及在后台新添了几个设置选项。</p>
<p>1. 类似hot friends后台，新增了语言包的选项。用户可自行选择英文或中文。</p>
<p>2. 新添按钮的样式的设置选项。添加了@reply的图片。用户可设置成和@reply一样的显示效果，即@<a href="#" target="_blank">user</a>。</p>
<p>2个插件的共同修正地方是，全部将原来插件内的functions.php更名为pluginname_functions.php，以避免在一些wordpress平台上可能发生的兼容性问题。这个问题是前几天在帮<a href="http://zuoshen.com/" target="_blank">网友Donald</a>查看时候发现的。这里想以Donald的站点为例，详细谈谈修正插件的原因，请其他使用非官方Wordpress的网友注意。并把解决问题的思路过程写出来，供网友们在查询wp问题时参考用。</p>
<p>他的站点出现的问题是，一激活插件后，导致Mandigo模板的部分css代码无法加载，使得站点处于半裸奔状态。很明显是插件和模板的兼容问题。但深究下去，问题其实并不是那么简单。</p>
<p>首先，hot friends和mailtocommenter这2个插件并不涉及修改css等等。插件本身生成的html代码都符合w3c标准。所以怎么会造成css文件无法加载？这里先赞一下，Mandigo模板是相当的很不错，提供了相当多的选项供用户设置。而用户自定义这部分的css是通过php文件来动态实现的，即模板的style.css.php文件。问题就出在于，激活插件后，style.css.php这文件马上提示出现严重错误，报错退出。所以造成这部分css代码无法正常生成并被加载。而报错的原因竟然是functions.php里面的函数重复定义？Donald告诉，目前为止仅仅是启用我的这2个插件才会报错。于是分析下2个插件的共同点。原来都使用了这句代码：</p>
<p>include_once( &#8216;functions.php&#8217; );</p>
<p>这样问题就比较明朗了。因为我个人写插件习惯，总是在插件目录下建立一个functions.php文件，然后将插件的其它函数整理放入。这个做法是参照官方模板文件的写法的，每个模板下都可以建立一个functions.php，然后将该模板的自定义函数放在该文件内，这样模板被激活的时候会自动激活这些自定义函数。同样，卸载模板时，这些模板的自定义函数也将被卸载。换句话说，functions.php内定义的是本地函数。</p>
<p>但不知道为什么在他的站点的WP上竟然会重复运行这句代码，以致造成wordpress会再次加载Mandigo模板下的functions.php文件，所以造成出现函数重复定义，以致无法执行style.css.php文件生成css代码。</p>
<p>找到问题根源后，解决方法也很简单，将插件文件夹下的functions.php重命名为pluginname_functions.php，然后将该代码改为：</p>
<p>include_once( &#8216;pluginname_functions.php&#8217; );</p>
<p>保存退出。重新激活插件。果然一切正常了。</p>
<p>是插件的问题？或是插件和模板的兼容问题？因为很多网友都在使用这2个插件，且并没有反馈类似问题，所以到此为止，我以为是后者造成的。然而，请接下来看。</p>
<p>奇怪的是，我下载Mandigo模板，在本地测试，用的是wordpress官方2.6.2版，激活插件等，Mandigo模板的显示都没有问题。这就说明了，这2个插件，hot friends和mailtocommenter和Mandigo模板并不存在兼容性的问题。然而，为什么在Donald的站点上无法使用呢？继续对比下环境，php方面是没有问题，都是5.2版。唯一区别的是他站点用的是Wordpress中文版，具体是哪个中文版我没有仔细看。我用的是官方英文版。而为什么中文版会造成这个bug，我也无从查知。</p>
<p>按理，个人理解，制作wordpress中文版，仅需要的是修改了wordpress界面的中文语言包而已，并不需要涉及修改其它文件因为官方没有发布中文版或其它语种的官方版，中文版都是国内的wordpress爱好者在维护的。他们无私地为wordpress的中文化贡献了很多。很多中文版的发布都是紧跟官方版。可以想象这些爱好者为了wordpress的中文化牺牲了多少个人时间。<u>这里向这些无私的网友们致敬。</u></p>
<p>嘿嘿，我在wordpress中文论坛当版主的那段日子内，常碰到一些网友的wp博客出现因中文版造成的问题，而<u>我个人的观点也是想玩wordpress的话，最好是安装原汁原味的官方版</u>。然后，根据自己的需要，自行修改代码，这样出现问题时，查错就比较简单了。再次强调下，<u>我个人并不反对使用中文版，也并不是在诋毁中文版制作者</u>。因为很多时候，一些中文版会修改些wordpress的源代码，（因为wordpress一些源代码的确有些效率问题。然而，wordpress考虑更多的是兼容性问题，为了给开发者制作插件或模板的其开放的api，效率和兼容，就好比是跷跷板。）。而正是这些修改后的源代码很容易造成问题。而大部分用户并不不会知道那部分代码被修改过，以致出现模板或插件的使用问题时，仅仅是三个字，“不兼容”。也容易造成问题根源很难被发现并解决。</p>
<p>为此，这里对中文版制作者友情建议下，制作中文版时候，<u><strong>如果涉及修改了源代码，请务必将修改之处在发布时说明</strong></u>。</p>
<p>最后，<u><strong>再次感谢你们的无私奉献。无意冒犯之处请见谅。</strong></u></p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/1024.html#comments">评论33:</a></p><p><strong>33.</strong><i>2008.12.19.12:06.am</i>.&nbsp;<a href="http://www.eryi.cn/">深红色</a>: 发现楼主人真不错。</p><p><strong>32.</strong><i>2008.11.22.12:20.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-78121" rel="nofollow">@辐射鱼 </a>那看来得去下载安装个2.7看看了。呵呵。谢谢提醒。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> </p><p><strong>31.</strong><i>2008.11.22.12:14.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: <a href="#comment-78119" rel="nofollow">@山之岚 </a>2.7自定义了一个回复按钮，mailtocommenter放上去就会有两个回复按钮啦，你该更新了，hoho</p><p><strong>30.</strong><i>2008.11.22.12:10.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-77928" rel="nofollow">@辐射鱼 </a>目前还没有试用过2.7，但我想从原理上来说，mailtocommenter应该是兼容2.7的吧。</p><p><strong>29.</strong><i>2008.11.21.2:17.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: 辛苦了，什么时候兼容下 Wordpress2.7 呢？我实在不想有两个<strong> “回复”</strong> 按钮啊</p><p><strong>28.</strong><i>2008.11.15.2:44.pm</i>.&nbsp;<a href="http://www.leinky.com">小墨</a>: 那我以后还是装原版wordpress了，反正后台也熟悉了~~</p><p><strong>27.</strong><i>2008.11.10.10:30.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76498" rel="nofollow">@liby </a>mailtocommenter在自动更新时，应该是不会覆盖原来的设定的。记得我已经修正过这个bug了。但自动更新插件的时候，wp会先将原插件目录删掉的，所以建议你不要将图片等放在插件目录下。你可以将图片放在站点其它目录，然后在后台正确设置其图片地址就可以了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>26.</strong><i>2008.11.09.9:19.pm</i>.&nbsp;<a href="http://54liby.cn">liby</a>: mailtocommenter如果用自动更新插件的话,之前上传过的PNG图片或设置都要重新再搞一遍...  还是支持</p><p><strong>25.</strong><i>2008.11.08.11:12.am</i>.&nbsp;<a href="http://zuoshen.com">Donald</a>: 呃，刚看到这篇文章。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  那天真是麻烦了山之岚很久,在这里再次谢谢:mrgreen: 。通过这件事我也决定还是用官方版的WordPress了。如果有什么问题也比较好分析...

山之岚是个很认真的人:)</p><p><strong>24.</strong><i>2008.11.02.4:38.am</i>.&nbsp;<a href="http://www.xuedudou.cn">小肚生鱼汤</a>: 有没想过其他的插件作品?hehe</p><p><strong>23.</strong><i>2008.11.01.9:25.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 从白到黑，跨度非常大。</p><p><strong>22.</strong><i>2008.11.01.12:31.am</i>.&nbsp;<a href="http://heyi.name">HE Yi</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  新主题，很漂亮，很强大。</p><p><strong>21.</strong><i>2008.10.31.8:52.pm</i>.&nbsp;<a href="http://getfreeware.net">irobot</a>: 好黑啊 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>20.</strong><i>2008.10.31.2:01.pm</i>.&nbsp;<a href="http://www.shichangzhi.cn">时</a>: 来学习了。。呵呵</p><p><strong>19.</strong><i>2008.10.31.1:01.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 我现在一直在用 hot friends ，感觉不错 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> 
另，这主题有点雷人啊，我刚才还以为走错地方了</p><p><strong>18.</strong><i>2008.10.31.11:35.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @shamas ,中午的时候刚换了主题。除了将侧边栏的友链改成随机和限制显示20外，其它的地方没有去调试。发现这个模板做的不是很规范。呵呵。只是看重了页眉的图片，换上了挂2天得了。懒得去调试其它了。</p><p><strong>17.</strong><i>2008.10.31.11:24.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 哇卡卡，换主题了啊，还在修改吧，页面不能留言的说</p><p><strong>16.</strong><i>2008.10.30.3:00.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: <a href="#comment-75402" rel="nofollow">@旁观者 </a>现在用用也不晚的</p><p><strong>15.</strong><i>2008.10.30.8:17.am</i>.&nbsp;<a href="http://blog.lovehr.net">旁观者</a>: 我现在才发现前辈写了好几个插件，我真后知，而且你的插件都还很NB，哈哈</p><p><strong>14.</strong><i>2008.10.29.8:28.pm</i>.&nbsp;<a href="http:/www.tongxunshe.com/">通讯社</a>: 做得不错 支持下
http:/www.tongxunshe.com/</p><p><strong>13.</strong><i>2008.10.29.12:23.pm</i>.&nbsp;<a href="http://bingu.net">冰古</a>: <a href="#comment-75331" rel="nofollow">@shamas </a>2.7有一键升级功能，就像插件的升级那样，点点就能升级到最新版本了。
低版本有安全漏洞的，还是升级比较好。</p><p><strong>12.</strong><i>2008.10.29.10:31.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: <a href="#comment-75281" rel="nofollow">@冰古 </a><a href="#comment-75244" rel="nofollow">@Yacca </a>分页我倒是处理好了，而且以后也不打算更新了，麻烦，2.6.1用起来蛮顺了</p><p><strong>11.</strong><i>2008.10.29.10:30.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 这两个插件更新超快啊，呵，后台控制越来越顺手了的。</p><p><strong>10.</strong><i>2008.10.28.11:05.pm</i>.&nbsp;<a href="http://www.linxo.cn">ZH CEXO</a>: 现在友链并不多，以后再用插件，到时说不定博主开个更强大的出来 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>9.</strong><i>2008.10.28.8:13.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 非常感谢作者的无私奉献！辛苦了！</p><p><strong>8.</strong><i>2008.10.28.8:02.pm</i>.&nbsp;<a href="http://surdark.net">浮黑</a>: 嵐兄真是善解人意，辛苦了 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>7.</strong><i>2008.10.28.6:59.pm</i>.&nbsp;<a href="http://bingu.net">冰古</a>: <a href="#comment-75244" rel="nofollow">@Yacca </a>据说2.7就有留言分页的，等它发布就不用烦了。</p><p><strong>6.</strong><i>2008.10.28.1:31.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-75256" rel="nofollow">@Patrick </a>谢谢提醒。已修正。晚些时候上载到wp插件库。</p><p><strong>5.</strong><i>2008.10.28.12:40.pm</i>.&nbsp;<a href="http://www.aftertown.cn">Patrick</a>: 好像“在评论框下显示下列说明. 支持Html代码.”这个功能无论选还是不选都会在评论框下面出现说明文字 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </p><p><strong>4.</strong><i>2008.10.28.10:35.am</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 热朋友放凉了</p><p><strong>3.</strong><i>2008.10.28.10:20.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 我新近刚改至原版使用中...
PS:现在在考虑怎么给留言本分页...-.- 装上偶爱偶家的分页插件后很搞笑的,问题多多</p><p><strong>2.</strong><i>2008.10.28.10:05.am</i>.&nbsp;<a href="http://www.wapblog.info">Allen</a>: 我觉得可以试试英文原版+语言包试试</p><p><strong>1.</strong><i>2008.10.27.11:35.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: 可能是鸟大了，啥林子都有！！！</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.12.07.9:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html" title=" 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在">Hot friends新增支持用户自定义头像显示 (65)</a></p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2008.08.15.3:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/985.html" title="Updated: 2008-12-08. Latest version v1.4.1。
English user please goes to http://wordpress.org/ext">Wordpress插件: Hot Friends v1.4.1 (218)</a></p><p><i>2008.08.07.11:19.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/981.html" title="如题，将Hot Friends 1.0放上来内测。毕竟众人拾柴火焰高吧。功能方面，现阶">Hot Friends v1.0(Beta)内测 (52)</a></p><p><i>2008.08.03.11:23.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/978.html" title="难得一个周末呆在家里，想睡个懒觉都不行。隔壁的朝鲜学校的音乐CIRCLE的">鸟儿早起 (43)</a></p><p><i>2007.12.09.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/889.html" title="先纠正一个错误，自己昨天在如何使用Wordpress内置的分页（Nextpage）功能？">Wordpress插件:whole_feed_output v0.1 (2)</a></p><p><i>2007.11.21.10:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/877.html" title="新写了一个插件，wp_list_posts，主要用于生成存档文章清单。写这个插件的">Wordpress2.3 Plugin: wp_list_posts v0.1 (47)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/1024.html/feed</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>WordPress Hacks:WP2.2版后中文邮件标题乱码解决方法</title>
		<link>http://www.thinkagain.cn/archives/994.html</link>
		<comments>http://www.thinkagain.cn/archives/994.html#comments</comments>
		<pubDate>Tue, 09 Sep 2008 12:58:14 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=994</guid>
		<description><![CDATA[今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程序下载了。照例是修改几处源代码以及将akismet删掉。然后上传升级。一切都很顺利。从更新上看，似乎2.6.2没有多大... ]]></description>
			<content:encoded><![CDATA[<p>今天，Wordpress官方发布了2.6.2版。没有跑去<a href="http://trac.wordpress.org/browser" target="_blank">Trac</a>看代码变动地方，直接就将程序下载了。照例是修改几处源代码以及将akismet删掉。然后上传升级。一切都很顺利。从更新上看，似乎2.6.2没有多大变化，运行upgrade.php，并未提示更新数据库。看来此版本的升级无涉及数据库方面的更改。</p>
<p><!--myadsense--></p>
<p>在朋友站点逛了圈，发现还是有很多WP站点发送的中文邮件标题容易出现乱码情况。索性将其解决方法放上来。此方法从2.2起至当前的2.6.2均有效。建议网友根据文中代码，自行修改源代码。</p>
</p>
<p>具体做法：</p>
<p>用文本编辑器打开wp-includes/class-phpmailer.php，在EncodeHeader函数内找到下列代码，大概在1165-1175行左右。</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">if</span> (strlen($str)/3 &lt; $x) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>     $encoding = <span style="color: #006080">'B'</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>     $encoded = base64_encode($str);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     $maxlen -= $maxlen % 4;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     $encoded = trim(chunk_split($encoded, $maxlen, <span style="color: #006080">&quot;\n&quot;</span>));</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span> } <span style="color: #0000ff">else</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>     $encoding = <span style="color: #006080">'Q'</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>     $encoded = $<span style="color: #0000ff">this</span>-&gt;EncodeQ($str, $position);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>     $encoded = $<span style="color: #0000ff">this</span>-&gt;WrapText($encoded, $maxlen, <span style="color: #0000ff">true</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>     $encoded = str_replace(<span style="color: #006080">&quot;=&quot;</span>.$<span style="color: #0000ff">this</span>-&gt;LE, <span style="color: #006080">&quot;\n&quot;</span>, trim($encoded));</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span> }</pre>
</div>
</div>
<p>将上述中的第4，5和9行前面加上注释符号&quot;//&quot;，使之失效。如下：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">if</span> (strlen($str)/3 &lt; $x) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>     $encoding = <span style="color: #006080">'B'</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>     $encoded = base64_encode($str);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     <span style="color: #008000">//$maxlen -= $maxlen % 4;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     <span style="color: #008000">//$encoded = trim(chunk_split($encoded, $maxlen, &quot;\n&quot;));</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span> } <span style="color: #0000ff">else</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>     $encoding = <span style="color: #006080">'Q'</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>     $encoded = $<span style="color: #0000ff">this</span>-&gt;EncodeQ($str, $position);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>     <span style="color: #008000">//$encoded = $this-&gt;WrapText($encoded, $maxlen, true);</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>     $encoded = str_replace(<span style="color: #006080">&quot;=&quot;</span>.$<span style="color: #0000ff">this</span>-&gt;LE, <span style="color: #006080">&quot;\n&quot;</span>, trim($encoded));</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span> }</pre>
</div>
</div>
<p>保存退出，将修改后的class-phpmailer.php文件上传到服务器上。</p>
<p><strong>注：</strong>此法并不是我原创，乃是N久前在网上搜索到的。原出处也已忘记，故无法在此将出处标出。敬请见谅。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/994.html#comments">评论22:</a></p><p><strong>22.</strong><i>2008.09.15.10:53.pm</i>.&nbsp;<a href="http://www.snowyy.com/">不常识</a>: 当时请教过很多人，都被诊断为绝症了。但从朋友知他有经验，为了以前的文章也要付了……</p><p><strong>21.</strong><i>2008.09.13.7:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71802" rel="nofollow">@不常识 </a>嗯，200元买的药方。只能说对方太恶心了，基于一个开源平台的Wordpress，解决一个小问题还要收费，个人比较不大喜好这种做法。</p><p><strong>20.</strong><i>2008.09.13.7:48.pm</i>.&nbsp;<a href="http://www.snowyy.com/">不常识</a>: 乱码问题我今年初遇过，花了200元买的药方啊~~~</p><p><strong>19.</strong><i>2008.09.13.12:07.am</i>.&nbsp;<a href="http://www.hypfx.com">流星</a>: 据在我博客上回复的beach指出，说是2.6.2已经改进了这个问题了……但是我确实修改时候没看到那个注释……</p><p><strong>18.</strong><i>2008.09.12.8:38.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71687" rel="nofollow">@HE Yi </a>这个这个，需要澄清下，不是我原创的。</p><p><strong>17.</strong><i>2008.09.12.7:54.pm</i>.&nbsp;<a href="http://heyi.name">HE Yi</a>: 原创万岁！创新万岁！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p><p><strong>16.</strong><i>2008.09.12.3:40.pm</i>.&nbsp;<a href="http://smartr.cn">Jinwen</a>: 自己懒着，不更新了。</p><p><strong>15.</strong><i>2008.09.11.7:24.pm</i>.&nbsp;<a href="http://www.cnpabi.com">pabi</a>: THX,DUDE</p><p><strong>14.</strong><i>2008.09.11.3:43.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 谢谢提醒，马上更正！</p><p><strong>13.</strong><i>2008.09.10.8:33.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71528" rel="nofollow">@流星 </a>意识形态挂帅的话，容易把自己弄得很累吧。</p><p><strong>12.</strong><i>2008.09.10.1:43.pm</i>.&nbsp;<a href="http://www.hypfx.com">流星</a>: 真赞，霏凡想去搞一个notepad++看看，结果所有下载都没有文件，而后忽然想起这作者当初在软件上说过支持zd的话，不会就此被霏凡给去除下载了吧……很寒
不过还是觉得ue其实挺方便
不过平时纯粹写txt时候，还是习惯用notexpad，虽然是2004年版本再也未更新，可是还是满好用</p><p><strong>11.</strong><i>2008.09.10.1:14.pm</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 没有更新，好像主要是安全性提高
等等2.7吧！</p><p><strong>10.</strong><i>2008.09.10.11:45.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71523" rel="nofollow">@流星 </a>我一般用notepad++来编辑代码。这个小软件功能也很强大，且是免费的。</p><p><strong>9.</strong><i>2008.09.10.11:39.am</i>.&nbsp;<a href="http://www.hypfx.com">流星</a>: 我改了
发现你用的不是ue，其实我还是觉得ue方便点，行号真好找。
我把你这个转载到我博客了，修改了下，配了我的截图，留下了你的链接，呵呵</p><p><strong>8.</strong><i>2008.09.10.9:42.am</i>.&nbsp;<a href="http://pejag.cn">打篮球的手</a>: 还好没有发现乱码</p><p><strong>7.</strong><i>2008.09.09.10:51.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 好了，又是一个解决的方法！3Q</p><p><strong>6.</strong><i>2008.09.09.10:42.pm</i>.&nbsp;<a href="http://www.linxo.cn/blog">ZH CEXO</a>: 刚升级来着，不明白~</p><p><strong>5.</strong><i>2008.09.09.9:57.pm</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: 原来如此，回头我试试</p><p><strong>4.</strong><i>2008.09.09.9:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71482" rel="nofollow">@arthack </a>并不是所有中文标题都会出现乱码情况，时有时无的。具体造成的原因，我还不是很清楚，应该是和字符长度等有关系。</p><p><strong>3.</strong><i>2008.09.09.9:42.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 反正就12个文件么...我毅然升级掉了...</p><p><strong>2.</strong><i>2008.09.09.9:41.pm</i>.&nbsp;<a href="http://www.arthack.org">arthack</a>: 乱码我好像没有发现哦</p><p><strong>1.</strong><i>2008.09.09.9:35.pm</i>.&nbsp;<a href="http://genmicha.cn">Chada</a>: 沙发之，我还没升级到.2，懒得去升了，反正没多大变化。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.07.27.10:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/971.html" title="WP2.6带来了很多新功能。如后台的turbo等。相比2.3到2.5，2.5到2.6之间给我的">Wordpress Hacks:如何关闭WP2.6的主题预览 (18)</a></p><p><i>2007.12.08.10:50.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/888.html" title="2007-12-09：注，我已经写了一个插件用于含有nextpage或more标签的feed全文输出">如何使用Wordpress内置的分页（Nextpage）功能？ (52)</a></p><p><i>2007.10.31.12:42.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/830.html" title="Updated:此问题已经在2.3.3中被修复。
*****************************
前几天，将Wordp">Wordpress Hacks:升级2.3.1可能出现邮件提醒失效的解决方法 (20)</a></p><p><i>2007.10.22.11:05.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/822.html" title="在wordpress中，默认点击评论者的链接时，会在同一窗口内打开该链接。这在">Wordpress Hacks: 在新窗口中打开评论者链接和no follow属性 (16)</a></p><p><i>2007.09.15.10:41.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/721.html" title="继将CSS修改符合W3C规范后，今天花了点时间，也将模板代码修改完毕，通过">继续修改模板 (4)</a></p><p><i>2007.08.21.8:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/611.html" title="又是一时心血来潮，试用过Wordpress后，想装上Movable Type 4.0玩玩看。于是就">图文介绍如何在本地服务器安装Movable Type 4.0 (15)</a></p><p><i>2007.06.11.3:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/189.html" title="由于博客上的图片大部分都是放在Flickr上的，所以Flickr被禁后导致国内朋友">WordPress解决Flickr图片显示方法 (3)</a></p><p><i>2007.04.30.8:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/161.html" title="Widgets是一个可视化Wordpress主题侧边栏编辑插件，用户可以在Wordpress后台主">如何修改代码使主题支持widgets (5)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/994.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/994.html/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>WordPress插件: Mail To Commenter v1.3.2</title>
		<link>http://www.thinkagain.cn/archives/989.html</link>
		<comments>http://www.thinkagain.cn/archives/989.html#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:06:29 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=989</guid>
		<description><![CDATA[写博的网友可能会像我一样，有时发现，很有必要让评论者得知自己对其留言/评论的回复，特别是一些留问题的朋友。自己在网友站点评论时，也会出现想让自己的评论给指定评论者得知的情... ]]></description>
			<content:encoded><![CDATA[<p>English user please navigates to <a href="http://wordpress.org/extend/plugins/mailtocommenter/">http://wordpress.org/extend/plugins/mailtocommenter/</a> for instruction.</p>
<p><strong>Latest Update: </strong><a href="#lastupated">点此看“插件的用途的更新说明”</a>。</p>
<p>[1.3.3] 2008-11-12，修正使用@reply格式无法发送邮件问题。谢谢网友<a href="http://blog.guaniu.com/">Leeiio</a>。</p>
<p>[1.3.2] 2008-11-05，修正邮件内评论内容的分段显示问题，通知邮件支持wp内置表情。谢谢<a href="http://www.happinesz.cn/">sofish</a>。</p>
<p>[1.3.1] 2008-10-28，修正评论框的说明文字的显示Bug，谢谢网友<a href="http://www.aftertown.cn/">Patrick</a>。</p>
<p>[1.3] 2008-10-27，修正多个Bugs。后台新增语言包选择选项，以及全面兼容@reply插件等等。</p>
<p>[1.2] 修正了一个bug用于避免升级时丢失当前的设定。 </p>
<p>[1.1] 修正一个bug，即新评论者将无法使用邮件通知功能。以及添加了一个选项到快捷按钮的输出内容，用户可设置不显示任何文字。快捷按钮生成的代码为&lt;!- &#8211; @user &#8211; -&gt;，因为被注释代码包围，所以@user将不会被显示。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>写博的网友可能会像我一样，有时发现，很有必要让评论者得知自己对其留言/评论的回复，特别是一些留问题的朋友。自己在网友站点评论时，也会出现想让自己的评论给指定评论者得知的情况。虽然现在有些评论管理方面的插件提供了回复通知的功能，目前这些评论管理的插件也仅仅提供了管理员回复或者所有评论邮件回复。对于后者，只要有回复，不管三七二十一就全部邮件通知，弄得有的时候很是讨厌。经常是到一些网友网站转一圈，写上个评论，过阵子，Gmail Notify是咚咚咚地提示有新邮件，点进去一看，全是和自己不相关的。简直就是SPAM。</p>
</p>
<p>所以，自己就写了这么一个Wordpress插件，可以根据用户指定将评论邮件通知对方。先说明下，这不是一个评论管理相关的插件。它的功能其实非常简单，通过判断评论内容是否含有<a href="mailto:'@user">&#8216;@user</a> &#8216;或<a href="mailto:'@user:'">&#8216;@user:&#8217;</a>的代码，如果有的话，会将评论内容用邮件发送给user。</p>
<p>例如，假设ABC是本文留言者或评论者之一。如果管理员或者其它评论者比如CDE认为自己的评论有必要让ABC获知，他/她仅仅需要在自己的评论内容中插入<a href="mailto:'@ABC">&#8216;@ABC</a> &#8216;或<a href="mailto:'@ABC:'">&#8216;@ABC:&#8217;</a>代码即可以实现此功能。该插件会自动判断并获取ABC的邮件地址，然后根据指定的邮件模板包装该评论并发送给ABC。该插件亦提供<a href="mailto:'@all'">&#8216;@all&#8217;</a>的用法，这是个将评论群发给之前所有评论者的代码，注意，此用法可能会造成邮件泛滥，所以，在插件选项页面有设置使用<a href="mailto:'@all'">&#8216;@all&#8217;</a>的权限。由管理者自行决定。另外，为了简化用户的输入，插件提供了一个函数mailtocommenter_button()用户生成一个按钮，简单点击这个按钮就可以输入<a href="mailto:'@user">&#8216;@user</a> &#8216;代码到评论框中。</p>
<p>再次说明下，<u>这个插件目前的主要功能就是提供此邮件服务功能，并不是一个评论管理相关的插件</u>。自己写这个插件的过程，曾经差点走上岔路，准备将thread comment等评论回复管理功能纳入进来，后来发现，单单这部分完全可以独立成一个新插件，而这并不是自己写此插件的本意，且已经存在了很多在这方面处理很优秀的插件。再则，2.7也会将这些thread comment功能等纳入进去。既然无法做得比人家更好，何不作罢，将这些功能全部剥离出去，回到这个插件的作用原点。</p>
<p>插件的后台提供了不少选项的控制，如是否激活邮件通知，是否启用<a href="mailto:'@all'">&#8216;@all&#8217;</a>以及使用权限等等，还有说明文字，按钮的输出和外观，以及邮件模板等等这些都可以自定义。插件还预定义了一些变量，如%comment_date%代表评论时间，%reply_comment%指的是回复评论等等，通过使用这些预定义变量，用户完全可以自定义自己的邮件模板。邮件模板支持html代码。本插件提供的按钮生成的html代码也通过W3C验证。</p>
<p>插件的测试过程得到了<a title="风暴轻狂" href="http://lxz.name" target="_blank">风暴轻狂</a>的大力支持。本来是要将他放在作者序列内，这家伙也很谦虚。在此再次表示感谢。</p>
<p>1. 安装/卸载</p>
<p>在文末下载插件，将mailtocommenter文件夹上传到/wp-content/plugins/目录下。在后台插件页面，激活Mail To Comment。再到Setting下面的Mail To Commenter Options页面内，设置一些主要选项。注意，<strong>邮件通知默认是关闭的</strong>。</p>
<p>2. 代码调用</p>
<p>如果只是简单地使用邮件通知功能的话，仅仅需要在后台设置好相关选项即可以，不需要代码调用。为了方便用户使用，插件也提供了下面二个函数的调用。</p>
<p><strong>&#8211;快捷按钮</strong></p>
<p>将下列代码放置到模板文件中，用于生成快捷按钮。注意，如果邮件通知激活后，即使不在模板中放置快捷按钮，只要用户在评论中加入<a href="mailto:'@user">&#8216;@user</a> &#8216;或<a href="mailto:'@user:'">&#8216;@user:&#8217;</a>就会自动发生邮件通知。快捷按钮仅仅提供一个更方便的选择而已。后台可以自行设置这个快捷按钮的外观，如输出代码，显示外观为图片或者文本，显示标题等等。默认显示外观为插件目录下的@图片。您也可以选择其它图片作为输出的显示外观。仅仅需要在后台定义好该图片的地址就可以了。</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&lt;?php <span style="color: #0000ff">if</span>(function_exists(<span style="color: #006080">'mailtocommenter_button'</span>)) mailtocommenter_button();?&gt;</pre>
</p></div>
</div>
<p><strong>&#8211;使用说明</strong></p>
<p>在后台可以设置使用说明的文字内容，如果显示使用说明选项被选中的话，插件会自动在评论框下面显示该说明内容。您也可以自行更改说明文字的显示位置。做法为，将显示使用说明选项取消，然后在模板文件中插入下列代码：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&lt;?php <span style="color: #0000ff">if</span>(function_exists(<span style="color: #006080">'mailtocommenter_description'</span>)) mailtocommenter_description();?&gt;</pre>
</p></div>
</div>
<p>3. 控制界面</p>
<p>下面将简单列出控制页面的内容，点击看全图。控制页面可分为四个部分。<u>基本上每个选项下面都有其相关说明，这里不一一重复。</u></p>
<p><a class="thickbox" title="英文界面-1" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-1.gif" target="_blank" rel="english"><img height="111" alt="英文界面-1" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-1.gif" width="220" /></a> <a class="thickbox" title="中文界面-1" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-1.gif" target="_blank" rel="chinese"><img height="112" alt="中文界面-1" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-1.gif" width="220" /></a></p>
<p><em>中英文界面-1</em></p>
<p>此部分用户设置邮件通知和使用说明文字等相关内容。包括使用权限，代码类型等等。</p>
<p><a class="thickbox" title="英文界面-2" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-2.gif" target="_blank" rel="english"><img height="95" alt="英文界面-2" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-2.gif" width="220" /></a>&#160; <a class="thickbox" title="中文界面-2" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-2.gif" target="_blank" rel="chinese"><img height="98" alt="中文界面-2" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-2.gif" width="220" /></a></p>
<p><em>中英文界面-2</em></p>
<p>页面的第二部分主要用于快捷按钮的自定义，这里用户可自定义快捷按钮的输出内容，有2个选项，一是输出指向被回复评论的超链接，这个效果和reply to插件的功能是一样的；二是仅仅输出文本文字。按钮的显示外观有2种，图片或文字。还有快捷方式标题的显示内容等，这些用户均可自定义。</p>
<p><a class="thickbox" title="英文界面-3" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-3.gif" target="_blank" rel="english"><img height="157" alt="英文界面-3" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-3.gif" width="220" /></a>&#160; <a class="thickbox" title="中文界面-3" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-3.gif" target="_blank" rel="chinese"><img height="152" alt="中文界面-3" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-3.gif" width="220" /></a></p>
<p><em>中英文界面-3</em></p>
<p>第三部分，主要用于邮件模板的设置，右边列出了12个预定义变量的含义，邮件模板支持html代码，所以用户可以使用这些预定义的变量以及html代码来自定义自己的邮件模板。template.txt提供了默认的中英文模板内容作为参照。注意，如果您的邮件服务器不支持html格式邮件，请务必将模板中的html代码移除。</p>
<p>再则，%rss_link%默认输出wordpress的rss2.0地址，因为大部分网友都使用第三方（如feedsky等）来托管feed，所以务必将该内容更改过来。</p>
<p>该部分提供了预览按钮，用户可以点击该按钮来查看邮件模板的效果。</p>
<p><a class="thickbox" title="英文界面-4" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-4.gif" target="_blank" rel="english"><img height="116" alt="英文界面-4" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-4.gif" width="220" /></a>&#160; <a class="thickbox" title="中文界面-4" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-4.gif" target="_blank" rel="chinese"><img height="118" alt="中文界面-4" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/mailtocommenter-cn-4.gif" width="220" /></a></p>
<p>中英文界面-4</p>
<p>这个部分是bonus。提供了一个邮件发送的功能给管理员。管理员可以使用此页面给用户发送邮件。简单地输入地址，主题和邮件内容后，点击发送按钮就可以发送邮件。 </p>
<p>4. 插件下载</p>
<p>请到<a href="http://wordpress.org/extend/plugins/mailtocommenter/" target="_blank">WordPress官方插件库下载</a>该插件的最新版。欢迎WP爱好者下载试用。</p>
<p>坐板凳等您的宝贵意见。 <img alt=":mrgreen:" src="http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif" /></p>
<p>还有，有WP帐户的网友，别忘了<a href="http://wordpress.org/extend/plugins/mailtocommenter/">投上一票</a>。 <img alt=":razz:" src="http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif" /></p>
<p id="lastupated"><strong>用途更新说明：</strong></p>
<p>这个插件的主要功能为发送回复或评论邮件，并没有提供类似thread comment等的评论回复，嵌套管理等等这方面的功能。它的灵活性在于，不单单是管理员，甚至用户也可以将自己的评论邮件发送给指定接收者，通常也就是被回复者。这点是大部分评论管理类插件所尚未提供的。其主要2个区别在于，</p>
<p>首先，虽然这些评论管理相关的插件，大部分都可以提供在页面上生成回复评论，并引用评论内容，但是那都是需要到博客页面浏览才会看到的，如果被回复者没有再次到博客页面看自己评论的回复情况，那么这个回复评论实际上是被回复者是无法知道的，而本插件则可以灵活地采用邮件通知被评论者，从而来间接解决此问题。</p>
<p>其次，这些管理类插件大部分也都提供邮件通知的选项，但都只能设置要么本文有任何回复就激发邮件通知，或者是管理员回复的时候才邮件通知，前者比较让人烦，很容易将惹恼评论者，谁愿意一天到晚收不相干的回复。且它们都尚未支持评论自定义邮件回复的对象。而本插件可以灵活由评论者来自己定义邮件对象。</p>
<p>只要邮件通知功能被激活，用户仅需要在评论中插入@用户名之类的代码，就可以实现评论回复了。插件提供的快捷按钮函数只是用来生成一个按钮简化用户输入而已，而这个按钮的好处除此之外，还有就是可以提供一个超链接指向被回复的评论，这样，别的浏览者在阅读评论时，就可以很方便的找到原评论。这个功能和 reply to一样，区别在于，1.本插件完全支持用户自定义。2.插件采用php生成，并非js。一切处理由服务器完成，因为无需加载js文件，理论上效率要比 reply to高。</p>
<p>这个插件理论上不会和几个常见的评论管理插件，如thread comment类，subscribe to comment，quote comment等，存在在冲突问题，在功能也没有重复。所以在使用这些插件的同时，你也可以使用本插件。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/989.html#comments">评论377:</a></p><p><strong>377.</strong><i>2012.02.09.1:12.pm</i>.&nbsp;<a href="http://chapter09.sinaapp.com">chapter09</a>: 为什么使用mail to commenter后，我发出的HTML邮件在Gmail中无法解析，邮件中包含的标签很恶心。我在设置中删掉标签后，发出的邮件里还是有<code></code>这样的的标签?</p><p><strong>376.</strong><i>2012.02.02.8:38.pm</i>.&nbsp;<a href="http://www.imxiaokai.com/index.php/wordpress-them-inove/">WordPress 主题 iNove | 软件风暴</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 “@+user+blank” [...]</p><p><strong>375.</strong><i>2011.12.12.2:01.am</i>.&nbsp;<a href="http://meshuo.com">danny</a>: @danny 我安装上插件，然后启动了。发了测试邮件却一直没反应。</p><p><strong>374.</strong><i>2011.10.30.7:01.pm</i>.&nbsp;<a href="http://tiaopigui.com/increase-user-stickiness">提高用户粘性</a>: [...] 在大家都在使用嵌套式的评论及邮件通知评论者的时候，笔者还在用最为简单的评论模式，杯了个具的——这样的模式对用户而言，粘性极差，除非他/她是调皮鬼，否则，回头率几乎为0了。笔者试图改变这一现状，于是便通过谷歌和百度来搜索适用于我的plugin。Email to Commenter这个插件非常不错，扩展性很强，我安装了它，并通过它实现了@user的功能——可惜，VPS不给力，“邮件通知”功能并没有实现，开始我以为是WP-Mail-SMTP这个插件造成的，百度到一篇文章后，有人声称是空间的问题，开始我不敢相信，后来经过反复测试，确定了失败的原因所在，虽然失败，但是并不意味我会停止，也许在更换VPS之后，你会发现不一样的调皮鬼。 [...]</p><p><strong>373.</strong><i>2011.10.24.4:49.pm</i>.&nbsp;<a href="http://blog.ueder.info">welpher.yu</a>: 我用@-reply这个插件来做的回复按钮，就是发不了邮件，我以为是我的设置问题，后台发现 要是直接@+用户名，不要链接却是可以发邮件的。PS：要是回复不成功，比如：说回复重复 还是会发邮件的，是不是BUG呢？嗯</p><p><strong>372.</strong><i>2011.10.24.4:48.pm</i>.&nbsp;<a href="http://blog.ueder.info">welpher.yu</a>: 我用@-reply这个插件来做的回复按钮，就是发不了邮件，我以为是我的设置问题，后台发现 要是直接@+用户名，不要链接却是可以发邮件的。PS：要是回复不成功，比如：说回复重复 还是会发邮件的，是不是BUG呢？</p><p><strong>371.</strong><i>2011.10.09.7:57.pm</i>.&nbsp;<a href="http://wpcme.com/wordpress-theme-neone/">国人主题：NeOne</a>: [...] WordPress Related Posts WP-RecentComments Highslide4WP WP-Syntax WP-EasyArchives Mail To Commenter (支持 &#8220;@+user+blank&#8221; 模式) Pagebar2 WP-CommentNavi WP-PostViews WP-MulticolLinks [...]</p><p><strong>370.</strong><i>2011.09.26.9:31.pm</i>.&nbsp;<a href="http://dreamwalker.pcriot.com/?p=6">DreamWalker &raquo; WordPress 主题 iNove</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 “@+user+blank” [...]</p><p><strong>369.</strong><i>2011.08.28.1:42.pm</i>.&nbsp;<a href="http://zhaopin.ksfen.cn">ksxb</a>: 怎么也捣鼓不好，学习一下。</p><p><strong>368.</strong><i>2011.08.24.2:18.am</i>.&nbsp;<a href="http://www.wpbaz.ir/1390/06/01/inove-wordpress-theme/">پوسته زیبا و سبک وردپرس iNove | WPBAZ.IR</a>: [...] WordPress Related Posts WP-PageNavi WP-Syntax WP-RecentComments WP-EasyArchives Highslide4WP Quick Comments WP-Polls AJAX Comment Pager Mail To Commenter [...]</p><p><strong>367.</strong><i>2011.08.20.1:31.am</i>.&nbsp;<a href="http://www.thunje.com/?p=61">WordPress插件推荐-Mail To Commenter - 泽宇空宁</a>: [...] 此插件的使用方法与其他Wordpress插件一样，上传，激活，后台有设置页面，设置页面可以选择中文或英文，具体的设置内容见插件主页。如果只是简单地使用邮件通知功能的话，仅仅需要在后台设置好相关选项即可以，不需要代码调用。为了方便用户使用，插件也提供了二个函数的调用。 [...]</p><p><strong>366.</strong><i>2011.08.19.2:14.am</i>.&nbsp;<a href="http://ninofocus.com/2011/08/06/blog-update-diary/">博客更新日志 | NinoFocus</a>: [...] 我用了两个WP插件（Configure SMTP、Mail To Commenter）和QQ企业邮箱实现了这个功能。 [...]</p><p><strong>365.</strong><i>2011.08.18.3:17.pm</i>.&nbsp;<a href="http://panslavizm.wordpress.com/2011/08/18/wordpress-plugins/">WORDPRESS PLUGINS! | Панславізм сьогодні</a>: [...] This plugin helps user to notify reply to previous commenter in same post via simply insert &#8216;@+user+blank&#8217; or &#8216;@+user+:&#8217; to specify user name in comment.  Версия 1.3.4 | Автор: ThinkAgain | Перейти на страницу плагина [...]</p><p><strong>364.</strong><i>2011.08.14.1:09.pm</i>.&nbsp;<a href="http://wpzoo.org/wordpress-jing-dian-zhu-ti-inove.html">WordPress 经典主题 iNove | wpzoo</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 “@+user+blank” [...]</p><p><strong>363.</strong><i>2011.08.09.1:39.pm</i>.&nbsp;<a href="http://www.boke8.net/wordpress-mail-to-commenter.html">WordPress 评论邮件通知插件Mail To Commenter | 博客吧</a>: [...] 提示：插件使用遇到问题请访问作者主页  　&raquo; 转载请注明出处： 博客吧　&raquo; 本文地址：http://www.boke8.net/wordpress-mail-to-commenter.html [...]</p><p><strong>362.</strong><i>2011.08.08.6:54.pm</i>.&nbsp;<a href="http://sosowo.org/archives/194">WordPress折腾手记(2) &#124; sosowo&#039;s blog</a>: [...] ThinkAgain的Mail To Commenter [...]</p><p><strong>361.</strong><i>2011.07.24.9:48.pm</i>.&nbsp;<a href="http://www.gadgetmech.com/article/free-wordpress-theme-simplegx/">Free Wordpress Theme: SimpleGX | Gadget Mech</a>: [...] Mail To Commenter [...]</p><p><strong>360.</strong><i>2011.07.15.1:27.pm</i>.&nbsp;<a href="http://www.py0917.tk/?p=1">主题发布: iNeo</a>: [...] WordPress Related Posts WP-RecentComments Highslide4WP WP-Syntax WP-EasyArchives Mail To Commenter (支持 “@+user+blank” 模式) Pagebar2 WP-PostViews Google AJAX Translation Popularity [...]</p><p><strong>359.</strong><i>2011.07.09.4:14.am</i>.&nbsp;<a href="http://www.thunje.com/blog/index.php/wordpress-plugin-recommended-mail-to-commenter.html">WordPress插件推荐-Mail To Commenter | thunje</a>: [...] 此插件的使用方法与其他Wordpress插件一样，上传，激活，后台有设置页面，设置页面可以选择中文或英文，具体的设置内容见插件主页。如果只是简单地使用邮件通知功能的话，仅仅需要在后台设置好相关选项即可以，不需要代码调用。为了方便用户使用，插件也提供了二个函数的调用。 [...]</p><p><strong>358.</strong><i>2011.06.27.3:05.pm</i>.&nbsp;<a href="http://blog.wangguanjie.com/archives/131.html">WordPress Theme：zww Line （beta 2） | xperience</a>: [...] Mail To Commenter（必须）：评论通知插件，因为主题2级嵌套后用了 @ 样式，所以这个插件比较适合 [...]</p><p><strong>357.</strong><i>2011.04.26.1:42.pm</i>.&nbsp;<a href="http://www.126k.net/inove.htm">青鸟选择inove主题的原因</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 &#8220;@+user+blank&#8221; [...]</p><p><strong>356.</strong><i>2011.04.25.1:40.am</i>.&nbsp;<a href="http://gatherlight.info">shawn</a>: 请问说明里的"请在模板文件中插入....."
模版文件是指哪个文件?
问题比较小白.......</p><p><strong>355.</strong><i>2011.04.21.6:40.am</i>.&nbsp;<a href="http://ouyangpengfei.me/2011/04/21/%e6%9c%ac%e5%8d%9a%e4%bd%bf%e7%94%a8%e7%9a%84%e6%8f%92%e4%bb%b6/">Pengfei &raquo; 本博使用的插件</a>: [...] This plugin helps user to notify reply to previous commenter in same post via simply insert &#8216;@+user+blank&#8217; or &#8216;@+user+:&#8217; to specify user name in comment.  1.3.4 版本 | 作者为 ThinkAgain | 访问插件主页 [...]</p><p><strong>354.</strong><i>2011.04.17.10:34.am</i>.&nbsp;<a href="http://blog.yoyowoo.net/wordpress%e4%b8%admail-to-commenter%e6%8f%92%e4%bb%b6%e7%9a%84%e5%9b%9e%e5%a4%8d%e9%82%ae%e4%bb%b6%e6%a0%b7%e5%bc%8f.html">WordPress中Mail To Commenter插件的回复邮件样式 | 吊链博客</a>: [...] 平时本博客主要通过Mail To Commenter插件，采用@user的格式，向被回复的用户发送邮件通知。而评论框内的@user的样式，主要是通过ZWW提供的一段jQuery代码，在评论者点击留言旁的“回复”时自动添加。 [...]</p><p><strong>353.</strong><i>2011.04.07.5:29.pm</i>.&nbsp;<a href="http://www.54seo.info/?p=6">google优化_百度优化_seo笔记 &raquo; iNove主题及插件安装步骤</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter [...]</p><p><strong>352.</strong><i>2011.03.30.10:44.am</i>.&nbsp;<a href="http://blog.it17173.com/?p=32">WordPress 主题 iNove | IT17173</a>: [...] AJAX Comment Pager&nbsp;(Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter&nbsp;(支持 &quot;@+user+blank&quot; [...]</p><p><strong>351.</strong><i>2011.03.29.2:44.am</i>.&nbsp;<a href="http://www.qiankuns.com/2011/03/mail-to-commenter-wordpress-plug-in-reply-to-a-message-style.html">WordPress中Mail To Commenter插件的回复邮件样式 | 乾坤 Blog</a>: [...] 平时本博客主要通过Mail To Commenter插件，采用@user的格式，向被回复的用户发送邮件通知。而评论框内的@user的样式，主要是通过ZWW提供的一段jQuery代码，在评论者点击留言旁的“回复”时自动添加。 [...]</p><p><strong>350.</strong><i>2011.03.28.9:13.pm</i>.&nbsp;<a href="http://blog.znotz.com">Znotz</a>: 很火爆啊.我用用看哦.据说不错 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </p><p><strong>349.</strong><i>2011.03.26.10:46.pm</i>.&nbsp;<a href="http://www.leoog.com">leoog.com</a>: <a href="#comment-150921" rel="nofollow">@leoog.com </a><a href="#comment-149261" rel="nofollow">@山之岚 </a>

貌似不太好使啊，必须要加<a>才可以的？呃~~ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p><p><strong>348.</strong><i>2011.03.26.10:45.pm</i>.&nbsp;<a href="http://www.leoog.com">leoog.com</a>: @山之岚 测试一下看看 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' /> </p><p><strong>347.</strong><i>2011.03.22.11:18.am</i>.&nbsp;<a href="http://www.neoease.com/elegant-box/">WordPress 主题 Elegant Box</a>: [...] Posts WP-RecentComments WP-Syntax WP-MulticolLinks Gravatar (针对 WordPress 2.3 或以下版本) Mail To Commenter (支持 &quot;@+user+blank&quot; [...]</p><p><strong>346.</strong><i>2011.03.12.1:28.pm</i>.&nbsp;<a href="http://haha808.com/?p=769">WordPress插件 | 哈哈808,开心呵呵网</a>: [...] By ThinkAgain | Visit plugin site [...]</p><p><strong>345.</strong><i>2011.03.04.11:59.pm</i>.&nbsp;<a href="http://blog.ucxun.com/?p=17">UC迅 &raquo; 好古古怪怪好</a>: [...] WP-EasyArchives WP-MulticolLinks Highslide4WP WP-Syntax wp_addbookmarks [修改版本] Mail To Commenter (@+user+blank) Quick Comments WP-PostViews Gravatar (针对 WordPress 2.3 [...]</p><p><strong>344.</strong><i>2011.03.03.8:44.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-149213" rel="nofollow">@BulletTime </a>新版mailtocommenter还在测试中,近段将更新。新版中将会在后台增加选项供管理者设定是否激活在审核的评论的邮件回复等多项新选项等。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>343.</strong><i>2011.03.03.5:25.am</i>.&nbsp;BulletTime: 目前版本wp3.1，即使评论在审核状态，依然会发邮件提醒，大概是不兼容？</p><p><strong>342.</strong><i>2011.02.21.3:18.pm</i>.&nbsp;<a href="http://www.bohai.org/2009/07/20/several-chinese-wordpress-themes-2.html">几款不错的wordpress中文主题（二）</a>: [...] (WP2.3 or lower)、Mail To Commenter [...]</p><p><strong>341.</strong><i>2011.02.21.2:26.pm</i>.&nbsp;<a href="http://theme.os80.info/archives/73.html">模板阁 | WordPress精品主题下载 &raquo; 国人白色简洁风格 &#8211; Elegant Box</a>: [...] Posts WP-RecentComments WP-Syntax WP-MulticolLinks Gravatar (针对 WordPress 2.3 或以下版本) Mail To Commenter (支持 &#8220;@+user+blank&#8221; [...]</p><p><strong>340.</strong><i>2011.02.18.7:50.pm</i>.&nbsp;<a href="http://theme.os80.info/archives/116.html">模板阁 | WordPress主题下载站 &raquo; 国人白色简洁风格 &#8211; Elegant Box</a>: [...] Posts WP-RecentComments WP-Syntax WP-MulticolLinks Gravatar (针对 WordPress 2.3 或以下版本) Mail To Commenter (支持 &#8220;@+user+blank&#8221; [...]</p><p><strong>339.</strong><i>2011.02.16.8:21.pm</i>.&nbsp;<a href="http://www.neone.net/%e4%b8%bb%e9%a2%98%e5%8f%91%e5%b8%83-ineo/">主题发布: iNeo</a>: [...] WordPress Related Posts WP-RecentComments Highslide4WP WP-Syntax WP-EasyArchives Mail To Commenter (支持 &quot;@+user+blank&quot; 模式) Pagebar2 WP-PostViews Google AJAX Translation Popularity [...]</p><p><strong>338.</strong><i>2011.02.05.1:41.pm</i>.&nbsp;<a href="http://moesora.com/">Soma</a>: 发件人：WordPress (此地址未验证，请注意识别) 查看
这是怎么回事？
以前用WP3默认主题的时候用willin的免插件邮件提醒代码的时候发件人是no-reply@域名.com，之后换iNova主题那段代码不能用了，只好换用了插件，结果就这样了…………</p><p><strong>337.</strong><i>2011.01.22.10:11.pm</i>.&nbsp;<a href="http://ah-star.net">阿星</a>: 我觉得该加一项功能，管理员回复的留言，不需要加@user 就可以邮件此人了。觉得行吗？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>336.</strong><i>2011.01.21.11:31.am</i>.&nbsp;<a href="http://ah-star.net/?p=367">给Windows 主机的WordPress 添加SMTP @邮件回复功能 | 阿星网络</a>: [...] 　　这里，我就来介绍介绍是如何实现的。我使用的方法是用QQ邮箱，因为比Gma方便，挂上QQ后，你玩游戏干别的什么的，有评论QQ就会自动通知给你。因此，我看中了这点，很方便是吧！所以我就只介绍QQ邮箱的配置方法，Gmila邮箱的，也可以照着教程试试。因为我是没有试过的，所以我也就不说。 　　插件两个，配合使用。第一个插件肯定是要实现发邮件的功能。在这上面，我又找一个比WP-Mail-SMTP 更好在Windows 2003 主机上使用的插件Configure SMTP ，在设置上更简单。第二个插件，要实现的就是评论回复带邮件的功能了。Mail to Commenter 也是更过简单，支持中文，在设置上也是一目了然。这样就大可不必的繁琐去翻译了。在设置中，都可默认其设置就可以了的，只需要动手的就是激活插件的使用。 　　此方法可任意使用，不管你的服务器是禁止mail函数还是服务器不支持，都能实用。或许你和我一样是Windows 2003 的服务器，那你完全可照我的方法来设置。 　　安装Configure SMTP 和Mail to Commenter 两个插件，可在添加新插件功能中搜索即可。先设置Configure SMTP 插件，这个的设置方法，我用的是QQ邮箱，如果你是Gmail邮箱使用着，也可以试试。插件是英文的，第一个选项设置是：Send e-mail via GMail? 中文：通过Gmail发送电子邮件？是的选上。QQ邮箱的SMTP port(中文，端口)：25/Gmail：465。Secure connection prefix（安全连接前缀）：QQ邮箱，不用选择，无。Use SMTPAuth?中文：使用SMTP自动模式？：勾上。SMTP username/password：SMTP邮箱的账号密码（username 样式：**qq号/qq英文邮箱帐号** @qq.com）。Wordwrap length（自动换行长度）：不用填写，空白。Sender e-mail（发件人e-mail）：如username 样式，但不能和username 的地址相同；如 qq号@qq.com，那么这个就要用 qq英文邮箱账号@qq.com，可在QQ邮箱设置账户中注册申请/查看。好了，设置基本完成 点保存，再将你的Sender e-mail设置的地址，复制添加到“设置-&gt;常规选项”中的“电子邮件”；因为WordPress 是用常规选项中的电子邮件做为默认地址发送的，如设置了别的地址，WordPress 评论是无法确认发送的，因此很多菜鸟朋友都糟到了这一手上了。发送邮件设置已经完成，再安装的邮件评论回复功能的插件启用，设置下就好了。我推荐的Mail to Commenter 插件，只需开启插件，设置中激活插件就可以实现你想要的功能了；Mail to Commenter 插件的更多功能可参考作者的说明：http://www.thinkagain.cn/archives/989.html。 [...]</p><p><strong>335.</strong><i>2011.01.20.1:31.pm</i>.&nbsp;<a href="http://ah-star.net">阿星</a>: 囧，我买的Win的主机，插件装上了，测试没任何作用。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' /> </p><p><strong>334.</strong><i>2011.01.09.6:27.pm</i>.&nbsp;<a href="http://www.saywp.com/wordpress/something-else-with-wordpress-plugin-quicktag-using.html">从评论框编辑器Quicktag说开 | Jinwen Say</a>: [...] 要对比的是我换成ThinkAgain同学的Mail To Commenter插件，功能其实比上面的还要强。但当我点回复时候，它只生成回复，而并没有一同激活输入框；我也没办法直接输入留言信息，而必需再用鼠标点一下输入框后才能进行。 [...]</p><p><strong>333.</strong><i>2011.01.09.6:26.pm</i>.&nbsp;<a href="http://www.saywp.com/wordpress/active-the-reply-botton-with-css.html">让回复留言的按钮动态点 | Jinwen Say</a>: [...] 每个博客辛苦写完文章后当然是希望得到更多的回应，而在WordPress系统中我们可以使用如Think Again做的优秀插件mailtocommenter。这样我们会得到一个回复的图标，方便访客。但每个回复的图标都呆呆地躺在那里，显得也有点冷落。那我们就做点什么的，让这个重要的图标带点活力。 [...]</p><p><strong>332.</strong><i>2011.01.03.8:08.pm</i>.&nbsp;<a href="http://www.neone.net/neone-v1-beta/">NeOne &raquo; 主题介绍：NeOne v1 beta</a>: [...] WordPress Related Posts WP-RecentComments Highslide4WP WP-Syntax WP-EasyArchives Mail To Commenter (支持 &quot;@+user+blank&quot; 模式) Pagebar2 WP-CommentNavi WP-PostViews [...]</p><p><strong>331.</strong><i>2010.12.25.1:45.pm</i>.&nbsp;<a href="http://blog.yation.com">雅讯易盛</a>: 您好，非常喜欢这个插件，感谢博主的辛勤劳动，圣诞节快乐。
反馈一个小BUG，中文博客名称的用户<a href="http://blog.yation.com/webpro/mail-to-commenter/" rel="nofollow">邮件发件人显示乱码</a></p><p><strong>330.</strong><i>2010.12.16.6:29.pm</i>.&nbsp;<a href="http://wowwow.cn">doom</a>: 很奇怪。我主机是WIN主机.发送不了邮件 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </p><p><strong>329.</strong><i>2010.12.15.8:33.pm</i>.&nbsp;<a href="http://www.wpfans.org/wordpress%e7%bb%8f%e5%85%b8%e4%b8%bb%e9%a2%98%ef%bc%9ainove">WordPress经典主题：iNove | WordPress爱好者</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (@+user+blank)  [...]</p><p><strong>328.</strong><i>2010.12.11.8:14.pm</i>.&nbsp;<a href="http://lzy-wq.tk">lzy</a>: 我在这里安装插件后，自己给自己发，@lzy 试验咋没反映？</p><p><strong>327.</strong><i>2010.12.02.9:48.pm</i>.&nbsp;<a href="http://yunbio.com/">柳城</a>: 如果用MCEComments插件的话，mailtocommenter_button就失效了，没办法加@user,可以办法？</p><p><strong>326.</strong><i>2010.12.02.5:26.pm</i>.&nbsp;<a href="http://reoce.com/grayscale/">主题发布: GrayScale - Reoce（睿奥西）</a>: [...] WP-PageNavi WP-Syntax WP-EasyArchives Mail To Commenter 以上插件已做支持, 启用即可, 并且无须使用插件的 CSS [...]</p><p><strong>325.</strong><i>2010.12.01.2:24.am</i>.&nbsp;<a href="http://www.viecha.com">xiao.z</a>: 回复评论并邮件发送出去后，邮箱里没有发送人？也没发送人的邮箱。什么情况？那里有问题吗还是出错了吗？</p><p><strong>324.</strong><i>2010.12.01.12:49.am</i>.&nbsp;<a href="http://www.viecha.com">xiao.z</a>: <a href="#comment-144106" rel="nofollow">@xiao.z </a>邮件回复，- -##~ 需要等待审核。</p><p><strong>323.</strong><i>2010.12.01.12:48.am</i>.&nbsp;<a href="http://www.viecha.com">xiao.z</a>: 我研究一下。</p><p><strong>322.</strong><i>2010.11.29.9:46.pm</i>.&nbsp;<a href="http://www.imtnt.net/wordpress-plugin-code-zero-reply-to-a-message-notification/">零插件代码实现WordPress评论回复邮件通知</a>: [...] 之前我实现回复邮件通知是使用的插件，水煮鱼的Comment Reply Notification，或者Mail To Commenter也很不错，不过咱今天说的重点零插件、代码实现WordPress评论回复邮件通知。 [...]</p><p><strong>321.</strong><i>2010.11.27.11:08.pm</i>.&nbsp;<a href="http://www.alanoy.com/fix-mail-to-commenter/">Mail to Commenter 邮件通知和发件人问题 | Alan&#039;s World</a>: [...] WordPress 插件 Mail To Commenter，但是 WordPress 2.8 的时候用了 WP [...]</p><p><strong>320.</strong><i>2010.11.17.4:33.pm</i>.&nbsp;<a href="http://www.nsdown.com/?p=391">一些WordPress精品插件推荐 | Never Slow Down</a>: [...] By ThinkAgain | Visit plugin site [...]</p><p><strong>319.</strong><i>2010.11.16.3:49.pm</i>.&nbsp;<a href="http://www.jy886.net/164">Zero：3款WordPress留言回复提示插件 | 网络营销大教室</a>: [...] 国人出品，功能强大。适应的群体应该比较大，因为后台可视会定制比较强，使用比较简单。而且，几天前解决了回复留言不分段的问题，很完美了。等不及了？哈哈，这里吧，下载+使用说明» [...]</p><p><strong>318.</strong><i>2010.11.12.9:51.am</i>.&nbsp;<a href="http://www.flywu.cn/recommend-theme-inove.html">推荐主题：iNove | 一段诠释网络的记忆</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 &quot;@+user+blank&quot; [...]</p><p><strong>317.</strong><i>2010.11.11.1:56.pm</i>.&nbsp;<a href="http://wooton.cn/html/y2010/105.html">Colorpress Wordpress theme is Free! _ WootOn</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter [...]</p><p><strong>316.</strong><i>2010.10.25.11:48.am</i>.&nbsp;<a href="http://playbeta.net/wordpress/inove-v1-4-6-for-wordpress.html">iNove v1.4.6 for Wordpress | PlayBeta.NET</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter [...]</p><p><strong>315.</strong><i>2010.10.24.9:31.pm</i>.&nbsp;<a href="http://www.gz17.net/teamlog/add-a-new-topic-on-elegant-box-notice-of.html">关于增加新主题《Elegant Box》的通知 &laquo; 广州亿奇网</a>: [...] WP-PostViews WP-Syntax WP-RecentComments WP-MulticolLinks WP-EasyArchives Gravatar (WP2.3 or lower) Mail To Commenter [...]</p><p><strong>314.</strong><i>2010.10.15.11:39.pm</i>.&nbsp;<a href="http://kelven.me">kelven</a>: 这个插件不支持P2主题。
不知能否关注一下</p><p><strong>313.</strong><i>2010.10.15.9:57.pm</i>.&nbsp;<a href="http://www.wancairen.com/?p=91">本博目前所用的WordPress插件 | 追风逐梦</a>: [...] By ThinkAgain | Visit plugin site [...]</p><p><strong>312.</strong><i>2010.10.06.12:04.pm</i>.&nbsp;<a href="http://www.cstime.org">XIII</a>: <a href="#comment-141566" rel="nofollow">@山之岚 </a>

非常感谢你，我这个是2.9.2 用的是新的wp_list_comment的句子 加上回复的按钮可能有点困难；至于发件人，我已经找到攻略改好，在插件的function里面有个header 里面有from:  这里我改了。很COOL


“5.插件设计为自己无法给自己做引用的。”这句话我没弄明白

另外我建议你将这三百多楼里面问得最多的TOP5 问题 同样写到文章里面，省得有像我这种的 不看回复就直接问的 “伸手党” 非常出色的插件，佩服你~ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p><p><strong>311.</strong><i>2010.10.06.12:00.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-141560" rel="nofollow">@XIII </a>开发这个插件的主要目的是，让评论者能互动。目前插件的版本是根据旧版wp设计的，在新版上也是可以正常使用。
1.如果一个评论者有多个评论时候，回复邮件里引用的将会是最后一个评论。插件目前版本是这么设定的。
2.关于邮件发件人的问题，因为插件是根据旧版设计的，估计新版wp的邮件函数可能有变化。
3.直接输入@+名字，也是可以接受到邮件的。
4.插件的后台页面，可以设置@all等等的权限的。请具体查看下。
5.插件设计为自己无法给自己做引用的。
 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p><p><strong>310.</strong><i>2010.10.06.10:18.am</i>.&nbsp;<a href="http://www.cstime.org">XIII</a>: <a href="#comment-139110" rel="nofollow">@转烛 </a> 恩我也想问这个问题呢。
1 楼 2 楼 3楼 同一个人， 我回复他1楼看法，在邮件里面会写最后一个。</p><p><strong>309.</strong><i>2010.10.06.1:50.am</i>.&nbsp;<a href="http://www.cstime.org">XIII</a>: <a href="#comment-141466" rel="nofollow">@山之岚 </a>可以了！ 谢谢！

发件人：WordPress (此地址未验证，请注意识别)
这个如何解决呢？ 希望求教一下 虽然你已经耐心的给别人解决了很多遍了。
还有就是如果我直接输入的“@+名字” 的话 是没有连接的？ 但是他仍然能够接收邮件？

按按钮的话就是有链接的了？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' />  
很开心啊~！</p><p><strong>308.</strong><i>2010.10.06.1:46.am</i>.&nbsp;<a href="http://www.cstime.org">XIII</a>: <a href="#comment-141466" rel="nofollow">@山之岚 </a> 能收到，是个wordpress的空地址 WordPress (此地址未验证，请注意识别)  

你回复我的内容在QQ邮件的垃圾箱里面。

这个测试成功之后我自己退出回复 自己的话 照样不会发邮件</p><p><strong>307.</strong><i>2010.10.05.1:59.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-141402" rel="nofollow">@XIII </a>是否确认了WP能正常发送邮件？你可以在后台插件的控制页面内进行测试下。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> </p><p><strong>306.</strong><i>2010.10.05.1:37.am</i>.&nbsp;<a href="http://www.cstime.org">twisted</a>: 我想再试试看 @XIII  你看这样也行？</p><p><strong>305.</strong><i>2010.10.05.1:36.am</i>.&nbsp;<a href="http://www.cstime.org">twisted</a>: @XIII 我试试能不能收到邮件</p><p><strong>304.</strong><i>2010.10.05.12:28.am</i>.&nbsp;<a href="http://www.cstime.org">XIII</a>: @山之岚 帮帮我</p><p><strong>303.</strong><i>2010.10.05.12:28.am</i>.&nbsp;<a href="http://www.cstime.org">XIII</a>: @all 我用煎蛋的模板 这个插件安装激活之后无法使用。我确定开启功能了
用wp默认主题也不行。
急！求助 我哪里出错了
 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </p><p><strong>302.</strong><i>2010.09.25.12:01.pm</i>.&nbsp;<a href="http://www.tibetboy.com">西藏小子</a>: 太感谢啦~  

刚刚加入WP行列,就遇到这么好的插件~

谢谢作者~</p><p><strong>301.</strong><i>2010.09.24.6:11.pm</i>.&nbsp;<a href="http://jabber-z.net/2010/09/a-wordpress-plugin-similar-twitter-reply-the-user-with-e-mail-alert/">叽里咕噜 &raquo; 一个类似 twitter 的@user 回复的 wordpress 插件(带邮件提醒)</a>: [...] 我选择的是一个比较老的插件——“Mail To Commenter”，上次更新还是2008年了。此文应该会Trackback到插件作者，在此期待您能继续完善这个插件。 [...]</p><p><strong>300.</strong><i>2010.09.11.11:34.pm</i>.&nbsp;<a href="http://ningendesu.com/">ningendesu</a>: 日文翻译插件,我希望你使用它！
po,mo file
http://ningendesu.com/wp/wp-content/plugins/mailtocommenter/mailtocommenter-ja.mo
http://ningendesu.com/wp/wp-content/plugins/mailtocommenter/mailtocommenter-ja.po</p><p><strong>299.</strong><i>2010.09.10.11:56.pm</i>.&nbsp;<a href="http://blog.nxun.com/archives/22">Wordpress中实现“回复评论邮件告知”的几种方式 | Nxun&#039;s Blog</a>: [...] 1.插件Mail To Commenter 允许用户在评论内容中使用@user 的格式，向被回复的用户发送邮件通知。这是一款国人开发的插件，功能和设置较为全面，被许多wp使用。由于早期WordPress不支持嵌套评论，也使得@user 这种回复格式成为一种主流风格，这种回复方式相比于嵌套评论的优点是格式整齐，没有凌乱的缩进，实现简单不需主题提供额外的功能，但在评论较多时会降低互动体验。 [...]</p><p><strong>298.</strong><i>2010.08.31.9:14.pm</i>.&nbsp;<a href="http://www.daibei.org/mail-to-commenter-plug-in-the-use-of-two-issues.html">人在岱北 静心聆泉 &raquo; Blog Archive &raquo; Mail To Commenter插件使用中的两个问题</a>: [...] Mail To Commenter插件在人在岱北博客已经用了好久好久了，但是由于SunQ本身就是一个圡人，并不懂后台，所以之前用的主题都是集成了Mail To Commenter插件的主题，我也就没有做过什么设置的工作，但是最近换了个主题，却发现主题并没有集成Mail To Commenter插件，最直接的问题是，没有回复按钮，让回复评论变得很累。 [...]</p><p><strong>297.</strong><i>2010.08.28.10:29.am</i>.&nbsp;<a href="http://yuncan.name/199">本博目前所用的WordPress插件 | 允灿博客</a>: [...] By ThinkAgain | Visit plugin site [...]</p><p><strong>296.</strong><i>2010.08.18.8:10.am</i>.&nbsp;<a href="http://www.ninthday.net">Dawnson</a>: 怎么我装了它连测试邮件都收不到！</p><p><strong>295.</strong><i>2010.08.15.1:40.pm</i>.&nbsp;<a href="http://www.blogismoney.net">半醒</a>: 不知道为什么
装上去好像没效果
而且那个note提示默认自己并不出现
去文件里加代码后才显示出来

插件意思是说
只要是 @xxx 这种形式就会发邮件？

用的mya的主题，  那里的嵌套回复点击以后就会出现这个内容
可没发邮件<a href="#comment-138649" rel="nofollow">@山之岚 </a></p><p><strong>294.</strong><i>2010.08.15.1:18.pm</i>.&nbsp;<a href="http://wangliping.net">转烛</a>: 你好，你的这个插件很好。不过好像存在一个问题就是：如果同一篇文章里，同一用户对文章评论了两次，当回复第一次的评论时，邮件显示的却是最后一次评论的内容。也就是说邮件默认使用的是同一用户的最后一次评论内容。</p><p><strong>293.</strong><i>2010.08.13.8:25.pm</i>.&nbsp;<a href="http://www.colong.org">ryan</a>: <a href="#comment-124833" rel="nofollow">@待续. </a>试一下在funcitons.php里面修改类似代码，有的主题的部分代码在这个文件里面起作用<a href="#comment-122330" rel="nofollow">@山之岚 </a>如果主题调用了wp_list_comments，该怎么办乜？</p><p><strong>292.</strong><i>2010.08.10.5:07.pm</i>.&nbsp;<a href="http://ultra38.ca/">ultra38</a>: 不知道是我主题的问题还是咋地,用的@reply插件,无论如何回复都发不了邮件....
用WordPress thread comment发邮件正常,估计就是主题的问题- -
话说我那主题在非IE浏览器下要把@reply插件的document.getElementById('这里改成我主题的commentbox')才能正常使用,,
那mail to comment要怎么改?
求解.......</p><p><strong>291.</strong><i>2010.08.09.6:09.pm</i>.&nbsp;<a href="http://yyt.co">闫头</a>: 感谢博主做出这么优秀的插件！</p><p><strong>290.</strong><i>2010.08.02.4:09.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-138624" rel="nofollow">@ZH CEXO </a>那个按钮的作用，是将“@user空格”字样和链接生成到评论框中的。如果你用js来实现@reply的话，你需要将js中加入代码，实现先"获取该评论者的名称，然后放入评论框中"的功能。</p><p><strong>289.</strong><i>2010.08.02.10:19.am</i>.&nbsp;<a href="http://www.zhcexo.com/">ZH CEXO</a>: 好久都没见你更新了，哈哈
这次有个问题想问一下你。你这个插件我一直都用着，以前都是用的加button的函数，很正常，但我近来才刚做了一主题，我是自己拿js来实现的@reply效果，可是邮件再也发不出去了，不知道为什么，你如果有空的话，能解答一下吗？谢谢！</p><p><strong>288.</strong><i>2010.07.28.5:07.pm</i>.&nbsp;<a href="http://quickdaily.com">QD</a>: 试了很多，都不尽人意。最后说了Mail To Commenter，感觉才是自己需要的，先使用段时间再说了，自己的网站也没什么访问量，先备在那里好了。谢谢了。</p><p><strong>287.</strong><i>2010.07.24.1:46.pm</i>.&nbsp;cwz: 你好，谢谢你的插件。不过我的安装发现不能用。我安装了WP-Mail-SMTP插件，测试可以给邮箱发送邮件。然后安装Mail To Commenter，评论后并没有收到相关通知邮件。帮我一下，谢谢..</p><p><strong>286.</strong><i>2010.07.20.4:57.pm</i>.&nbsp;<a href="http://www.jasonwen.net/">Jason</a>: 您好 我配置好了这个插件 通过插件最下方的 发送邮件 测试  测试成功
可以发送  但是当有人回复的时候 却收不到邮件 这是为何 望解答 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' /> </p><p><strong>285.</strong><i>2010.07.15.9:20.am</i>.&nbsp;<a href="http://jsmix.com">坚强的小展</a>: 非常感谢你提供的这个插件，很好用。
但是我想请教一个问题，我应该怎么做才能让我的评论者们能够选择是否在自己的评论被回复的时候发送邮件通知，现在没有这个选项，这意味着不管评论者愿不愿意，只要他的评论被回复，他就会收到邮件，事实上有些人并不想如此。
我在回复的表单加了一个“被回复时是否邮件通知”的checkbox，但是我应该怎样才能让你的插件知道某个用户可能并不希望收到邮件通知？</p><p><strong>284.</strong><i>2010.07.03.4:26.pm</i>.&nbsp;<a href="http://www.jethluo.com/archives/43">Wordpress 插件 Wordpress Thread Comment &#8211; 可回复邮件给评论人 - 老鲨的博客</a>: [...] 这几天一直和小胖研究WP。今天无意中发现我们俩的博客邮件回复评论者功能还没有。。检查了一下，虽然我们有Mail To Commenter插件，但是需要再回复的时候加 @用户 内容&nbsp; 才能回复邮件给评论者，看到别人的都是直接回复就可以的，所以也想研究一下。 [...]</p><p><strong>283.</strong><i>2010.06.28.10:50.pm</i>.&nbsp;<a href="http://www.wpmes.cn/archive/v7-download-theme-paran.html">帕兰的主题V7下载</a>: [...] Mail To Commenter – 实现留言回复通知功能 [...]</p><p><strong>282.</strong><i>2010.06.28.7:51.pm</i>.&nbsp;<a href="http://www.0575r.com">小杜</a>: 杯具，我还是不行~</p><p><strong>281.</strong><i>2010.06.14.3:28.pm</i>.&nbsp;XIII: <a href="#comment-73474" rel="nofollow">@山之岚 </a>朋友，我用的2.9.2 为什么安装插件之后一点效果也没有？ 既没有在评论栏那里有的“使用标签”的提示， 也没有@+用户名+空格 回复之后的效果。。。
我的comment.php里面是wp_list_comment 那种，虽然不能用按钮了，为什么连自己添加@ 都不行呢？求解</p><p><strong>280.</strong><i>2010.06.10.11:19.pm</i>.&nbsp;<a href="http://www.maysunphoto.net/blog/?p=5">&raquo; 新的模板图片测试 深圳五月阳光摄影工作室 婚纱摄影 商业摄影</a>: [...] 2. 代码调用 如果只是&#8230; www.thinkagain.cn/archives/989.html 2010-6-9 &#8211; 百度快照 [...]</p><p><strong>279.</strong><i>2010.06.10.8:53.am</i>.&nbsp;<a href="http://slackpark.wordpress.com/2010/06/10/%e8%bd%ac%e4%b8%a4%e7%af%87%e6%9c%89%e5%85%b3wp%e6%8f%92%e4%bb%b6%e7%9a%84%e6%96%87%e7%ab%a0/">转两篇有关WP插件的文章 &laquo; 懒散公园SlackPark</a>: [...] By ThinkAgain | Visit plugin site [...]</p><p><strong>278.</strong><i>2010.06.04.10:51.am</i>.&nbsp;<a href="http://www.himop.com">jiao.w</a>: <a href="#comment-69545" rel="nofollow">@山之岚 </a>我的系统是godaddy的Linux.使用插件的时候测试邮件发送是成功的。然后激活你的插件。我用‘@user’（不带单引号） 不好使。原因也 不知道。还有我的主题是wp_list_comments来显示评论，那你的代码就没法添加吗？在此我求助下。
我的网站http://www.himop.info</p><p><strong>277.</strong><i>2010.05.29.11:25.pm</i>.&nbsp;<a href="http://www.daizimin.tk/index.php/wp_study/14/">让架设在Windows上的Wordpress也能正常发邮件(Smtp)！ | 上善若水</a>: [...] 系统是Windows2003，很让我无奈，因为我们架设的是Wordpress程序，wordpress在缺省无sendmail等UNIX下的邮件服务器时，是无法发送邮件的，诸如用户注册的时候，诸如使用Mail To Commenter插件的时候都需要发送邮件。这时候搜索就是您最好的老师了。果不然，google了一下，我已经有解决方案了。Follow me! [...]</p><p><strong>276.</strong><i>2010.05.25.10:05.pm</i>.&nbsp;<a href="http://imzww.com/zfirst/">Z theme &raquo; Blog Archive &raquo; zFirst</a>: [...] Mail To Commenter或Comment Reply Notification（因为已经默认支持嵌套了，所以强烈建议装上评论邮件通知插件，当然两个同时装也可以） [...]</p><p><strong>275.</strong><i>2010.05.25.12:00.pm</i>.&nbsp;<a href="http://baozi.info">包子</a>: <a href="#comment-132048" rel="nofollow">@山之岚 </a>多谢回复.已经搞定</p><p><strong>274.</strong><i>2010.05.25.9:32.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-131958" rel="nofollow">@包子 </a>为了显示图片按钮，请将此段代码放入留言模板里面，&lt;?php if(function_exists('mailtocommenter_button')) mailtocommenter_button();?&gt;
留言模板通常为comments.php吧。
需注意的是，一些使用wp_list_comments来显示评论的模板，无法使用上述函数来显示按钮的。</p><p><strong>273.</strong><i>2010.05.23.2:54.pm</i>.&nbsp;<a href="http://baozi.info">包子</a>: Hi
我的怎么不显示那个图片呀.急死了.</p><p><strong>272.</strong><i>2010.05.22.10:56.pm</i>.&nbsp;<a href="http://baozi.info">包子</a>: 
这个要加到哪里?</p><p><strong>271.</strong><i>2010.05.20.4:41.pm</i>.&nbsp;<a href="http://www.lordong.net/blog/post/812.html">归一化评论回复通知插件的邮件格式 &laquo; LorDong&#39;s Blog</a>: [...] 我这里使用到了Comment Reply Notification和Main To Commenter两个评论回复通知插件，初始的通知邮件格式是不一样的，直接修改成一样的格式可能还需要局部的修改代码。 [...]</p><p><strong>270.</strong><i>2010.05.17.4:59.pm</i>.&nbsp;<a href="http://en.willin.org/works/wordpress-themes/willin-mood-pro/">Wordpress Theme:Willin-Mood_Pro v2.0.6 Release &laquo; Willin OR Guy - Willin Swissti Wang&#39;s Weblog</a>: [...] Mail To Commenter (@+user+blank) [...]</p><p><strong>269.</strong><i>2010.05.15.12:26.pm</i>.&nbsp;<a href="http://www.imliao.com/?p=101">英文主题：iNove （可设置简体中文） | wordpress主题</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 &#8220;@+user+blank&#8221; [...]</p><p><strong>268.</strong><i>2010.05.08.1:37.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-131055" rel="nofollow">@yangxin </a>已经给你发邮件，请查收。</p><p><strong>267.</strong><i>2010.05.05.12:05.pm</i>.&nbsp;<a href="http://www.iamyoung.com.cn">yangxin</a>: 我的主题模版评论部分就一个    请问mail to commenter的那段代码该怎么加？</p><p><strong>266.</strong><i>2010.05.01.11:45.pm</i>.&nbsp;<a href="http://motian.org/post/blog-wordpress-pinglu-huifu-tongzhi-86.html">六个实用的评论回复通知插件 - 漠天博客</a>: [...] 下载以及设置教程可看下TinkAgain的Wordpress插件: Mail To Commenter v1.3.2 [...]</p><p><strong>265.</strong><i>2010.04.23.11:08.am</i>.&nbsp;<a href="http://en.willin.org/willin-mood-v102/">Willin Life Stream &raquo; Wordpress Theme:Willin-Mood v1.02 Release</a>: [...] Mail To Commenter (@+user+blank) [...]</p><p><strong>264.</strong><i>2010.04.14.11:51.pm</i>.&nbsp;<a href="http://ideapress.org">豬頭六</a>: @菠萝头怪兽 关于发件人email地址无法显示的问题我已搞定。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p><p><strong>263.</strong><i>2010.04.14.9:57.pm</i>.&nbsp;<a href="http://ideapress.org">豬頭六</a>: <a href="#comment-128887" rel="nofollow">@菠萝头怪兽 </a>同问，请博主解答。我没找到地方。</p><p><strong>262.</strong><i>2010.04.14.9:56.pm</i>.&nbsp;<a href="http://ideapress.org">豬頭六</a>: <a href="#comment-121320" rel="nofollow">@JasonChao </a>同问，你会了么。</p><p><strong>261.</strong><i>2010.04.14.9:56.pm</i>.&nbsp;<a href="http://ideapress.org">豬頭六</a>: 插件非常不錯，我已安裝上，請教個問題，那個reply按鈕代碼插到哪裡？我現在的模板有reply啊，不會要修改wordpress程序的源文件吧？我主題里德comments.php文件死活也找不到合适的地方放，望不吝赐教。谢谢。</p><p><strong>260.</strong><i>2010.04.13.2:07.pm</i>.&nbsp;<a href="http://perfamehouse.com/wp/?p=3504">外掛一覽表 | 閒言閒語</a>: [...] Mail To Commenter [版本 1.3.4 | 作者：ThinkAgain | 造訪外掛站台] [...]</p><p><strong>259.</strong><i>2010.04.12.7:39.pm</i>.&nbsp;<a href="http://fireage.cn">lLazyNg</a>: 请问一下，
在后台测试发送邮件，显示发送成功，但实际没有收到，是怎么回事呢？</p><p><strong>258.</strong><i>2010.04.04.1:00.am</i>.&nbsp;<a href="http://kissuzi.com">kissuzi</a>: 正在使用这个插件，感觉不错……</p><p><strong>257.</strong><i>2010.03.21.6:31.pm</i>.&nbsp;<a href="http://www.dogalyazi.com">teknoloji haberleri</a>: wow supper plugin thank you</p><p><strong>256.</strong><i>2010.03.19.10:33.pm</i>.&nbsp;<a href="http://www.l-ba.cn/wordpress/1014.html">六个非常实用的WordPress评论回复通知插件 | 博赚恋吧</a>: [...] 下载以及设置教程可看下TinkAgain的Wordpress插件: Mail To Commenter v1.3.2 [...]</p><p><strong>255.</strong><i>2010.03.15.12:37.pm</i>.&nbsp;<a href="http://12-5.me">菠萝头怪兽</a>: <a href="#comment-69542" rel="nofollow">@山之岚 </a>如何更改邮件地址？？支持2.9.2吗 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </p><p><strong>254.</strong><i>2010.03.15.2:00.am</i>.&nbsp;<a href="http://12-5.me">菠萝头怪兽</a>: 如何更改发送邮件地址？！？！？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </p><p><strong>253.</strong><i>2010.03.09.8:41.pm</i>.&nbsp;<a href="http://c7sky.com/wordpress-plugins-used.html">本站使用的WordPress插件 | 小影&#39;s Blog</a>: [...] Mail To Commenter [...]</p><p><strong>252.</strong><i>2010.03.04.4:08.pm</i>.&nbsp;sameasy: 你好，现在正在用你的插件，非常不错，我有个问题，就是点这个按钮回复后，这个回复内容能嵌套显示吗，而不是现在的另起一段...</p><p><strong>251.</strong><i>2010.02.23.9:01.pm</i>.&nbsp;<a href="http://www.gesee.com/tandberg/">tandberg</a>: 博主高手，学习了！</p><p><strong>250.</strong><i>2010.02.22.4:51.pm</i>.&nbsp;<a href="http://www.tandbergcn.com">tandberg</a>: 好久没来了，看看博主新文章</p><p><strong>249.</strong><i>2010.02.22.4:09.pm</i>.&nbsp;<a href="http://www.polycomasia.com.cn">polycom</a>: 学习了,高手,新年快乐!</p><p><strong>248.</strong><i>2010.02.21.11:49.pm</i>.&nbsp;<a href="http://www.1991s.com">eric</a>: <a href="#comment-69537" rel="nofollow">@ddkk3000 </a>我的邮件怎么发不过啊</p><p><strong>247.</strong><i>2010.02.18.8:28.am</i>.&nbsp;<a href="http://www.jxj.name/summary-myblog/">我的blog简历 &raquo; Just4Memory</a>: [...] Mail to commenter by ThinkAgain 国人的插件，可以用 @其他评论者名字 这种格式自动将评论内容发给别人，很好，很强大！ [...]</p><p><strong>246.</strong><i>2010.02.15.6:06.pm</i>.&nbsp;<a href="http://www.delbert.org.ru/archives/199.html">WordPress留言通知插件&nbsp;|&nbsp;Delbert&#39;s Blog</a>: [...] mail to commenter可以根据用户指定将评论邮件通知对方。通过判断评论内容是否含有“@user空格”或“@user：”的代码， 有的话会发送邮件给留言者。PS：经本博客尝试并没有能够成功回复留言者。 [...]</p><p><strong>245.</strong><i>2010.02.12.2:22.pm</i>.&nbsp;<a href="http://c7sky.com">小影</a>: 我装了WP-MAIL-SMTP插件，不是用的mail()函数，所以好像不能用你的插件，有没有时间更新下呢！相信有很多人想要 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </p><p><strong>244.</strong><i>2010.02.08.9:08.pm</i>.&nbsp;<a href="http://leeiio.me/windowns-wordpress-sendmail/">讓架設在Windows上的Wordpress也能正常發郵件(Smtp)！ - Leeiio Chaos Made.</a>: [...] 目前的另外一個項目“麥客航班”,因為目前服務器托管在江蘇，並且居然裝的系統是Windows 2003，很讓我無奈，因為我們架設的是Wordpress程序，wordpress在缺省無sendmail等UNIX下的郵件服務器時，是無法發送郵件的，諸如用戶注冊的時候，諸如使用Mail To Commenter插件的時候都需要發送郵件。這時候搜索就是您最好的老師了。果不然，google了一下，我已經有解決方案了。Follow me! [...]</p><p><strong>243.</strong><i>2010.02.03.10:10.pm</i>.&nbsp;<a href="http://www.runes-of-magic-gold.com">rom gold</a>: I like this, can u tell me more about this!</p><p><strong>242.</strong><i>2010.02.02.1:53.pm</i>.&nbsp;<a href="http://www.xyan.tk">简单描述</a>: 
代码查到模板哪个位置没有说清楚 啊。。。只是说了插到模板，这种说法很不负责任 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' />  我都一行行的插进去试过了，还是不行。。wp2.9.1版本</p><p><strong>241.</strong><i>2010.01.31.4:09.pm</i>.&nbsp;<a href="http://xinsay.com/?p=339">WordPress插件推荐 &shy; 赤橙黄绿</a>: [...] Mail To Commenter：如果你回复了留言者，它会根据留言者的电邮地址进行提示其留言被回复。 [...]</p><p><strong>240.</strong><i>2010.01.26.10:47.pm</i>.&nbsp;<a href="http://imyan.org">小棒打鼓</a>: 你好，想请教您个问题，我的这个插件怎么无法发信呢，不是点第一项，只要激活了就可以了吗？？不明白为什么不能发出，我现在用的英文的WP，但您这个插件我用的是中文的，是不是这里的原因？？</p><p><strong>239.</strong><i>2010.01.16.9:52.am</i>.&nbsp;<a href="http://jeequ.com">集趣</a>: 默认的邮件地址在哪里修改呢？</p><p><strong>238.</strong><i>2010.01.15.5:44.pm</i>.&nbsp;<a href="http://jeequ.com">集趣</a>: 这个插件确实不错</p><p><strong>237.</strong><i>2010.01.15.3:46.pm</i>.&nbsp;<a href="http://www.taobaodir.com">飞机</a>: WordPress有针对某个留言的回复插件吗</p><p><strong>236.</strong><i>2010.01.15.3:03.pm</i>.&nbsp;<a href="http://luheou.com/2010/01/%e9%82%ae%e4%bb%b6%e9%80%9a%e7%9f%a5%e5%9b%9e%e5%a4%8d%e8%af%84%e8%ae%ba%e9%87%8c%e7%9a%84%e6%8a%98%e8%85%be.html">邮件通知&#8221;回复评论&#8221;里的折腾 | 走在边缘的世界</a>: [...] 之前一直用“Mail To Commenter”插件，貌似很正常，所以一直也没有在意（包括我以为朋友们也是可以收到我的回复评论的），直到水水评论到‘无法收取我回复的评论’时，我才陆续问了其他朋友，原来他们也没有收到。我才着手重新折腾下这个问题，可是我找到Mail To Commenter教程对照来对照去，没发现我的设置有问题，查看页面源代码，发现一个样式“replay”，搜索single.php页面，查不到这个class=&#8221;replay&#8221;，只看到个&lt;code&gt;&lt;?php comments_template(); ?&gt;&lt;/code&gt;的一条代码，没有理由吧，从哪里冒出来的这个嘛～，没有办法，只有找大虾帮忙了，他把&#8221;themes/主题名称&#8221;目录下的functions.php文件加了个div，写上 class=&#8221;replay&#8221;,再加上&lt;code&gt;&lt;?php if(function_exists(&#8216;mailtocommenter_button&#8217;)) mailtocommenter_button();?&gt;&lt;/code&gt;，结果，还是询问朋友们不能收到邮件，而我自己依然可以收取！更悲哀的是连之前的嵌套功能也没有了。此事作罢，过了些时日，自己回头看看，越发觉得这个评论功能怎么看就怎么不舒服，于是干脆自己动手折腾了…… [...]</p><p><strong>235.</strong><i>2010.01.14.1:40.pm</i>.&nbsp;<a href="http://www.wzllog.com">待续.</a>: <a href="#comment-122330" rel="nofollow">@山之岚 </a>
有几个疑问，按钮的这段代码应该插到comments.php哪个位置呢，试了很多位置也找不到应该放在哪才能在每个评论后面都有一个回复按钮. 还有我用@user发送通知，结果我自己也收到了邮件，而且插件把我当成了我要发送的那个人，还有我请2名读者测试的时候，我发给其中一人，结果2人都表示收到了。怎么变群发了呢？？？费解，万望解答</p><p><strong>234.</strong><i>2010.01.06.3:33.pm</i>.&nbsp;<a href="http://ooxxab.com/lets-set-up-wordpress-on-windows-can-also-be-a-normal-mail-smtp.html">创造 &raquo; 让架设在Windows上的Wordpress也能正常发邮件(Smtp)！</a>: [...] 系统是Windows 2003，很让我无奈，因为我们架设的是Wordpress程序，wordpress在缺省无sendmail等UNIX下的邮件服务器时，是无法发送邮件的，诸如用户注册的时候，诸如使用Mail To Commenter插件的时候都需要发送邮件。这时候搜索就是您最好的老师了。果不然，google了一下，我已经有解决方案了。Follow me! [...]</p><p><strong>233.</strong><i>2010.01.04.3:18.pm</i>.&nbsp;<a href="http://www.leolao.com">LEO</a>: 发觉没用啊～什么原因？</p><p><strong>232.</strong><i>2010.01.03.2:30.pm</i>.&nbsp;<a href="http://www.tan-ming.com/?p=1045">Wordpress主题：Dolphin-01 正式发布 - Saweyr's Base</a>: [...] WP-PostViews WP-Syntax WP-RecentComments WP-MulticolLinks WP-EasyArchives Gravatar (WP2.3 or lower) Mail To Commenter [...]</p><p><strong>231.</strong><i>2010.01.02.12:18.am</i>.&nbsp;<a href="http://www.seops.cn/P/521.html">本站的简单清爽主题共享. - Wordpress - 小哀扯淡</a>: [...] 2,Mail To Commenter 评论邮件回复插件, 地址 [...]</p><p><strong>230.</strong><i>2009.12.29.11:18.pm</i>.&nbsp;<a href="http://www.so-blog.cn">TT</a>: 这个软件，我装了没有作用，我主机是windows</p><p><strong>229.</strong><i>2009.12.19.9:47.pm</i>.&nbsp;<a href="http://www.sss99.cn">曹建的Blog</a>: 
按钮的这段代码应该插到哪个模板哪个位置呢。</p><p><strong>228.</strong><i>2009.12.19.9:44.pm</i>.&nbsp;<a href="http://www.sss99.cn">曹建的Blog</a>: 很牛叉，不知道你的回复notify是加在哪里的。</p><p><strong>227.</strong><i>2009.12.14.4:19.pm</i>.&nbsp;<a href="http://www.snowyy.com/">Snowyy</a>: <a href="#comment-123261" rel="nofollow">@Snowyy </a>汗颜，折腾了半天，重新覆盖一次插件问题就没有了Orz，不劳烦博主了，谢谢开发如此好用的插件！</p><p><strong>226.</strong><i>2009.12.14.1:45.pm</i>.&nbsp;<a href="http://www.snowyy.com/">Snowyy</a>: 博主您好，我用这个插件颇久了，最近才看到有博友说回复邮件会被gmail判为垃圾邮件，搜索了一下其他博友也有同样情况，参考了多个解决方法但行不通。

不知博主在更新版本过程中是否有对这部分有改动？旧版本会否不出现此问题？</p><p><strong>225.</strong><i>2009.12.01.12:24.am</i>.&nbsp;<a href="http://ichentao.com/blog/archives/1300/">Stand Alone Complex - 2009-09-15</a>: [...] Mail To Commenter | 通过类似于 twitter 的模式, 邮件通知留言的好友有新的回复. [...]</p><p><strong>224.</strong><i>2009.11.29.11:12.am</i>.&nbsp;<a href="http://xiazhi.org/339.html">九四网志 &raquo; WordPress插件推荐</a>: [...] Mail To Commenter：如果你回复了留言者，它会根据留言者的电邮地址进行提示其留言被回复。 [...]</p><p><strong>223.</strong><i>2009.11.28.7:34.am</i>.&nbsp;<a href="http://purwasuka.web.id">Belajar SEO</a>: thanks for plugin <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>222.</strong><i>2009.11.24.10:55.pm</i>.&nbsp;<a href="http://leeiio.me/mail-to-commenter-sendmail-from/">Mail to Commenter插件的发件人邮箱以及名称的问题修正 - Leeiio Chaos Made.</a>: [...]  Mail to Commenter是一款评论辅助插件，通过判断评论内容是否含有‘@user [...]</p><p><strong>221.</strong><i>2009.11.23.1:01.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-122153" rel="nofollow">@风花絮 </a>请将
<code><?php if(function_exists('mailtocommenter_button')) mailtocommenter_button();?></code>
插入到主题目录下的comments.php（默认留言模板）里面去。</p><p><strong>220.</strong><i>2009.11.20.9:06.am</i>.&nbsp;<a href="http://www.51kzx.com">风花絮</a>: 不知道在模板的什么地方插入那句，才能用！！也不知道是哪个模板。。。囧。。。</p><p><strong>219.</strong><i>2009.11.16.6:15.am</i>.&nbsp;<a href="http://www.eylos.com/inove-turkce-tema-by-neoease">EYLOS!&#8230; &raquo; iNove Türkçe tema by neoease</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter [...]</p><p><strong>218.</strong><i>2009.11.08.3:48.pm</i>.&nbsp;<a href="http://blog.sohotobe.com">truant</a>: 你好，我觉得你这个插件的名字应该改一下，一般用英文来表达我们中文的评论者的话应该用commentator而不是commenter.谢谢</p><p><strong>217.</strong><i>2009.11.07.3:07.am</i>.&nbsp;<a href="http://metodepromovare.wordpress.com/2009/11/06/top-1000-wordpress-plugin-authors/">Top 1000 WordPress Plugin Authors &laquo; Metode de promovare</a>: [...] Mail To Commenter [...]</p><p><strong>216.</strong><i>2009.11.06.1:42.pm</i>.&nbsp;<a href="http://www.haozer.com">浩子</a>: 问下，我用了这个插件后为什么发送的邮件都没有发送地址呢？
谢谢了~</p><p><strong>215.</strong><i>2009.11.06.9:20.am</i>.&nbsp;<a href="http://www.renoxbell-world.com.cn">蜂窝小子</a>: 我在安装时老是有问题，评论显示不了</p><p><strong>214.</strong><i>2009.11.05.2:49.pm</i>.&nbsp;<a href="http://www.onexin.com/index.php/views/299">正准备安装的 Wordpress 插件 - Onexin</a>: [...] Mail To Commenter 使用 @回复 给评论者回复时发送邮件提示. [...]</p><p><strong>213.</strong><i>2009.11.02.9:46.am</i>.&nbsp;<a href="http://zhaolianlin.com">JasonChao</a>: 怎么修改发件人地址啊？？现在显示的是“博客名字@主机名字”，求教！！</p><p><strong>212.</strong><i>2009.10.29.9:41.am</i>.&nbsp;<a href="http://doumir.com/2009/10/28/block-wordpress-theme-recommend-plugins-list/">Block wordpress theme recommend plugins list | Doumir</a>: [...] to Comments WP23 Related Posts WP-PageNavi WP-RecentComments WP-Syntax Mail To Commenter (@+user+blank) Quick [...]</p><p><strong>211.</strong><i>2009.10.25.1:59.pm</i>.&nbsp;<a href="http://yiwangshi.com/">忆往事</a>: 我在博客中上安装了这款插件，但是每当回复时，页面就会刷新一次，当第二次点回复时就不会刷新了，请问这是怎么回事啊。</p><p><strong>210.</strong><i>2009.10.25.8:10.am</i>.&nbsp;<a href="http://hc1988.cn/index.php/blocks.html">荒草河川 &raquo; Blocks</a>: [...] Plugins: WP23 Related Posts WP-PageNavi WP-RecentComments WP-EasyArchives WP-Syntax Mail To Commenter (@+user+blank) Quick Comments Pagebar2 (for [...]</p><p><strong>209.</strong><i>2009.10.25.8:09.am</i>.&nbsp;<a href="http://hc1988.cn/index.php/inove.html">荒草河川 &raquo; iNove</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter [...]</p><p><strong>208.</strong><i>2009.10.25.8:07.am</i>.&nbsp;<a href="http://hc1988.cn/index.php/elegant-box.html">荒草河川 &raquo; Elegant Box</a>: [...] WP-PostViews WP-Syntax WP-RecentComments WP-MulticolLinks WP-EasyArchives Gravatar (WP2.3 or lower) Mail To Commenter [...]</p><p><strong>207.</strong><i>2009.10.23.9:57.am</i>.&nbsp;<a href="http://imleeo.com/wp/the-solution-for-does-not-receive-an-email-of-user-registration-and-comments-email-notification.html">Configure SMTP解决WordPress用户注册和评论邮件通知收不到邮件的问题 | IT北瓜</a>: [...] &#160;&#160;&#160;&#160;&#160; 前两天安装了ThinkAgain的Mail To Commenter插件，可是发现评论回复收不到邮件通知，用插件自带的邮件发送测试发送的邮件也收不到。期间询问了ThinkAgain，他也热心的给了我回复，但是问题还是没有解决。同时还发现用户注册后收不到发送密码的邮件。博客的主机是在酋长那购买的，是Linux的，按道理发邮件是不会有什么问题的。一时间真是举手无措，后来找到了Configure SMTP这款插件，总算把问题解决了。邮件的使用很简单，这里就不多做阐述了，记录一下，给遇到同样问题的博主们做下参考。 [...]</p><p><strong>206.</strong><i>2009.10.23.9:36.am</i>.&nbsp;<a href="http://imleeo.com">leeo</a>: <a href="#comment-120359" rel="nofollow">@山之岚 </a>感谢你的热心答复，虽然现在还不清楚到底什么原因导致不能收到邮件。不过安装了<a href="http://wordpress.org/extend/plugins/configure-smtp/" rel="nofollow">Configure SMTP</a>插件之后就可以收到邮件了 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  。。。</p><p><strong>205.</strong><i>2009.10.22.8:42.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-120336" rel="nofollow">@leeo </a>因为本插件是调用WP内置邮件函数来发送邮件的，如果邮件测试结果，无法收到邮件的话，这是由于你的WP站点不提供邮件服务造成的。或者，你检查下发送的邮件是否被判定为垃圾邮件了。
另外，插件设置页面上的几个选项要注意看下。还有插件默认设置成为用户本人无法给自己发邮件的。如果你想查看给用户发送邮件的结果的话，可以讲“通知管理员”选项选中，这样的话，可以自动将邮件抄送一份给管理员邮箱的。</p><p><strong>204.</strong><i>2009.10.21.10:33.pm</i>.&nbsp;<a href="http://imleeo.com">leeo</a>: <a href="#comment-120328" rel="nofollow">@山之岚 </a>谢谢你的回复。我通过页面下方邮件发送测试框发送邮件提示邮件已发送，但我的邮箱并没有收到邮件。请问这是什么原因呢？还有你说的邮件功能是否启用指的是“激活邮件通知”的那一项吧？我有选中。</p><p><strong>203.</strong><i>2009.10.21.2:01.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-120327" rel="nofollow">@leeo </a>已在你的博客留言了，请检查下。</p><p><strong>202.</strong><i>2009.10.21.1:36.pm</i>.&nbsp;<a href="http://imleeo.com">leeo</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' />  我安装插件后怎么没法收到邮件呢？是不是我哪里弄错了，@按钮也有了，麻烦哪位有空帮我看一下，谢谢。。。<a href="http://imleeo.com" rel="nofollow">我的博客地址</a></p><p><strong>201.</strong><i>2009.10.18.10:06.pm</i>.&nbsp;<a href="http://yiwangshi.com/">忆往事</a>: 为什么我安装以后，当点击回复按钮后，页面就会刷新一次，然后第二次点回复就没有事了，这是怎么回事啊。</p><p><strong>200.</strong><i>2009.10.14.11:32.am</i>.&nbsp;qilbore: 你好~~我在自己博客上安装了这个插件，后台测试发邮件可以正常收信，但回复评论无法正常收信，请问是什么问题啊？</p><p><strong>199.</strong><i>2009.10.14.9:15.am</i>.&nbsp;<a href="http://www.bywzy.com">bywzy</a>: 我用的也是INOVE的主题，这个插件也插不起来！！现在评论，注册的邮件可以收到了。但这个回复的邮件就是没有。能不能解决一下。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> </p><p><strong>198.</strong><i>2009.10.13.2:07.am</i>.&nbsp;Konecy: <a href="#comment-120091" rel="nofollow">@Konecy </a>怎么收不到啊……</p><p><strong>197.</strong><i>2009.10.13.2:05.am</i>.&nbsp;Konecy: @Konecy 
谢谢，测试一下！</p><p><strong>196.</strong><i>2009.10.12.3:14.pm</i>.&nbsp;<a href="http://www.allwinworld.net">John</a>: 下载后无法解压。</p><p><strong>195.</strong><i>2009.10.12.2:40.pm</i>.&nbsp;<a href="http://www.dfwolf.org/">断峰狼</a>: 跟72楼的兄弟一样的情况。
烦请作者帮忙分析下呢~

Leeiio
2008.11.09 Sunday 6:50 pm 

奇怪了，我底部測試發送郵件成功，但是測試回覆就不能發送郵件，很奇怪啊。</p><p><strong>194.</strong><i>2009.10.11.4:57.pm</i>.&nbsp;<a href="http://BigLine.cn">Shiaron</a>: 开始摆弄WP,这个插件拿来试试~嘿嘿</p><p><strong>193.</strong><i>2009.10.10.5:02.pm</i>.&nbsp;<a href="http://www.konoko.cn/wp/theme-plugs/">Konoko Web Note &raquo; 安装主题及若干插件</a>: [...] Mail To Commenter 使用 @回复 给评论者回复时发送邮件提示. [...]</p><p><strong>192.</strong><i>2009.10.09.1:32.pm</i>.&nbsp;经: @山之岚 测试下下</p><p><strong>191.</strong><i>2009.10.09.1:06.pm</i>.&nbsp;qilbore: 不错</p><p><strong>190.</strong><i>2009.10.07.9:06.pm</i>.&nbsp;<a href="http://ww.jinshan.org.cn/lichgo">lichgo</a>: 请问装这件插件，前提是不是wordpress必须支持发送邮件？</p><p><strong>189.</strong><i>2009.10.04.2:51.pm</i>.&nbsp;<a href="http://www.icycandy.com/blog/modify-from-name-and-email-of-the-mail-to-commenter-plugin/">冰糖葫芦 &raquo; Mail to Commenter插件修改发件人邮箱和名称</a>: [...] Mail to Commenter是一款评论辅助插件。 当你用&#8221;@user &#8220;或者&#8221;@user:&#8221;回复了user的评论时，该插件可以向user发送一封邮件，通知user他的评论有了新的回复。 [...]</p><p><strong>188.</strong><i>2009.09.28.9:43.pm</i>.&nbsp;<a href="http://www.lite3.cn">lite3</a>: <a href="#comment-69545" rel="nofollow">@Arthack </a>

我也是啊， 我@user 也发不了邮件啊</p><p><strong>187.</strong><i>2009.09.22.11:05.pm</i>.&nbsp;<a href="http://115.47.234.167/2009/5.html">| 站长志 | &raquo; 使用中的 WordPress 插件</a>: [...] Mail To Commenter 使用 @回复 给评论者回复时发送邮件提示. [...]</p><p><strong>186.</strong><i>2009.09.22.9:25.pm</i>.&nbsp;<a href="http://blog.sky-ec.com">Felix</a>: 帮我看看，好像没用么？最好帮忙去测试下，后台都设置好咯，难道是主体INOVE不支持此插件····PS:INOVE本身就有 “@use "</p><p><strong>185.</strong><i>2009.09.21.7:43.am</i>.&nbsp;kusz: i'll check</p><p><strong>184.</strong><i>2009.09.18.1:38.pm</i>.&nbsp;<a href="http://www.neoease.com/wordpress-plugins-i-using/">使用中的 WordPress 插件</a>: [...] Mail To Commenter 使用 @回复 给评论者回复时发送邮件提示. [...]</p><p><strong>183.</strong><i>2009.09.06.4:36.pm</i>.&nbsp;<a href="http://sizheng.org/">D</a>: 我添加了这个插件，怎么@all就可以发送到邮件，@user就发送不到呢？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  
麻烦帮我看看~</p><p><strong>182.</strong><i>2009.09.05.1:39.am</i>.&nbsp;<a href="http://www.rubinz.cn/">Rubinz</a>: 这个插件很好用，谢谢博主。但我发现每次邮件回复都在我的垃圾箱，请问发件人的名称，地址在哪里改啊 
发件人：WordPress   查看发件人信息 添加 拒收 
这个是空的</p><p><strong>181.</strong><i>2009.08.30.9:52.pm</i>.&nbsp;<a href="http://aunsen.com/archives/990.html">Aunsen&#8217;blog北风最近的小小变化 | 北风</a>: [...] 一、评论邮件回复：大家都知道WordPress发邮件用的是PHP的mail参数，这都是基于Liunx环境的，而Win主机采用的是SMTP，解决这个问题需要我们安装一个小小的插件，我选择的是WP-Mail-SMTP，经过测试，0.7版本的才能发送邮件，如果你安装了目前最新的0.82版而不能发送邮件不妨降低到0.7版本。如果需要评论邮件回复，不妨试试Mail To Commenter，结合你的主题稍作修改就能完美的解决邮件回复了！ [...]</p><p><strong>180.</strong><i>2009.08.30.12:02.pm</i>.&nbsp;<a href="http://www.goeshare.com/inove-inove">inove,inove wordpress theme,designed by a chinese-mg12 | Goeshare</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (support &#8220;@+user+blank&#8221; [...]</p><p><strong>179.</strong><i>2009.08.25.12:58.pm</i>.&nbsp;<a href="http://www.gbsou.com/2009/08/25/819.html">帕兰的主题V7下载 | 关注J2EE及相关技术</a>: [...] Related Posts &ndash; 显示相关文章WP Post Views &ndash; 显示热门文章Mail To Commenter &ndash; 实现留言回复通知功能另外还有WP Smilies也是出自Mail To [...]</p><p><strong>178.</strong><i>2009.08.20.11:24.pm</i>.&nbsp;<a href="http://aifreedom.com">Ai.Freedom</a>: 这个插件支持WP2.7的Thread comment么? 我打开了WP2.7的Thread comment, 但测试表明我无法收到提醒邮件. 记得我之前不开Thread comment时是可以的. 谢谢!</p><p><strong>177.</strong><i>2009.08.20.11:48.am</i>.&nbsp;哎: <a href="#comment-117410" rel="nofollow">@晕 </a>我也没有成功</p><p><strong>176.</strong><i>2009.08.20.11:47.am</i>.&nbsp;晕: <a href="#comment-69545" rel="nofollow">@Arthack </a>我怎么不行呀？</p><p><strong>175.</strong><i>2009.08.14.8:26.pm</i>.&nbsp;<a href="http://www.0532cnc.cn/soft/internet/display-a-new-theme-cnc.html">新主题展示：CNC | HuāGuǒShān</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 &#8220;@+user+blank&#8221; [...]</p><p><strong>174.</strong><i>2009.08.14.12:29.am</i>.&nbsp;<a href="http://www.myzhangyu.com">章鱼</a>: 问下怎么会出现这种错误：？
array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /usr/home/zywwyq/domains/myzhangyu.com/public_html/wp-content/plugins/mailtocommenter/mailtocommenter.php on line 54</p><p><strong>173.</strong><i>2009.08.09.2:43.am</i>.&nbsp;<a href="http://keepit.cn/wp-theme-imagine.html">WP主题：帕兰印象imagine(原V7)</a>: [...] Mail To Commenter – 实现留言回复通知功能 [...]</p><p><strong>172.</strong><i>2009.08.08.12:07.pm</i>.&nbsp;<a href="http://www.zengmiao.com/index.php/200908769.html">重装博客程序出现了很多问题&#8230; | 醒悟人生</a>: [...] Mail To Commenter [...]</p><p><strong>171.</strong><i>2009.08.08.1:27.am</i>.&nbsp;<a href="http://www.neoease.com/blocks2/">主题发布: Blocks2</a>: [...] WP-MulticolLinks Highslide4WP WP-Syntax WP-PostRatings wp_addbookmarks [修改版本] Mail To Commenter (@+user+blank) Quick Comments WP-PostViews Gravatar (针对 WordPress 2.3 [...]</p><p><strong>170.</strong><i>2009.08.07.5:55.pm</i>.&nbsp;<a href="http://www.theme8.com/wordpress-theme-imagine/">WordPress theme: imagine - 主题吧</a>: [...] Mail To Commenter – 实现留言回复通知功能 [...]</p><p><strong>169.</strong><i>2009.08.07.4:56.pm</i>.&nbsp;<a href="http://www.spirit9.cn/wp/1114/">我一直在 &raquo; WordPress插件使用记录</a>: [...] Mail To Commenter    版本 1.3.4 | 作者为 ThinkAgain | 访问插件主页 [...]</p><p><strong>168.</strong><i>2009.08.05.8:09.pm</i>.&nbsp;<a href="http://icean.cn/?p=202">老子的青春谁也拦不住 &raquo; Blog Archive &raquo; Levelup</a>: [...] 才发现原来是Win的,难怪邮件通知使用不能. 装了个Mail To Commenter [...]</p><p><strong>167.</strong><i>2009.08.01.6:21.pm</i>.&nbsp;<a href="http://yue.st/blog/2009/08/comment-test/">评论回复和 email 通知测试 &laquo; 宇世界·流变</a>: [...] Quote Comments 和 Mail To Commenter [...]</p><p><strong>166.</strong><i>2009.07.31.4:19.pm</i>.&nbsp;<a href="http://paranimage.com/wordpress%e4%b8%bb%e9%a2%98imagine%e9%9d%9e%e6%ad%a3%e5%b8%b8%e5%85%b1%e4%ba%ab%e5%8e%9f%e8%87%aa%e7%94%a8v7/">WordPress主题imagine非正常共享(原自用V7) | 帕兰映像</a>: [...] Mail To Commenter &#8211; 实现留言回复通知功能 [...]</p><p><strong>165.</strong><i>2009.07.31.3:20.pm</i>.&nbsp;<a href="http://www.binjoo.net">冰剑</a>: 我用QQ邮箱接收，邮件都是发送到垃圾箱里面的。。
发件人显示的是：
WordPress (此地址未验证，请注意识别)
请问是怎么回事？？？</p><p><strong>164.</strong><i>2009.07.27.12:11.am</i>.&nbsp;<a href="http://www.at-blog.com">富爸爸</a>: 不错！支持一下……</p><p><strong>163.</strong><i>2009.07.26.10:02.am</i>.&nbsp;<a href="http://www.whisperer.name">whisperer</a>: 已解决~</p><p><strong>162.</strong><i>2009.07.25.10:34.am</i>.&nbsp;<a href="http://www.icecresalt.cn/archives/12">冰淇淋加盐 &raquo; 主题说明</a>: [...] (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter: http://www.thinkagain.cn/archives/989.html (via [...]</p><p><strong>161.</strong><i>2009.07.23.2:47.am</i>.&nbsp;<a href="http://www.whisperer.name">whisperer</a>: 有一个奇怪的问题，
就是发送邮件的发件人名称它会在后面加个，
我不想让它加博客名怎么办？

PS:我用了WP-Mail-SMTP这个插件
在这个插件里的发件人名称这块儿，除非我填我的域名，否则填什么都MTC发邮件时都会加博客名.
PS2：我用WP-Mail-SMTP发测试邮件时不会加博客名.
希望能帮我解答疑问，谢谢~~</p><p><strong>160.</strong><i>2009.07.22.12:47.am</i>.&nbsp;<a href="http://wjxdream.cn/">粽叶加米</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' />  
很不幸使用到发出的邮件‘发件人’若是中文的话出现‘=?UTF-8?B?57K95Y+25Yqg57Gz?=...’
看怎么回事别针</p><p><strong>159.</strong><i>2009.07.19.5:40.am</i>.&nbsp;<a href="http://www.saywp.com/wordpress/add-reply-function-in-wordpress-thread-comment-with-jquery.html">利用JQuery为WordPress的嵌套回复添加@reply功能 | Jinwen Say</a>: [...] 而@reply回复的邮件通知，则建议通过Mail To Commenter这个插件实现。由于这个插件是能自动检测评论中带@的字段而自动发送通知邮件的，所以我们同样只要在后台激活这个插件就可以了。 [...]</p><p><strong>158.</strong><i>2009.07.18.10:40.pm</i>.&nbsp;<a href="http://www.zengmiao.com/index.php/200907484.html">测试一下 | 醒悟人生</a>: [...] WP-Syntax: http://wordpress.org/extend/plugins/wp-syntax/ Mail To Commenter: http://www.thinkagain.cn/archives/989.html (via &#8216;@+user+blank&#8217;) Quick Comments: http://wppluginsj.sourceforge.jp/quick-comments/ [...]</p><p><strong>157.</strong><i>2009.07.18.9:50.pm</i>.&nbsp;<a href="http://www.zengmiao.com/index.php/200907479.html">教你如何安装Block3主题 | 醒悟人生</a>: [...] WP-Syntax: http://wordpress.org/extend/plugins/wp-syntax/ Mail To Commenter: http://www.thinkagain.cn/archives/989.html (via &#8216;@+user+blank&#8217;) Quick Comments: http://wppluginsj.sourceforge.jp/quick-comments/ [...]</p><p><strong>156.</strong><i>2009.06.30.2:20.pm</i>.&nbsp;<a href="http://kaero.org/2009/06/30/new_version_is_released/">aeroom 重装上线 &#8211; aeroom</a>: [...] 弃用了 Quoter，启用了一个回复评论的通知插件：Mail to Commentor，我觉得邮件通知真的很必要，非常利于形成友好的讨论氛围。还有一个相似的插件是 Wordpress Thread Comment，相对来说功能更强大，只是回复的时候会改动表单的位置，对布局造成破坏，这个有点让人讨厌啊-_- [...]</p><p><strong>155.</strong><i>2009.06.29.12:26.pm</i>.&nbsp;<a href="http://www.jutoy.net">Jutoy</a>: Nice job, Support U!
好东西，支持你！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>154.</strong><i>2009.06.28.9:18.pm</i>.&nbsp;<a href="http://leo-n.cn/archives/2009/06/%e4%b9%9d%e4%b8%aa%e7%ae%80%e7%ba%a6%e8%80%8c%e4%b8%8d%e7%ae%80%e5%8d%95%e7%9a%84wordpress%e4%b8%bb%e9%a2%98%e6%8e%a8%e8%8d%90.html">九个简约而不简单的WordPress主题推荐 - 不知所云</a>: [...] PostsWP-RecentCommentsWP-SyntaxWP-MulticolLinksGravatar (针对 WordPress 2.3 或以下版本)Mail To Commenter (支持 &#8220;@+user+blank&#8221; [...]</p><p><strong>153.</strong><i>2009.06.26.11:06.pm</i>.&nbsp;<a href="http://www.neoease.com/blocks/">主题发布: Blocks</a>: [...] Subscribe to Comments WP23 Related Posts WP-PageNavi WP-RecentComments WP-Syntax Mail To Commenter [...]</p><p><strong>152.</strong><i>2009.06.16.2:19.pm</i>.&nbsp;<a href="http://www.iplaysoft.net/wordpress-%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90-mail-to-commenter/">玩软部落 &raquo; Wordpress 插件推荐: Mail To Commenter</a>: [...] Mail To Commenter 这是一个很有创意的插件, 作者回复来访者留言后, 很希望来访者可以第一时间知道已被回复, 该插件可以根据用户指定将评论邮件通知对方, 做到了很明确的针对性, 而大部分邮件通知插件会直接把当篇文章的所有留言更新都通知留言者. 这不是一个评论管理相关的插件. 它的功能其实非常简单, 通过判断评论内容是否含有 &#8220;@user&#8221; 或 &#8220;@user:&#8221; 的代码, 如果有的话, 会将评论内容用邮件发送给 user. [...]</p><p><strong>151.</strong><i>2009.06.14.2:04.pm</i>.&nbsp;<a href="http://heybronco.net">bronco</a>: <a href="#comment-111962" rel="nofollow">@bronco </a>
晕，没说完~~ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' />  
修改Header的From部分为规范形式，即:
"Form: "名字"  "</p><p><strong>150.</strong><i>2009.06.14.1:48.pm</i>.&nbsp;<a href="http://heybronco.net">bronco</a>: 有一个问题~
在mailtocommenter_functions.php的第217行，邮件Header的From部分，只使用了博客名称，这样在某些虚拟主机上会有点小问题。具体来说，发件人的地址会变成"博客名@主机名"或者"主机账户名@主机名"的形式。这样看着实在有点不爽~
建议增加一项自定义发送地址的选项，当然，考虑到很多邮件服务器的防spam设置，可以只允许自定义@前面的部分，后面的就是用博客域名。</p><p><strong>149.</strong><i>2009.06.09.10:00.am</i>.&nbsp;<a href="http://www.beforedawn.net.cn/">世纪之光</a>: 请教一下，这个插件是怎样调用wordpress函数的呢？因为我的主机是windows的，所以使用了wp-mail-smtp插件来实现wordpress发邮件的功能，在mailtocommenter的选项里测试发送邮件的功能时正常，目的邮箱可以正常收到邮件，可是在回复评论时就是没有邮件被发送，"@XXX ",关键字符是有的，比较纳闷。网址：www.loststop.cn，如果博客有空的话，能否帮忙看一下？
先谢谢了。</p><p><strong>148.</strong><i>2009.06.03.8:02.pm</i>.&nbsp;<a href="http://www.wodidai.com">许三品</a>: 可不可以弄个支持WP2.7嵌套回复邮件通知的插件？</p><p><strong>147.</strong><i>2009.05.31.7:48.pm</i>.&nbsp;<a href="http://www.8suo.com">8suo</a>: @all 是个好插件，不过有点烦。</p><p><strong>146.</strong><i>2009.05.27.11:12.pm</i>.&nbsp;<a href="http://tsuiping.com/archives/wordpress-installation-for-the-5-comments-plugin.html">为WordPress安装的5个评论插件 | Tsuiping.txt</a>: [...] 2.评论语法 - Comment Form Quicktags 3.文字预览 - Live Comment Preview 4.邮件提醒 - Mail To Commenter 5.防刷新评论 - AJAX Comments 6.同步更新到Twitter - Commentwitter [...]</p><p><strong>145.</strong><i>2009.05.26.6:26.pm</i>.&nbsp;<a href="http://www.jfffff.com">疾风</a>: 5555  我的邮件发送不成功</p><p><strong>144.</strong><i>2009.05.26.11:42.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 我现在用这个插件后居然出现这样的问题，就是在同一篇日志里面，如果你回复了一次后，再点另一条评论进行回复时，页面自动刷新了，不知是啥原因</p><p><strong>143.</strong><i>2009.05.14.10:36.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-109205" rel="nofollow">@Xiaoding </a>记得好像我解决了这个问题，如果该问题仍存在的话，那又是个待解决的bug了。呵呵</p><p><strong>142.</strong><i>2009.05.14.10:35.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-109378" rel="nofollow">@黄雀 </a>造成邮件通知不稳定的原因主要可能和服务器状态有关吧。因为程序本身是死的，它是按照已设定好的逻辑运行的，只存在行与不行，不会存在可能或不可能。另外，或许插件和其他插件或模板存在冲突。</p><p><strong>141.</strong><i>2009.05.09.10:56.am</i>.&nbsp;<a href="http://www.neoease.com/inove/">主题发布: iNove</a>: [...] WP-Polls AJAX Comment Pager (Comment list ID: thecomments | Callback method name: custom_comments) Mail To Commenter (支持 "@+user+blank" [...]</p><p><strong>140.</strong><i>2009.05.08.10:51.am</i>.&nbsp;<a href="http://dazhi.ac.cn">黄雀</a>: 你好，谢谢你做个这个插件。

有个问题请教，我在测试时发现邮件通知不稳定，有时候刚回复完就能收到邮件了，有时候根本就收不到，不知道是什么原因。而且发给hotmail的邮件一般都会被当作垃圾邮件处理。</p><p><strong>139.</strong><i>2009.05.06.8:12.pm</i>.&nbsp;<a href="http://blog.xiaoding.org">Xiaoding</a>: 似乎那个说明文字的显示还有问题。我禁用了，然后在主题中插入了PHP代码，可惜依然不显示出来。 除非我启用它，这样在两个地方都显示出来了……   我只好自己copy了那个函数用在主题里面</p><p><strong>138.</strong><i>2009.04.10.3:21.pm</i>.&nbsp;<a href="http://penpenguanguan.com/2009/04/129_wordpress-plugin-mail-to-commenter.html">Wordpress插件推荐-Mail To Commenter | 盆盆罐罐</a>: [...] 此插件的使用方法与其他Wordpress插件一样，上传，激活，后台有设置页面，设置页面可以选择中文或英文，具体的设置内容见插件主页。如果只是简单地使用邮件通知功能的话，仅仅需要在后台设置好相关选项即可以，不需要代码调用。为了方便用户使用，插件也提供了二个函数的调用。 [...]</p><p><strong>137.</strong><i>2009.04.04.8:49.pm</i>.&nbsp;<a href="http://www.knightby.net/?p=303">Knightby&#8217;s blog - 流年 &raquo; 分享jinwen的WordPress插件列表</a>: [...] Mail To Commenter - 回复留言并发送邮件通知，最简单的方法是使用ThinkAgain同学的这个插件。但我在试用时候发现的这个问题，所以我一直没换成它的，不过还是建议大家使用这个插件。 [...]</p><p><strong>136.</strong><i>2009.03.25.4:39.am</i>.&nbsp;<a href="http://www.enjoyeasy.com.cn">柴鸡不柴</a>: 好东西。。。</p><p><strong>135.</strong><i>2009.03.13.1:02.pm</i>.&nbsp;<a href="http://www.aliliwu.com">宋宋</a>: <a href="#comment-95470" rel="nofollow">@谢谢 </a>收到了吗？貌似如此</p><p><strong>134.</strong><i>2009.03.13.12:59.pm</i>.&nbsp;<a href="http://www.aliliwu.com">谢谢</a>: 测试一下啊</p><p><strong>133.</strong><i>2009.03.08.2:10.pm</i>.&nbsp;<a href="http://jomor.org/2009/03/08/inove-theme-comments-mail-support">inove主题评论邮件通知 | 逐末网志</a>: [...] 现在我已经比较完美的解决了inove评论邮件通知的问题了，使用的是Mail To Commenter这个款插件，稍微改造inove主题后，简直和Mail To Commenter是绝配. [...]</p><p><strong>132.</strong><i>2009.03.08.1:20.pm</i>.&nbsp;<a href="http://aunsen.com">aunsen</a>: 没有卸载选项啊！</p><p><strong>131.</strong><i>2009.03.06.1:20.pm</i>.&nbsp;<a href="http://www.guojianwei.cn/?p=62">望月使用的 Wordpress 插件 | 西院小陈</a>: [...] Mail To Commenter：和thread comment等回复插件有所不同，Mail To Commenter并不提供评论回复和嵌套功能，而只是给被回复的留言作者发送一个邮件提醒。不过，不提供嵌套似乎并不利于评论的相关性，但提供品论嵌套又使得评论分页变得困难，如何取舍，取决于博客的具体情况。 [...]</p><p><strong>130.</strong><i>2009.03.06.10:50.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-93193" rel="nofollow">@soulmachine </a>非常赞同你的观点。原来这个差距爱你是非常简单，仅仅需要激活，就可以使用了。后来考虑到一些用户喜欢自定义内容样式等等，于是选项就越做越多啦。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>129.</strong><i>2009.03.05.7:22.pm</i>.&nbsp;<a href="http://www.yanjiuyanjiu.com">soulmachine</a>: 选项太多了，看不懂。很简单的邮件提醒，没必要这么复杂</p><p><strong>128.</strong><i>2009.03.04.4:30.am</i>.&nbsp;<a href="http://www.saywp.com/wordpress/my-wordpress-plugins-list.html">分享我的WordPress插件列表 | Jinwen Say</a>: [...] Mail To Commenter - 回复留言并发送邮件通知，最简单的方法是使用ThinkAgain同学的这个插件。但我在试用时候发现的这个问题，所以我一直没换成它的，不过还是建议大家使用这个插件。 [...]</p><p><strong>127.</strong><i>2009.02.22.5:47.pm</i>.&nbsp;<a href="http://www.6pea.com/world/?p=43">wordpess常用工具插件 &laquo; 六豆世界</a>: [...] Mail To Commenter：有针对性互动，让你的文章篇篇火爆 [...]</p><p><strong>126.</strong><i>2009.02.17.12:53.pm</i>.&nbsp;<a href="http://www.kkball.com">小西</a>: 太爱你了，您的插件对我这种计算机白痴实在是大大的有帮助！</p><p><strong>125.</strong><i>2009.02.07.7:19.pm</i>.&nbsp;<a href="http://geedr.com">Geedr.com</a>: 报告一个已知 Bug：开启 @all 功能的话，如果被@的人 ID以 all 开头那么也会发送邮件给所有评论者。例如我 @Allen 的话，所有人都会收到邮件。</p><p><strong>124.</strong><i>2009.01.30.3:50.pm</i>.&nbsp;<a href="http://www.zdxia.cn">disinfeqt</a>: 建议增加自定义form id...</p><p><strong>123.</strong><i>2009.01.28.2:27.pm</i>.&nbsp;<a href="http://www.xidoudou.com/blog">王老板</a>: <a href="#comment-87424" rel="nofollow">@wanglaoban </a>
似乎找到原因了！和管理员帐户与否没有关系。
而是如果回复者的姓名是英文的话，则没有任何问题，被回复用户可以收到邮件！而如果回复者姓名是中文的话，那么被回复者就收不到邮件了！~~~ 我用的是英文的wordpress 2.7。 
请问这个问题好解决吗？ 谢谢！</p><p><strong>122.</strong><i>2009.01.28.1:56.pm</i>.&nbsp;<a href="http://www.xidoudou.com/blog">wanglaoban</a>: 求助！安装了以后，内部EMAIL发送测试是没问题的。可是真正在日志里测试的时候怎么都不行。（我是用其它EMAIL地址评论，然后用管理员帐户对这个评论进行回复。）
后来我把邮件通知使用权限选择成“任何人” 然后登出了管理员帐户，用随便填写的user回复，竟然就收到了！然后我登入管理员帐户，还是收不到！真是奇怪啊~~~ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_question.gif' alt=':?:' class='wp-smiley' />  请问知道这是什么原因吗？？ 为什么管理员帐户的回复，user就总是收不到呢？
谢谢！！</p><p><strong>121.</strong><i>2009.01.19.6:11.am</i>.&nbsp;<a href="http://www.loveehome.org">lovee</a>: 何度もすみません（汗，不是偶不说中文，是这句话好像实在还是日文说着有感觉）
找了N久总算是找到那个模版的reply脚本在哪儿了（找了一个晚上居然忘了找js文件夹）
现在偶手动修改了一下那个模版，总算是能够用模版自己的reply命令生成@+用户名+空格的格式了=v=</p><p><strong>120.</strong><i>2009.01.19.5:32.am</i>.&nbsp;<a href="http://www.loveehome.org">lovee</a>: 话说能修改一下插件让其能通过@+用户名来判断是否发送邮件通知么？
iNove这个主题似乎无法用这个插件，只能在整个comments列表的最上端或者最下端添加那个按钮，偶想直接用Comments列表上的每个发言上自带的那个reply功能，那个则只能生成@+用户名的代码，后面不会有空格，而且偶找遍了所有偶能想到的文件，都没找到那个reply脚本究竟是写在哪里的
谢谢</p><p><strong>119.</strong><i>2009.01.17.3:00.pm</i>.&nbsp;<a href="http://www.snowchong.cn">Snow</a>: 有的时候喜欢直接修改评论。。。这样可以通知么？</p><p><strong>118.</strong><i>2009.01.16.5:25.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-86257" rel="nofollow">@ryan </a>呵呵，mailtocommenter目前暂不支持wp自带的嵌套回复。考虑在个版本中修正这个问题啦。见谅哦。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>117.</strong><i>2009.01.16.4:31.pm</i>.&nbsp;<a href="http://www.akheart.cn">ryan</a>: 目前 mailtocommenter_button();
函数在comments.php里试了几次均不能成功。
我用的mg12的elegant主题，用嵌套后点击回复不会出现@**字样
故想启用mailtocommenter_button()，可惜用了整了几次都不行，不知道是放错了地方，还是怎么回事，能麻烦您把你的comments发给我麽？谢谢</p><p><strong>116.</strong><i>2009.01.16.4:31.pm</i>.&nbsp;<a href="http://www.akheart.cn">ryan</a>: 目前 mailtocommenter_button();
函数在comments.php里试了几次均不能成功。
我用的mg12的elegant主题，用嵌套后点击回复不会出现@**字样
故想启用mailtocommenter_button()，可惜用了整了几次都不行，不知道是放错了地方，还是怎么回事，能麻烦您把你的comments发给我麽？谢谢</p><p><strong>115.</strong><i>2009.01.15.11:37.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-86173" rel="nofollow">@D.Chou </a>有考虑将回复和wp内置的嵌套整合一起。可能的话，将在新版中释出。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>114.</strong><i>2009.01.15.4:42.am</i>.&nbsp;<a href="http://doublechou.pp.ru">D.Chou</a>: <a href="#comment-69659" rel="nofollow">@山之岚 </a>能不能想个办法把@user的回复和评论嵌套的回复整合在一起？我没搞混插件的作用，它并不能实现评论嵌套。可是已经有评论嵌套，会在某条评论下面有一个”回复“，然后@user又有一个回复功能，很乱。点评论下面的”回复“毫无疑问是可以评论嵌套的，但是@user就不能嵌套了，可不可以点@user的时候直接就嵌套着回了。我在双霍记这个博客上看到了这个功能。点@user直接嵌套，而且邮件能够照常发送。</p><p><strong>113.</strong><i>2008.12.30.11:30.pm</i>.&nbsp;<a href="http://fromsuccessfooltosuccessful.com/577/goals-blogroll-wordpress-comments-twitter/">Meeting Twitter, Wordpress Comments and Blogroll Goals | From Successfool To Successful</a>: [...] and configured the plugin Mail To Commenter. Now I have the option of just replying to a comment, or replying to the comment and at the same [...]</p><p><strong>112.</strong><i>2008.12.23.3:26.pm</i>.&nbsp;<a href="http://www.o4klr.cn/">罡风行</a>: 人过留名</p><p><strong>111.</strong><i>2008.12.18.3:49.pm</i>.&nbsp;<a href="http://www.yanjiecao.com">沿阶草</a>: 为什么我安装后，点击回复到时候不会发送邮件呢？（倒是有个备份的会发给管理员，却不会发送给留言者。我后台设置正常啊。）</p><p><strong>110.</strong><i>2008.12.16.2:50.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80683" rel="nofollow">@小旋子 </a>谢谢使用哦。不过可别忘了提建议哦。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>109.</strong><i>2008.12.13.11:41.pm</i>.&nbsp;<a href="http://www.zhouxuan.net">小旋子</a>: 谢谢，安装了，果然很好用</p><p><strong>108.</strong><i>2008.12.13.6:35.pm</i>.&nbsp;<a href="http://www.yanjiecao.com">沿阶草</a>: <a href="#comment-80513" rel="nofollow">@一次脚 </a>
再次测试一下</p><p><strong>107.</strong><i>2008.12.13.4:50.pm</i>.&nbsp;<a href="http://akheart.cn">ryan</a>: <a href="#comment-80595" rel="nofollow">@山之岚 </a>
这个插件不错，我想把那个按钮放在回复之前，
可是我不知道php if(function_exists('mailtocommenter_button')) mailtocommenter_button();
把这些代码放哪里，在乱试的过程中，有时候会出来，但点击只会引用的是最后一个评论的人
我PHP小白...您不介绍清楚可就辛苦我们了</p><p><strong>106.</strong><i>2008.12.13.9:31.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80513" rel="nofollow">@一次脚 </a>mailtocommenter插件和你所提到的这个插件在功能上有些类似，如都可以生成一个回复按钮以及指向评论的链接等。但mailtocommenter侧重于通过邮件实现用户之间的互动。而这个插件是实现链接悬停时的显示评论内容。可以考虑在下个版本中加入这个功能。</p><p><strong>105.</strong><i>2008.12.12.10:53.pm</i>.&nbsp;<a href="http://www.zhouxuan.net/note/20081212156.html">旋窝 &raquo; Blog Archive &raquo; 如果WP也有个SNS</a>: [...]       刚刚看luplus的站点，发现他的评论功能很强大，可以用邮件通知被回复的人或者所有评论者。原来是用了Mail To Commenter插件。小旋子突然又了一个想法。 [...]</p><p><strong>104.</strong><i>2008.12.12.9:39.pm</i>.&nbsp;<a href="http://www.yanjiecao.com">一次脚</a>: http://wordpress.org/extend/plugins/reply-w-comment-preview/installation/

这个插件怎么样呢，作者评价下。</p><p><strong>103.</strong><i>2008.12.12.11:04.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80446" rel="nofollow">@sherry </a>理论上测试邮件通过就能正常发送邮件了。因为mailtocommenter插件是调用wp内置的函数来发送邮件的。
p.s，请注意查看后台设置选项。如果邮件发送没问题的话，你可以用那些预变量来自定义邮件模板了。</p><p><strong>102.</strong><i>2008.12.12.11:00.am</i>.&nbsp;<a href="http://sherryblog.net">sherry</a>: <a href="#comment-80445" rel="nofollow">@山之岚 </a>哦，谢谢，测试邮件能通过就说明可以了，是吧？谢谢！！！</p><p><strong>101.</strong><i>2008.12.12.10:56.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80434" rel="nofollow">@sherry </a>默认评论者是无法给自己发回复邮件的，另外，待审核评论也不会激发邮件发送，否则的话造成邮件泛滥。你可以现在后台插件设置页面下部的“发送邮件”里面测试下自己的wordpress能否正确支持邮件发送。</p><p><strong>100.</strong><i>2008.12.12.9:23.am</i>.&nbsp;<a href="http://sherryblog.net">sherry</a>: <a href="#comment-80431" rel="nofollow">@sherry </a>晕。。。等待审核，我还是直接问作者啦。。。不知道为啥我的在后台设置了半天最后还是不行啊。。。就是没有回复的邮件发送。。。</p><p><strong>99.</strong><i>2008.12.12.9:21.am</i>.&nbsp;<a href="http://sherryblog.net">sherry</a>: <a href="#comment-80431" rel="nofollow">@sherry </a>主人不会介意我自己测试一下吧？谢谢。。。</p><p><strong>98.</strong><i>2008.12.12.9:21.am</i>.&nbsp;<a href="http://sherryblog.net">sherry</a>: 我也在试用这个，但不知道为啥就是不发送回复的邮件 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_question.gif' alt=':?:' class='wp-smiley' /> </p><p><strong>97.</strong><i>2008.12.11.8:15.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80358" rel="nofollow">@牧狼羊 </a>回复给多个评论者时，所有评论者都会收到同样回复内容的邮件。</p><p><strong>96.</strong><i>2008.12.11.8:12.pm</i>.&nbsp;<a href="http://mlyang.cn">牧狼羊</a>: 问一下,如果我在一个评论中回复多个user，情况会如何？
所有人都会收到邮件么？看到的回复内容是只回复给他的那部分还是全部评论内容？</p><p><strong>95.</strong><i>2008.12.10.10:48.pm</i>.&nbsp;<a href="http://www.april1985.com/b/?p=1142">博客增加回复邮件通知功能 | -= April 1985 =-</a>: [...] 因为从网络上了解到很多插件和iNova主题不兼容，我最终选择装的邮件插件是Mail To Commenter。后台的配置很简单，很实用，非常感谢作者的辛勤劳动。改明儿学了php自己也可以做一个需要的插件，哈哈。 [...]</p><p><strong>94.</strong><i>2008.11.29.1:42.pm</i>.&nbsp;<a href="http://www.repa.cn">amily</a>: 新手来报到，学用wordpress还不到半个月，正在到处搜插件，谢谢作者跟大家分享 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>93.</strong><i>2008.11.18.4:19.pm</i>.&nbsp;<a href="http://www.ibobosky.com">bobosky</a>: <a href="#comment-76865" rel="nofollow">@山之岚 </a>请帮我看看插件的问题，具体的在邮件里。</p><p><strong>92.</strong><i>2008.11.15.11:40.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: 恩，另外發現另外一個bug <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' />   就是在設置裡邊的那些個radio類型的選項，在你選擇後，如果此時按回車鍵，就會默認選擇了恢復出示設置這個按鈕。我用的是firefox，不知道ie下是否這樣。</p><p><strong>91.</strong><i>2008.11.15.11:34.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: 哈，已經在後台自動更新了。支持。</p><p><strong>90.</strong><i>2008.11.15.1:08.pm</i>.&nbsp;<a href="http://www.leinky.com">小墨</a>: 貌似可以使@回复也能发送邮件了
多谢~~好插件啊
回去先试试~~~~</p><p><strong>89.</strong><i>2008.11.13.12:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76848" rel="nofollow">@housne </a>mailtocommenter和thread comment的侧重点或功能设计是不一样的，且二者也不存在功能覆盖的问题。你可以同时用这2个插件的。详细说明，请见文内的“用途更新说明” <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>88.</strong><i>2008.11.13.12:46.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76846" rel="nofollow">@嘉林 </a>在你的网站上查看过代码了，你的评论内的链接都是默认在新窗口打开的，即链接的html代码内添加了taget=_blank，而mailtocommenter生成的代码是没有这段设置的。所以请检查下评论相关的wp和插件设置，是否是它们启用了在新窗口打开链接的过滤设置。</p><p><strong>87.</strong><i>2008.11.13.12:31.pm</i>.&nbsp;<a href="http://www.aftertown.cn">patrick</a>: 呵呵，这个插件是越来越强大了！估计以后是卸载不掉了 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>86.</strong><i>2008.11.13.11:26.am</i>.&nbsp;<a href="http://housne.info">housne</a>: 秉承小就美的精神，抛弃了臃肿庞大的thread comment</p><p><strong>85.</strong><i>2008.11.13.10:54.am</i>.&nbsp;<a href="http://gz-hanfu.cn">嘉林</a>: 点击按钮后，除在留言框里写下@原作者字样外，还会在新窗口中打开日志。这个怎么解决？</p><p><strong>84.</strong><i>2008.11.12.11:36.pm</i>.&nbsp;<a href="http://blog.turkbaron.com">baron</a>: hi. Thanks for plugin

perfect.

Regards</p><p><strong>83.</strong><i>2008.11.11.5:51.pm</i>.&nbsp;<a href="http://gz-hanfu.cn">嘉林</a>: 可以了。唯一的问题是，点击按钮后，除在留言框里写下@原作者字样外，还会在新窗口中打开日志。这个怎么解决？</p><p><strong>82.</strong><i>2008.11.11.4:37.pm</i>.&nbsp;<a href="http://gz-hanfu.cn">嘉林</a>: 博主所给的第一行代码，应该放到comments.php哪里？

这个。
 
目前试验了几次，都不能接收针对性的提醒。后台试验成功。</p><p><strong>81.</strong><i>2008.11.10.2:37.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: <a href="#comment-76546" rel="nofollow">@山之岚 </a>哈，期待着。累死我了。</p><p><strong>80.</strong><i>2008.11.10.2:35.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76545" rel="nofollow">@Leeiio </a>呵呵，我明白了，这个是bug。用@reply格式的时候，现有代码无法很好地解决分词问题。将在下个版本中修正。谢谢。</p><p><strong>79.</strong><i>2008.11.10.2:21.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: <a href="#comment-76533" rel="nofollow">@山之岚 </a>然后我把我的插件全部禁用了发现还是不能发，最后检查了这个插件的设置，经过数次的组合尝试，发现，选用@Reply样式，也就是，@User 。的时候邮件是不能发送的，恩，麻烦你检查下吧。</p><p><strong>78.</strong><i>2008.11.10.11:42.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76530" rel="nofollow">@Leeiio </a>从你提供的抓图上看，没有什么设置问题。不知是否是和其它插件有冲突？另外，建议你在英文版上测试看看。</p><p><strong>77.</strong><i>2008.11.10.10:38.am</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: <a href="#comment-76529" rel="nofollow">@山之岚 </a> 这是后台的设置截图，http://i3.6.cn/cvbnm/e8/46/9d/d0e0d4da2feec8eeff2c9f3b72bf0b46.jpg，你看，没设置错误吧。</p><p><strong>76.</strong><i>2008.11.10.10:33.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76496" rel="nofollow">@Leeiio </a>如果后台测试邮件能成功收到的话，那么插件应该是可以发送邮件的。开放了抄送管理员后，只要有邮件发送给评论者，管理者都会收到cc.开头标题的抄送邮件的。</p><p><strong>75.</strong><i>2008.11.09.8:16.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: 我後台是開啟了的，就是不發郵件，不知道是不是和什麼衝突了。而且我開啟了抄送給管理員，回覆別人應該自己也會收到的吧？</p><p><strong>74.</strong><i>2008.11.09.7:44.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-76494" rel="nofollow">@Leeiio </a>请先检查后台的选项设置，默认是关闭邮件提醒的。另外，自己是无法给@自己的。</p><p><strong>73.</strong><i>2008.11.09.6:51.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: <a href="#comment-76493" rel="nofollow">@Leeiio </a>在這裡測試看看。</p><p><strong>72.</strong><i>2008.11.09.6:50.pm</i>.&nbsp;<a href="http://blog.guaniu.com">Leeiio</a>: 奇怪了，我底部測試發送郵件成功，但是測試回覆就不能發送郵件，很奇怪啊。</p><p><strong>71.</strong><i>2008.11.08.10:44.am</i>.&nbsp;<a href="http://surdark.net">浮黑</a>: 越來越完美了，2.7正式版后就試試！</p><p><strong>70.</strong><i>2008.11.07.1:08.pm</i>.&nbsp;<a href="http://www.happinesz.cn/archives/699/">3款WordPress留言回复提示插件 - 幸福收藏夹</a>: [...] 国人出品，功能强大。适应的群体应该比较大，因为后台可视会定制比较强，使用比较简单。而且，几天前解决了回复留言不分段的问题，很完美了。等不及了？哈哈，这里吧，下载+使用说明&raquo; [...]</p><p><strong>69.</strong><i>2008.10.28.10:16.pm</i>.&nbsp;<a href="http://blog.turkbaron.com">baron</a>: perfect

thanks</p><p><strong>68.</strong><i>2008.10.24.10:07.pm</i>.&nbsp;<a href="http://zuoshen.com">Donald</a>: 嗯。我加你的gtalk了，或者你按我这个留的Email加我也可以...

因为这个问题只出现在这两个我都很想用的插件上，所以得问问^^</p><p><strong>67.</strong><i>2008.10.24.11:26.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-74919" rel="nofollow">@Donald </a>Mail to commenter，这个插件的原理是获取已验证的留言内容，检查后，发现含有指定字符@等后，获取留言者地址然后发邮件，没有涉及主题部分，也无需要修改主题。所以对于你碰到的问题的原因，还无法确切判断。
至于Hot friends，这个插件在不使用widget的情况下，才需要手动在主题里面插入代码。按理上也不会影响主题的显示效果的。
请具体告知出现错误的现象和提示等。
 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>66.</strong><i>2008.10.24.11:16.am</i>.&nbsp;<a href="http://zuoshen.com">Donald</a>: 也许是和我的这个主题有冲突？Mandigo theme...</p><p><strong>65.</strong><i>2008.10.24.11:12.am</i>.&nbsp;<a href="http://zuoshen.com">Donald</a>: 在我的Blog上启用Hot Friends和Mail To Commenter都有相同的问题，一旦启用，整个页面布局就全部乱掉，主题的图片什么的也都不能显示了=。=，不知道是什么问题...这个问题只出现在启用Hot Friends和Mail to Commenter的时候...</p><p><strong>64.</strong><i>2008.10.22.11:19.pm</i>.&nbsp;<a href="http://www.xiaorsz.cn/2008/10/wordpress-solitaire-game/">博客接龙大赛：Wordpress十八摸 | Xiaorsz's Blog</a>: [...] WP的插件不能丢的有几个，舍不得丢的也有，最近用这个Mail To Commenter不错，CoolCode也一直用着，SRG Clean Archives建存档页的，WP-RecentComments配合这个主题效果不错，Post Layout 方便插入广告，其实都是些基本的插件了，这些也都是实现特定的功能的，如果哪天这个功能不需要了，插件我也就不会用了。不过每天都希望能发现一些好的插件来用下，哈哈！ [...]</p><p><strong>63.</strong><i>2008.10.21.9:52.am</i>.&nbsp;<a href="http://www.thirdinfo.com/wopus-blog-wp-18.htm">博客接龙之Wordpress十八摸 at Thirdinfo - Enjoy in Blog!</a>: [...] Akismet、Google XML Sitemaps、WordPress Related Posts 都是 Wordpress 博客必装的三个插件，当然，还有简单实用的 Mail To Commenter，讹上我了，删不掉、甩不脱！！！ [...]</p><p><strong>62.</strong><i>2008.10.18.6:28.pm</i>.&nbsp;<a href="http://ichentao.com/blog/archives/752/%e6%9b%b4%e6%8d%a2%e4%ba%86%e4%b8%80%e4%ba%9b%e6%8f%92%e4%bb%b6/">Stand Alone Complex - 更换了一些插件</a>: [...] 于是在不想换主题的情况下, 只有考虑换插件了, 搜来搜去发现 Mail to Commenter 不错, 能满足要求, 虽然和 WP Thread Comment 有些区别: [...]</p><p><strong>61.</strong><i>2008.10.12.7:52.pm</i>.&nbsp;<a href="http://yeeher.com">Yee HER</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  友情支持下啦。</p><p><strong>60.</strong><i>2008.10.09.6:03.pm</i>.&nbsp;<a href="http://www.airencn.com/blog/?p=381">幸福梅林 那年花开 Life in Detail - Joya&#8217;s Blog : 笔记，关于WP功能需要用到的</a>: [...] 使用方法见这里 http://www.thinkagain.cn/archives/989.html [...]</p><p><strong>59.</strong><i>2008.10.07.2:32.am</i>.&nbsp;<a href="http://imsfox.com">sfox</a>: TA兄，我在后台测试了下，是支持邮件发送的，但我对你这个插件进行测试时却没收到邮件，何故？</p><p><strong>58.</strong><i>2008.10.04.12:25.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-73404" rel="nofollow">@Joe </a>@Joe </a>请先在后台页面里面测试下你的博客是否支持邮件发送。如果不支持的话，你需要使用另外邮件插件激活WP的邮件功能后方可使用。
至于提到的注释问题，这个是Bug，谢谢反馈。我将会在晚些时候修正它。</p><p><strong>57.</strong><i>2008.10.03.9:09.am</i>.&nbsp;<a href="http://golfreader.cn">Joe</a>: 用了，但是邮件通知在测试的时候总是没有收到~~不知道怎么回事。在底部那里发送邮件又成功。
另外，选择了文本格式的@user 但是会成注释，选择了注释还是注释。</p><p><strong>56.</strong><i>2008.10.02.12:10.am</i>.&nbsp;<a href="http://www.wopus.org/best-blogger-three.html">Wopus中文平台好博推荐第三期 at Wopus中文平台</a>: [...] 本期推荐的两位，相信各位也是不陌生，闲话少数，转入正题！  一，Thinkagain 梦想成为职业经理人的山之岚还在努力中，但在中文WordPress届，已经是一个响当当的人物了。 这里擅自给他起个绰号，插件男！在这个链接里，可以很强烈的感受到我为什么给你起这个绰号，有两款比较著名，Wopus中文平台从上周开始，使用了一种的一款【Mail To Commenter】，而且使用之后效果非常不错。 除了插件，在他博客上还能找到其他比较好玩的东西，比如小泰妹，比如自己的营生，这些都是很有趣的，当然，看他的博客，插件还是大头。这里需要注明的是，博主是一个不择不扣的博客爱好者，从05年开始就写博客，而且，你见过有将近8W条的垃圾留言的博客吗？ 题外话：其实以前一直把山之岚想像成一个集智慧，帅气，xxxx(此处省略5000字)的帅哥，但刚才取材的时候竟然发现了照片，原来是一个憨厚可爱的小胖，哈哈，玩笑玩笑～～，本来想捐赠一些美元给他，感谢他对WordPress做的贡献，也起到能继续开发好的插件，但竟然转到了博客首页，既然设置了捐赠的选项，就搞定，估计想捐款的朋友不少，可能没多少，但却代表了一份心意，希望小胖哥在看到之后能搞定捐赠功能。 [...]</p><p><strong>55.</strong><i>2008.09.30.12:44.am</i>.&nbsp;<a href="http://blog.lovehr.net">旁观者</a>: 原来这插件是你发明的啊。。。</p><p><strong>54.</strong><i>2008.09.26.8:55.pm</i>.&nbsp;<a href="http://semorhome.cn">Semor</a>: 这个插件还不错</p><p><strong>53.</strong><i>2008.09.16.6:52.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/how-to-have-a-fun-in-blog-life.htm">如何让写博更有乐趣 at Thirdinfo</a>: [...] mail to commenter [...]</p><p><strong>52.</strong><i>2008.09.15.7:32.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: <a href="#comment-69846" rel="nofollow">@Yacca </a>
我也测试下</p><p><strong>51.</strong><i>2008.09.15.7:30.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/">辐射鱼</a>: <a href="#comment-69656" rel="nofollow">@Yacca </a>
我也测试一下，看成功了没</p><p><strong>50.</strong><i>2008.09.14.11:54.pm</i>.&nbsp;<a href="http://www.caxblog.com">stephen</a>: 好诱惑的插件～～
现在一直都是使用Thread Comment，好好衡量一下，毕竟使用评论回复插件不可以一次性回复多个网友的评论～～</p><p><strong>49.</strong><i>2008.09.05.10:55.pm</i>.&nbsp;<a href="http://www.chancat.cn">禅猫</a>: 唔！很赞的插件 。如果同时启用此插件和Wordpress Thread Comment 会不会有冲突？？？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>48.</strong><i>2008.09.04.4:31.pm</i>.&nbsp;<a href="http://booto.net">__会散步的猪</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />  加油</p><p><strong>47.</strong><i>2008.09.02.10:04.am</i>.&nbsp;<a href="http://www.tudoubao.cn">土豆苞</a>: 很好的一个插件，我也用的照 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>46.</strong><i>2008.08.31.1:50.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-70373" rel="nofollow">@Stanley </a>嘿嘿，既然你想sent给自己看看。p.s，用户无法给自己发邮件通知的，至少目前是这么设定的。</p><p><strong>45.</strong><i>2008.08.31.1:46.pm</i>.&nbsp;<a href="http://www.newstanley.com/wordpress">Stanley</a>: @Stanley 很不错的插件 sent给自己看看  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>44.</strong><i>2008.08.31.2:54.am</i>.&nbsp;<a href="http://lostinfeel.cn">hyden</a>: 恩,这个插件很好啊,比较有针对性,应该说更注重用户体验
赞你</p><p><strong>43.</strong><i>2008.08.31.2:07.am</i>.&nbsp;<a href="http://www.pkphp.com">askie</a>: 文风严禁，图文并茂，排版整洁，字里行间体现着严禁细致的作风，是我学习的对象！哈哈！不要吐啊！心里话！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>42.</strong><i>2008.08.30.9:16.pm</i>.&nbsp;<a href="http://www.snowchong.cn">Snow</a>: 很想弄个邮件系统，但是一直不会。。。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </p><p><strong>41.</strong><i>2008.08.30.7:17.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @Yacca 你不是用了我爱我家的插件么？那个自带提醒啊。</p><p><strong>40.</strong><i>2008.08.30.10:11.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-70212" rel="nofollow">@liby </a>代码必须用&lt;code&gt;标签嵌套才可以不会被WP过滤掉。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> </p><p><strong>39.</strong><i>2008.08.30.3:46.am</i>.&nbsp;<a href="http://www.54liby.cn/?p=129">Liby&#8217;s Blog &raquo; Blog Archive &raquo; 折腾插件</a>: [...] 发现了Mail To Commenter这款插件. 通过判断评论内容是否含有‘@user ‘或‘@user:’的代码，如果有的话，会将评论内容用邮件发送给user。  [...]</p><p><strong>38.</strong><i>2008.08.30.2:49.am</i>.&nbsp;<a href="http://54liby.cn">liby</a>: 代码在评论打不出来饿</p><p><strong>37.</strong><i>2008.08.30.2:48.am</i>.&nbsp;<a href="http://54liby.cn">liby</a>: 半夜发现升级了. 问题我自己解决了
 在后面加入代码就可以了</p><p><strong>36.</strong><i>2008.08.29.2:16.pm</i>.&nbsp;<a href="http://www.bssn.org/wordpress-comments-plugins.html">把WordPress评论功能再增强一点点 - Mr.bssn 的个人博客</a>: [...] Mail To Commenter，评论者允许使用&#8217;@user空格&#8217;的方式将自己的评论通知另外评论者。例如， ABC是本文的评论者之一，则使用&#8217;@ABC &#8216;(不包括单引号)将会自动将您的评论发送给ABC。使用&#8217;@all &#8216;，将会将评论发送给之前所有其它评论者（防止垃圾邮件泛滥，该功能可设置发送者权限）。请务必注意user必须和评论者名相匹配(大小写一致)。 [...]</p><p><strong>35.</strong><i>2008.08.29.11:00.am</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 一直没有用thread comment，原来想要的是这个。</p><p><strong>34.</strong><i>2008.08.29.1:05.am</i>.&nbsp;<a href="http://www.freerainbow.cn">freesky</a>: 同感，一开邮箱好几十!</p><p><strong>33.</strong><i>2008.08.27.5:01.pm</i>.&nbsp;<a href="http://54liby.cn">liby</a>: 折腾半天没弄好.等你有时间请教你</p><p><strong>32.</strong><i>2008.08.27.1:36.pm</i>.&nbsp;<a href="http://54liby.cn">liby</a>: <a href="#comment-69860" rel="nofollow">@山之岚 </a>
出现的问题是 生成的图标在评论的最上放,并且只有1个图标
而不是每一个评论后都有</p><p><strong>31.</strong><i>2008.08.27.1:35.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69858" rel="nofollow">@Charles </a>嗯？没大看明白留言的意思。呵呵。我用的是2.6.1，没有去装过2.7版的。</p><p><strong>30.</strong><i>2008.08.27.1:34.pm</i>.&nbsp;<a href="http://54liby.cn">liby</a>: 自己搞糊涂了..不过还有点小问题 继续研究下</p><p><strong>29.</strong><i>2008.08.27.1:34.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69859" rel="nofollow">@liby </a>下载zip文件，解压后会得到一个mailtocomment文件夹，将这个文件夹上传到plugins目录下，具体看下文中的安装说明。</p><p><strong>28.</strong><i>2008.08.27.1:29.pm</i>.&nbsp;<a href="http://54liby.cn">liby</a>: <a href="#comment-69847" rel="nofollow">@山之岚 </a>


放mailtocommenter.php这个? 
不知道我哪里没搞对....</p><p><strong>27.</strong><i>2008.08.27.1:21.pm</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: 我在2.7脑出血版装了，竟然打不开后台管理页面，唉……也不知道功能正常不正常，呵呵，你默认参数设得是怎么样的？</p><p><strong>26.</strong><i>2008.08.27.12:57.pm</i>.&nbsp;<a href="http://54liby.cn">liby</a>: @山之岚 我是追寻着@Reply \w comment preview 
找到的类似茶碱  2个都试下看</p><p><strong>25.</strong><i>2008.08.27.12:03.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69846" rel="nofollow">@Yacca </a>因为管理者会自动收到WP发出的新评论的邮件通知（前提是后台有开启开选项），所以插件在设计时，为了避免和WP该功能重复，设置成评论者无法邮件通知管理员的。</p><p><strong>24.</strong><i>2008.08.27.11:46.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: <a href="#comment-69747" rel="nofollow">@MY-Hou </a>我现在就是混着用的,相互没影响么 哈哈~~

另标注个情况:
我站里另一位注册用户试着email对我提醒了下...结果我到现在都没收到邮件.

衍生的想法:
的确可以让@user这个字眼消失,我页面中的最新评论也恢复到以前的样子了.
那有没可能这样: 在具体的日志页面里,评论中带@user的链接,而最新评论中@user又不显示呢?! 

提下,目前的功能已经足够使用了. 哈</p><p><strong>23.</strong><i>2008.08.27.12:06.am</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 在练手博试用下先... 与thread comment混着来</p><p><strong>22.</strong><i>2008.08.26.9:25.pm</i>.&nbsp;<a href="http://www.wp-today.com/wordpress-plugins-mail-to-commenter.html">WordPress Plugins: Mail To Commenter at WordPress Today</a>: [...] 　　Mail To Commenter，针对性的给予留言者E-mail提醒。 　　这是一个很有用、很有创意的插件。作者回复来访者留言后很希望来访者可以第一时间知道已被回复，而大部分邮件通知插件会直接把当篇文章的所有留言更新都通知留言者。本插件却做到了很明确的针对性，当留言中包括&#8221;@user&#8221;的字符时，便会把通知发送给&#8221;user&#8221;。 [...]</p><p><strong>21.</strong><i>2008.08.26.3:17.pm</i>.&nbsp;<a href="http://014.cc">Dianso</a>: 支持啊</p><p><strong>20.</strong><i>2008.08.26.1:33.pm</i>.&nbsp;<a href="http://genmicha.cn">Chada</a>: 咔咔咔，我要在自己的主題里用這個插件。之前在Jinwen的博客看到這個插件就喜歡上了，當時就是不知道該怎么讓它也能支持回復郵件。

謝謝ThinkAgain大哥！</p><p><strong>19.</strong><i>2008.08.26.1:08.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 如果我对我的评论感兴趣的话,我还是会上线来看的.</p><p><strong>18.</strong><i>2008.08.26.12:21.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 厄...除了我以外 估计有这需求的人还真不多了,呵,其实我是测试你最新评论样式 不是测试这个邮件发送啦~</p><p><strong>17.</strong><i>2008.08.26.12:13.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 采用subscribe to comment插件，在用户选中订阅后续评论的时候，也会存在任何回复都会邮件通知用户，这样也会给用户造成麻烦。因为很多回复可能是不相干的。且这个插件比较讨厌的是，自己会在comment表里面新增一个列。用来判断是否存在订阅者。</p><p><strong>16.</strong><i>2008.08.26.12:05.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69650" rel="nofollow">@Yacca </a>你的邮件我收到了。不知道你的是用什么函数来生成最新评论的。你可以将模板发给我帮你分析下。另外，插件不支持自己对自己回复。如果有必要设置这个选项的话，可以增加这功能。</p><p><strong>15.</strong><i>2008.08.26.12:02.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @all，看了上面朋友们的留言，觉得大家还是将这个插件的功能和thread comment混淆了，还是很有必要在这里再次说明下。所以采用了@all来群发下。
这个插件的主要功能为发送回复或评论邮件，并没有提供类似thread comment等的评论回复，嵌套管理等等这方面的功能。它的灵活性在于，不单单是管理员，甚至用户也可以将自己的评论邮件发送给指定接收者，通常也就是被回复者。这点是大部分评论管理类插件所尚未提供的。其主要2个区别在于，
首先，虽然这些评论管理相关的插件，大部分都可以提供在页面上生成回复评论，并引用评论内容，但是那都是需要到博客页面浏览才会看到的，如果被回复者没有再次到博客页面看自己评论的回复情况，那么这个回复评论实际上是被回复者是无法知道的，而本插件则可以灵活地采用邮件通知被评论者，从而来间接解决此问题。
其次，这些管理类插件大部分也都提供邮件通知的选项，但都只能设置要么本文有任何回复就激发邮件通知，或者是管理员回复的时候才邮件通知，前者比较让人烦，很容易将惹恼评论者，谁愿意一天到晚收不相干的回复。且它们都尚未支持评论自定义邮件回复的对象。而本插件可以灵活由评论者来自己定义邮件对象。
只要邮件通知功能被激活，用户仅需要在评论中插入@用户名之类的代码，就可以实现评论回复了。插件提供的快捷按钮函数只是用来生成一个按钮简化用户输入而已，而这个按钮的好处除此之外，还有就是可以提供一个超链接指向被回复的评论，这样，别的浏览者在阅读评论时，就可以很方便的找到原评论。这个功能和reply to一样，区别在于，1.本插件完全支持用户自定义。2.插件采用php生成，并非js。一切处理由服务器完成，因为无需加载js文件，理论上效率要比reply to高。
这个插件理论上不会和几个常见的评论管理插件，如thread comment类，subscribe to comment，quote comment等，存在在冲突问题，在功能也没有重复。所以在使用这些插件的同时，你也可以使用本插件。</p><p><strong>14.</strong><i>2008.08.26.11:47.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: <a href="#comment-69650" rel="nofollow">@Yacca </a>在这里测试下...</p><p><strong>13.</strong><i>2008.08.26.11:43.am</i>.&nbsp;<a href="http://ichentao.com">魔群月光</a>: 我用的是WP Thread Comment~</p><p><strong>12.</strong><i>2008.08.26.11:23.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 发了小邮件给你...插件本身倒一切正常,但我侧栏里的最新评论输出为空了...</p><p><strong>11.</strong><i>2008.08.26.10:44.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 我拿去测试下...</p><p><strong>10.</strong><i>2008.08.26.10:19.am</i>.&nbsp;<a href="http://www.leonaut.com/story/27007">Leonaut.com</a>: <strong>Mail To Commenter...</strong>

This plugin helps user to notify reply to previous commenter in same post via simply insert '@+user+blank' or '@+user+:' (like twitter) to specify user name in comment. The main funciton of plugin is to detect comment content and automatically send...</p><p><strong>9.</strong><i>2008.08.26.10:18.am</i>.&nbsp;<a href="http://www.bssn.org">bssn</a>: 早一天出来就我就不装thread comments了。</p><p><strong>8.</strong><i>2008.08.26.9:03.am</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: 辛苦了啊，竟然写了这么多，这真让人难以取舍啊，我是指这个和threaded comments</p><p><strong>7.</strong><i>2008.08.26.8:37.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 高产啊,顶起,插件我装得太多了,这个就算了. <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />  我去找个已经装的看下下</p><p><strong>6.</strong><i>2008.08.26.7:03.am</i>.&nbsp;<a href="http://smartr.cn">Jinwen</a>: 很认真地读完手册，插件很值得推荐，很支持 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' /> </p><p><strong>5.</strong><i>2008.08.26.2:18.am</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 又一力作哦...
但我已经习惯了thread comment</p><p><strong>4.</strong><i>2008.08.26.1:13.am</i>.&nbsp;<a href="http://mlyang.cn">牧狼羊</a>: 哈哈，很好很强大，支持一下！</p><p><strong>3.</strong><i>2008.08.26.12:19.am</i>.&nbsp;<a href="http://www.arthack.org">Arthack</a>: 好东东……对了，有没有针对注册用户的邮件插件，有好的东东可以群发给注册用户，推荐下哦</p><p><strong>2.</strong><i>2008.08.26.12:01.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69537" rel="nofollow">@ddkk3000 </a>汗，手机留言，累不累啊。顺便骚扰下。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>1.</strong><i>2008.08.25.11:33.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 好!先手机留言支持,终于出来了,我想很多人迫不急待了.</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.08.15.3:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/985.html" title="Updated: 2008-12-08. Latest version v1.4.1。
English user please goes to http://wordpress.org/ext">Wordpress插件: Hot Friends v1.4.1 (218)</a></p><p><i>2007.12.09.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/889.html" title="先纠正一个错误，自己昨天在如何使用Wordpress内置的分页（Nextpage）功能？">Wordpress插件:whole_feed_output v0.1 (2)</a></p><p><i>2007.11.21.10:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/877.html" title="新写了一个插件，wp_list_posts，主要用于生成存档文章清单。写这个插件的">Wordpress2.3 Plugin: wp_list_posts v0.1 (47)</a></p><p><i>2007.11.15.8:07.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/873.html" title="今天从朋友站点逛回自己博客的时候，发现了一个wp_WelcomeMsg的一个bug，即">Wordpress Plugin:wp_welcomMsg v0.21 (19)</a></p><p><i>2007.10.31.10:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/831.html" title="wp_addbookmarks插件升级到0.21版。修正了添加中文标题网页到QQ书签时，网页标">Wordpress插件:wp_addbookmarks 0.21 (56)</a></p><p><i>2007.10.26.2:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/827.html" title="刚刚将tags2metakeywords升级到0.31，解决了无index keywords时显示的一个小bug。

">Wordpress2.3插件:tags2metakeywords 0.31 (4)</a></p><p><i>2007.06.02.6:00.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/177.html" title="WS Downloadmanager是一个文件下载管理的Wordpress插件。该插件除了提供下载次数">文件下载管理插件WS DOWNLOADMANAGER 1.0中文语言文件 (19)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/989.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/989.html/feed</wfw:commentRss>
		<slash:comments>377</slash:comments>
		</item>
		<item>
		<title>WordPress Hacks:解决晒SPAM数无法通过W3C验证&#8230;续</title>
		<link>http://www.thinkagain.cn/archives/987.html</link>
		<comments>http://www.thinkagain.cn/archives/987.html#comments</comments>
		<pubDate>Wed, 20 Aug 2008 12:11:57 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[验证]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=987</guid>
		<description><![CDATA[假设您已经阅读过上文，对于此问题背景的来龙去脉有所了解。此文将正式列出问题的解决方法。很简单。在此之前，继续啰嗦下。其实我很早就hack了akismet的部分代码使之生成的显示spam数的... ]]></description>
			<content:encoded><![CDATA[<p>假设您已经阅读过<a href="http://www.thinkagain.cn/archives/986.html">上文</a>，对于此问题背景的来龙去脉有所了解。此文将正式列出问题的解决方法。很简单。在此之前，继续啰嗦下。其实我很早就hack了akismet的部分代码使之生成的显示spam数的方框能通过W3C验证。一直觉得没有什么意义将如何如何写出来，因为大部分的网友都不会去重视这个问题的。</p>
<p>直到最近在<a href="http://www.girlqiqi.cn/" target="_blank">googlefish</a>的网站上看到，她对<a href="http://www.girlqiqi.cn/2008/08/css-to-jss-for-w3c-validator/" target="_blank">W3C验证</a>以及<a href="http://www.girlqiqi.cn/2008/08/akismet-and-zoundry-and-xmlrpc-story/" target="_blank">akismet</a>等的一些文章，难得一个女孩子(没弄错吧)能讨论这些技术话题，觉得还是将此问题挑出来吧。假设欲解决此问题的网友已经略懂php和html代码，否则头晕脑胀别怪我啊。</p>
</p>
<p>先来分析下，用文本编辑器打开akismet.php查看其源代码。Akismet的晒SPAM数方框是由akismet_counter()函数提供的，widget是由widget_akismet_style()函数提供。问题在于，这个函数被调用时，会自动生成css代码。而这是不允许的，因为xhtml规范规定css必须在header内被加载，所以首先要把这部分css移调。然后再适当修改下生成方框的html代码。以akismet_counter()为例，介绍下具体的代码修改。</p>
<p>1. 将akismet_counter()源代码中的css定义手动复制到模板的css中，然后将该部分代码删除。</p>
<p>源代码中的css定义部分：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">style</span> <span style="color: #ff0000">type</span><span style="color: #0000ff">=&quot;text/css&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> #akismetwrap #aka,#aka:link,#aka:hover,#aka:visited,#aka:active{color:#fff;text-decoration:none}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span> #aka:hover{border:none;text-decoration:none}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span> #aka:hover #akismet1{display:none}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span> #aka:hover #akismet2,#akismet1{display:block}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span> #akismet2{display:none;padding-top:2px}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span> #akismeta{font-size:16px;font-weight:bold;line-height:18px;text-decoration:none}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span> #akismetcount{display:block;font:15px Verdana,Arial,Sans-Serif;font-weight:bold;text-decoration:none}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span> #akismetwrap #akismetstats{background:url(<span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">echo</span> <span style="color: #ff0000">get_option</span>(<span style="color: #0000ff">'siteurl'</span>); ?<span style="color: #0000ff">&gt;</span>/wp-content/plugins/akismet/akismet.gif) no-repeat top left;border:none;color:#fff;font:11px 'Trebuchet MS','Myriad Pro',sans-serif;height:40px;line-height:100%;overflow:hidden;padding:8px 0 0;text-align:center;width:120px}</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">style</span><span style="color: #0000ff">&gt;</span></pre>
</div>
</div>
<p><u>注意，必须指定好背景图片的地址。</u>文中background:url(&lt;?php echo get_option(&#8216;siteurl&#8217;); ?&gt;/wp-content/plugins/akismet/akismet.gif)这句代码。</p>
<p>2. 修改生成方框的html代码。这里将源代码的方框html代码部分贴出来。</p>
<p>源代码：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetwrap&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetstats&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>         <span style="color: #0000ff">&lt;</span><span style="color: #800000">a</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;aka&quot;</span> <span style="color: #ff0000">href</span><span style="color: #0000ff">=&quot;http://akismet.com&quot;</span> <span style="color: #ff0000">title</span><span style="color: #0000ff">=&quot;&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismet1&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>                 <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetcount&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>                 <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">echo</span> $<span style="color: #ff0000">count</span>; ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>                 <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span> </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>                 <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetsc&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>                 <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">_e</span>(<span style="color: #0000ff">'spam comments'</span>) ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>                 <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>          <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismet2&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>              <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetbb&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>              <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">_e</span>(<span style="color: #0000ff">'blocked by'</span>) ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>              <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;&lt;</span><span style="color: #800000">br</span> <span style="color: #0000ff">/&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>              <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismeta&quot;</span><span style="color: #0000ff">&gt;</span>Akismet<span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>          <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>          <span style="color: #0000ff">&lt;/</span><span style="color: #800000">a</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span>      <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>  <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
</div>
</div>
<p>修改后：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetwrap&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetstats&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>         <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;aka&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismet1&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>                 <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetcount&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>                 <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">echo</span> $<span style="color: #ff0000">count</span>; ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>                 <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>                 <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetsc&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>                 <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">_e</span>(<span style="color: #0000ff">'spam comments'</span>) ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>                 <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismet2&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetbb&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>             <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">_e</span>(<span style="color: #0000ff">'blocked by'</span>) ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span> <span style="color: #0000ff">/&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismeta&quot;</span><span style="color: #0000ff">&gt;</span>Akismet<span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span>         <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>     <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  21:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
</div>
</div>
<p>注意对照下，我用&lt;div&gt;替代了源代码的&lt;a&gt;。</p>
<p>修改后的akismet_counter()函数：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> function akismet_counter() {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> $count = number_format(get_option('akismet_spam_count'));</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span> ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetwrap&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetstats&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>         <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;aka&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismet1&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>                 <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetcount&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>                 <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">echo</span> $<span style="color: #ff0000">count</span>; ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>                 <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>                 <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetsc&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>                 <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">_e</span>(<span style="color: #0000ff">'spam comments'</span>) ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>                 <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismet2&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismetbb&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>             <span style="color: #0000ff">&lt;?</span><span style="color: #800000">php</span> <span style="color: #ff0000">_e</span>(<span style="color: #0000ff">'blocked by'</span>) ?<span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span> <span style="color: #0000ff">/&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>             <span style="color: #0000ff">&lt;</span><span style="color: #800000">span</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">=&quot;akismeta&quot;</span><span style="color: #0000ff">&gt;</span>Akismet<span style="color: #0000ff">&lt;/</span><span style="color: #800000">span</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  21:</span>             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  22:</span>         <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  23:</span>     <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  24:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  25:</span> <span style="color: #0000ff">&lt;?</span>php</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  26:</span> }</pre>
</div>
</div>
<p>修改后的代码产生的效果是和源代码一模一样的。却可以正常通过xhtml和css的w3c验证。akismet是由matt等WP原创人员开发的，除了wordpress外，还提供了其它平台的服务。但不知为什么他们写的插件也竟然不考虑w3c规范问题，因为这个问题其实很容易解决的。直接将该css写到header的hook里面去就可以了。wp的一些内置函数生成的代码也存在无法通过W3C验证的问题。如<a href="http://www.thinkagain.cn/archives/721.html" target="_blank">此文</a>谈到的wp_get_archives函数生成的下拉框问题等。</p>
<p>Akismet的代码修改到此为止。有兴趣的可以自己手动修改看看。</p>
<p><u>我这里想要总结的却并不是akismet的问题了。</u>从这个例子可以得知，活用css的属性使得网页不用加载js就可以生成很多效果。如上面的akismet的这个仅仅是利用了css的2个属性，hover和display。就可以实现显示内容切换了。单单利用css也可以做出很多非常炫的效果，如下拉或折叠菜单，图片切换等等。更多的css活用等着您去挖掘。</p>
<p>挖得越深，收获的就越多。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/987.html#comments">评论11:</a></p><p><strong>11.</strong><i>2008.11.29.8:28.am</i>.&nbsp;<a href="http://smartr.cn">Jinwen</a>: 最近把自己网站也弄上这个，确实累人，只换得页脚的两个链接 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' /> </p><p><strong>10.</strong><i>2008.08.22.2:29.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: </p><p><strong>9.</strong><i>2008.08.22.12:14.pm</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: 新插件不少人在等啊</p><p><strong>8.</strong><i>2008.08.21.11:11.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69052" rel="nofollow">@Yacca </a>那就满足下你的好奇心，收到的回复邮件，就是现在还在调试中的新插件。等解决几个bug后，即将放出来了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>7.</strong><i>2008.08.21.10:34.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: <a href="#comment-69046" rel="nofollow">@山之岚 </a>另外插件... 好奇心吊上来了...</p><p><strong>6.</strong><i>2008.08.21.9:27.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-68984" rel="nofollow">@googlefish </a>难怪看你的站上有诸如琪琪吃饭十大招之类的文章。呵呵。p.s，你所提到的那个hot friends的添加到分类的功能，估计还得再等几天再弄了。手头上正在调试另外一个插件。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>5.</strong><i>2008.08.20.11:13.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: <a href="#comment-68984" rel="nofollow">@googlefish </a>你的女儿博客，难得发现她的影子，还是改名叫琪琪老爸吧。</p><p><strong>4.</strong><i>2008.08.20.9:49.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 那个“@”图片不明显啊，我刚才还以为是按Gravatar图标呢。</p><p><strong>3.</strong><i>2008.08.20.9:48.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 晕乎。现在谁都给女儿弄博客呢</p><p><strong>2.</strong><i>2008.08.20.9:03.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 你老又把人家七尺男兒誤成姑娘了  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>1.</strong><i>2008.08.20.8:39.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 呵呵,谢谢提供解决方法.
另外,打击你一下,你弄错了.
琪琪的空间是我女儿的空间,今年上幼儿园. 
 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.08.20.1:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/986.html" title="此文谨献给爱晒SPAM数的人。比如说，看这篇文章的您，因为您要不是正想">Wordpress Hacks: to 解决晒Askimet SPAM数无法通过W3C验证问题 (24)</a></p><p><i>2007.10.23.10:31.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/824.html" title="

打开WP的后台，看到这一组数字。这是挂上Akismet近半年来的统计。我都">10005 SPAM COMMENTS (3)</a></p><p><i>2007.09.15.10:41.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/721.html" title="继将CSS修改符合W3C规范后，今天花了点时间，也将模板代码修改完毕，通过">继续修改模板 (4)</a></p><p><i>2007.05.03.7:17.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/162.html" title="今天上网站一看，Akismet已报拦截了255个垃圾留言了。上周升级wordpress程序">Akismet反垃圾留言 (0)</a></p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.12.19.12:20.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html" title=" 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。">12行代码给Wordpress主题挂上AJAX (35)</a></p><p><i>2008.12.07.9:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html" title=" 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在">Hot friends新增支持用户自定义头像显示 (65)</a></p><p><i>2008.10.27.9:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html" title="如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。

其中hotfriends">从更新hot friends和mailtocmmenter谈起 (33)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/987.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/987.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>WordPress Hacks: to 解决晒Askimet SPAM数无法通过W3C验证问题</title>
		<link>http://www.thinkagain.cn/archives/986.html</link>
		<comments>http://www.thinkagain.cn/archives/986.html#comments</comments>
		<pubDate>Wed, 20 Aug 2008 05:52:05 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[验证]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=986</guid>
		<description><![CDATA[此文谨献给爱晒SPAM数的人。比如说，看这篇文章的您，因为您不是正想解决这问题要不就是有想晒SPAM数的念头。嗯，还有我，以及A，B，C君。 
言归正传，SPAM这玩意，就不用在这里进行名词... ]]></description>
			<content:encoded><![CDATA[<p>此文谨献给爱晒SPAM数的人。比如说，看这篇文章的您，因为您要不是正想解决这问题要不就是有想晒SPAM数的念头。嗯，还有我，以及A，B，C君。<img style="margin: 0px 5px" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/nospam.gif" align="left" alt="no spam"/> </p>
<p>言归正传，SPAM这玩意，就不用在这里进行名词解释了。到网络上搜一搜，Wordpress的Anti-SPAM插件有一大箩筐。然则，个人以为内置的Akismet插件可以说是一个最优秀的Anti-Spam插件之一。它像一堵防火墙，会很老实地帮用户过滤掉高达9*.*%的SPAM外(难免有漏网之鱼)，还内置了函数和Widget供用户来晒SPAM数。</p>
</p>
<p>不大明白什么是晒SPAM数？看看本页面的页脚就知道了吧。也就是有一个蓝色小方框，上面晒着挂插件起到现在为止的SPAM数。嗯，我的么，已经超过7.5w了。按理说，树大招风，可我这小庙也没供什么大菩萨，这SPAM还是日渐日增。估计博客的日独立访问ip可能还没有日SPAM数的增长速度快。</p>
<p>其二，说说W3C验证，通常涉及最普遍的有二种，xhtml和css验证。前者是指网页是否符合定义的标准要求。后者是网页加载的css是否符合W3C标准(css1.1或css2.1)。进行xhtml验证时，验证引擎会加载网页内容，然后根据header部分的第一行定义，如本页面为：</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;!</span><span style="color: #800000">DOCTYPE</span> <span style="color: #ff0000">html</span> <span style="color: #ff0000">PUBLIC</span> <span style="color: #0000ff">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</span> <span style="color: #0000ff">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;</span><span style="color: #0000ff">&gt;</span></pre>
</p></div>
</div>
<p>定义本页是根据xhtml 1.0 transitional标准编制的。当然，strict版更严格。本站的模板本身是符合w3c的xhtml和css规范的，但是由于加载了thickbox效果，所以无法通过css验证，索性也将wp_addbookmark都挂上半透膜效果。xhtml方面，首页是没问题的，文章页，因为加载了自己正在编制的一个评论邮件插件(注意下面的@按钮)，所以无法通过。另外xhtml规范对flash支持不好，所有内嵌flash(包括视频，如youtube的)的网页都无法通过。</p>
<p>那么有没有必要编制通过w3c验证的网页呢？这么说来着吧，对于普通用户而言，这点重要性不算太大。因为要通过w3c验证的话，除了在使用的插件和模板生成的html代码符合规范外，编写文章时候也必须要注意这方面问题，总之，很烦很啰嗦。不过用Windwos live writer写文章会自动帮用户解决这问题，不过要记得在要设置好选项。</p>
<p>然而对于其它一些高级用户，比如说，嗯哼，我以及<a href="#commentform" target="_blank">A</a>，<a href="#commentform" target="_blank">B</a>，<a href="#commentform" target="_blank">C</a>君等，对自己的站点有变态要求等。当然这个是笑话，个人觉得W3C验证还是很重要的，<u>因为规范的页面生成DOM文档，能有助于搜索引擎理解网页内容。</u>可能会有助于所谓的SEO。我一直对SEO不是抱太大兴趣。国内搜索出来的相关SEO文章，大部分都在谈meta keyword之类的。似乎SEO就是弄这些东西，被这些单调重复的东东倒了胃口。当然这些都是我的个人理解。对错由您来定。</p>
<p>闲扯了半天，这些都是前奏，理解了上述写的一大堆废话，才能明白为什么要做这件事情以及写这篇文章的必要性了。现在开始拉开正文序幕。</p>
<p>嗯，接着写下去，文章太长了。欲知详情，下回分解。</p>
<p>p.s，别拿转头扔我。鲜花是可以接受嘀。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/986.html#comments">评论24:</a></p><p><strong>24.</strong><i>2008.10.21.7:50.pm</i>.&nbsp;<a href="http://www.lpfrx.com">无聊空间</a>: Akismet我前两天才启用，确实不错，至少没了英文spam了，世界清净了很多</p><p><strong>23.</strong><i>2008.08.24.6:49.pm</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: AT all 最好让文章作者来审核。
还有 为什么你 AT askie我也收到了呢？奇怪啊</p><p><strong>22.</strong><i>2008.08.24.12:14.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 我觉得与其这样，干脆不要在下面的注意中写“@all"的说明了</p><p><strong>21.</strong><i>2008.08.24.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69403" rel="nofollow">@ddkk3000 </a>插件设定只要出现@all就会群发邮件。刚才18和19，还有20的你里面都含有@all了，估计上面的几个朋友已经收到3封邮件了。赶紧到后台将此选项关闭掉先。后台里面可以设置@all的权限，如管理员或注册用户等，方可使用@all。</p><p><strong>20.</strong><i>2008.08.24.12:04.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: <a href="#comment-69402" rel="nofollow">@山之岚 </a>

thinkagain兄，为什么18楼的同学没有“@all+空格”我都收到邮件了？</p><p><strong>19.</strong><i>2008.08.24.12:00.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69400" rel="nofollow">@askie </a>嗯，这个@all 如果开启的话，的确会造成邮件泛滥。我在后台设置了可选项，用户自行决定吧。</p><p><strong>18.</strong><i>2008.08.24.11:54.am</i>.&nbsp;<a href="http://www.pkphp.com">askie</a>: @all测试这样子会否垃圾泛滥！</p><p><strong>17.</strong><i>2008.08.21.2:18.pm</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: 都7w多了，简直是 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_evil.gif' alt=':evil:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_evil.gif' alt=':evil:' class='wp-smiley' />  
我还是棵小树苗呢 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' /> </p><p><strong>16.</strong><i>2008.08.21.10:14.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 写这么多还只是扯开了序幕...-.-</p><p><strong>15.</strong><i>2008.08.21.9:25.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-69042" rel="nofollow">@shamas </a>批评一下，没有看文中说明。这些error主要是因为正在测试的一个插件造成的。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>14.</strong><i>2008.08.21.8:37.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 好像这个博客没有通过验啊,我点了下有42处ER</p><p><strong>13.</strong><i>2008.08.20.7:25.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 呵呵,是的.强大的akismet在前台显示部分居然不能通过w3c的验证,我试着改了一下,虽然通过了验证,但效果不是很理想,我想它前台的效果主要是通过css实现鼠标划过切换不同层的效果就可以了,剩下的就是要聆听thinkagain给我们讲讲如何实现这个效果或者有更好的办法.期待中......</p><p><strong>12.</strong><i>2008.08.20.7:10.pm</i>.&nbsp;<a href="http://www.mygtd.cn">mygtd</a>: 用机器SPAM易防，如果人工来呢？</p><p><strong>11.</strong><i>2008.08.20.7:04.pm</i>.&nbsp;<a href="http://yanxc.com/blog">Yanxc</a>: 相对而言，我的SPAM基本都被忠实的Akismet拦截了。我还是相当满意的。
高深的SEO境界就是化有形为无形。这样也有利于用户的体验，起码让他们可以尽快找到自己需要的内容。
我们讨厌的只是黑帽SEO，连GOOGLE也是提倡SEO优化的。</p><p><strong>10.</strong><i>2008.08.20.6:51.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 用验证码又感觉会烦到来留言的朋友...唉</p><p><strong>9.</strong><i>2008.08.20.6:28.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @山之岚 <i>2008-08-20 16:16:25:</i>@MY-Hou <i>2008-08-20 15:44:35:</i>对Akismet总体颇满意的，但它今天就给我漏了俩...  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> akismet似乎也会间歇性抽风，有时候问题比较严重，漏网的比较多。有的时候又不会，相对那些被拦住的，这个概率可以算非常低了。

这个框架怎么显示成4楼那样？</p><p><strong>8.</strong><i>2008.08.20.6:27.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @ddkk3000 <i>2008-08-20 18:20:35:</i>暂时应该没有其他语言的留言，所以把中文以外的全挡了。

我怎么框架不正常？</p><p><strong>7.</strong><i>2008.08.20.6:20.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 暂时应该没有其他语言的留言，所以把中文以外的全挡了。</p><p><strong>6.</strong><i>2008.08.20.5:12.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 顶起,直到下文出现……不过我没晒这个出来，主要是那个放到我的里面颜色不搭配，只好作罢，我也只管功能，能挡住就行了。漏网之鱼暂且只过了数十条，还行！</p><p><strong>5.</strong><i>2008.08.20.4:35.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 以前我用Akismet的时候常有前台直接给漏过的，后来用了验证码，只有Trackback偶尔有SPAM了。看来以后要搞个伪装更好的的Trackback URL</p><p><strong>4.</strong><i>2008.08.20.4:16.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @MY-Hou
<div style="padding:5px;border:1px dashed #DADADA">
<i>2008-08-20 15:44:35:</i><br/>对Akismet总体颇满意的，但它今天就给我漏了俩...  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' />  </div>akismet似乎也会间歇性抽风，有时候问题比较严重，漏网的比较多。有的时候又不会，相对那些被拦住的，这个概率可以算非常低了。</p><p><strong>3.</strong><i>2008.08.20.3:44.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 对Akismet总体颇满意的，但它今天就给我漏了俩...  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </p><p><strong>2.</strong><i>2008.08.20.2:32.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-68944" rel="nofollow">@neekey </a>Akismet在我站上工作的非常好。少有漏网和误判的。大部分的spam都是通过接口的，你的这种做法可以无法解决trackback spam的。</p><p><strong>1.</strong><i>2008.08.20.2:28.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: Akismet，个人感觉真的很一般，漏网鱼和误判远远大于正确判断，所以我还一直用自己的SidXSpam验证码，简单容易（不过偶尔也有俄国的人肉SPAM，下回改成中文验证码，让他们SPAM去）</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.08.20.8:11.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/987.html" title="假设您已经阅读过上文，对于此问题背景的来龙去脉有所了解。此文将正式">Wordpress Hacks:解决晒SPAM数无法通过W3C验证&#8230;续 (11)</a></p><p><i>2007.10.23.10:31.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/824.html" title="

打开WP的后台，看到这一组数字。这是挂上Akismet近半年来的统计。我都">10005 SPAM COMMENTS (3)</a></p><p><i>2007.09.15.10:41.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/721.html" title="继将CSS修改符合W3C规范后，今天花了点时间，也将模板代码修改完毕，通过">继续修改模板 (4)</a></p><p><i>2007.05.03.7:17.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/162.html" title="今天上网站一看，Akismet已报拦截了255个垃圾留言了。上周升级wordpress程序">Akismet反垃圾留言 (0)</a></p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.12.19.12:20.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html" title=" 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。">12行代码给Wordpress主题挂上AJAX (35)</a></p><p><i>2008.12.07.9:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html" title=" 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在">Hot friends新增支持用户自定义头像显示 (65)</a></p><p><i>2008.10.27.9:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html" title="如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。

其中hotfriends">从更新hot friends和mailtocmmenter谈起 (33)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/986.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/986.html/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>WordPress插件: Hot Friends v1.4.1</title>
		<link>http://www.thinkagain.cn/archives/985.html</link>
		<comments>http://www.thinkagain.cn/archives/985.html#comments</comments>
		<pubDate>Fri, 15 Aug 2008 07:30:02 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=985</guid>
		<description><![CDATA[自7日将1.0的测试版放出来也有好几天，不能光打雷不下雨。修修补补，敲敲打打，今天终于将正式版发布。测试期间，谢谢网友酋长，风暴轻狂，Yacca，neekey等多位朋友的建议。这些意见已经... ]]></description>
			<content:encoded><![CDATA[<p><strong>Updated: 2008-12-08. Latest version v1.4.1。</strong></p>
<p>English user please goes to <a href="http://wordpress.org/extend/plugins/hot-friends/">http://wordpress.org/extend/plugins/hot-friends/</a> for en instruction.</p>
<p>2009-08-11: 增加俄语语言包，谢谢<a href="http://www.fatcow.com/">FatCow</a>。</p>
<p>[1.4.1] 2008-12-08: 修正点击自定义头像无法根据链接设置打开窗口问题。谢谢<a href="http://3284265.cn/">shamas</a>。</p>
<p>[1.4] 2008-12-07:添加支持用户自定义头像（Gravatar）显示。具体详见“<a href="http://www.thinkagain.cn/archives/1029.html">Hot friends新增支持用户自定义头像显示</a>”一文。</p>
<p>[1.3.2] 2008-10-25:修改functions.php文件名，以避免出现和其它模板等不兼容。</p>
<p>[1.3] 2008-09-10:添加后台设置语言选项和自定义链接云样式等功能。</p>
<p>[1.2.3] 2008-08-27: 添加后台可设定自动添加评论者到指定链接目录。</p>
<p>[1.2.2] 2008-08-19: 添加意大利语言包。谢谢<a href="http://gidibao.net/">Gianni</a>. 2008-08-17: 解决邮件标题的汉字乱码问题。</p>
<p>[1.2.1] 2008-08-16: 修改代码解决添加管理员到blogroll问题。</p>
<p>[1.2] 2008-08-16: 修正自动添加评论者bug。谢谢<a href="http://www.girlqiqi.cn/">琪琪</a>。</p>
<p>[1.1] 2008-08-16: 修改导入导出到opml文件代码。谢谢<a href="http://photozero.net">Neekey</a>。</p>
<p>[1.0] 2008-08-15: 1.0 发布。</p>
<p>*************************</p>
<p>自7日将1.0的测试版放出来也有好几天，不能光打雷不下雨。修修补补，敲敲打打，今天终于将正式版发布。测试期间，谢谢网友<a href="http://www.qiuzhang.org/" target="_blank">酋长</a>，<a href="http://lxz.name/" target="_blank">风暴轻狂</a>，<a href="http://www.eemir3.com/" target="_blank">Yacca</a>，<a href="http://photozero.net/" target="_blank">neekey</a>等多位朋友的建议。这些意见已经全部纳入正式版中。另外，也将上述各位添加到WP官方插件的Hot Friends的介绍页面中了。</p>
<p><strong>1. 主要功能</strong></p>
</p>
<p>主要功能有三：</p>
<p>a. 根据指定期间(周，月或全部)的评论数目对BlogRoll内的友情链接进行排序，生成指定数目的Hot Friends。也支持随机输出Hot Friends。管理者亦可在后台指定固定显示的链接。效果参考本页侧边栏。函数调用：&lt;?php hot_friends();?&gt;</p>
<p>b. 可以生成类似标签云的友情链接云。效果可参照导航栏上的<a href="http://www.thinkagain.cn/friends" target="_blank">Friends</a>。函数调用：&lt;?php hot_friends_cloud();?&gt;</p>
<p>c. 可自动将评论者添加到BlogRoll，当他/她的评论数目超过指定要求(后台可设定)。</p>
<p><strong>2. 后台管理</strong></p>
<p>管理者可在后台页面配置Hot Friends的具体选项。如果WP语言设定为简体中文(zh_CN)，插件会自动加载中文界面。中英文界面如下，点击看大图。</p>
<p><a class="thickbox" title="Hot Friends后台英文界面-1" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-1.gif" target="_blank" rel="hot friends"><img alt="Hot Friends后台英文界面-1" height="147" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-1.gif" width="220" /></a> <a class="thickbox" title="Hot Friends后台中文界面-1" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-cn-1.gif" target="_blank" rel="hot friends"><img height="148" alt="Hot Friends后台中文界面-1" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-cn-1.gif" width="220" /></a></p>
<p><em>中英文界面-1</em></p>
<p>此板块主要设定Hot Friends插件运行的主要参数。由上而下，分别为设定Hot Friends数目，排序依据，是否显示评论数目和站点描述，固定显示的链接（注意，链接必须用半角逗号隔开），是否开启自动添加评论者到BlogRoll功能和对应的邮件通知，以及缓存更新时间等。</p>
<p>手动更新缓存选项用于当以上设置发生变化时，重新手动更新缓存，以便页面能即时按照更新后的选项输出显示效果。如设定无变化，可将此选项留空。</p>
<p>默认自动添加ThinkAgain到BlogRoll，您也可以将此留空，插件会自动将ThinkAgain链接从BlogRoll中删除。</p>
<p><a class="thickbox" title="Hot Friends后台英文界面-2" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-2.gif" target="_blank" rel="hot friends"><img height="53" alt="Hot Friends后台英文界面-2" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-2.gif" width="220" /></a>&#160; <a class="thickbox" title="Hot Friends后台中文界面-2" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-cn-2.gif" target="_blank" rel="hot friends"><img height="71" alt="Hot Friends后台中文界面-2" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-cn-2.gif" width="220" /></a></p>
<p><em>中英文界面-2</em></p>
<p>此板块提供了评论数查询功能，和链接导入导出到OPML文件的功能。</p>
<p><a class="thickbox" title="Widget英文界面" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-3.gif" target="_blank" rel="hot friends"><img height="178" alt="Widget英文界面" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-3.gif" width="220" /></a>&#160; <a class="thickbox" title="Widge中文界面" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-cn-3.gif" target="_blank" rel="hot friends"><img height="183" alt="Widget中文界面" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends-cn-3.gif" width="220" /></a></p>
<p><em>Widget中英文界面</em></p>
<p>这个是Widget的中英文界面，比较简单，请根据自己偏好，设定标题，其它的参数在后台的管理页面中设置。 </p>
<p><strong>3. 插件下载</strong></p>
<p><a href="http://wordpress.org/extend/plugins/hot-friends/" target="_blank">点此</a>在WP官方下载Hot Friends插件。</p>
<p>欢迎WP爱好者下载试用。坐板凳等您的宝贵意见。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  </p>
<p>还有，有WP帐户的网友，别忘了<a href="http://wordpress.org/extend/plugins/hot-friends/">投上一票</a>。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  </p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/985.html#comments">评论218:</a></p><p><strong>218.</strong><i>2011.09.13.8:46.am</i>.&nbsp;<a href="http://www.rubinz.cn/recommended-a-skin-wp-theme-rust/">推荐一款皮肤WP theme:rust | Rubinz&#039;s Blog</a>: [...] Hot Friends（头像边距：4px 0px 0px 4px） [...]</p><p><strong>217.</strong><i>2011.08.17.10:49.am</i>.&nbsp;<a href="http://loadwp.com/wp_plugin/6147/mail-to-commenter/">Mail To Commenter review, discussions, does it work, and ratings on Loadwp.com&nbsp;|&nbsp;Loadwp.com</a>: [...] user please check here for chinese [...]</p><p><strong>216.</strong><i>2011.08.12.10:43.pm</i>.&nbsp;<a href="http://jovinpage.com/?p=24">wordpress友情链接插件——Hot Friends | 惊魂龙个人主页</a>: [...] 此板块提供了评论数查询功能，和链接导入导出到OPML文件的功能。  [...]</p><p><strong>215.</strong><i>2011.05.11.8:59.am</i>.&nbsp;<a href="http://honwhy.tk">Honwhy</a>: <a href="#comment-68303" rel="nofollow">@山之岚 </a>能不能详细点解说一下，举个例子之类的。</p><p><strong>214.</strong><i>2011.05.11.8:55.am</i>.&nbsp;<a href="http://honwhy.tk">Honwhy</a>: 有没有制作成页面的友情链接插件</p><p><strong>213.</strong><i>2011.04.13.5:45.am</i>.&nbsp;<a href="http://timon.bellevietrade.com/2011/04/plug-in-wordpress-plugins/">WordPress Plugins 插件 | 0°C Café 零度咖啡|一种生活态度</a>: [...] is supported by Ask.com, Google, MSN Search and YAHOO. Configuration Page 作者为 Arne Brachhold. Hot Friends Generate Hot Friends list / cloud by ranking links in blogroll based on its associated comment [...]</p><p><strong>212.</strong><i>2011.02.08.11:49.am</i>.&nbsp;<a href="http://jovinpage.com/?p=172">wordpress友情链接插件——Hot Friends | 新奇特——惊魂龙个人网站</a>: [...] 1. 主要功能  [...]</p><p><strong>211.</strong><i>2011.01.19.1:13.pm</i>.&nbsp;<a href="http://www.sailfish.me/315.html">2010年10大最有价值wordpress插件 | 旗鱼博客</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>210.</strong><i>2010.12.17.9:35.am</i>.&nbsp;<a href="http://zhaokunchine.wordpress.com/2009/05/11/plug-in-wordpress-plugins/">WordPress Plugins 插件 &laquo; 0°C Café 零度咖啡|一种生活态度@WP</a>: [...] Hot Friends [...]</p><p><strong>209.</strong><i>2010.11.25.7:26.pm</i>.&nbsp;<a href="http://www.nword.com.cn/?p=2217">WP友情链接随机、分列显示</a>: [...] Hot Friends 插件，些插件支持调用随机的友情链接，数目可以在后台设置，而且支持 [...]</p><p><strong>208.</strong><i>2010.09.30.8:33.pm</i>.&nbsp;<a href="http://www.socooe.com/%e6%96%b0%e7%89%8810%e5%a4%a7%e6%9c%80%e6%9c%89%e4%bb%b7%e5%80%bc%e6%8f%92%e4%bb%b6/">新版10大最有价值插件 | 博客怎么赚钱</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>207.</strong><i>2010.08.12.12:15.am</i>.&nbsp;<a href="http://www.rubinz.cn/blog/572.html">Rubinz’blog &raquo; Blog Archive &raquo; 推荐一款皮肤WP theme:rust</a>: [...] Hot Friends（头像边距：4px 0px 0px 4px） [...]</p><p><strong>206.</strong><i>2010.08.09.2:39.pm</i>.&nbsp;<a href="http://52share.info">绝版黑色</a>: 不知道插件作者还更新不, 我反馈个问题,不知道为何插件月度评论排序不知道是按照什么时间参照的, 是每月的一号 还是安装的日期开始算起.?

能否区别链接分类? 现在的好像只要是链接微件都会显示. 希望能够增加个分类显示, 只显示某一分类的所有链接. <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>205.</strong><i>2010.08.08.10:08.pm</i>.&nbsp;<a href="http://www.leyond.info">Code之行人</a>: 一直在找这个插件 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> </p><p><strong>204.</strong><i>2010.07.30.3:07.pm</i>.&nbsp;<a href="http://www.tal-rasha.com">tal-rasha</a>: 为什么那个自动添加到链接表的功能在我那里不管用</p><p><strong>203.</strong><i>2010.07.07.10:45.pm</i>.&nbsp;<a href="http://fengfree.com/post/93.html">我所用的Wordpress插件及其用法 | 风吟博客</a>: [...] 4.Hot Friends：应该是一个友情链接增强插件吧。用法：用widget或&lt;?php hot_friends();?&gt;调用生成Hot friends序列；&lt;?php hot_friends_cloud();?&gt;可以生成类似标签云的友情链接云。 [...]</p><p><strong>202.</strong><i>2010.07.03.12:25.pm</i>.&nbsp;<a href="http://truemans.info/2010/07/%e6%96%b0%e7%89%8810%e5%a4%a7%e6%9c%80%e6%9c%89%e4%bb%b7%e5%80%bc%e6%8f%92%e4%bb%b6/">新版10大最有价值插件 &laquo; Trueman&#39;s World</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>201.</strong><i>2010.06.08.7:16.pm</i>.&nbsp;<a href="http://qiusuoge.com/archives/353.html">求索阁 &raquo; Blog Archive &raquo; wordpress友情链接随机、分列显示</a>: [...] Hot Friends 插件，些插件支持调用随机的友情链接，数目可以在后台设置，而且支持 [...]</p><p><strong>200.</strong><i>2010.06.06.9:04.am</i>.&nbsp;<a href="http://www.linsanhe.com/?p=105">林三和 自行车博客 &raquo; 新版10大最有价值插件</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>199.</strong><i>2010.05.31.4:50.pm</i>.&nbsp;<a href="http://www.51zxw.org/wordpress/?p=95">阿成博客 &raquo; 新版10大最有价值插件</a>: [...] 7,Hot Friends国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>198.</strong><i>2010.05.07.9:51.pm</i>.&nbsp;<a href="http://www.0575r.com">绍兴小杜</a>: 呵呵，这个插件太好了哦～</p><p><strong>197.</strong><i>2010.03.08.10:31.pm</i>.&nbsp;<a href="http://www.liguoqiang.info/?p=526">新版10大最有价值插件 | 国强有「画」要说</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>196.</strong><i>2010.02.26.2:33.am</i>.&nbsp;<a href="http://as30.com">普洱</a>: 不错的插件，辛苦辛苦。还是国人开发的插件看着顺眼。</p><p><strong>195.</strong><i>2010.02.16.1:31.pm</i>.&nbsp;<a href="http://www.quantminds.com/2010/02/%e6%96%b0%e7%89%8810%e5%a4%a7%e6%9c%80%e6%9c%89%e4%bb%b7%e5%80%bc%e6%8f%92%e4%bb%b6/">QuantMinds.com &raquo; 新版10大最有价值插件</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>194.</strong><i>2010.01.10.1:14.pm</i>.&nbsp;Sevi: Hot Friends 显示效果没有这款插件(Community Cloud)好看，没有标签云的那种随机排列效果，显得太死板了..</p><p><strong>193.</strong><i>2010.01.05.8:09.pm</i>.&nbsp;<a href="http://diedtree.com">归臧</a>: 不知道为什么~改为图片显示,图片显示不出来~</p><p><strong>192.</strong><i>2010.01.03.2:44.am</i>.&nbsp;<a href="http://014.cc">Dianso</a>: 新年快乐~

很久没见你更新了，报告个问题，有些链接就是显示不出来头像，是缓存问题还是？</p><p><strong>191.</strong><i>2009.12.21.4:18.pm</i>.&nbsp;<a href="http://www.ylgod.cn">皇家元林</a>: 能让我博客的边栏的友情链接采用友情链接云的样式么？</p><p><strong>190.</strong><i>2009.12.02.8:20.pm</i>.&nbsp;<a href="http://www.mytion.net/archives/38578">添加到博客首页的友情链接太多时你该怎么办？ : 试验田</a>: [...] 中文技术支持地址：http://www.thinkagain.cn/archives/985.html [...]</p><p><strong>189.</strong><i>2009.10.24.9:14.am</i>.&nbsp;<a href="http://www.mytion.net/tian-jia-dao-bo-ke-shou-ye-di-you-qing-lian-jie-tai-duo-shi-ni-gai-zen-me-ban/">添加到博客首页的友情链接太多时你该怎么办？ : 麦田</a>: [...] 中文技术支持地址：http://www.thinkagain.cn/archives/985.html [...]</p><p><strong>188.</strong><i>2009.10.20.3:06.pm</i>.&nbsp;<a href="http://www.hotopics.cn/blog-relate/wordpress-plugins/997.html">WordPress插件：Hot Friends插件使用方法介绍 - 网络生活</a>: [...] 1. 主要功能  [...]</p><p><strong>187.</strong><i>2009.10.20.2:41.pm</i>.&nbsp;<a href="http://www.hotopics.cn">网络生活</a>: 第一次使用，效果很不错，非常喜欢</p><p><strong>186.</strong><i>2009.10.07.4:31.pm</i>.&nbsp;<a href="http://www.gigabook.org">giga</a>: amazing plugin！</p><p><strong>185.</strong><i>2009.10.04.12:17.am</i>.&nbsp;<a href="http://hisnake.com/259.html">小蛇的博客 &raquo; hot friend，彩色标签云，Ajax心情投票的安装，博客完美化~</a>: [...] 调用代码为   &lt;?php hot_friends();?&gt;  [...]</p><p><strong>184.</strong><i>2009.09.29.7:51.am</i>.&nbsp;<a href="http://www.iwinnie.cn/archives/37">爱维尼 &raquo; wordpress 友情链接随机、分列显示</a>: [...] Hot Friends 插件，些插件支持调用随机的友情链接，数目可以在后台设置，而且支持 [...]</p><p><strong>183.</strong><i>2009.09.26.4:18.pm</i>.&nbsp;<a href="http://www.fad80.com">jackpei</a>: 我想说的是现在好像不能下载了？</p><p><strong>182.</strong><i>2009.09.17.6:59.pm</i>.&nbsp;<a href="http://louishan.com">Louis Han</a>: 装了Exec-PHP插件，在页面上添加仍然不可用，可惜</p><p><strong>181.</strong><i>2009.09.15.6:27.pm</i>.&nbsp;<a href="http://duolab.cn/post/some-plugins-wordpress.html">几款有意思的WordPress插件介绍 | 哆啦B梦的博客</a>: [...] 插件地址：http://www.thinkagain.cn/archives/985.html [...]</p><p><strong>180.</strong><i>2009.09.07.11:38.am</i>.&nbsp;<a href="http://blog.mutree.com/wordpress/2009/09/07/wordpess-topics-rust-chinese-original/">Wordpess主题:rust(国人原创) | WordPress：最流行的开源博客程序</a>: [...] 色调：黑色 类别：二栏 所需插件：WP Kit CN 、Hot Friends、Simple Tags 、Twitter Tools、WP-PageNavi、Subscribe To Comments [...]</p><p><strong>179.</strong><i>2009.09.06.3:21.pm</i>.&nbsp;<a href="http://xuyuanhu.org.ru">xuyuanhu</a>: 我晕，这个到底要怎么用啊，折腾了半天还是不会用，导航栏上的Friends这个是怎么做出来的？怎么调用？是把调用的函数新建立个页面复制进去吗？怎么没效果？还是自己制作个PHP页面调用？</p><p><strong>178.</strong><i>2009.09.03.4:00.pm</i>.&nbsp;<a href="http://www.imleeo.com">leeo</a>: 已经装上此插件，谢谢奉献！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>177.</strong><i>2009.07.24.5:23.pm</i>.&nbsp;<a href="http://www.chouray.com/blog/20090724wp-themerust.html">WP theme:rust</a>: [...] Hot Friends（头像边距：4px 0px 0px 4px） [...]</p><p><strong>176.</strong><i>2009.07.24.12:38.pm</i>.&nbsp;<a href="http://blog.lmiss.com/433.html">Wordpress插件: Hot Friends v1.4.1 - 勒没事</a>: [...] Updated: 2008-12-08. Latest version v1.4.1。  [...]</p><p><strong>175.</strong><i>2009.06.21.8:14.pm</i>.&nbsp;<a href="http://www.suoyishuo.com">所以说</a>: 很好的插件。我建议可以加一个选项在末尾添上"更多链接"的按钮</p><p><strong>174.</strong><i>2009.06.15.1:23.am</i>.&nbsp;<a href="http://www.dreamfreeblog.com">睡到自然醒blog</a>: 和 142 楼的出现同样错误，设置后出现如下错误，怎么回事呢：
Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/content/d/r/e/dreamfree/html/wp-content/plugins/hot-friends/hot_friends.php on line 268

Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/content/d/r/e/dreamfree/html/wp-content/plugins/hot-friends/hot_friends.php on line 149

Warning: extract() [function.extract]: First argument should be an array in /home/content/d/r/e/dreamfree/html/wp-content/plugins/hot-friends/hot_friends.php on line 152

Warning: extract() [function.extract]: First argument should be an array in /home/content/d/r/e/dreamfree/html/wp-content/plugins/hot-friends/hot_friends.php on line 154

 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </p><p><strong>173.</strong><i>2009.05.29.4:19.pm</i>.&nbsp;<a href="http://digau.cn">黎俊刚</a>: 很使用的插件，博主评论太多了，没有分页</p><p><strong>172.</strong><i>2009.05.29.2:40.pm</i>.&nbsp;<a href="http://kramon.net">kramon</a>: 怎样实现评论数出现在链接后面?</p><p><strong>171.</strong><i>2009.05.26.4:59.pm</i>.&nbsp;<a href="http://www.jfffff.com">疾风</a>: 我下载个试试去</p><p><strong>170.</strong><i>2009.04.12.10:34.pm</i>.&nbsp;<a href="http://www.johnsheng.cn">盛者无罪</a>: 很好啊，会有用到的一天 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>169.</strong><i>2009.04.03.10:58.am</i>.&nbsp;<a href="http://www.williamhua.com">William Hua</a>: thinkagain你好，我想修改hot friends的widget为两列显示，并且添加一个“more”的链接指向我的link页面，应该修改哪里呢？</p><p><strong>168.</strong><i>2009.03.14.9:58.pm</i>.&nbsp;<a href="http://www.amway-zen.com/?p=200">禅意安利｜春来草自青 - 关于交换友情链接</a>: [...] 所有申请友情链接的朋友只要符合上述条件，我将自动将您的友情链接添加到http://www.amway-zen.com/friends里面去。站内各页面侧边栏显示的Hot Friends链接是根据您在本站的活跃度自动生成的，具体详见，http://www.amway-zen.com/archives/985.html。 [...]</p><p><strong>167.</strong><i>2009.03.13.2:41.pm</i>.&nbsp;<a href="http://3284265.cn/wordpress/i-used-wordpress-plug-ins.html">我所使用的wordpress插件 - 怀念1997年的秋天 - 个人生活心得,工作感悟,wordpress技术交流 - Power by 3284265.cn</a>: [...] Hot Friends [...]</p><p><strong>166.</strong><i>2009.03.07.11:30.pm</i>.&nbsp;西华秦: Warning: htmlspecialchars_decode() expects parameter 1 to be string, NULL given in d:\vhost\xxxxx\658\www\wp-includes\compat.php on line 105

这个是什么原因呢</p><p><strong>165.</strong><i>2009.03.06.1:21.pm</i>.&nbsp;<a href="http://www.guojianwei.cn/?p=62">望月使用的 Wordpress 插件 | 西院小陈</a>: [...] Hot Friends：友情链接管理插件，国人开发的又一个优秀插件，根据读者的评论密度自动添加友情链接和控制首页显示。详细介绍在这里。 [...]</p><p><strong>164.</strong><i>2009.03.06.10:49.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-92792" rel="nofollow">@M.坏男 </a>是用这个插件，只需将插件ftp到plugin目录下，然后激活，在控制后台内的选项页面自定义些选项。然后将hot friends widget插入侧边栏，或者手动添加php代码就可以了。根本没有设置到目录的属性等等。如果发生此问题，可能要检查下是否和模板或其它插件有冲突。请卸载下，再测试。</p><p><strong>163.</strong><i>2009.03.04.3:22.pm</i>.&nbsp;<a href="http://home.t5o.cn">M.坏男</a>: 你好，请问下，安装这个插件是不是需要目录要什么属性？我安装后更改不了配置文件，一更改配置文件就变成空白。</p><p><strong>162.</strong><i>2009.02.28.7:39.am</i>.&nbsp;<a href="http://thdp.org">thdp</a>: 文中关于“如何添加标签云”说的不是很清楚。我试着将直接添加到页面里，没有输出。后来查到需要先安装一个Exec-PHP的插件，专门用来在文章、页面和文本工具里执行php语句。激活这个插件后，页面就可以正常显示友情联接的标签云了。</p><p><strong>161.</strong><i>2009.02.12.5:23.pm</i>.&nbsp;<a href="http://www.fengfree.com/index.php/2008-12-15/i-have-to-the-use-of-its-plug-in-wordpress/">我所用的Wordpress插件及其用法 | 低調人生</a>: [...] 4.Hot Friends：应该是一个友情链接增强插件吧。用法：用widget或&lt;?php hot_friends();?&gt;调用生成Hot friends序列；&lt;?php hot_friends_cloud();?&gt;可以生成类似标签云的友情链接云。 [...]</p><p><strong>160.</strong><i>2009.01.29.11:09.pm</i>.&nbsp;<a href="http://abbie.cn">abbie</a>: 先感谢ThinkAgain的这个插件，很好用的说~
想问下 有没有办法让友情链接云只显示特定分类的链接呢？</p><p><strong>159.</strong><i>2009.01.02.9:02.pm</i>.&nbsp;<a href="http://ourgrape.cn">YIMO</a>: 强烈的支持！！谢谢开发者</p><p><strong>158.</strong><i>2008.12.31.4:15.pm</i>.&nbsp;<a href="http://en.nicuilie.eu/blog/2008/31/top-1000-wordpress-plugin-authors/">En.nicuilie.eu Blogs &raquo; Top 1000 WordPress Plugin Authors</a>: [...] Hot Friends [...]</p><p><strong>157.</strong><i>2008.12.26.7:52.am</i>.&nbsp;<a href="http://www.wuyeah.com">午夜</a>: 感觉很不错，试用下，看看。</p><p><strong>156.</strong><i>2008.12.25.10:38.am</i>.&nbsp;<a href="http://www.xiaorsz.com/2008/12/wordpress-random-link-2-row-shows/">wordpress 友情链接随机、分列显示 - xiaorsz's blog</a>: [...] Hot Friends 插件，些插件支持调用随机的友情链接，数目可以在后台设置，而且支持 [...]</p><p><strong>155.</strong><i>2008.12.19.9:24.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-81603" rel="nofollow">@LOKE </a>htmlspecialchars_decode这个是php自带函数，请检查下自己的服务器是否将该函数禁用了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' /> </p><p><strong>154.</strong><i>2008.12.19.3:45.pm</i>.&nbsp;<a href="http://loke8.cn">LOKE</a>: 大大！我启动插件后在后台选择显示头像不成功，显示以下
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/loke8/public_html/wp-content/plugins/hot-friends/hot_friends_functions.php on line 43
请问是怎么回事啊？？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>153.</strong><i>2008.12.19.2:31.pm</i>.&nbsp;<a href="http://loke8.cn">LOKE</a>: 苦苦寻求，终于找到了！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>152.</strong><i>2008.12.16.3:03.pm</i>.&nbsp;<a href="http://www.shichangzhi.cn">老时</a>: 已经好了，谢谢哈。</p><p><strong>151.</strong><i>2008.12.16.2:43.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-81020" rel="nofollow">@老时 </a>请你确认是否是Hot friends插件造成的问题吗？因为根据这些出错信息，似乎都是WP自定义函数运行出错，而hot friends插件中并没有调用过这些函数。能否具体检查下？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>150.</strong><i>2008.12.16.11:24.am</i>.&nbsp;<a href="http://www.shichangzhi.cn">老时</a>: 我启用后，后台上面显示下面错误代码。。。。

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/happyscz/domains/shichangzhi.cn/public_html/wp-includes/streams.php on line 180

Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in /home/happyscz/domains/shichangzhi.cn/public_html/wp-includes/gettext.php on line 73

Warning: array_shift() [function.array-shift]: The argument should be an array in /home/happyscz/domains/shichangzhi.cn/public_html/wp-includes/gettext.php on line 74</p><p><strong>149.</strong><i>2008.12.09.11:23.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 头像大小,嗯...暂时就这个了
ps 也有人希望头像+链接一起显示滴...</p><p><strong>148.</strong><i>2008.12.09.11:03.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-80096" rel="nofollow">@Yacca </a>嗯，这个完全没问题。可以在做成在由管理者设置。还有什么新建议么？多多提出来啊。考虑要在下一版本中增加一些新功能。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> </p><p><strong>147.</strong><i>2008.12.09.8:44.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 刚想起来,鼠标挪上去后显示起来应该是Sitename+副标题+评论数量...</p><p><strong>146.</strong><i>2008.11.30.10:43.pm</i>.&nbsp;<a href="http://home.t5o.cn/index.php/Heart-And-Mouth/2008/11/30/225/hotfriends.html">Hot Friends : Heart And Mouth</a>: [...] user please check here for chinese [...]</p><p><strong>145.</strong><i>2008.11.29.9:51.pm</i>.&nbsp;<a href="http://www.spypark-reborn.com/2008/11/29/my-blog-with-new-theme-new-plugin/">My Blog With New Theme &amp; New Plugin | IT's My World</a>: [...] Author: ThinkAgain [...]</p><p><strong>144.</strong><i>2008.11.22.5:11.pm</i>.&nbsp;<a href="http://jorwang.com/htm/320.htm">建立自己的WordPress朋友圈 | JorWang</a>: [...] 参考插件使用说明修改模板后，建立“朋友圈”页面；再修改首页模板，调用周评论最多的相关友情链接。 [...]</p><p><strong>143.</strong><i>2008.11.10.10:02.am</i>.&nbsp;<a href="http://neolee.cn/wordpress/use-hot-friends-plugin/">试用Hot-friends插件 | 老N的博客</a>: [...] 最近很多朋友在交换链接时提到想交换在首页，当然老N也知道放在首页能有更多曝光度和吃到首页的pr。但是为了页面的整体，老N很难满足大家的需求。后来想了想还是试试看这个由Think Again 制作的Hot-Friends插件。 [...]</p><p><strong>142.</strong><i>2008.11.08.6:12.pm</i>.&nbsp;<a href="http://jobru.net">JoBru</a>: Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in E:\TOOL\ApplyTool\xampp\htdocs\wordpress\wp-content\plugins\hot-friends\hot_friends.php on line 245这是什么问题？</p><p><strong>141.</strong><i>2008.11.08.5:48.pm</i>.&nbsp;<a href="http://www.Sun-Q.cn/hot-friends-get-the-plug-in-link-yun.html">搞定Hot Friends插件的链接云 &raquo; 人在岱北 静心聆泉</a>: [...] 在花果山寨的推荐下，用了Think Again的Hot Friends插件，但是使用之后，只有Widgets的Hot Friends可以使用，在页面调用链接云的函数老是无法成功。以前也写过文章问关于Hot Friends插件的使用问题，Think Again也亲自给指导了一下，但是问题一直都没有解决…… [...]</p><p><strong>140.</strong><i>2008.11.08.9:19.am</i>.&nbsp;<a href="http://www.xuedudou.cn/2008/11/08/wp-plugin-hot-friends-and-cexec-php/">Wordpress插件: Hot Friends 和Exec-PHP | 小肚生鱼汤</a>: [...]              今天把友情链接页面改成了链接云。用了think again的 Hot Friends ，此插件大名鼎鼎吧。呵呵,喜欢的去官方投投票，支持下咱国产好插件。 [...]</p><p><strong>139.</strong><i>2008.11.08.9:15.am</i>.&nbsp;<a href="http://www.xuedudou.cn/2008/11/08/wordpress%e6%8f%92%e4%bb%b6-hot-friends-%e5%92%8cexec-php/">Wordpress插件: Hot Friends 和Exec-PHP | 小肚生鱼汤</a>: [...]              今天把友情链接页面改成了链接云。用了think again的 Hot Friends ，此插件大名鼎鼎吧。呵呵,喜欢的去官 [...]</p><p><strong>138.</strong><i>2008.11.08.8:59.am</i>.&nbsp;<a href="http://www.xuedudou.cn">小肚生鱼汤</a>: ok了。正好另外个人也问我不能显示。咱没link这个模板。真不方便</p><p><strong>137.</strong><i>2008.11.08.7:05.am</i>.&nbsp;<a href="http://www.xuedudou.cn">小肚生鱼汤</a>: 很奇怪。侧边栏正常。可是link页面就是不显示。输入php代码。但是不显示，而且保存了再看。php代码会丢失hp这2字母。。。。我看个别人也有这问题。</p><p><strong>136.</strong><i>2008.11.08.5:49.am</i>.&nbsp;<a href="http://www.xuedudou.cn">小肚生鱼汤</a>: 第一次用。嘿嘿。看下效果</p><p><strong>135.</strong><i>2008.11.03.12:03.am</i>.&nbsp;<a href="http://18tvb.com">mr wu</a>: @all 大家好，希望能做个链接 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>134.</strong><i>2008.10.29.5:43.pm</i>.&nbsp;<a href="http://www.xpv.cn/?p=213">新版10大最有价值插件 | 普小龙的-Blog QQ:47900026</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>133.</strong><i>2008.10.27.12:48.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: <a href="#comment-75179" rel="nofollow">@山之岚 </a>跟上面提到的几个有点类似，下次再出现我就把它复制下来Invalid argument supplied for foreach() in /home/xiangr/public_html/wp-content/plugins/hot-friends/hot_friends.php on line 113</p><p><strong>132.</strong><i>2008.10.27.11:54.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-75096" rel="nofollow">@shamas </a>能否告知用一段时间后会出现什么错误？错误提示？</p><p><strong>131.</strong><i>2008.10.26.12:16.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 用一段时间就会出现那种错误，然后又要重新激活</p><p><strong>130.</strong><i>2008.10.25.11:41.pm</i>.&nbsp;<a href="http://www.no133.cn/2008/10/10-new-useful-wordpress-plugins.html">新版10大最有价值插件 | 风声边界</a>: [...] 　　7.Hot Friends 　　国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>129.</strong><i>2008.10.25.10:29.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 更新!!!不过这次更新没啥感觉 反正我没发现有冲突.</p><p><strong>128.</strong><i>2008.10.25.10:17.pm</i>.&nbsp;<a href="http://blog.turkbaron.com">baron</a>: hi. Thanks for plugin

perfect.

Regards</p><p><strong>127.</strong><i>2008.10.25.10:04.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-75042" rel="nofollow">@西园 </a>请参考下<a href="#comment-74743" rel="nofollow">123</a>的留言。</p><p><strong>126.</strong><i>2008.10.25.9:31.pm</i>.&nbsp;<a href="http://imblade.cn">西园</a>: 呃，我想说，我一更改设置，就会出现错误提示：
Fatal error: Call to undefined function: htmlspecialchars_decode() in /usr/local/psa/home/vhosts/imblade.cn/httpdocs/wordpress/wp-content/plugins/hot-friends/hot_friends_functions.php on line 40
不知为何？</p><p><strong>125.</strong><i>2008.10.23.4:09.pm</i>.&nbsp;<a href="http://www.eemir3.com/2008/10/wordpress-18-touch/">淫邪的WordPress十八摸 | Movie Castle</a>: [...] Dean's Permalinks Migration: 曾用过win主机,所以需要做303友好转向.&nbsp;&nbsp; Hot Friends: [...]</p><p><strong>124.</strong><i>2008.10.22.11:22.am</i>.&nbsp;<a href="http://hpsky.net">homer</a>: 解决了 我直接修改 functions.php 默认值实现了～</p><p><strong>123.</strong><i>2008.10.22.10:46.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-74742" rel="nofollow">@homer </a>这个是php内置函数，出现此错误，请用php探针检查php服务器是否禁用了该函数。</p><p><strong>122.</strong><i>2008.10.22.10:31.am</i>.&nbsp;<a href="http://hpsky.net">homer</a>: Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/homer/public_html/hpsky.net/wp-content/plugins/hot-friends/functions.php on line 40

出现这个错误。。。。郁闷</p><p><strong>121.</strong><i>2008.10.19.4:19.pm</i>.&nbsp;<a href="http://wangyueblog.com/2008/10/19/wordpress-plugin-hot-friends/">Wordpress插件推荐——友情链接插件Hot Friends | 望月的博客</a>: [...] Hot Friends插件作者技术支持 [...]</p><p><strong>120.</strong><i>2008.10.15.1:05.pm</i>.&nbsp;<a href="http://daniel.allove.org">daniel</a>: 原来我来迟了、、、</p><p><strong>119.</strong><i>2008.10.04.11:00.am</i>.&nbsp;<a href="http://yufu.yo2.cn/articles/%e6%96%b0%e7%89%8810%e5%a4%a7%e6%9c%80%e6%9c%89%e4%bb%b7%e5%80%bc%e6%8f%92%e4%bb%b6.html">渔夫网赚咨讯站 &raquo; 新版10大最有价值插件</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>118.</strong><i>2008.10.01.4:24.pm</i>.&nbsp;<a href="http://zzlor.cn">zzl</a>: 如何设置 在标签云友情链接 页面 
只显示某个 链接分类 下的链接

或者分开 分类 再显示 标签云样式</p><p><strong>117.</strong><i>2008.10.01.3:35.pm</i>.&nbsp;<a href="http://zzlor.cn">zzl</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />  有没有选项 选输出Widgets只在首页显示的啊</p><p><strong>116.</strong><i>2008.09.30.12:45.am</i>.&nbsp;<a href="http://blog.lovehr.net">旁观者</a>: 这个插件好，回头我博客连接多了我也要用。</p><p><strong>115.</strong><i>2008.09.27.12:46.pm</i>.&nbsp;<a href="http://bingu.net">冰古</a>: 这个插件很不错。</p><p><strong>114.</strong><i>2008.09.26.4:22.pm</i>.&nbsp;<a href="http://mediabam.cn/several-useful-wordpress-plugins/">Mediabam &raquo; Blog Archive &raquo; 几个有用的wordpress插件收集[转载+编辑]</a>: [...] Hot Friends - [...]</p><p><strong>113.</strong><i>2008.09.22.11:57.pm</i>.&nbsp;<a href="http://mediabam.cn/?p=207">Mediabam &raquo; Blog Archive &raquo; 几个有用的wordpress插件收集[转载]</a>: [...] Hot Friends - [...]</p><p><strong>112.</strong><i>2008.09.21.8:59.pm</i>.&nbsp;<a href="http://blog.4ufree.cn/2008/09/21/10wordpress%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90/">10+WordPress插件推荐 | 李白的网络涂鸦</a>: [...] Hot Friends - [...]</p><p><strong>111.</strong><i>2008.09.21.8:45.am</i>.&nbsp;<a href="http://www.blovec.com/wp/?p=35">BLOVEC &raquo; 新版10大最有价值插件</a>: [...] 7,Hot Friends 国人的超强插件，而且博客需要交互，就需要这种插件，具体看作者的日志，强烈推荐！ [...]</p><p><strong>110.</strong><i>2008.09.18.11:22.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-72149" rel="nofollow">@花果山寨 </a>目前版本是输出全部连接的。如果需要的话，可以在以后升级版本中加入此功能。对此有何建议，欢迎提出啊。</p><p><strong>109.</strong><i>2008.09.18.1:01.am</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 标签云可不可以设置输出人数呀？</p><p><strong>108.</strong><i>2008.09.16.6:53.pm</i>.&nbsp;<a href="http://www.thirdinfo.com/how-to-have-a-fun-in-blog-life.htm">如何让写博更有乐趣 at Thirdinfo</a>: [...] Hot Friends [...]</p><p><strong>107.</strong><i>2008.09.16.6:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-72069" rel="nofollow">@Chris.Ro </a>什么不填也就是留空了，留空的话，当然找不到目录了。难怪会有这提示，呵呵。点击"load default"，中文是"默认设置"按钮，就可以导入默认设置了。或者你就天上Blogroll也可以了。
p.s,如何建立目录，以英文版为例，点击 manage -->Link Categories，在此页面下建立目录</p><p><strong>106.</strong><i>2008.09.16.6:43.pm</i>.&nbsp;<a href="http://www.chrisoft.cn">Chris.Ro</a>: <a href="#comment-72053" rel="nofollow">@山之岚 </a>好吧,我是菜鸟.抱歉.让你费心了.
我什么都不填是否默认?.但是默认也找不到这个目录.
请问如何建立这个目录呢?</p><p><strong>105.</strong><i>2008.09.16.1:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-72052" rel="nofollow">@Chris.Ro </a>那是因为你在“添加评论者到链接目录”里面设置的目录不存在造成的。默认是添加到blogroll目录。</p><p><strong>104.</strong><i>2008.09.16.1:28.pm</i>.&nbsp;<a href="http://www.chrisoft.cn">Chris.Ro</a>: 提示我.
指定链接目录无法找到，请确认目录名称是否正确。
这个是为什么?</p><p><strong>103.</strong><i>2008.09.15.1:32.am</i>.&nbsp;<a href="http://www.lelebu.com">乐了布</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  支持</p><p><strong>102.</strong><i>2008.09.14.9:35.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71863" rel="nofollow">@SunQ </a>你提的问题，目前为止还尚未有人碰到过。解决方法一，在后台控制页面，重新手动更新下缓存。如不行，将该插件卸载，然后重新激活安装试试看。</p><p><strong>101.</strong><i>2008.09.14.5:04.pm</i>.&nbsp;<a href="http://www.Sun-Q.cn">SunQ</a>: 为啥我在使用这个插件的时候出现了问题呢？
我按照说明里面的函数来调用，结果，却显示不出来，widgets和链接云都是如此……求指点！</p><p><strong>100.</strong><i>2008.09.14.3:09.pm</i>.&nbsp;<a href="http://www.Sun-Q.cn/wordpress-hot-friends-use-plug-in.html">人在岱北 静心聆泉 &raquo; Blog Archive &raquo; WordPress Hot Friends插件使用问题</a>: [...] 博友花果山寨像大家推荐了Think Again的Hot Friends插件,Hot [...]</p><p><strong>99.</strong><i>2008.09.11.12:46.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: <a href="#comment-71589" rel="nofollow">@山之岚 </a>果果不然</p><p><strong>98.</strong><i>2008.09.11.11:46.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-71588" rel="nofollow">@shamas </a>卸载重新激活下应该就没有问题了。</p><p><strong>97.</strong><i>2008.09.11.11:44.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 出问题了，今天突然出现的，我也没作什么修改，最新版的Warning: Invalid argument supplied for foreach() in /home/xiangr/public_html/wp-content/plugins/hot-friends/hot_friends.php on line 113</p><p><strong>96.</strong><i>2008.09.10.8:41.am</i>.&nbsp;<a href="http://www.rssa.org.cn/archives/1505">国人精品Wordpress插件： Hot Friends</a>: [...] 鄙人一直推崇博客需要互动，有情链接要比友情链接更有价值，对于那些链接后老死不想往来的博客者甚为鄙视，所以一直很盼望强大的wordpress用户群里能够出现一款能够鼓舞大家留言、提高博客互动性的插件。没想到这个愿望今天终于让我实现了，国人开发的超强精品－Hot Friends，感谢作者陈希立！ [...]</p><p><strong>95.</strong><i>2008.09.09.5:36.pm</i>.&nbsp;<a href="http://rssa.org.cn/add/archives/51">RSSA聚合 &raquo; 国人精品Wordpress插件： Hot Friends</a>: [...] 鄙人一直推崇博客需要互动，有情链接要比友情链接更有价值，对于那些链接后老死不想往来的博客者甚为鄙视，所以一直很盼望强大的wordpress用户群里能够出现一款能够鼓舞大家留言、提高博客互动性的插件。没想到这个愿望今天终于让我实现了，国人开发的超强精品－Hot Friends，感谢作者陈希立！ [...]</p><p><strong>94.</strong><i>2008.09.03.9:47.am</i>.&nbsp;<a href="http://www.cnpabi.com">Pabi</a>: 非常不错的插件,玩玩看.</p><p><strong>93.</strong><i>2008.09.01.10:18.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: <a href="#comment-70375" rel="nofollow">@花果山寨 </a>不是吧，才发现？</p><p><strong>92.</strong><i>2008.08.31.7:29.pm</i>.&nbsp;<a href="http://smartr.cn">Jinwen</a>: 还有这么好的插件，可来要想下如何使用了。</p><p><strong>91.</strong><i>2008.08.31.1:56.pm</i>.&nbsp;<a href="http://www.wodidai.com">花果山寨</a>: 真是得来全不费功夫！</p><p><strong>90.</strong><i>2008.08.29.1:05.am</i>.&nbsp;<a href="http://www.freerainbow.cn">freesky</a>: 有没有投稿系统相关的？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </p><p><strong>89.</strong><i>2008.08.28.1:04.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: think,看到插件又有新的版本1.2.3可以升级了,不知道有哪些改动?</p><p><strong>88.</strong><i>2008.08.27.1:19.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 嗯...今天才挂上友链云  木哈哈...之前自己改友链页面的模板,结果把最上方的页面Template Name的注释给漏了...</p><p><strong>87.</strong><i>2008.08.21.10:18.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <div style="padding:5px;border:1px dashed #DADADA">@shamas <br/><i>2008-08-21 17:17:57</i><br/>解决了,重新下载新的</div>Sorry，这个错误是，在使用svn的tagging功能时，不小心在tag下弄了个trunk子目录，造成文件重复。已经解决了。</p><p><strong>86.</strong><i>2008.08.21.10:13.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <div style="padding:5px;border:1px dashed #DADADA">@underone <br/><i>2008-08-21 22:04:36</i><br/><a href="#comment-68711" rel="nofollow">@山之岚 </a>
要是搞得更缤纷一些。。后台给个颜色+大小的设置就更好玩了
比如还可以按照
发帖多少
alexa/PR排名
之类的顺序显示大小等等。。。</div>这些应该不难做到，下个版本中将此建议纳入进去。呵呵。</p><p><strong>85.</strong><i>2008.08.21.10:04.pm</i>.&nbsp;<a href="http://www.underone.com">underone</a>: <a href="#comment-68711" rel="nofollow">@山之岚 </a>
要是搞得更缤纷一些。。后台给个颜色+大小的设置就更好玩了
比如还可以按照
发帖多少
alexa/PR排名
之类的顺序显示大小等等。。。</p><p><strong>84.</strong><i>2008.08.21.5:17.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 解决了,重新下载新的</p><p><strong>83.</strong><i>2008.08.21.5:09.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: Fatal error: Cannot redeclare hot_friends() (previously declared in /home/xiangr/public_html/wp-content/plugins/hot-friends/trunk/hot_friends.php:21) in /home/xiangr/public_html/wp-content/plugins/hot-friends/hot_friends.php on line 32</p><p><strong>82.</strong><i>2008.08.21.5:07.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 难道这个和什么插件有充突么?之前启用了,刚进后台发现这个居然在没启用那栏里面,点启用时失败,但我侧边栏还是显示正常的.不知是什么问题</p><p><strong>81.</strong><i>2008.08.21.4:35.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 注意，前后有php的代码，刚才的被过滤掉了。参考下文中b。</p><p><strong>80.</strong><i>2008.08.21.4:31.pm</i>.&nbsp;<a href="http://014.cc">Dianso</a>: 我在页面html下添加了hot_friends_cloud可是不管用?
是不是需要制作个link文件啊</p><p><strong>79.</strong><i>2008.08.21.4:28.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Dianso 用&lt;?php hot_friends_cloud();?&gt;来生成连接云。汗，在英文说明中有注明，中文的反而没有写上。</p><p><strong>78.</strong><i>2008.08.21.3:50.pm</i>.&nbsp;<a href="http://014.cc">Dianso</a>: 请问如何在页面实现标签云效果啊</p><p><strong>77.</strong><i>2008.08.21.3:27.pm</i>.&nbsp;<a href="http://014.cc">Dianso</a>: 我也要开始用这个插件了</p><p><strong>76.</strong><i>2008.08.21.8:19.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 你也还用IE6啊,我这早发现错位了,以为是IE问题 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  所以没啃声.感觉@reply这个更好用啊,它不会反复引用</p><p><strong>75.</strong><i>2008.08.20.11:16.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 主题在ie6下错位了。突然发现</p><p><strong>74.</strong><i>2008.08.20.8:21.pm</i>.&nbsp;<a href="http://imsfox.com">sfox</a>: 啊哈～～很有用的插件，但暂未用得上，先收藏咯～～</p><p><strong>73.</strong><i>2008.08.20.7:28.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 这个什么时候能够实现自动加链接到指定的链接分类里呢.我的hotfriends在IE下显示还是有问题,总是有一条莫名其妙的链接占据了第一行,而这条记录我后台库里却一直没能发现.我在安装该插件前,是把blogroll链接分类给删掉的.会不会因为这个引出了一系列问题...</p><p><strong>72.</strong><i>2008.08.20.6:17.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @ddkk3000 <i>2008-08-20 18:14:42:</i>我没有办法跟自己的帖子了？你这样弄让人感觉很乱，没有必要用@代替框架的。你做了链接我觉得就不需要再引用内容了。

怎么我又可以@自己了？</p><p><strong>71.</strong><i>2008.08.20.6:14.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 我没有办法跟自己的帖子了？你这样弄让人感觉很乱，没有必要用@代替框架的。你做了链接我觉得就不需要再引用内容了。</p><p><strong>70.</strong><i>2008.08.20.6:13.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @shamas <i>2008-08-20 17:14:05:</i>@山之岚 <i>2008-08-20 12:42:07:</i><a href="#comment-68936" rel="nofollow">@shamas </a>汗，我还没发布你怎么会用上这个插件。估计你误解为指的是@reply这个插件吧。嘿嘿，@你一下，就知道是什么了。就是用的那个，等你的出来如果更好，那就用你的 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> 

咋整成了这个样子？</p><p><strong>69.</strong><i>2008.08.20.5:14.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: @山之岚 <i>2008-08-20 12:42:07:</i><a href="#comment-68936" rel="nofollow">@shamas </a>汗，我还没发布你怎么会用上这个插件。估计你误解为指的是@reply这个插件吧。嘿嘿，@你一下，就知道是什么了。就是用的那个，等你的出来如果更好，那就用你的 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>68.</strong><i>2008.08.20.1:38.pm</i>.&nbsp;<a href="http://abistro.cn">有间酒馆</a>: 呵呵，下来看看</p><p><strong>67.</strong><i>2008.08.20.12:42.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-68936" rel="nofollow">@shamas </a>汗，我还没发布你怎么会用上这个插件。估计你误解为指的是@reply这个插件吧。嘿嘿，@你一下，就知道是什么了。</p><p><strong>66.</strong><i>2008.08.20.12:35.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 这个回复插件我都用了啊,呵</p><p><strong>65.</strong><i>2008.08.20.12:52.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: <a href="#comment-68889" rel="nofollow">@ddkk3000 -#68889</a>当然这种想法实在是太完美了，没有这个必要，你赶紧发布吧。</p><p><strong>64.</strong><i>2008.08.20.12:51.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: <a href="#comment-68887" rel="nofollow">@山之岚 -#68887</a>我的网络出了问题，只能访问web，其他都不行了，奇怪。你的回复按钮真小。如果@ddkk3000-#能变成我在这篇博客里的回复数就好了，比如你回复我的第三条留言就变成@ddkk3000#3</p><p><strong>63.</strong><i>2008.08.20.12:17.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: <a href="#comment-68869" rel="nofollow">@ddkk3000 -#68869</a> 呵呵，这下应该算正常将这个添加练级功能给加上了。刚才少了个comment几个字母。再次测试下。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>62.</strong><i>2008.08.19.5:52.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 如果2天一个插件的速度发展下去……  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>61.</strong><i>2008.08.19.5:33.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000 这个这个，精益求精是不敢当的。尽力做好而已吧。顺便你看看这个模板效果如何。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>60.</strong><i>2008.08.19.5:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @lx 这个插件目前仅仅使用评论数作为评判的标准，如果你没有在页面侧边栏显示的话，说明你不够积极。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>59.</strong><i>2008.08.19.5:02.pm</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: 这个插件可称得上是革命性的了</p><p><strong>58.</strong><i>2008.08.19.2:01.pm</i>.&nbsp;<a href="http://www.flywud.com">oyster</a>: 支持下</p><p><strong>57.</strong><i>2008.08.19.1:36.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 我泄密一下，thinkagain插件已经完成的差不多了，就剩一个模板了，实际上他不要那么精益求精，追求后台的自主性，这个插件昨天便已经完成了。</p><p><strong>56.</strong><i>2008.08.19.1:34.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @Jim 替代Wordpress Thread Comment？为什么？两个目的不同啊。</p><p><strong>55.</strong><i>2008.08.19.1:30.pm</i>.&nbsp;<a href="http://wobole.cn">lx</a>: 哦，找到自己的连接了哈，是不是要注册才有用还是只要留言就可以了呢？？</p><p><strong>54.</strong><i>2008.08.19.1:27.pm</i>.&nbsp;<a href="http://wobole.cn">lx</a>: 专门为了这个插件来的哈，博主把我的博客连接去掉了吗？？
是不是哪个连接点进来的多就排在前面？？</p><p><strong>53.</strong><i>2008.08.18.10:34.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Jim 呵呵，也注意到这个说明了。这个想法主要是想来替代邮件评论订阅的。功能上和thread comment还有些不同。当然后者功能更丰富。</p><p><strong>52.</strong><i>2008.08.18.10:31.pm</i>.&nbsp;<a href="http://realaxt.com/">Jim</a>: @user空格  这个很有创意 可以部分代替 Wordpress Thread Comment的功能吧 如果把这个揉合在一起 功能就更强大了 实现的可能性 等待 山之岚 来检验了</p><p><strong>51.</strong><i>2008.08.18.10:23.pm</i>.&nbsp;<a href="http://realaxt.com/">Jim</a>: 最近打开你的博客很慢  跟空间有关系吗？
这个插件实现的一些功能很不错 但是...</p><p><strong>50.</strong><i>2008.08.18.4:09.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000 这个原意就是想替代邮件订阅用的。
@neekey 中文用户名问题，正在解决中。
@山之岚 自我测试下。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>49.</strong><i>2008.08.18.3:53.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @underone 链接云没有设置可选配的参数，最小字体为10pt，最大为30pt。有无这方面建议？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>48.</strong><i>2008.08.18.2:06.pm</i>.&nbsp;<a href="http://www.underone.com">underone</a>: 链接云有没有啥参数啊？</p><p><strong>47.</strong><i>2008.08.18.12:44.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 希望 @user: 回复的这个推广到中文 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>46.</strong><i>2008.08.18.12:02.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @ThinkAgain "这个也需要是解决订阅后续邮件的问题的"——不是订阅吧？只要在评论发出时，给一个通知就好了。我觉得这样非常不错。</p><p><strong>45.</strong><i>2008.08.18.11:47.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000: 还是老兄细心哪，这个是昨天异想天开，想到的一个点子，用@user:的方式，在留言时候对留言者发邮件。在WP插件库上查了下，有一个用js实现的插件，而且感觉不好用。所以就自己写了一个，尚属于内测。这个也需要是解决订阅后续邮件的问题的。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>44.</strong><i>2008.08.18.11:42.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @googlefish 趋于完美后，一定要加新功能，使其再不断完善，绝对完美就不是好东西了。

ThinkAgain兄，可不可以透露一下这个“本博客支持使用"@User:"(注意是半角冒号:)方式邮件通知留言者。”功能啊，何时可以完成中文支持，我很想要这个东西。

“邮件订阅后续评论”这个功能我不敢开启，因为所有的免费smtp服务都有同一时间发信限制，经常被禁掉帐号。谢谢。</p><p><strong>43.</strong><i>2008.08.17.10:40.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 呵呵,不断完善,趋于完美.</p><p><strong>42.</strong><i>2008.08.17.8:01.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey:嗯，下午将这个bug搞定了。又是一个小的输入错误造成的。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>41.</strong><i>2008.08.17.2:38.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 其实用E文也行啊，省得编码这些</p><p><strong>40.</strong><i>2008.08.17.9:14.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey，这个bug，昨天我也发现了。会出现在自动添加评论者时，给Admin发的邮件标题内。给Commenter发的邮件中还没有发现吧。</p><p><strong>39.</strong><i>2008.08.17.8:36.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 一天没来,就要爬这么高楼了啊</p><p><strong>38.</strong><i>2008.08.17.7:26.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 发现一个BUG。
发送New friend XXX just been added to blogroll 的邮件标题是乱码</p><p><strong>37.</strong><i>2008.08.17.7:26.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 发现一个BUG。
发送New friend XXX just been added to blogroll 的邮件标题是乱码
查看邮件原始标题是
From: =?UTF-8n?B?6Zu25Y+355u45YaM?= </p><p><strong>36.</strong><i>2008.08.17.12:20.am</i>.&nbsp;<a href="http://pejag.cn">打篮球的手</a>: 支持，好用~~</p><p><strong>35.</strong><i>2008.08.16.7:54.pm</i>.&nbsp;<a href="http://www.underone.com">underone</a>: 这个赞。。</p><p><strong>34.</strong><i>2008.08.16.7:40.pm</i>.&nbsp;<a href="http://www.linxo.cn/blog">ZH CEXO</a>: 好快，真的出来了，支持一个先！</p><p><strong>33.</strong><i>2008.08.16.5:33.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 呵呵,知道了.多谢了</p><p><strong>32.</strong><i>2008.08.16.5:21.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @googlefish,插件只会在新评论发生时，才会检查评论者是否符合被加入Blogroll的条件的，所以没有评论发生时，插件是不会无法自动检查该链接的历史评论的。</p><p><strong>31.</strong><i>2008.08.16.3:51.pm</i>.&nbsp;<a href="http://www.eemir3.com/2008/08/share-moviecastle-theme/">分享本站现在使用的Theme | Movie Castle</a>: [...] 　Hot Friends　新颖的友情链接显示机制就全靠它了 [...]</p><p><strong>30.</strong><i>2008.08.16.2:44.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 我刚才测试了一下,发现只对使用插件后的评论起作用.请帮助查一下.</p><p><strong>29.</strong><i>2008.08.16.1:09.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @googlefish,wp插件库存在时间延迟。我已经将最新版1.2.1发给你了。</p><p><strong>28.</strong><i>2008.08.16.11:16.am</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 给个其它的下载地址，wp插件那里还是显示版本号是1.1。下载下来还是老问题。是我哪里设置出了问题？yahcca留言７条，居然就是不能自动添加上来。</p><p><strong>27.</strong><i>2008.08.16.11:07.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 1.1中有个bug，如果自动添加选项打开后，管理者留言的时候，也会自动将管理者自动添加。所以一定要更新到1.2.我已经上传了，WP插件那里还没有反映。</p><p><strong>26.</strong><i>2008.08.16.11:05.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 厄 自动添加友链这个功能我没开启,米注意到这个问题...</p><p><strong>25.</strong><i>2008.08.16.11:04.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 我是懒人，等着后台一键更新哈哈 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>24.</strong><i>2008.08.16.11:03.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 继续更新1.1,没有啥问题了.哈哈</p><p><strong>23.</strong><i>2008.08.16.11:00.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @googlefish，注意要下载1.2版。wp插件库上还只是1.1版的。你已经自动被添加到blogroll里面了，可以看下侧边栏的Hot Friends就知道了。不过名字还是以你的留言名作为网站名。这点还需要考虑改进。</p><p><strong>22.</strong><i>2008.08.16.10:51.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @googlefish and Neekey,确实代码上有问题，已经改正过来了。上述反馈的问题均已改正。您可以到<a href="http://wordpress.org/extend/plugins/hot-friends/" rel="nofollow">这里</a>下载最新1.2版. <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>21.</strong><i>2008.08.16.10:51.am</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 我这里还是不对,刚才后台升级了一下hotfriends插件，有些满足要求的网友的链接还是没有自动加上来。比如yacca.你看一下。我自动链接是选中的。</p><p><strong>20.</strong><i>2008.08.16.9:40.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @googlefish,需要自动添加评论者的话，在后台必须将该选项选中。在自动添加之前，插件会判断现有blogroll里面是否有该链接，有的话是不会添加的。所以理论上是不会存在重复链接。等下有空把这块代码重新检查下。
至于分类这块，可以考虑在后台设置自动添加的所在分类。</p><p><strong>19.</strong><i>2008.08.16.9:33.am</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 我这里还是有问题，有些网友评论数量超过了我后台定制的评论数要求却没有在前台hotfriends里显示出来，并且也没有自动添加到blogroall里。即使我将评论要求数量调成１或０也一样。

另外建议能不能搞成这样的。分固定链接和hotfriends两个模块，也就是hotfriends不和其它自已定义的链接分类冲突，当自动添加链接到blogroll时，先判断其它链接分类里是否有此链接，如果已有，则可让博主在后台里选择是否添加已有链接到blogroll里。

现在的情况造成在前台页面会有重复的链接出现，不知道这样会不会对SEO有影响。</p><p><strong>18.</strong><i>2008.08.16.8:59.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey，1.自动添加链接设置成可选项。默认是添加，如果站内已经有我的链接，是不会重复添加的。留空，则会自动将我的链接删除。
2.固定显示链接和是否输入http://无关，已经更新说明在1.1中。
3.这2个链接的确弄反了。已经改正。
谢谢哦。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>17.</strong><i>2008.08.16.8:31.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: “固定显示下列链接:”应当说明清楚点，是
http://example.com 形式还是
example.com形式，最好旁边给个范例
还有。。你把“导入”“导出”OPML的链接弄反了。</p><p><strong>16.</strong><i>2008.08.16.8:25.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 那个自动添加你的链接的设置不好，不打勾就删除，可是我本来就有你的链接了，没打勾，自己给删除了。。</p><p><strong>15.</strong><i>2008.08.15.11:32.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 谢谢,问题已经解决.</p><p><strong>14.</strong><i>2008.08.15.11:07.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @googlefish，使用方法有2种，一种是用函数，代码调用。另外一种是用widget。</p><p><strong>13.</strong><i>2008.08.15.11:04.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 我的配上去就是显示不出来,不知道问题出在哪里了?</p><p><strong>12.</strong><i>2008.08.15.10:04.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 公司打羽毛球归来...坐上了我心中的沙发

此时无沙似有沙~~~

载去更新上看看</p><p><strong>11.</strong><i>2008.08.15.9:29.pm</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: 最近优质中文插件频出，我们这些懒汉有福了。谢谢岚兄！</p><p><strong>10.</strong><i>2008.08.15.9:26.pm</i>.&nbsp;<a href="http://www.blogkim.com/hyp">流星</a>: 慢慢地看一眼，继续观察，继续努力提升自己博客访问量优先</p><p><strong>9.</strong><i>2008.08.15.9:23.pm</i>.&nbsp;<a href="http://applife.net">Black-Xstar</a>: 支持一下，慢慢研究怎么用。</p><p><strong>8.</strong><i>2008.08.15.9:01.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 没好位置了，这里占座一个</p><p><strong>7.</strong><i>2008.08.15.8:12.pm</i>.&nbsp;<a href="http://getfreeware.net">irobot</a>: 那俺也默默的支持一个  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' /> </p><p><strong>6.</strong><i>2008.08.15.8:11.pm</i>.&nbsp;<a href="http://www.qiuzhang.org">酋长</a>: 测试中～～～</p><p><strong>5.</strong><i>2008.08.15.8:01.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 谢谢上面的几位，接着提建议啊。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>4.</strong><i>2008.08.15.7:53.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 默默的支持一个 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>3.</strong><i>2008.08.15.6:58.pm</i>.&nbsp;<a href="http://www.qiuzhang.org">酋长</a>: 知道你慢了吧。。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>2.</strong><i>2008.08.15.6:57.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 不是吧，我这么快都不是沙发？我注意看内容去了，哎。</p><p><strong>1.</strong><i>2008.08.15.6:55.pm</i>.&nbsp;<a href="http://www.qiuzhang.org">酋长</a>: 看样子，我是沙发～～ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2007.12.09.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/889.html" title="先纠正一个错误，自己昨天在如何使用Wordpress内置的分页（Nextpage）功能？">Wordpress插件:whole_feed_output v0.1 (2)</a></p><p><i>2007.11.21.10:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/877.html" title="新写了一个插件，wp_list_posts，主要用于生成存档文章清单。写这个插件的">Wordpress2.3 Plugin: wp_list_posts v0.1 (47)</a></p><p><i>2007.11.15.8:07.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/873.html" title="今天从朋友站点逛回自己博客的时候，发现了一个wp_WelcomeMsg的一个bug，即">Wordpress Plugin:wp_welcomMsg v0.21 (19)</a></p><p><i>2007.10.31.10:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/831.html" title="wp_addbookmarks插件升级到0.21版。修正了添加中文标题网页到QQ书签时，网页标">Wordpress插件:wp_addbookmarks 0.21 (56)</a></p><p><i>2007.10.26.2:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/827.html" title="刚刚将tags2metakeywords升级到0.31，解决了无index keywords时显示的一个小bug。

">Wordpress2.3插件:tags2metakeywords 0.31 (4)</a></p><p><i>2007.06.02.6:00.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/177.html" title="WS Downloadmanager是一个文件下载管理的Wordpress插件。该插件除了提供下载次数">文件下载管理插件WS DOWNLOADMANAGER 1.0中文语言文件 (19)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/985.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/985.html/feed</wfw:commentRss>
		<slash:comments>218</slash:comments>
		</item>
		<item>
		<title>踩踩WordPress爱好者论坛</title>
		<link>http://www.thinkagain.cn/archives/984.html</link>
		<comments>http://www.thinkagain.cn/archives/984.html#comments</comments>
		<pubDate>Thu, 14 Aug 2008 11:34:24 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/archives/984.html</guid>
		<description><![CDATA[全民奥运的时候，这水煮鱼不好好呆在电视前给中国队加油，反而凑热闹，拉着一般狐朋狗友，树了个Wordpress爱好者论坛。嗯，看着这个名字就比较顺，WP爱好者，先来吼一下... ]]></description>
			<content:encoded><![CDATA[<p><a title="Wordpress爱好者论坛" href="http://wfans.org/forums/"><img alt="Wordpress爱好者论坛" src="http://wfans.org/forums/images/default/logo.png" align="right" /></a>做个广告。 </p>
<p>全民奥运的时候，这<a href="http://fairyfish.net/">水煮鱼</a>不好好呆在电视前给中国队加油，反而凑热闹，拉着一般狐朋狗友，树了个<a href="http://wfans.org/forums/">WordPress爱好者论坛</a>。嗯，看着这个名字就比较顺，WP爱好者，先来吼一下。</p>
<p>&quot;We are WordPress Fans.&quot;</p>
<p>感情这WP在中国是茁壮成长啊。<a href="http://genmicha.cn/wfans-launched.htm">Chada</a>给WP爱好者论坛做了个美图如下。点击看大图。</p>
</p>
<p><a class="thickbox" title="WP爱好者论坛" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/wp.png"><img height="180" alt="WP爱好者论坛" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/wp.png" width="300" /></a> </p>
<p>貌似超人看多了。POSE也不改一改。倒是把胸口的S变为W，合着后背的披风像蝙蝠的翅膀，再带上个顶出2只角的头盔？一副凶巴巴的样子，活脱脱像个WP大流氓。似乎口中在喊，要不过来踩踩，我劈了你。呵呵。（Sorry，Chada，为了正常显示，这里借用您的图片了，您可别拍我砖啊。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  ）</p>
<p>美工咱不行，只好写几个字凑凑热闹吧，于是乎也来发个宣传贴。在此呼吁，严重欢迎<a href="http://wfans.org/forums/">WordPress爱好者</a>前去踩踩。理由其二：</p>
<p>1. 技术力量庞大，不信，<a href="http://wfans.org/forums/">点此</a>进去转一转看看。各位版主都可算是国内较早接触WP的网友了。相信现在百度出来的WP相关文章有一大部分出自他们吧。</p>
<p>2. 纯属爱好者联盟，自由公平，当然还有和谐。我想是不会涉及一些诸如前阵子闹得沸沸扬扬的WP风波等乱七八糟的东西吧。</p>
<p>所以，欢迎WP爱好者前去逛逛。或者像我这样的，有事没事过去灌水也行。</p>
<p>CATCH YOU. 还在看什么，赶紧去<a href="http://wfans.org/forums/">踩点啊</a>。否则，我这可不是成了白写了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  </p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/984.html#comments">评论17:</a></p><p><strong>17.</strong><i>2010.05.16.5:38.pm</i>.&nbsp;<a href="http://www.wuliaoo.com">疾风</a>: 饿  很少去</p><p><strong>16.</strong><i>2008.09.27.12:50.pm</i>.&nbsp;<a href="http://bingu.net">冰古</a>: 这个形象太另类了  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' /> </p><p><strong>15.</strong><i>2008.08.29.5:10.pm</i>.&nbsp;<a href="http://sink.net.ru/">二手科学家</a>: 物以稀为贵，太多了，就...</p><p><strong>14.</strong><i>2008.08.29.1:06.am</i>.&nbsp;<a href="http://www.freerainbow.cn">freesky</a>: 老家伙们基本上都离开了！</p><p><strong>13.</strong><i>2008.08.20.7:07.pm</i>.&nbsp;<a href="http://yanxc.com/blog">Yanxc</a>: 少混坛子，一没时间二没精力。
比较集中精神于自己的博客。
话说回来，我记得你曾经开设过MT论坛，对不？若真是如此，我倒要认真向你请教呢。</p><p><strong>12.</strong><i>2008.08.16.7:42.pm</i>.&nbsp;<a href="http://www.linxo.cn/blog">ZH CEXO</a>: 早注册了，不错的站，其他也不想说什么了……</p><p><strong>11.</strong><i>2008.08.15.10:13.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Jim,二者没有关系的。我现在也是二个地方都混。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>10.</strong><i>2008.08.15.10:10.pm</i>.&nbsp;<a href="http://realaxt.com/">Jim</a>: 跟以前的 Wordpress中国论坛 出现的事件有没有关系呢？
重新开张一个新论坛</p><p><strong>9.</strong><i>2008.08.15.8:49.pm</i>.&nbsp;<a href="http://pejag.cn">打篮球的手</a>: 哈，瓦里奥，都是w</p><p><strong>8.</strong><i>2008.08.15.9:28.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @Yacca 马力欧的弟弟叫路易吉。</p><p><strong>7.</strong><i>2008.08.15.8:46.am</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 昨天在smartr才看到,收藏了</p><p><strong>6.</strong><i>2008.08.14.11:01.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 马里奥的弟弟叫什么呢?水管工dd绿色的~~哈哈</p><p><strong>5.</strong><i>2008.08.14.9:49.pm</i>.&nbsp;<a href="http://fairyfish.net/">Denis</a>: 哈哈，谢谢！ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>4.</strong><i>2008.08.14.8:48.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 这个不是超人，这个叫瓦里欧，任天堂的游戏人物。</p><p><strong>3.</strong><i>2008.08.14.8:19.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @anliu，谢谢提醒，直接将图片放上来了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  。估计Chada对此应该不会有太大问题吧。</p><p><strong>2.</strong><i>2008.08.14.8:14.pm</i>.&nbsp;<a href="http://www.e-xia.com">yixia</a>: 经常踩，随便踩，想怎么踩就怎么踩
我一天踩三回</p><p><strong>1.</strong><i>2008.08.14.7:56.pm</i>.&nbsp;<a href="http://an-liu.cn">anliu</a>: 你盗链了chada的图片，看不到的</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.12.19.12:20.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html" title=" 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。">12行代码给Wordpress主题挂上AJAX (35)</a></p><p><i>2008.12.07.9:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html" title=" 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在">Hot friends新增支持用户自定义头像显示 (65)</a></p><p><i>2008.10.27.9:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html" title="如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。

其中hotfriends">从更新hot friends和mailtocmmenter谈起 (33)</a></p><p><i>2008.09.09.8:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/994.html" title="今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程">Wordpress Hacks:WP2.2版后中文邮件标题乱码解决方法 (22)</a></p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2008.08.20.8:11.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/987.html" title="假设您已经阅读过上文，对于此问题背景的来龙去脉有所了解。此文将正式">Wordpress Hacks:解决晒SPAM数无法通过W3C验证&#8230;续 (11)</a></p><p><i>2008.08.20.1:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/986.html" title="此文谨献给爱晒SPAM数的人。比如说，看这篇文章的您，因为您要不是正想">Wordpress Hacks: to 解决晒Askimet SPAM数无法通过W3C验证问题 (24)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/984.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/984.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Hot Friends v1.0(Beta)内测</title>
		<link>http://www.thinkagain.cn/archives/981.html</link>
		<comments>http://www.thinkagain.cn/archives/981.html#comments</comments>
		<pubDate>Thu, 07 Aug 2008 15:19:50 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/archives/981.html</guid>
		<description><![CDATA[如题，将Hot Friends 1.0放上来内测。毕竟众人拾柴火焰高吧。功能方面，现阶段能考虑的基本都可以完成了。
1. 用widget或hot_friend()调用生成Hot friends序列。可自定义用总评论数或月，周评论数，... ]]></description>
			<content:encoded><![CDATA[<p>如题，将Hot Friends 1.0放上来内测。毕竟众人拾柴火焰高吧。功能方面，现阶段能考虑的基本都可以完成了。</p>
<p>1. 用widget或hot_friends()调用生成Hot friends序列。可自定义用总评论数或月，周评论数，以及随机来生成Hot Friends。</p>
<p>2.用hot_friends_cloud()生成链接云。</p>
<p>3. 当评论者的评论数超过指定数目时，自动添加到Blogroll，可设置是否邮件通知。(<a title="风暴轻狂" href="http://lxz.name" target="_blank">风暴轻狂的建议</a>)</p>
</p>
<p>安装方法很简单，将Hot_friends.zip解压，然后将Hot_friends文件夹上传到plugin目录下激活，在后台setting &#8211; Hot Friends Options页面下进行设置。</p>
<p>可以通过后台Hot Friends Options页面对插件显示进行设置。默认采用英文界面，如果您的wp语言定义为zh_CN的话，自动加载中文界面。</p>
<p>英文后台界面：</p>
<p><a class="thickbox" rel="hot friends" title="Hot Friends英文后台界面" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends_options-2.gif" target="_blank"><img height="179" alt="英文后台界面" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends_options-2.gif" width="400" /></a> </p>
<p>中文后台界面：</p>
<p><a class="thickbox" rel="hot friends" title="中文界面" href="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends_options-1.gif" target="_blank"><img height="329" alt="中文界面" src="http://www.thinkagain.cn/wp-content/uploads/2008/08/hot_friends_options-1.gif" width="400" /></a> </p>
<p>p.s，wp-config.php中语言定义代码为:define (&#8216;WPLANG&#8217;, &#8216;zh_cn&#8217;);</p>
<p>欢迎网友下载测试，多提宝贵意见。</p>
<p>站内下载：</p>
<p><span class="downloadbox">
			<span class="downloadboxleft"><a title="Download Hot_friends.zip" href="http://www.thinkagain.cn/?load=Hot_friends.zip"><img src ="http://www.thinkagain.cn/wp-content/plugins/wsdl_manager/Default.png" alt="Download" /></a></span>
			<span class="downloadboxright"><a title="Download Hot_friends.zip" href="http://www.thinkagain.cn/?load=Hot_friends.zip">Hot_friends.zip</a><br/>zip- File<br/>07. Aug 2008 (31Hits)</span>
		</span></p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/981.html#comments">评论52:</a></p><p><strong>52.</strong><i>2011.06.01.7:56.pm</i>.&nbsp;<a href="http://www.nianqing.info">NianQing</a>: 已经下载不到了哈！楼主什么更新呢？</p><p><strong>51.</strong><i>2009.07.14.11:20.am</i>.&nbsp;<a href="http://9npc.com">炜煜</a>: 我在wordpress后台安装插件，看到这个版本1.4.1？</p><p><strong>50.</strong><i>2008.10.24.10:36.pm</i>.&nbsp;<a href="http://333blog.cn">榨菜</a>: 怎样在页面里调用函数呢？
我想做个单独的链接页面 怎样显示连接云呢？</p><p><strong>49.</strong><i>2008.08.15.4:37.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 这个只是对使用该插件后的评论才起作用吗?</p><p><strong>48.</strong><i>2008.08.15.3:49.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Yacca,所提功能已经纳入正式版中了。</p><p><strong>47.</strong><i>2008.08.15.3:46.pm</i>.&nbsp;<a href="http://www.rainbk.cn">rain</a>: 我同意楼上的 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>46.</strong><i>2008.08.13.3:11.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 思前想后,个人还是觉得需要对原有个别友链进行个别操作,默认显示在首页...
当然 这是我这边的需求 看看别人反响了...
今天被收客的朋友说了一通,他以为我撤下他的链接来着...</p><p><strong>45.</strong><i>2008.08.13.1:30.pm</i>.&nbsp;<a href="http://www.girlqiqi.cn">googlefish</a>: 这个很强大。PR高的用了，强者愈强。</p><p><strong>44.</strong><i>2008.08.11.7:48.pm</i>.&nbsp;<a href="http://www.rainbk.cn">rain</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' />   看起来不错。。。。

难怪我的友情链接不见了</p><p><strong>43.</strong><i>2008.08.10.2:14.pm</i>.&nbsp;<a href="http://www.zdxia.cn">disinfeqt</a>: 全是高科技啊...我已经装了10个插件了，不能再装了...
 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />  再说像我等小站是用不着这样的东西滴</p><p><strong>42.</strong><i>2008.08.10.1:44.pm</i>.&nbsp;<a href="http://www.Sun-Q.cn/links-have-to-concern-wp-plug-in-the-autoblogroll.html">人在岱北 静心聆泉 &raquo; Blog Archive &raquo; 也来关注友情链接：WP的AutoBlogroll插件</a>: [...] &#160;&#160;&#160; 昨天，在neekey的博客零号相册中，neekey也提到了Hot Friends插件，&quot;该插件是根据友情链接在一段时间内在本博客的留言情况显示链接的，比如一个经常来访问你的博客，并经常留言的朋友，他的友情链接就会显示出来，而一个从来不在你的博客留言的，则可能被&#8220;埋&#8221;下去。同时这个插件还可以自动把一些经常留言、但尚未添加到Blogroll中的朋友自动添加到友情链接中，使用这个插件可以极大地调动访客留言的积极性（特别是你的PR比较高，那留言数就应该呈指数增长了）。&quot; Tags: PR, wordpress, 友情链接, 插件 8月 10th, 2008 Posted in 草根站长      This entry was posted on 星期日, 8月 10th, 2008 at 1:43 下午 and is filed under 草根站长. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. [...]</p><p><strong>41.</strong><i>2008.08.10.10:18.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: @山之岚 也是也是。。我一下思维短路了</p><p><strong>40.</strong><i>2008.08.10.9:42.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey，这个插件除了WP外，其它也甭想用得上。呵呵。可是留言者不见得都是用WP的。</p><p><strong>39.</strong><i>2008.08.10.8:46.am</i>.&nbsp;<a href="http://3284265.cn/">shamas</a>: 期待更新版 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>38.</strong><i>2008.08.10.8:03.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: @山之岚 用这个插件的都是WP呢 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>37.</strong><i>2008.08.09.6:11.pm</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 用了两天...Hot Friends满足晒我要求了  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />     <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>36.</strong><i>2008.08.09.3:18.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey，good Idea。如果对方是wp博客的话，就很容获取了feed地址了。否则的话，还是有点麻烦。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>35.</strong><i>2008.08.09.1:03.pm</i>.&nbsp;<a href="http://photozero.net">neekey</a>: @山之岚 如果有需要的话，获取博客名称可以考虑读取FEED输出的。像抓虾这些都能准确判断出博客名称和博客说明的</p><p><strong>34.</strong><i>2008.08.09.12:51.am</i>.&nbsp;<a href="http://www.arthack.org">Art Hack</a>: 霍霍，终于内测啦！！</p><p><strong>33.</strong><i>2008.08.08.7:17.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @shamas:侧边栏的是本日前推30天内的评论数，friends云里面是全部评论数。如果后台设置不显示评论数的话，则二者都不会显示评论数。</p><p><strong>32.</strong><i>2008.08.08.3:50.pm</i>.&nbsp;<a href="http://3284265.cn/">shamas</a>: 为什么侧边栏链接显示的评论数和friends页面链接显示的评论数不一样?</p><p><strong>31.</strong><i>2008.08.08.12:51.pm</i>.&nbsp;<a href="http://3284265.cn/">shamas</a>: 讨论好了发个新版本出来呵</p><p><strong>30.</strong><i>2008.08.08.12:37.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 当然加一个可选项目就更好了，可以选择用哪一种。</p><p><strong>29.</strong><i>2008.08.08.12:34.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @山之岚 我觉得大多人还是正常的，所以比抓nickname要好一点，呵呵。</p><p><strong>28.</strong><i>2008.08.08.12:16.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000,准确地说title里面包括博客名称，但有时候有些朋友喜欢放上其它说明，这样就不大准确了。</p><p><strong>27.</strong><i>2008.08.08.12:12.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 不是title标签么？</p><p><strong>26.</strong><i>2008.08.08.12:10.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000，可以获取header里面的东西，但你很难分析里面的那部分内容是博客名称，因为没有统一规范说博客名称要放在哪个标签内。
@yacca，上面一直忘记提了，老兄干劲很大。谢谢谢谢。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>25.</strong><i>2008.08.08.12:06.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 不能直接获取头部的？</p><p><strong>24.</strong><i>2008.08.08.11:56.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000，这个获取博客名称，这个比较难，而且不准，即使用自动探测对方博客内容的方法，也不准。因为机器这东西比较死板，只能探测指定标签内的内容，而各个博客的名称又没有一个统一规范放在那个标签内。如，我的站点的博客就不存在博客名称，用logo。所以比较麻烦。所以才会增加了邮件通知admin和评论者的功能，由admin自行修改了。
@my-hou，在后台有是否开启评论数的选项，默认是关闭的。</p><p><strong>23.</strong><i>2008.08.08.11:38.am</i>.&nbsp;<a href="http://3284265.cn/">shamas</a>: <code>[?php hot_friends(); ?[</code>加code 也不行,重来</p><p><strong>22.</strong><i>2008.08.08.11:38.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @山之岚 是不是考虑一下，换位获取博客名称。</p><p><strong>21.</strong><i>2008.08.08.11:37.am</i>.&nbsp;<a href="http://3284265.cn/">shamas</a>: 如果直接加代码,是不是用这句<code></code></p><p><strong>20.</strong><i>2008.08.08.11:31.am</i>.&nbsp;<a href="http://3284265.cn/">shamas</a>: 用用,我现在的链接都是随机的,用这个更合适</p><p><strong>19.</strong><i>2008.08.08.11:23.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000，自动添加到blogroll的确是使用留言者的nickname来作为名称的。我现在开启了此项功能，把数量设置为8，也就是说，只要留言者的评论数超过8，且不在我的blogroll里面，将自动添加到thinkagain的blogroll，且有邮件通知评论者。
@neekey，谢谢建议哦。将通过判断link管理页中设置是否在新窗口打开的设定来生成是否在新窗口打开链接，这个功能纳入。p.s，已经在hot_friend后加上s了。
@askie，嗯，同感啊。越做下去，就会发现越发不出来的。原本只是想简单地做了Rank的函数，没想到越做事情就越复杂了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p><p><strong>18.</strong><i>2008.08.08.10:06.am</i>.&nbsp;<a href="http://www.psy-blog.cn">a-duo</a>: 下载来看看。</p><p><strong>17.</strong><i>2008.08.08.9:57.am</i>.&nbsp;<a href="http://www.linxo.cn/blog">ZH CEXO</a>: 改天也试试，但是现在我的网站评论少，以后再用啦~</p><p><strong>16.</strong><i>2008.08.08.9:36.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 不才说的是对滴.</p><p><strong>15.</strong><i>2008.08.08.9:35.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 怎么办 觉得很爽...于是在启用插件的时候勾上了加入友链的选项.</p><p><strong>14.</strong><i>2008.08.08.9:33.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: @my-hou 鼠标触上去就会有的...!!!</p><p><strong>13.</strong><i>2008.08.08.9:23.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 给ThankAgain大哥一些建议
增加某些重要网站为固定显示，可以依据分类等信息；（如果PR高的大哥来巡查还不灭了你）
点击链接可选新窗口；（大家的链接一般都在本窗口打开的）
能否嵌入到 wp_list_bookmarks() 函数里去？省去编辑的力气；

第一行还有个错误，是hot_friends()不是hot_friend()，您上面写错了</p><p><strong>12.</strong><i>2008.08.08.9:14.am</i>.&nbsp;<a href="http://photozero.net">neekey</a>: 狂顶啊~~~~~~ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> </p><p><strong>11.</strong><i>2008.08.08.9:10.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 自动添加留言者到blogroll是用的访客留言时的nickname。</p><p><strong>10.</strong><i>2008.08.08.8:59.am</i>.&nbsp;<a href="http://www.pkphp.com">askie</a>: 终于发不出来了！相当辛苦吧？这点我有体会！</p><p><strong>9.</strong><i>2008.08.08.1:38.am</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 显示评论数目无效</p><p><strong>8.</strong><i>2008.08.08.1:36.am</i>.&nbsp;<a href="http://myhou.org">MY-Hou</a>: 已经用上...简单易用...情况如何迟些汇报</p><p><strong>7.</strong><i>2008.08.08.1:24.am</i>.&nbsp;<a href="http://applife.net">Black-Xstar</a>: 我等yacca的试用结果，哈哈。</p><p><strong>6.</strong><i>2008.08.08.12:27.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 厄..不好意思 又占一楼 完成下载~-.-</p><p><strong>5.</strong><i>2008.08.08.12:26.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 为什么无法载捏=.= 明天再说了,晚了  撤  
众安~</p><p><strong>4.</strong><i>2008.08.08.12:24.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 下载 然后睡觉...明天上午来换上去  哈哈~~~~</p><p><strong>3.</strong><i>2008.08.08.12:20.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 这么快高效率还弄的这么完备,呵呵,可以当wp高产者了.只是内测这个词也许应该换为公测.</p><p><strong>2.</strong><i>2008.08.07.11:44.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @酋长，这个在后台中没有设置这个功能。但是你看代码的话，可以看到里面有查询评论数的函数。可以考虑增加到后台去。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>1.</strong><i>2008.08.07.11:41.pm</i>.&nbsp;<a href="http://www.qiuzhang.org">酋长</a>: 这个功能的插件比较强悍，也比较完全了。。。
特别是对评论的排名限制，比较好。。有没有查询功能，比如在某一周或者某月的评论总量。。。</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.12.07.9:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html" title=" 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在">Hot friends新增支持用户自定义头像显示 (65)</a></p><p><i>2008.10.27.9:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html" title="如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。

其中hotfriends">从更新hot friends和mailtocmmenter谈起 (33)</a></p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2008.08.15.3:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/985.html" title="Updated: 2008-12-08. Latest version v1.4.1。
English user please goes to http://wordpress.org/ext">Wordpress插件: Hot Friends v1.4.1 (218)</a></p><p><i>2008.08.03.11:23.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/978.html" title="难得一个周末呆在家里，想睡个懒觉都不行。隔壁的朝鲜学校的音乐CIRCLE的">鸟儿早起 (43)</a></p><p><i>2007.12.09.12:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/889.html" title="先纠正一个错误，自己昨天在如何使用Wordpress内置的分页（Nextpage）功能？">Wordpress插件:whole_feed_output v0.1 (2)</a></p><p><i>2007.11.21.10:55.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/877.html" title="新写了一个插件，wp_list_posts，主要用于生成存档文章清单。写这个插件的">Wordpress2.3 Plugin: wp_list_posts v0.1 (47)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/981.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/981.html/feed</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>鸟儿早起</title>
		<link>http://www.thinkagain.cn/archives/978.html</link>
		<comments>http://www.thinkagain.cn/archives/978.html#comments</comments>
		<pubDate>Sun, 03 Aug 2008 02:36:09 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=978</guid>
		<description><![CDATA[难得一个周末呆在家里，想睡个懒觉都不行。隔壁的朝鲜学校的音乐CIRCLE的学生们又在练习。又弹又唱。无奈只好早起，继续修整我的WP模板。顺便煮了个半熟的水蒲蛋合着面包加香蕉慰劳下肚... ]]></description>
			<content:encoded><![CDATA[<p>难得一个周末呆在家里，想睡个懒觉都不行。隔壁的朝鲜学校的音乐CIRCLE的学生们又在练习。又弹又唱。无奈只好早起，继续修整我的WP模板。顺便煮了个半熟的水蒲蛋合着面包加香蕉慰劳下肚子。</p>
<p>1. 将模板做了调整，把文章页的评论改为按正常（升序）排列，这样回复起来比较方便。</p>
<p>2. 修正原来文章页留言内无法点击留言者链接的BUG，原因是显示序号的DIV宽度设置太长了，导致将留言者链接给遮住了。</p>
<p>3. 考虑到现在友情链接实在是不少，全部挂在首页，弄得侧边栏给撑得太长了。新建一个Friends页面。挂上自己新写的一个插件（Hot_friends），以类似标签云的形式将全部友情链接放进去，效果详见<a title="http://www.thinkagain.cn/friends" href="http://www.thinkagain.cn/friends">http://www.thinkagain.cn/friends</a>。</p>
<p>4. 所有页面上挂上Hot Friends。所谓Hot Friends，我是按留言数来判读的，留言数头20名的网友将被视为Hot Friends，在全站侧边栏内显示。</p>
</p>
<p>关于Hot Friends插件，这是自己新写的一个友情链接管理的插件。基本功能有二，其一，能按评论留言数量，显示指定数量的Hot Friends，显示效果见侧边栏。Hot Friends会自动定期更新，其显示排列也会根据评论数动态变化，具有一定的互动效果。其二，支持生成友情链接云，如<a title="http://www.thinkagain.cn/friends" href="http://www.thinkagain.cn/friends">此页面</a>显示。</p>
<p>之所以写这个插件，主要是考虑到目前站内的友情链接比较多。因我本人对交换友情链接要求比较低，偏重于博客的内容，对于PR或者收录等等均无太大要求，希望互换链接，共同加油共同成长。不知不觉下来，也有好几十个友情链接了。且友情链接均放置在首页。难免出现有些朋友仅为PR或者所谓SEO而交换链接，这样也就违背了我的初衷。因而就产生了写一个此插件间接将这部分人的链接隔离开来的想法。花了点时间，将自己的想法给折腾出来了。目前仅采用友情链接里的网友的评论数做为指标给友情链接排序，将排序位置在前的一部分朋友视为Hot Friends。将鼠标移至链接上，可以查看该网友的评论数。因为能经常博客留言的网友事实上大都能和自己在某方面趣味相同，相反不常留言或者基本没有留言的网友为了PR或SEO的可能性就比较高了。估计这种做法可能会引起部分朋友的不满，特别是新加链接的朋友。嗯，有臭鸡蛋就扔过来吧。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' />  </p>
<p>而事实上，将这个Hot Friends理出来后，我发现还蛮和实际情况吻合的。位于Fot Friends序列里面的几个网友也的确是和自己来往比较多的。如<a href="http://lxz.name/">他</a>，还有<a href="http://ecvip.org/">他</a>，<a href="http://www.marketing-life.cn/">他</a>，<a href="http://www.genmicha.cn/">他</a>，<a href="http://realaxt.com/">他</a>以及<a href="http://www.ideatalks.cn/">他</a>等等(先给你们送几个BACKLINK)。既然是Hot Friends，挂个全站显示也是理所当然的。当然该序列里的朋友，我会经常去踩踩的。在侧边栏里面列出来，也方便自己查看以及点击等。</p>
<p>此插件目前还处于Beta，严重欢迎留言，送鲜花或是投臭鸡蛋。顺便提高下自己的RANKING。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/978.html#comments">评论43:</a></p><p><strong>43.</strong><i>2008.08.05.9:07.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @askie:呵呵，多多交流啊。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  
@mygtd:嗯，有利有弊，嘿嘿，被我占便宜了。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>42.</strong><i>2008.08.05.8:43.pm</i>.&nbsp;<a href="http://www.eemir3.com/2008/08/sorry-for-my-jijiwaiwai.html">请大家务必原谅我的唧唧歪歪 | Movie Castle</a>: [...] 　　废话一堆,来点实际的吧,ThinkAgain师兄之前在研究如何更合理的显示友情链接,的确,当友情链接到达一定数量后,就必然是选择部分显示到首页,不然这个模块会显得异常拥挤和庞大,而选择部分就又出现了别的问题,选择谁的链接到首页呢?! 这牵涉到公平与否,比较棘手. 师兄给出了个方案,从友情链接从挑选固定期限譬如一周内评论最多的若干个友链到首页显示,这样做对于死链来说打击是致命的,而对于真正活跃的博友来说则又是异常激动人心滴,所以我对师兄的这款插件非常期待,届时将有widgets及code形式方便大家自由选择. 另外我有点疑问,假如设定一周更新一次,那时间到的一刹那,不就是空白了么...这和我这里的评论榜是一样的,一周结束后则必然会遇到一个真空期...^^ 嘿嘿,师兄加点挑衅的语言在其中应该不是难事~ [...]</p><p><strong>41.</strong><i>2008.08.05.7:41.pm</i>.&nbsp;<a href="http://www.mygtd.cn">mygtd</a>: 不错，不错，博主这个Hot Friends构思不错，只是苦了我这些比较少留言的人啦，我是专门在首页有您的东东啦，呵呵</p><p><strong>40.</strong><i>2008.08.05.7:11.pm</i>.&nbsp;<a href="http://www.pkphp.com">askie</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  
从think的代码中学到一点东西！
哈哈！
另外关于自助链接这块自己的插件也出来了！
谢谢交流和帮助！</p><p><strong>39.</strong><i>2008.08.05.10:25.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Yacca:如果自己的博客能提供一个供网友们讨论的平台，何乐而不为呢？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' />  
评论的动力源自与参与，可见你站点的魅力可不小啊。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>38.</strong><i>2008.08.05.10:07.am</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 刷评论的最大原因是...还是那回复插件让评论变的太简单了-.-</p><p><strong>37.</strong><i>2008.08.04.10:15.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 嘿，看来这个压力还蛮大的。ddkk3000的建议，实现起来不是很难，会添加进去的。</p><p><strong>36.</strong><i>2008.08.04.10:06.pm</i>.&nbsp;<a href="http://www.arthack.org">Art Hack</a>: 我住楼顶，这个插件不错，希望完善！</p><p><strong>35.</strong><i>2008.08.04.9:59.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 嗯，这功能也可以考虑下。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>34.</strong><i>2008.08.04.9:59.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 这样你就可以省了友情链接交换的留言了。与人方便自己方便嘛。如果都是废话再删除就行了。</p><p><strong>33.</strong><i>2008.08.04.9:58.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 比如10条经过确认的留言以后，自动添加 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>32.</strong><i>2008.08.04.9:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000：自动添加友链？实现起来并不是很难。只是需要这功能吗？</p><p><strong>31.</strong><i>2008.08.04.9:55.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @山之岚 如果能加上自动添加友链功能是不是更好？</p><p><strong>30.</strong><i>2008.08.04.9:09.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 嗯，已经将评论数改为按月为基准。插件定时计算从当日起向前推算30天内的评论数，并按此结果排列，这样对新连接的朋友比较公平些吧。</p><p><strong>29.</strong><i>2008.08.04.11:22.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Chada, ddkk3000,对于新读者，其评论数，肯定会比较少。解决这个问题也很简单，目前采用总的评论数作为基准评价，可以改为一定期间，如按月的评论数为基准，这样的话，会公平些。至于第2个问题，刷评论抢排位，这个问题肯定会存在。基于评论数进行排位的插件都存在这个问题。目前还未想出一个比较理想的解决方案。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>28.</strong><i>2008.08.04.10:48.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: @chada 如果你的博客用了框架式ajax评论插件，答案是肯定会有抢排现象发生。就和yacca的电影城堡一样。呵呵。

公不公平的问题，thinkagain兄来答， <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>27.</strong><i>2008.08.03.11:01.pm</i>.&nbsp;<a href="http://blog.turkbaron.com">baron</a>: hi. Thanks for plugin

perfect.

Regards</p><p><strong>26.</strong><i>2008.08.03.9:50.pm</i>.&nbsp;<a href="http://genmicha.cn">Chada</a>: 咔咔，暂列第四，兴奋中。

不过想到两个延伸出来的问题：

1. 对于一个新的读者，他的评论数很难像一直以来的支持者，那么这个hot friends显然对于他是不公平的。

2. 会不会引发刷评论抢排位的情况？</p><p><strong>25.</strong><i>2008.08.03.8:48.pm</i>.&nbsp;<a href="http://www.linxo.cn/blog">ZH CEXO</a>: 说不定以后如果我的友链多了我也会试试的，现在倒是用不上，创意不错。</p><p><strong>24.</strong><i>2008.08.03.7:09.pm</i>.&nbsp;<a href="http://www.marketing-life.cn">shaoqing</a>: 恩。这个插件的确很实用。既有友链又能排序。相信有很多人愿意采用。我也希望能早点试一试。</p><p><strong>23.</strong><i>2008.08.03.5:10.pm</i>.&nbsp;<a href="http://www.charlestang.cn">Charles</a>: 这样看来，你的友链实在是太多了啊……</p><p><strong>22.</strong><i>2008.08.03.4:42.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @motta,这个友情链接标签云，也不是我的idea，借鉴了WP自带的tag cloud。实现起来不是很难的。
@my-hou，这个大作实不敢当的。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p><p><strong>21.</strong><i>2008.08.03.4:37.pm</i>.&nbsp;<a href="http://imotta.cn">motta</a>: 友情链接标签云, 这个赞!!</p><p><strong>20.</strong><i>2008.08.03.4:12.pm</i>.&nbsp;<a href="http://myou.org">MY-Hou</a>: 又要出大作咯   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p><p><strong>19.</strong><i>2008.08.03.3:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @shamas,chern: 也谢谢你们二位的支持哦。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  
@朵小朵: 那我要去check下adsense。看看赚进了几金？ <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>18.</strong><i>2008.08.03.2:14.pm</i>.&nbsp;<a href="http://www.IdeaTalks.cn">Chern</a>: 这个Hot Friend的功能设计得不错，将来链接多了我也可能会用。</p><p><strong>17.</strong><i>2008.08.03.1:51.pm</i>.&nbsp;<a href="http://www.4fanfan.cn">朵小朵</a>: 博客花花绿绿的，挺复杂，不小心点到广告了。</p><p><strong>16.</strong><i>2008.08.03.1:41.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 这个友情链接的创意不错啊,呵,支持一个</p><p><strong>15.</strong><i>2008.08.03.12:59.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @Yacca：支持widget和函数调用二种方式。近日放出。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>14.</strong><i>2008.08.03.12:44.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 以友情链接里的网友过来评论的数量为依据排列显示在首页...这个想法真好...等插件出来了估计是widget的吧,我考虑直接写进sidebar   期待啊期待</p><p><strong>13.</strong><i>2008.08.03.12:12.pm</i>.&nbsp;<a href="http://ecvip.org/">oxygen</a>: 嘿嘿，我排第二位。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>12.</strong><i>2008.08.03.11:58.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey：嗯，谢谢哦。刚刚将你的链接改为零号相册了，要等下次更新时，自动更新。用不着看首页，站内除了留言薄外，每个页面都有挂着hot friends。</p><p><strong>11.</strong><i>2008.08.03.11:56.am</i>.&nbsp;<a href="http://zz.neekey.com">neekey</a>: 哈哈，刚才回头看了一下首页，我还在HOT friends 里面，看来我RP还是很厚道的哈哈  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />   <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>10.</strong><i>2008.08.03.11:53.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: 嗯，有道理，回头测试下。THANKYOU。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p><p><strong>9.</strong><i>2008.08.03.11:51.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 光加线条也是可以的，多用定位线，就像杂志一样。不会很单调。</p><p><strong>8.</strong><i>2008.08.03.11:48.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000: 光光是线条，感觉不理想。偏单调点。还挺麻烦的。</p><p><strong>7.</strong><i>2008.08.03.11:47.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 既然是simple就不用配色了，就简单线条，白的就行了。</p><p><strong>6.</strong><i>2008.08.03.11:45.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @neekey：等整理清楚了，近日放出来。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' />  
@ddkk3000: 新主题暂命名为Simpe Is Better，现在还在考虑配色等等。</p><p><strong>5.</strong><i>2008.08.03.11:43.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 嗯，等着瞧你的新主题。</p><p><strong>4.</strong><i>2008.08.03.11:42.am</i>.&nbsp;<a href="http://zz.neekey.com">neekey</a>: 支持这个插件
能不能分享一下 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>3.</strong><i>2008.08.03.11:41.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 水蒲蛋加香蕉一起吃，这得拉肚子吧？</p><p><strong>2.</strong><i>2008.08.03.11:41.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000: 恩，准备把fanfou这个页面给整合到其它页面里面去了。因为在制作一个新主题，所以这个主题不准备再折腾了。 过阵子更新后的，你的评论总数又加1了。谢谢捧场。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p><p><strong>1.</strong><i>2008.08.03.11:38.am</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 看来写个插件对你来说简直是太简单了，呵呵。

不是有一个fanfou页面了么，为什么friend里还要再写一个？</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2007.04.30.8:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/161.html" title="Widgets是一个可视化Wordpress主题侧边栏编辑插件，用户可以在Wordpress后台主">如何修改代码使主题支持widgets (5)</a></p><p><i>2009.01.03.4:57.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1031.html" title="English user please navigates to http://wordpress.org/extend/plugins/wp-smilies/&#160; for instruct">Wordpress插件: WP Smilies (49)</a></p><p><i>2008.12.07.9:51.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1029.html" title=" 这一阵子，Google Friend Connect似乎闹得挺热乎的。周围的网友博客们纷纷在">Hot friends新增支持用户自定义头像显示 (65)</a></p><p><i>2008.10.27.9:52.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1024.html" title="如题。将Hot friends和mailtocommenter插件分别更新到1.3.2和1.3版。

其中hotfriends">从更新hot friends和mailtocmmenter谈起 (33)</a></p><p><i>2008.09.09.8:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/994.html" title="今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程">Wordpress Hacks:WP2.2版后中文邮件标题乱码解决方法 (22)</a></p><p><i>2008.08.25.11:06.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/989.html" title="English user please navigates to http://wordpress.org/extend/plugins/mailtocommenter/ for instructi">Wordpress插件: Mail To Commenter v1.3.2 (377)</a></p><p><i>2008.08.15.3:30.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/985.html" title="Updated: 2008-12-08. Latest version v1.4.1。
English user please goes to http://wordpress.org/ext">Wordpress插件: Hot Friends v1.4.1 (218)</a></p><p><i>2008.08.07.11:19.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/981.html" title="如题，将Hot Friends 1.0放上来内测。毕竟众人拾柴火焰高吧。功能方面，现阶">Hot Friends v1.0(Beta)内测 (52)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/978.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/978.html/feed</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>WordPress数据库查询三板斧之三:如何查看WP数据库查询的具体内容</title>
		<link>http://www.thinkagain.cn/archives/975.html</link>
		<comments>http://www.thinkagain.cn/archives/975.html#comments</comments>
		<pubDate>Tue, 29 Jul 2008 12:42:27 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[数据库]]></category>
		<category><![CDATA[查询]]></category>
		<category><![CDATA[次数]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/archives/975.html</guid>
		<description><![CDATA[本文将继续来探讨Wordpress数据库查询的相关话题。文一里，我们知道了WP各个基准页面所需的数据库查询量。文二中，我介绍了利用WP自带技术实现降低数据库查询或读取次数的方法，将此法应... ]]></description>
			<content:encoded><![CDATA[<p>本文将继续来探讨Wordpress数据库查询的相关话题。<a href="http://www.thinkagain.cn/archives/966.html" target="_blank">文一</a>里，我们知道了WP各个基准页面所需的数据库查询量。<a href="http://www.thinkagain.cn/archives/969.html" target="_blank">文二</a>中，我介绍了利用WP自带技术实现降低数据库查询或读取次数的方法，将此法应用于模板中，可在不影响互动前提下，降低模板的数据库查询次数。如果您想了解下到底是那些函数或插件在消耗这些数据库查询呢？以及每个查询WP都从数据库中读什么东东呢？本文将帮您揭开这些问题的谜底。</p>
<p>照旧，一切都是利用WP自带技术的。继续拿起铲子，深挖WORDPRESS。</p>
</p>
<p>首先，先用文本编辑器打开wp-config.php，加入如下代码：</p>
<blockquote><p>define(&#8216;SAVEQUERIES&#8217;, <span style="color: #0000ff">true</span>);</p></blockquote>
<p>此行代码，将激活定义WP把每次数据查询的信息保存到数组内。然后用下述代码将数组内的各次数据库查询的信息显示出来，具体内容有三项：各次数据库查询的SQL代码，读取所消耗时间和执行数据库查询的函数名称。</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">if</span> (is_user_logged_in()){</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>     <span style="color: #0000ff">global</span> $wpdb;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>     echo <span style="color: #006080">&quot;&lt;pre&gt;&quot;</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>     print_r($wpdb-&gt;queries);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     echo <span style="color: #006080">&quot;&lt;/pre&gt;&quot;</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span> }</pre>
</p></div>
</div>
<p>来看看上面这6行代码，第1和6行代码用于判断当前用户是否是注册用户，如果您愿意让普通浏览者看见这些分析结果，可以将这2行代码去掉。第2行，定义全局变量$wpdb，这是WP默认的数据库类。第3和5行，定义将分析结果嵌套在HTML&lt;pre&gt;标签内。第4行将输出各次数据库查询的信息，print_r()是php的输出变量信息的函数。</p>
<p>将上述6行代码放置到默认模板或其它模板的footer.php的&lt;/body&gt;标签前。打开页面，在页面的底部将会输出下列信息。注：如果有判断是否注册用户的代码，则必须是注册用户才能看到该信息。</p>
<p>如下例中，从0到8，共有9个数组，代表该页面总共发生了9次数据查询。每个数组里面包含3组信息，[0]为数据库查询所用的SQL代码，[1]查询所消耗的时间，基本上少都很少。Mysql效率还是非常高的。[2]为执行该次数据库查询的函数名称。</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span>     [0] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> option_value <span style="color: #0000ff">FROM</span> leo_options <span style="color: #0000ff">WHERE</span> option_name = <span style="color: #006080">'siteurl'</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>             [1] =&gt; 0.00159311294556</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>             [2] =&gt; is_blog_installed</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>     [1] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> option_name, option_value <span style="color: #0000ff">FROM</span> leo_options <span style="color: #0000ff">WHERE</span> autoload = <span style="color: #006080">'yes'</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span>             [1] =&gt; 0.00426483154297</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>             [2] =&gt; wp_load_alloptions</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  15:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  17:</span>     [2] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  19:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> <span style="color: #0000ff">DISTINCT</span> id <span style="color: #0000ff">FROM</span> leo_wsdl_downloads <span style="color: #0000ff">WHERE</span> status = <span style="color: #006080">'1'</span> <span style="color: #0000ff">ORDER</span> <span style="color: #0000ff">BY</span> id <span style="color: #0000ff">ASC</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>             [1] =&gt; 0.00153589248657</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  21:</span>             [2] =&gt; filetextInsert</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  22:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  23:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  24:</span>     [3] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  25:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  26:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> ID, post_name, post_parent <span style="color: #0000ff">FROM</span> leo_posts <span style="color: #0000ff">WHERE</span> post_name = <span style="color: #006080">'aboutme'</span> <span style="color: #0000ff">AND</span> (post_type = <span style="color: #006080">'page'</span> <span style="color: #0000ff">OR</span> post_type = <span style="color: #006080">'attachment'</span>)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  27:</span>             [1] =&gt; 0.00170397758484</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  28:</span>             [2] =&gt; get_page_by_path</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  29:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  30:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  31:</span>     [4] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  32:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  33:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> * <span style="color: #0000ff">FROM</span> leo_posts <span style="color: #0000ff">WHERE</span> ID = 2 <span style="color: #0000ff">LIMIT</span> 1</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  34:</span>             [1] =&gt; 0.00132393836975</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  35:</span>             [2] =&gt; get_post</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  36:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  37:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  38:</span>     [5] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  39:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  40:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> option_value <span style="color: #0000ff">FROM</span> leo_options <span style="color: #0000ff">WHERE</span> option_name = <span style="color: #006080">'page_for_posts'</span> <span style="color: #0000ff">LIMIT</span> 1</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  41:</span>             [1] =&gt; 0.000607967376709</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  42:</span>             [2] =&gt; get_option</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  43:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  44:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  45:</span>     [6] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  46:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  47:</span>             [0] =&gt;  <span style="color: #0000ff">SELECT</span>   leo_posts.* <span style="color: #0000ff">FROM</span> leo_posts  <span style="color: #0000ff">WHERE</span> 1=1  <span style="color: #0000ff">AND</span> (leo_posts.ID = <span style="color: #006080">'2'</span>) <span style="color: #0000ff">AND</span> leo_posts.post_type = <span style="color: #006080">'page'</span>  <span style="color: #0000ff">ORDER</span> <span style="color: #0000ff">BY</span> leo_posts.post_date <span style="color: #0000ff">DESC</span> </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  48:</span>             [1] =&gt; 0.000730991363525</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  49:</span>             [2] =&gt; get_posts</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  50:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  51:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  52:</span>     [7] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  53:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  54:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> t.*, tt.*, tr.object_id <span style="color: #0000ff">FROM</span> leo_terms <span style="color: #0000ff">AS</span> t <span style="color: #0000ff">INNER</span> <span style="color: #0000ff">JOIN</span> leo_term_taxonomy <span style="color: #0000ff">AS</span> tt <span style="color: #0000ff">ON</span> tt.term_id = t.term_id <span style="color: #0000ff">INNER</span> <span style="color: #0000ff">JOIN</span> leo_term_relationships <span style="color: #0000ff">AS</span> tr <span style="color: #0000ff">ON</span> tr.term_taxonomy_id = tt.term_taxonomy_id <span style="color: #0000ff">WHERE</span> tt.taxonomy <span style="color: #0000ff">IN</span> (<span style="color: #006080">'category'</span>, <span style="color: #006080">'post_tag'</span>) <span style="color: #0000ff">AND</span> tr.object_id <span style="color: #0000ff">IN</span> (2) <span style="color: #0000ff">ORDER</span> <span style="color: #0000ff">BY</span> t.name <span style="color: #0000ff">ASC</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  55:</span>             [1] =&gt; 0.00423097610474</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  56:</span>             [2] =&gt; wp_get_object_terms</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  57:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  58:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  59:</span>     [8] =&gt; <span style="color: #0000ff">Array</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  60:</span>         (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  61:</span>             [0] =&gt; <span style="color: #0000ff">SELECT</span> post_id, meta_key, meta_value <span style="color: #0000ff">FROM</span> leo_postmeta <span style="color: #0000ff">WHERE</span> post_id <span style="color: #0000ff">IN</span> (2) <span style="color: #0000ff">ORDER</span> <span style="color: #0000ff">BY</span> post_id, meta_key</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  62:</span>             [1] =&gt; 0.0023729801178</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  63:</span>             [2] =&gt; update_postmeta_cache</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  64:</span>         )</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  65:</span>&#160; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  66:</span> )</pre>
</p></div>
</div>
<p>通过此信息，我们可以清楚地看到在打开该页面时，是那些WP内置函数或插件函数要求读取数据库。如上例中的，第3次数据查询是由filetextInsert函数造成的，这个是一个插件函数。分析下数据查询1和2，对应为Array[0]和Array[1]，很显然，第1次查询是用于判断siteurl是否被赋值，siteurl值是存储在options表里面的。而第2次查询，是将options表里面所有autoload值为真的数据全部加载到内存中。<a href="http://www.thinkagain.cn/archives/969.html" target="_blank">文二</a>中的Idea就是基于此数据查询的。注意下，在此有点不大理解，既然第2次查询是加载options表的数据，那么请问，如果将此数据查询放在第1，这样的话siteurl也已经被加载了，只需从内存中读取siteurl值就可以了，就没有必要再去读取options表内的siteurl的值了。简单地调换下次序，再修改下代码，这不就可以减少一次数据查询了。所以说，WP有时候是有点莫名其妙。p.s，is_blog_installed是在WP加载widget时候被调用的。</p>
<p>此文会数据库查询分析之三板斧的最后一篇。写这几篇文章的主要目的在于<strong>分享</strong>和<strong>探讨</strong>。通过这三篇文章，相信能对您了解Wordpress数据库查询的来龙去脉有所帮助。文二的方法主要用来减少模板的数据库查询，其idea也可以用在插件的制作上。通过本文，可以来判断那些插件的调用需要数据库查询，然后再结合其作用，综合判断是否需要该插件。通过此法，我将现有模板首页的查询次数，从<strong>36</strong>次降到<strong>16</strong>次。虽说每次数据库查询视SQL语句和数据量大小而定，消耗的时间并不多，如上例中，一般都在0.00几秒。但这个数值是在本地服务器上的测试结果，而放置到网站上的测试，您会发现加载同样的页面，消耗的时间不尽相同，有的时候，单个查询甚至会需要1秒以上，其原因是当时数据库的负载（同时请求数，连接数等）高造成的。撇开静态化完全不需要数据库查询不提，减低数据库查询以及精简php代码解析，是能有效提高WP的运行效率方法之一。当然，找个更Powerful的服务器是最快也最直接有效的方法。嘿嘿，不过这也就少了分析的乐趣了。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/975.html#comments">评论7:</a></p><p><strong>7.</strong><i>2010.11.20.2:04.pm</i>.&nbsp;<a href="http://www.ylsnuha.com/reduce-queries/">如何查看WordPress数据库查询的具体内容:减小数据库查询次数 &#171; Some Dream</a>: [...] 为了减少数据库查询次数首先，先用文本编辑器打开wp-config.php，加入如下代码：  define(‘SAVEQUERIES’, true); [...]</p><p><strong>6.</strong><i>2008.11.08.9:31.pm</i>.&nbsp;<a href="http://www.9usb.net">网络漂流瓶</a>: 对于优化Wordpress的博客很有用。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </p><p><strong>5.</strong><i>2008.08.07.10:02.am</i>.&nbsp;<a href="http://www.flywud.com">oyster</a>: 呵呵 可以继续发掘~~~</p><p><strong>4.</strong><i>2008.08.01.9:45.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @oyster: 应该要纠正下我的说法，wp是否自带缓存机制。其正确的说法应该是在早些版本，如2.3前，wp是有内置object cache缓存机制的，但是不知为何在新版中被取消了。现在来回答你的问题，wp是针对每个浏览者的动作，如打开页面等，作出相应的反馈的。所以，每次加载网页，那些查询等是会被执行的，并不是a打开页面加载了数据，b打开类似页面就不用加载数据了，如果是这样的话，那就是缓存了。而实际上并非如此的。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>3.</strong><i>2008.07.31.9:53.pm</i>.&nbsp;<a href="http://www.flywud.com">oyster</a>: 第1次查询是用于判断siteurl是否被赋值，siteurl值是存储在options表里面的。而第2次查询，是将options表里面所有autoload值为真的数据全部加载到内存中。

 你这里也说到了 会把options里的数据存储到内存的siteurl里.
应该说第一个人打开了这个网页 那么这个网页的大部分数据都已经被存储到内存中,第二个人来访问的话 就直接读取内存的数据了.这就是缓存机制啦.

不过我只是猜想而已,因为我才学 php,和接触wp 两个月 .呵呵 

实在不敢乱吹~~~</p><p><strong>2.</strong><i>2008.07.29.10:25.pm</i>.&nbsp;<a href="http://zohua.cn">Zohua</a>: 搞不懂啊  学习</p><p><strong>1.</strong><i>2008.07.29.9:59.pm</i>.&nbsp;<a href="http://www.lidiy.com">lidiy</a>: 这个专业~~ 有帮助~</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.07.25.1:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/969.html" title="Updated: 2008-07-26，更新Hook代码。  续上文，通过Wordpress基准页面数据库查询">Wordpress数据库查询三板斧之二:如何减少WP数据库查询次数和提高运行效率 (12)</a></p><p><i>2008.07.20.8:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/966.html" title="看了下面这张抓图，你就知道我为什么要做这个统计了。  
   昨晚上在DH的">Wordpress数据库查询三板斧之一:WP基准页面数据库查询次数统计 (12)</a></p><p><i>2008.12.19.12:20.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html" title=" 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。">12行代码给Wordpress主题挂上AJAX (35)</a></p><p><i>2008.09.09.8:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/994.html" title="今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程">Wordpress Hacks:WP2.2版后中文邮件标题乱码解决方法 (22)</a></p><p><i>2008.07.28.10:25.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/974.html" title="网上很多都在谈如何关闭WP2.6的修订记录保存功能。想必已经有很多WP爱好">Wordpress Tips：如何使用自动保存的修订记录 (8)</a></p><p><i>2008.07.27.12:02.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/973.html" title="自2.5起，WP提供了在线编辑时的自动保存功能。自然也是有利有弊。弊么，">Wordpress Hacks：如何管理WP自动保存功能 (10)</a></p><p><i>2008.07.27.10:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/971.html" title="WP2.6带来了很多新功能。如后台的turbo等。相比2.3到2.5，2.5到2.6之间给我的">Wordpress Hacks:如何关闭WP2.6的主题预览 (18)</a></p><p><i>2008.07.16.12:15.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/954.html" title="升级至2.6后，除了插件管理页的布局更改外，似乎还没注意到其它显著的变">启用WP2.6 Turbo功能Step by Step (10)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/975.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/975.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress Tips：如何使用自动保存的修订记录</title>
		<link>http://www.thinkagain.cn/archives/974.html</link>
		<comments>http://www.thinkagain.cn/archives/974.html#comments</comments>
		<pubDate>Mon, 28 Jul 2008 14:11:20 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/?p=974</guid>
		<description><![CDATA[网上很多都在谈如何关闭WP2.6的自动修订记录保存功能。想必已经有很多WP爱好者已经在wp-config.php里面通过设定'WP_POST_REVISIONS'=false，将这个功能给K了吧。我呢，偏偏来凑热闹，谈谈如何使用这... ]]></description>
			<content:encoded><![CDATA[<p>网上很多都在谈如何关闭WP2.6的修订记录保存功能。想必已经有很多WP爱好者已经在wp-config.php里面通过设定&#8217;WP_POST_REVISIONS&#8217;=false，将这个功能给K了吧。我呢，偏偏来凑热闹，谈谈如何使用这个修订记录(post revision)保存功能。嗯，按下SAVE按钮来，先保存下。</p>
</p>
<p>先别急，写到这里再来保存一下，回头抓图写文章才有依据啊。</p>
<p>好了，按了2次SAVE，现在应该有2个修订版本了吧。到下面的Post revisions看看，抓个图放上来。</p>
<p><a class="thickbox" title="修订记录次数查看" href="http://www.thinkagain.cn/wp-content/uploads/2008/07/post_revision_1.jpg" target="_blank"><img alt="post revision history" src="http://www.thinkagain.cn/wp-content/uploads/2008/07/post_revision_1.jpg" /></a></p>
<p>看见不，在页面内容编辑区下部的post revisions处，已经有2个修订记录。不凑巧，时间间隔太短了，嘿，我打字太快了。呵呵。都是22：30分保存的。注意，已经占用了2个post id了。接下来我们来看看如何使用这些修订记录。随便点击一个，将会出现如下页面。</p>
<p><a class="thickbox" title="修订记录对比" href="http://www.thinkagain.cn/wp-content/uploads/2008/07/post_revision_2.jpg" target="_blank"><img height="228" alt="post revision comparison" src="http://www.thinkagain.cn/wp-content/uploads/2008/07/post_revision_2.jpg" width="400" /></a></p>
<p>点击上图可以放大看全图。页面中间有个Compare revisions（对比修订）的按钮，下面有3行选项，分别对应3次不同内容，注意，是按时间降序排列的。第一行是current Revision，当前记录，也就是当前内容。第二行是第二次保存的修订版本，同理，第一行是第一次的修订记录。各行右边都有restore（恢复）按钮。</p>
<p>我们点击下compare revision看看。</p>
<p><a class="thickbox" title="对比修订记录中变更部分" href="http://www.thinkagain.cn/wp-content/uploads/2008/07/post_revision_3.jpg" target="_blank"><img height="234" alt="对比修订记录变更部分" src="http://www.thinkagain.cn/wp-content/uploads/2008/07/post_revision_3.jpg" width="400" /></a></p>
<p>WP会将当前版本和选中的修订记录分栏进行对比。注意，左右深色背景的方框，那都是内容差异部分。嘿嘿，这下几个修订版本间的变化都一目了然了吧。</p>
<p>至于那个restore按钮是用来干吗的？答案自然是将文章内容恢复到该修订版本去。这里就不抓图为例了。然后页面会转回到编辑页，并提示:</p>
<blockquote><p>Post restored to revision from 28 July, 2008 @ 22:30      </p>
<p>文章恢复到2008.07.28.22：30的修订版本。</p>
</blockquote>
<p>到此为止，如何使用它以及它的功能都清楚了吧。当然，数据库里一大堆相似度很高的文章以及post id占用，这些是这个保存修订记录功能附带的弊处吧。但方便对比查看各个不同时段的内容，这对于某些朋友可能有帮助。至于这功能真的没用么？我就不评论了，仁者见仁智者见智吧。</p>
<p><strong>p.s</strong>，文中没有列出自动保存的记录，二者在使用上一样的。如果存在自动保存记录的话，会在post revisions可以看到自动保存的记录，格式和修订版本一样，但标明autosave，如：</p>
<blockquote><p>*&#160; 27 July, 2008 @ 11:43 [Autosave] by 山之岚</p>
</blockquote>
<p>&#8220;嘿，这2.6的新东西可真多了啊。且不说单试用这些新功能，学习这些代码都够让我在一边窃笑了。Wordpress真是个好东西哦。&#8221;</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/974.html#comments">评论8:</a></p><p><strong>8.</strong><i>2008.08.03.8:50.am</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: 多谢岚兄和Yacca。
我的意思是说，平时写博客的时候总用中文全角标点。但写完后添加标签时需要用半角逗号区分，按快捷键可以临时变半角，但老忘了按……呵呵。
主要是我懒，估计也没什么办法。</p><p><strong>7.</strong><i>2008.08.02.2:00.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @牧狼羊: 用手机发表文章。累不累啊？</p><p><strong>6.</strong><i>2008.08.02.1:54.pm</i>.&nbsp;<a href="http://mlyang.cn">牧狼羊</a>: 昨晚用手机更新文章时，保存了两次，提示出现了两个修订版本。我用的Opera 4.0,后台又是全英文，以前从没见过这个功能，当时可真有点晕了，我心想这是啥呢，点Save不知道为什么无法发表，有错误提示。后来换用UCWEB才发表成功，汗一个。</p><p><strong>5.</strong><i>2008.07.29.9:19.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 腹黑...这其实是可以依靠插件来完成的.全角自动转成半角...我用了很久的.</p><p><strong>4.</strong><i>2008.07.29.7:15.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @浮黑: 这个应该和输入法软件有关吧。比如，我用搜狗拼音，按shift键可以切换中英文状态，也就是全（中）半（英）角标点输入，因为默认中文的标点是全角，而英文的标点是半角。在英文状态下，按shift+空格键可以切换到英文全角输入。不知是否有帮助。 <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><strong>3.</strong><i>2008.07.29.6:40.pm</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: 对了，请教岚兄，用WordPress写博客，很多地方都需要半角标点。你是如何快速切换全角半角的呢？</p><p><strong>2.</strong><i>2008.07.29.3:24.pm</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @ddkk3000: 这是其一，其二是WP里面还有很多宝贝等着我们淘呢。p.s，在WP中表情符号的前后需要加上半角的空格，这样才会被识别为是表情符号，并正确转换。</p><p><strong>1.</strong><i>2008.07.29.3:20.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>:  <img src='http://www.thinkagain.cn/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ，是得写写，要不然大家装了新版，倒把新功能全屏蔽了。</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.12.19.12:20.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html" title=" 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。">12行代码给Wordpress主题挂上AJAX (35)</a></p><p><i>2008.09.09.8:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/994.html" title="今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程">Wordpress Hacks:WP2.2版后中文邮件标题乱码解决方法 (22)</a></p><p><i>2008.07.29.9:05.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/975.html" title="本文将继续来探讨Wordpress数据库查询的相关话题。文一里，我们知道了WP各">Wordpress数据库查询三板斧之三:如何查看WP数据库查询的具体内容 (7)</a></p><p><i>2008.07.27.12:02.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/973.html" title="自2.5起，WP提供了在线编辑时的自动保存功能。自然也是有利有弊。弊么，">Wordpress Hacks：如何管理WP自动保存功能 (10)</a></p><p><i>2008.07.27.10:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/971.html" title="WP2.6带来了很多新功能。如后台的turbo等。相比2.3到2.5，2.5到2.6之间给我的">Wordpress Hacks:如何关闭WP2.6的主题预览 (18)</a></p><p><i>2008.07.25.1:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/969.html" title="Updated: 2008-07-26，更新Hook代码。  续上文，通过Wordpress基准页面数据库查询">Wordpress数据库查询三板斧之二:如何减少WP数据库查询次数和提高运行效率 (12)</a></p><p><i>2008.07.20.8:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/966.html" title="看了下面这张抓图，你就知道我为什么要做这个统计了。  
   昨晚上在DH的">Wordpress数据库查询三板斧之一:WP基准页面数据库查询次数统计 (12)</a></p><p><i>2008.07.16.12:15.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/954.html" title="升级至2.6后，除了插件管理页的布局更改外，似乎还没注意到其它显著的变">启用WP2.6 Turbo功能Step by Step (10)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/974.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/974.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress Hacks：如何管理WP自动保存功能</title>
		<link>http://www.thinkagain.cn/archives/973.html</link>
		<comments>http://www.thinkagain.cn/archives/973.html#comments</comments>
		<pubDate>Sun, 27 Jul 2008 03:47:56 +0000</pubDate>
		<dc:creator>山之岚</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thinkagain.cn/archives/973.html</guid>
		<description><![CDATA[自2.5起，WP提供了在线编辑时的自动保存功能。自然也是有利有弊。弊么，无非又是数据库垃圾云云那套观点。利呢，废话么，就是自动保存了，万一浏览器崩溃（经常在FF上出现）或网络断线... ]]></description>
			<content:encoded><![CDATA[<p>自2.5起，WP提供了在线编辑时的自动保存功能。自然也是有利有弊。弊么，无非又是数据库垃圾云云那套观点。利呢，废话么，就是自动保存了，万一浏览器崩溃（经常在FF上出现）或网络断线等，期间所修改的内容还在。和那个<a href="http://www.thinkagain.cn/archives/971.html" target="_blank">2.6新提供的主题预览</a>一样，自然是正反2种喜好的人都有。实际这功能2.5就有了，而似乎是因为2.6的自动保存修订记录，才开始被关注。</p>
<p>至于如何管理自动保存功能。网络上流行较多的是用<a href="http://exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin/" target="_blank">disable-autosave</a>插件来将其禁用。(p.s，该作者新出了disable-revision和disable-autosave and revision插件，在链接页可以下载)。</p>
</p>
<p>其实用不着启用一个插件去禁用它，或者说我是不大喜好给WP挂上一大堆插件。默认的自动保存时间间隔为60秒，可以在wp-config.php自定义自动保存的时间间隔。将时间间隔拉长，如1200（20分钟）或者3600（1小时），或更长，这样岂不就可以避免自动保存了。具体做法：</p>
<p>用文本编辑器打开根目录或其它目录下的wp-config.php，在require_once(ABSPATH.&#8217;wp-settings.php&#8217;)之前增加下列定义：</p>
<blockquote><p>define( &#8216;AUTOSAVE_INTERVAL&#8217;, 1200 );</p></blockquote>
<p>上述代码会将autosave时间间隔改为1200秒，20分钟。</p>
<p>感兴趣的朋友可以继续往下看。</p>
<p>进入wp数据库，打开wp_posts表，查看post_name一项。自动保存的文章，都会被命名为postid-autosave，如id为100的文章的自动保存记录的post_name为100-autosave。类似的WP2.6的自动修订记录的post_name为postid-revision-version。如100-revision为postid为100的文章修订版本1，100-revision-2为修订版本2。但是无论是自动保存或者修订记录，它们的post_type均为revision。也就是说二者性质是一样的。所以您要真看它们不顺眼，直接将post_type=revision的记录全部K掉吧。</p>
<hr/><p style="font-size:1.5em;font-weight:bold;"><a href="http://www.thinkagain.cn/archives/973.html#comments">评论10:</a></p><p><strong>10.</strong><i>2008.08.17.5:39.pm</i>.&nbsp;<a href="http://getfreeware.net/archives/479.html">关闭WordPress2.6的自动保存和文章版本控制功能 | 免费软件资讯站</a>: [...] 第三, 直接修改WP核心文件. 不推荐这种方法, 为什么呢? 首先是, 以后每次升级WordPress都要手动修改一次, 很麻烦. 其次, 从使用者的角度来说, 我们尽可能少修改核心文件是上策. 如果你喜欢捣鼓, 可以参考这篇文章中的办法来修改 - 如何管理WP自动保存功能. [...]</p><p><strong>9.</strong><i>2008.07.31.4:34.pm</i>.&nbsp;<a href="http://www.wavemood.net">2slow</a>: 版本修订我已经禁用了，自动保存还留着，防止浏览器崩溃。
定期删除数据库垃圾就成了。</p><p><strong>8.</strong><i>2008.07.29.9:19.am</i>.&nbsp;<a href="http://www.thinkagain.cn">山之岚</a>: @浮黑: 文内的代码是按半角输入的，文章输出的时候就成了全角。有点纳闷。只好读者自己改吧。</p><p><strong>7.</strong><i>2008.07.29.8:24.am</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: thinkagain，文中代码的引号写成全角了，要改成半角才行</p><p><strong>6.</strong><i>2008.07.29.8:15.am</i>.&nbsp;<a href="http://www.surdark.net">浮黑</a>: 好方法，这就去试试</p><p><strong>5.</strong><i>2008.07.27.2:21.pm</i>.&nbsp;<a href="http://www.eemir3.com">Yacca</a>: 原来如此简单-.-</p><p><strong>4.</strong><i>2008.07.27.2:15.pm</i>.&nbsp;<a href="http://lxz.name">ddkk3000</a>: 启动插件的原因可能是为了今后覆盖升级方便吧。</p><p><strong>3.</strong><i>2008.07.27.2:09.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 貌似不行,我试了下,才几分钟就自动保存了</p><p><strong>2.</strong><i>2008.07.27.1:53.pm</i>.&nbsp;<a href="http://3284265.cn">shamas</a>: 应用,我也不想用插件,那个插件有点副作用,就是发表时看不到永久链接了</p><p><strong>1.</strong><i>2008.07.27.1:52.pm</i>.&nbsp;<a href="http://zz.neekey.com">neekey</a>: 沙发好舒服。我觉得自动保存功能还是挺有用的。
最好是在发布这篇文章后，自动删除保存的文章就好了</p><hr/><p style="font-size:1.5em;font-weight:bold;">推荐阅读</p><p><i>2008.12.19.12:20.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/1030.html" title=" 有段时间没有写些技术类的文章了，（p.s，似乎其它文章也没多写。。。">12行代码给Wordpress主题挂上AJAX (35)</a></p><p><i>2008.09.09.8:58.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/994.html" title="今天，Wordpress官方发布了2.6.2版。没有跑去Trac看代码变动地方，直接就将程">Wordpress Hacks:WP2.2版后中文邮件标题乱码解决方法 (22)</a></p><p><i>2008.07.29.9:05.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/975.html" title="本文将继续来探讨Wordpress数据库查询的相关话题。文一里，我们知道了WP各">Wordpress数据库查询三板斧之三:如何查看WP数据库查询的具体内容 (7)</a></p><p><i>2008.07.28.10:25.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/974.html" title="网上很多都在谈如何关闭WP2.6的修订记录保存功能。想必已经有很多WP爱好">Wordpress Tips：如何使用自动保存的修订记录 (8)</a></p><p><i>2008.07.27.10:44.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/971.html" title="WP2.6带来了很多新功能。如后台的turbo等。相比2.3到2.5，2.5到2.6之间给我的">Wordpress Hacks:如何关闭WP2.6的主题预览 (18)</a></p><p><i>2008.07.25.1:14.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/969.html" title="Updated: 2008-07-26，更新Hook代码。  续上文，通过Wordpress基准页面数据库查询">Wordpress数据库查询三板斧之二:如何减少WP数据库查询次数和提高运行效率 (12)</a></p><p><i>2008.07.20.8:12.pm</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/966.html" title="看了下面这张抓图，你就知道我为什么要做这个统计了。  
   昨晚上在DH的">Wordpress数据库查询三板斧之一:WP基准页面数据库查询次数统计 (12)</a></p><p><i>2008.07.16.12:15.am</i>.&nbsp;<a href="http://www.thinkagain.cn/archives/954.html" title="升级至2.6后，除了插件管理页的布局更改外，似乎还没注意到其它显著的变">启用WP2.6 Turbo功能Step by Step (10)</a></p><hr/><p>Copyright &copy; 2012&nbsp;|&nbsp;<a href="http://www.thinkagain.cn">Think Again</a>&nbsp;|&nbsp;<a href="http://www.thinkagain.cn/archives/973.html">原文链接</a></p><img src="http://img.tongji.cn.yahoo.com/710673/ystat.gif"/>]]></content:encoded>
			<wfw:commentRss>http://www.thinkagain.cn/archives/973.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

