Home > WordPress > WordPress Plugin – Fanfou Tools

WordPress Plugin – Fanfou Tools

Fanfou Logo

这是一个 FanfouWordPress 插件,通过这个插件你可以在 WordPress 的侧边栏中显示最新的 fanfou 消息,每隔一段时间自动更新;同时当 Blog 发布新的文章时,向 fanfou.com 发布消息。

该插件模仿了 Alex King 的 Twitter Tools

Requirements:
这个插件的最早的开发平台为 WordPress 2.2.1 RC2,很多其它的版本限于精力我都没有测试,但能保证在最新的WP开发版上正常运行,如果您在使用中遇到问题,请升级您的WordPress或者联系我均可。

Latest Version: 1.2

Installation:
解压缩后上传到您的 wp-content/plugins/ 目录,并在后台激活该插件。
编辑你正在使用的 WordPress 主题的侧标栏模板,加入如下的代码即可在侧边栏中显示最新的 Fanfou 消息:

<!-- Fanfou Tools -->
<?php fanfou_list_posts();?>

Uninstallation:
这个插件将会创建一个新的数据表 wp_fanfou,并在 wp_options 表中创建多条以 fanfou_ 为前缀的 option 记录,此外如果激活 Notify 功能,那么在发布新文章或者编辑旧文章时,该插件将自动为文章加上名为 fanfou_marker 的 Custom field,并自动通知到 Fanfou(前提是旧文章不存在 fanfou_marker 这个 field,如果已有此标记,那么不会重复通知到 Fanfou)。

如果要卸载此插件,请按照如下步骤即可清理干净:

  1. Deactive Fanfou-tools
  2. 删除 wp-content/plugins/fanfou-tools 目录
  3. 删除数据表 wp_fanfou (这里需要非常小心…)
  4. 清理 wp_options 表
  5. 最后清理 wp_postmeta 表,即 Custom Field 信息
-- 请注意安全,不嫌麻烦的话,最好先备份数据库...
 
-- 清理 wp_options 表
DELETE FROM `wp_options`
    WHERE `option_name` LIKE 'fanfou_%';
 
-- 清理 wp_postmeta 表
DELETE FROM `wp_postmeta`
    WHERE `meta_key` LIKE 'fanfou_marker';

Download:
Fanfou Tools 1.2

SubVersion:

# 下载正在开发中的版本
svn co http://svn.wp-plugins.org/fanfou-tools/trunk
 
# 下载稳定的版本
svn co http://svn.wp-plugins.org/fanfou-tools/tags/1.2
Categories: WordPress Tags: , , ,
  1. October 20th, 2008 at 03:52 | #1

    http://doctersonline.cn/
    看哈这里啦,用了XHTML 代码主题就便这样啦,怎么解决啊,谢谢

  2. November 3rd, 2008 at 13:41 | #2

    辛苦了,如果想加入饭否或者想给饭否做贡献怎么办呢?

  3. 安胖
    November 12th, 2008 at 11:11 | #3

    请教一下,如果我只想让某个分类的日志同步到饭否应该怎么做呢?谢谢。

  4. January 5th, 2009 at 07:02 | #4

    删除还是有点烦!

  5. laubc
    March 9th, 2009 at 14:29 | #5

    不错!

  6. March 13th, 2009 at 15:50 | #6

    支持一下 有用哦

  7. June 9th, 2009 at 15:15 | #7

    插件无法被启用因为触发了一个严重错误。
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /www/users/a4e.net/wordpress/wp-content/plugins/fanfou-tools/class-fanfou.php on line 388

    请问何故啊?

  8. June 9th, 2009 at 20:54 | #8

    这里是魔术方法 _set, PHP5 即可支持,你的 PHP 版本比较老?

Comment pages
1 2 93
  1. June 24th, 2007 at 00:31 | #1
  2. June 25th, 2007 at 10:16 | #2
  3. June 25th, 2007 at 19:48 | #3
  4. June 26th, 2007 at 02:17 | #4
  5. June 28th, 2007 at 22:23 | #5
  6. July 5th, 2007 at 00:24 | #6
  7. July 6th, 2007 at 22:10 | #7
  8. July 19th, 2007 at 03:08 | #8
  9. July 31st, 2007 at 17:41 | #9
  10. August 1st, 2007 at 11:08 | #10
  11. August 1st, 2007 at 22:43 | #11
  12. August 1st, 2007 at 22:52 | #12
  13. August 2nd, 2007 at 00:27 | #13
  14. August 7th, 2007 at 22:08 | #14
  15. November 10th, 2007 at 15:51 | #15
  16. January 15th, 2008 at 13:17 | #16
  17. January 21st, 2008 at 10:22 | #17
  18. February 7th, 2008 at 14:04 | #18
  19. February 7th, 2008 at 14:19 | #19
  20. February 15th, 2008 at 14:25 | #20
  21. March 14th, 2008 at 21:35 | #21
  22. April 8th, 2008 at 11:29 | #22
  23. April 9th, 2008 at 15:30 | #23
  24. August 25th, 2008 at 06:06 | #24
  25. September 20th, 2008 at 15:40 | #25
  26. October 3rd, 2008 at 05:26 | #26
  27. November 4th, 2008 at 09:13 | #27
  28. May 16th, 2009 at 01:52 | #28