标签: plugin

  • 『WordPress』Contact Form 7简体中文语言包

    Contact Form 7(CF7)是一款为WordPress博客增加联系表单的插件,填入表单的数据将通过邮件发送到管理员的邮箱(默认)或任意设定的邮件地址。同时还具有上传文件作为附件、多语言支持等特性。

    wordpress-plugin-contact-form-7

    CF7可管理多个联系表单,而且支持表单个性化以及邮件内容定制。表单使用AJAX技术提交,支持CAPTCHA、Akismet垃圾过滤功能等。

    由于原简体中文的汉化作者没有继续跟进新版的汉化工作,我决定自己对该插件进行汉化。翻译结果经测试基本满意,如果你觉得有些地方存在歧义或需要进一步润饰,请与我联系。如果下载链接失效,也请告知,我将随时补档。

    • 适用版本:v2.4.5
    • 插件地址:点击查看
    • 官方网站:http://contactform7.com
    • 汉化文件:下载点1:GE.TT;下载点2:U115;下载点3:MegaUpload
    • 使用说明:下载后放入插件目录的“languages”文件夹下替换旧版文件即可
    • 最后更新:2011年5月6日
  • Customize Flickr Photo Album Plugin to Fit Your Theme

    What Is Flickr Photo Album(FPA) Plugin?

    Flickr Photo Album for WordPress is a fantastic plugin that allows you to pull in your Flickr photo sets and display them as albums on your WordPress blog.

    There is a pretty simple template provided, but you can customize the templates 100% to match the look and feel of your own site.

    And this post will guide you through the process of the customization. It’s pretty easy thanks to the great structuring of this plugin. See FPA in action here.

    Preliminaries before We Start

    From the “Look and Feel Customization” part of FPA’s wiki, we know that to customize this thing, we have to make sure the photoalbum-index.php template file (which is located inside the “template” folder in the plugin’s directory) closely match your own theme’s page.php.

    Let’s first take a look at what the photoalbum-index.php file is like:

    <?php
    /*
    Template Name: Photo Album

    More comments here are omitted…

    */
    global $TanTanFlickrPlugin;
    if (!is_object($TanTanFlickrPlugin)) wp_die(‘Flickr Photo Album plugin is not installed / activated!’);

    get_header();

    // load the appropriate albums index, album’s photos, or individual photo template.
    // $photoTemplate contains the template being used
    ?>
    <div id=“content” class=“narrowcolumn”>
    <?php
    include($tpl = $TanTanFlickrPlugin->getDisplayTemplate($photoTemplate));

    // uncomment this line to print out the template being used
    // echo ‘Photo Album Template: ‘.$tpl;
    ?>

    <?php if (!is_object($Silas)):?>
    <div class=“flickr-meta-links”>
    Powered by the <a href=“http://tantannoodles.com/toolkit/photo-album/”>Flickr Photo Album</a> plugin for WordPress.
    </div>
    <?php endif; ?>

    </div>
    <?php

    // uncomment this if you need a sidebar
    //get_sidebar();

    get_footer();
    ?>

    It is just like a standard page template of WordPress theme, isn’t it?

    Then we shall look into the page template as indicated. There should be a page template file sample in your theme’s directory, named page.php or something like that. Take my current theme as an example, the codes inside look like:

    <?php get_header(); ?>

    <div id=“whitewrap”>

    <div class=“wrapper”>

    <div id=“location”>
    <p><a href=<?php echo get_option(‘home’); ?>/” title=<?php bloginfo(‘name’); ?>>Home</a> / <?php the_title(); ?></p>
    </div>

    <div id=“secondary”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div id=“postcontent”>
    <?php the_content(); ?>
    </div>
    <?php endwhile; else: ?>
    <?php endif; ?>
    </div> <!– end secondary –>

    <?php include (TEMPLATEPATH . ‘/sidebar-page.php’); ?>

    </div> <!– end wrapper –>

    </div> <!– end whitewrap –>

    <?php get_footer(); ?>

    Compare these two code snipplets and you’ll realize that the main structure is nearly the same. Hence what we’re going to do next is pretty simple bearing this in mind. Besides, those comments inside photoalbum-index.php almost have told you everything you need to do(not very much, though ^^).

    Step 1: Merging the two

    First thing’s first, copy everything between <?php get_header(); ?> and <?php get_footer(); ?> from page.php to photoalbum-index.php to replace its counterpart.

    Step 2: Main Replacement

    Our purpose is to make the structure of photoalbum-index.php accords with that of page.php. So we ought to wipe out lines between <div id=“secondary”> and its closing </div>, then add following codes there:

    <?php
    include($tpl = $TanTanFlickrPlugin->getDisplayTemplate($photoTemplate));
    ?>

    <?php if (!is_object($Silas)):?>
    <div class=“flickr-meta-links”>
    Powered by the <a href=“http://tantannoodles.com/toolkit/photo-album/”>Flickr Photo Album</a> plugin for WordPress.
    </div>

    Keep the promotion link as a tribute to the author.

    Step 3: Tiny Moderation

    In fact, we’ve already finished the job. But there’s a little more to be done: Make the patching where necessary. In my sample, the navigation title should be fixed as below:

    <div id=“location”>
    <p><a href=<?php echo get_option(‘home’); ?>/” title=<?php bloginfo(‘name’); ?>>Home</a> / <?php e(‘Gallery’); ?></p>
    </div>

    Mission Accomplished!

    Now the photoalbum-index.php should look like this:

    <?php
    /*
    Template Name: Photo Album

    So many comments…

    */
    global $TanTanFlickrPlugin;
    if (!is_object($TanTanFlickrPlugin)) wp_die(‘Flickr Photo Album plugin is not installed / activated!’);

    get_header();

    ?>

    <div id=“whitewrap”>

    <div class=“wrapper”>

    <div id=“location”>
    <p><a href=<?php echo get_option(‘home’); ?>/” title=<?php bloginfo(‘name’); ?>>Home</a> / <?php _e(‘Gallery’); ?></p>
    </div>

    <div id=“secondary”>
    <div id=“postcontent” class=“narrowalbum”>
    <?php
    include($tpl = $TanTanFlickrPlugin->getDisplayTemplate($photoTemplate));
    ?>

    <?php if (!is_object($Silas)):?>
    <div class=“flickr-meta-links”>
    Powered by the <a href=“http://tantannoodles.com/toolkit/photo-album/”>Flickr Photo Album</a> plugin for WordPress.
    </div>
    <?php endif; ?>
    </div>
    </div> <!– end secondary –>

    <?php include (TEMPLATEPATH . ‘/sidebar-page.php’); ?>

    </div> <!– end wrapper –>

    </div> <!– end whitewrap –>

    <?php get_footer(); ?>

    In case you need more customization like hooking FPA up with Lightbox or any other display libraries, you can find out more info about how to customize this plugin here.

  • FeatPlug – The Way Your Featured Posts Are Meant to Be Displayed

    It’s been a while since my last post, er…, quite a while. Being busy is not an excuse, I just don’t feel like writing, or am simply getting lazier. Anyway, I see blogging constantly as a way of exercising my patience, so I’ll keep doing it.

    Today’s highlight is cast on FeatPlug, which is

    “a WordPress plugin that can mine your blog’s content and generate ‘featured content’ section for your site using the suitable stories”.

    Anyone ever tried a magazine-style WordPress theme knows what the “featured content” is – a section that makes some of your posts distinguished from the rest and your blog to be more appealing. The only problem with this, is instead of getting everything done automatically, you have to add the custom fields manually. I’ve tried some scripts that will do the job, such as TimThumb, but still, there’re limitations (like, the path to the image must be relative).

    And for now, those problems are in the past, because we have this fantastic plugin FeatPlug (see the RiWiA homepage for a demo). To get the featured content section, just upload and activate the plugin, and put the function call in a proper place among your codes. It then searches the very posts for images and display them in the format you indicate. All you have to do, is to compose the posts as usual, and that’s it, nothing more. The jobs after that are taken care of by this amazing plugin. FeatPlug also brings along 3 completely different templates to show your featured posts: imagemenu, slideshow and banners. And there’s more, you can even create template of your own.

    The features FeatPlug provides include: image caching, template support, layered architecture, image enlarging, broken image checking and WordPress MU support. Check this page for more info about it.

  • Tiny Post URL

    TinyURL

    Image via Wikipedia

    Just found a WordPress Plugin for GO.6.CN written by fairyfish , which generates a shorter URL for every post using service provided by go.6.cn . I started to think that, hey, why not make a similar one using TinyURL? That must be fun. The problem was, I couldn’t find the API on TinyURL’s homepage. Google did help at that time. Surprisingly, TinyURL has a really simple API, which is too simple to describe. Scripting News gave the detail info here .

    Description

    Finally, here it is. A WordPress Plugin named "Tiny Post URL", which adds a TinyURL at the end of the post. Share it, enjoy it, have fun!

    DOWNLOAD

    Installation

    1. Unzip the tiny-post-url.zip file.
    2. Upload the the tiny-post-url.php file to your wp-content/plugins folder. If you’re using FTP, use binary mode.
    3. In your WordPress administration, go to the Plugins page and activate this plugin.
    4. That’s it! No configuration needed.

    Any suggestions or advice, feel free to contact me.

  • Zemanta – Blogging in a Brand New Way

    Preface

    Once I thought I could not write without Windows Live Writer, but I was wrong. I would not give up WLW just because I did not have the reason to. And now, here comes the very reason: zemanta. Since zemanta only works in a browser, I have to stop using WLW.

    What is zemanta?

    Zemanta is a browser-based extension which makes your blogging easy and creative. There are 2 types of it available: a Firefox extension or a WordPress (or other blogging platforms) plugin. Zemanta will help you blog in so many ways, including automatically searches for the related links, tags, pictures and articles according to what you’re writing currently. Using zemanta to blog

    • saves time – relevant content from around the web brought to you as you’re typing.
    • drives traffic – search engines love better tagged content. Plus, Zemanta links your posts to others across the web having related conversations.
    • works everywhere – you can use Zemanta on any popular blogging platform or browser

    screenshot

    For more info read the FAQ or watch the screencast.

    Pros and cons?

    We do everything based on some counting nowadays. Usually, the list becomes long and the decision is hard to make, but not for this one.

    • Pros: Everything you need is provided automatically. That’s amazing and convenient.
    • Cons: The number of pictures inserted to your post can only be 1 for the moment. And the position of the picture is fixed to top left or top right. If you ever want to insert a 2nd picture, you’ll have to copy the one present and paste it somewhere else. Then select another image.

    Where can I get it?

    Zemanta Pixie
  • Massive Updates of Firefox Plugins

    Firefox 3: Recorde Mundial no Guinness

    Image by leorolim via Flickr

    This is not an common scene we could see everyday. Maybe it’s not a big deal for you, but for me, it is. With only a few plugins installed in my Firefox, I’ve never seen that many plugins updated at the same time before. (“that many” means three. ^^)

    I know, I know, you all have already got the news that Firefox 3 is going to be available at 17th, June. I just can’t help feeling so excited about it, because I’m using Firefox 2 currently. I’ve tried a beta version of Firefox 3 re-encapsulated by PortableApps, and it works just fine. These are several features you should know about it. However, being a perfectionist, I prefer a more stable version for long term usage.

    By the way, Mozilla is holding an event for Firefox 3 named “Download Day“, the purpose of which is to set a Guinness World Record for the most downloaded software in 24 hours. If you’re a Firefox fan just like me, feel free to join us and spread it, then enjoy the web!

    Zemanta Pixie
  • Vista系统下为Firefox手动安装Flash插件

    当你在Vista系统下装好了Firefox,却发现似乎flash插件装不上……点击“安装缺失的插件”按钮、按照向导提示操作、重启Firefox,但是插件仍然没装上。烦死啦!

    多次重复上述步骤根本没用,其实你可以通过简单几步来手动安装插件。

    注:这个方法是通用的,可用于安装其它任何插件。

    在Vista系统下手动安装Flash插件

    首先你需要下载插件文件,可以右键点击以下链接然后“另存为”。

    http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-win.xpi

    下载完成后重命名文件的扩展名为zip:

    双击解压该文件,因为xpi文件实际上就是zip文件重命名后得到的。

    现在你需要从解压所得的文件中拷贝两个,到另外两个目录中的一个,选择哪个目录取决于你想为本机所有用户安装该插件,还是只为当前用户安装。

    需要拷贝的文件是这两个:

    • flashplayer.xpt
    • NPSWF32.dll

    为所有用户安装

    在到下面的路径中找到Firefox的插件安装目录:

    C:\Program Files\Mozilla Firefox\plugins

    注:如果你使用的是64位Vista系统,路径中会包含(x86)字样(如下图);若你使用的是便携版的Firefox,插件目录的具体路径会有所区别,但目录结构是一样的,所以你可以自行查找确定位置。

    粘贴上述两个文件至该目录下(其间会有UAC提示),然后重启Firefox即可。

    仅为当前用户安装

    如果你没有当前所用机器的管理权限,或者你只想为当前账号安装插件,那么找到下面的路径:

    %APPDATA%\Mozilla

    在Mozilla目录下创建名为“Plugins”的目录(如果该目录不存在):

    然后粘贴上述两个文件至Plugins目录并重启Firefox即可。

    验证安装效果

    你可以在地址栏输入about:plugins以查看插件是否被正确加载:

    当然,最简单的验证方法是查看之前无法正常观看的页面。 =)

    原作者:The Geek

    翻译:Ralph “RAL” Dunn

    原文链接:http://feeds.howtogeek.com/~r/HowToGeek/~3/297649543/

    HowToGeek.com版权所有并授权翻译,如需转载,请保留上述信息。

    Technorati Tags: ,,,,
  • 最新发布的WordPress插件(2008年6月5日)

    is_human()

    is_human()是WorPress中最简洁扩展性最强的身份验证系统,有3种验证类型可供用户选择,其脚本也可以在每次页面载入的时候调用。

    WP Comment Remix

    WP Comment Remix允许你回复和引用评论者的链接,同时也在后台提供了一个功能更强的评论编辑页面。

    WP-Help

    WP Help让你可以在WordPress后台创建一个简单的帮助或指引页面,以显示你所选择的特定信息。

    Image Upload HTTP Error Fix

    该插件可以修复WordPress(2.5以上版本)在文件上传中出现的HTTP错误。

    Photo Galleria

    Photo Galleria是一个为影友、设计者打造的简洁优雅的插件,它通过调用jQuery framework生成漂亮的照片展示相册。

    WP Movie Ratings

    WP Movie Ratings使电影评分变得简单,其核心是一个与imdb相连的书签,借助AJAX技术实现一键点击给电影打分的功能。

    Widgetized Admin Dashboard

    Widgetized Admin Dashboard是一个供2.5以上版本WordPress使用的插件,通过它你可以在“设计”-“Widgets”里编辑Wordpress Dashboard的内容。

    原作者:Keith Dsouza

    翻译:Ralph “RAL” Dunn

    原文链接:http://weblogtoolscollection.com/archives/2008/06/04/wordpress-plugin-releases-for-64/

    Technorati Tags: ,
  • 8个优秀的Firefox用twitter插件

    作者:Stan Schroeder

    翻译:Ralph “RAL” Dunn

    原文链接:http://mashable.com/2007/05/06/8-awesome-firefox-plugins-for-twitter/

    twitter的繁荣也不是一天两天了,现在几乎每天都有新的twitter工具出现,我们可以用“很好很强大”来形容它。twitter工具如果能集成在浏览器里的话,那就再好不过啦,于是我们自然而然想到了Firefox。下面给出了8个Firefox用twitter插件,如果你找到了更多,请告诉我们。

    1. Twitbin

    Twitbin能够用来收发twitter消息,位于侧边栏中。(它占用的是不少用户显示书签的位置,恐怕有些人不会喜欢这点)

    twitbin.com

    2. Tweetbar

    Tweetbar可以在Firefox和Flock下运行,与Twitbin类似,它也位于侧边栏。开启的快捷键是Ctrl + Shift + T(Windows)或Cmd + Shift + T(Mac),问题是这个快捷键与Firefox打开最近关闭页面的快捷键冲突。当然,你也可以通过“视图”—“侧边栏”—“Tweetbar”打开它。

    mikedemers.net/projects/tweetbar

    3. TwitterNotifier

    从名字上就可以看出来,TwitterNotifier会通知你twitter上友人的更新情况。这个插件并不在侧边栏,而是显示在Firefox右下角区域。它也可以用于撰写tweet消息。当你的朋友在twitter上有更新时,TwitterNotifier会弹出一个小窗口进行提示,点击这个窗口将新开一个页面到你朋友的twitter页。

    www.naan.net/trac/wiki/TwitterNotifier

    4. TwittyTunes

    如果你想让全世界都知道自己现在正在收听什么歌曲,那么TwittyTunes就是为你量身打造的插件了。它与另一个Firefox扩展FoxyTunes协同工作(不过FoxyTunes不是必须的,只是没有这个插件的话,TwittyTunes不会显示歌曲的详细信息),将你收听的歌曲post到twitter上。不仅如此,它还可以post你当前浏览的页面和正在收看的视频。(喜欢看XXX影片的同学们要小心使用 ^^)

    www.foxytunes.com/twittytunes/

    5. Ludicrous

    对于那些不喜欢侧边栏插件的同学们来说,Ludicrous是一个不错的解决方案。通过它你可以直接从搜索栏写消息发布到twitter。需要提醒的是,搜索时别忘了转换搜索引擎,不然就直接提交搜索关键词到twitter去了。(-__-!)

    lud.icro.us/post-twitter-updates-from-firefox/

    6. Another Firefox search bar plugin

    我们暂时无法确定这个插件是不是有名字,它的工作方式与Ludicrous相似,也是利用搜索栏发布tweet消息。

    http://6brand.com/twitter-plugin-for-firefox-quicksearch

    7. Twitterbar

    如果你比较喜欢Ludicrous,但是又经常错把搜索请求发送到twitter上,那么使用Twitterbar是个不错的选择。它们的工作方式基本相同,唯一的区别在于,Twitterbar使用地址栏而不是搜索栏。只要在地址栏写入消息然后点击右边的灰色小按钮,你就知道已经输入了多少个字,同时也可以选择发布该消息。

    spatialviews.com/twitterbar

    8. Power Twitter by 30 Boxes

    该插件由30 Boxes网站出品,从其命名上我们便可窥见端倪,它适合一些需要更强功能的用户。Power Twitter并非为Firefox增加什么功能,实际上,它是为你的twitter页面添加特性的。它可以在你的twitter页面嵌入Flickr图片和YouTube视频、显示tinyurl的真实地址、映射链接到web页面标题。除此之外,它还可以显示30 Boxes网站的用户信息,这给那些同时使用twitter和30 Boxes的用户带来了便利。

    Power Twitter by 30 Boxes

    Technorati 标签: ,,
  • Hello, World! Hello, WordPress!

    This is the real "Hello, World!" post of my blog, not that annoying one generated by WordPress automatically. But to tell the truth, I kinda like that post, cos it really helps me out when I tried to set up the whole site and get it run in a proper way.

    Long story short, there’re two major problems that I have to solve.

    (更多…)