Đăng ngày 5 Tháng tư, 2009 trong mục WP Plugins | 15,368 lượt xem

Vừa rồi tôi có hướng dẫn bạn cách tùy biến Smilies trong WordPress mà không cần dùng đến plugin bằng cách sửa file wp-config.php. Tuy có hơi thủ công một chút nhưng theo tôi cách đó là đơn giản và nhanh chóng nhất, khỏi phải cài plugin - cái mà tôi hạn chế càng ít càng tốt (không biết bạn thế nào :D )

Tuy nhiên, nếu bạn ngại việc sửa file cấu hình hoặc không thích đụng tới code, bạn vẫn có thể dùng plugin cho tiện. Nói về plugin cho vụ này thì có rất nhiều, bạn chỉ việc lựa chọn plugin thích hợp rồi cài vào sử dụng là xong. Tôi có liệt kê sẵn bên dưới một số cái mà tôi biết để giúp bạn đỡ mất thời gian tìm kiếm.

1. Đầu tiên phải kể đến là WP Grins của Alexking. Đây là một plugin khá đơn giản mà Alexking gọi là "A Clickable Smilies hack for WordPress", bằng cách dùng Prototype, nó sẽ tự động thêm một thẻ div (có id là wp_grins) chứa các smilies vào 2 nơi: trước ô nhập nội dung comment trên theme và dưới phần soạn thảo bài viết trong wp-admin. Các smilies được lấy từ biến $wpsmiliestrans nên bạn có thể dùng plugin này kết hợp với cách sửa file wp-config.php mà tôi đã hướng dẫn (xem ở đây)

2. WordPress Yahoo/MSN Messenger Style Smileys - Một plugin của Priyadi (người Indonesia) được khá nhiều người sử dụng, chức năng của nó là thay thế các smilies mặc định của WordPress bằng smilies của Yahoo! Messenger hoặc MSN Messenger.

priyadi-smilies

Priyadi không dùng biến $wpsmiliestrans mà tự định nghĩa thêm 2 biến khác là $yahoosmiliestrans$msnsmiliestrans lần lượt chứa tất cả smilies của Yahoo! và MSN Messenger. Để hiện smilies, bạn chèn <?php smilies_clickable(); ?> vào chỗ bạn thích trong file comments.php, plugin sẽ không hiện tất cả smilies mà chỉ hiện các smilies phổ biến, bạn có thể tùy biến chúng trong 2 biến $smilies_yahoo_always_shown và $smilies_msn_always_shown.

Lưu ý: khi sử dụng plugin này, bạn phải tắt tùy chọn Convert emoticons like :-) and :-P to graphics on display nằm trong "Settings > Writing" để WordPress không dùng các smilies mặc định nữa.

3. Smilies Themer - plugin này không giống như 2 plugin trên, nó không hiện các smilies ra bên ngoài mà chỉ thay đổi hệ thống smilies theo ý riêng của bạn. Nói một cách dễ hiểu là thay vì bạn sửa file wp-config.php bằng tay thì bạn có thể dùng plugin này để thay thế, nó cung cấp khá nhiều bộ smilies cho bạn lựa chọn, sau khi chọn xong, WordPress sẽ chỉ hiện các smilies đó mà thôi. Tôi nghĩ nếu các phiên bản kế tiếp của WordPress mà có tính năng này thì quá tuyệt! :D

4. Smilies Themer Toolbar - đây là plugin dạng "cơm thêm" cho Smilies Themer. Bạn chọn bộ smiles nào trong Smilies Themer thì plugin này sẽ hiện các smilies đó ở bên dưới ô nhập comment hoặc bạn muốn hiện ở chỗ khác thì dùng đoạn code này:

<?php if (function_exists('sm_toolbar_show')) sm_toolbar_show(); ?>

Lưu ý: plugin này chỉ chạy chung với Smilies Themer, nếu Smilies Themer chưa được cài thì plugin này không có tác dụng.
smilies-themer
5. Smiley JS Buttons - đúng như tên gọi của nó, plugin này dùng Javascript để tạo ra các smilies, nó tương tự như plugin WP Grins của Alexking nhưng đơn giản hơn một chút là nó không dùng Prototype và cũng không tự động hiện smilies ở comment form mà bạn phải chèn thêm code sau:

<?php if (function_exists('SJB_outputSmilies')) SJB_outputSmilies(); ?>

smiley_js_buttons

Đón xem tiếp phần 2....

Đăng ngày 28 Tháng ba, 2009 trong mục WP Tutorial | 23,683 lượt xem

Có một điều mà tôi tin chắc rằng hầu như bất cứ ai dùng Internet hiện nay cũng đều sử dụng qua Smilies (Emoticons) để diễn tả cảm xúc của mình, nhất là khi họ tán gẫu (chat chit) hay thảo luận trên các diễn đàn.

Ngoài nhiệm vụ thể hiện cảm xúc, smilies còn làm tăng thêm tính sinh động, hài hước cho ý kiến của bạn, bởi thế nên smilies ngày càng phổ biến, bạn vào 10 blog thì hết 8 blog có sử dụng smilies, trong đó có blog của tôi. :D

Quay lại với WordPress của chúng ta, tuy được xếp hạng ở top đầu trong số các blog platform hiện nay nhưng WordPress lại có hệ thống smilies khá ít (khoảng 22 icon) và không cho phép người dùng mở rộng thêm. Nếu đem so sánh thì bạn sẽ thấy smilies của WordPress không sinh động và đẹp mắt bằng smilies của các ứng dụng chat (IM), trong khi người dùng thì lại rất hay sử dụng smilies của IM nên có thể nói đây là một yếu điểm của WordPress vì đã không cho phép người dùng tùy biến smilies.

Nhưng không sao, vẫn có cách các bạn ạ. Sau một thời gian nghiên cứu về cách hiển thị smilies trong WordPress, tôi đã tìm ra cách khắc phục nhược điểm trên, nói đúng hơn là cách tùy biến smilies theo ý riêng mà không cần dùng đến plugin \:D/ .

Cách làm rất đơn giản, đảm bảo bạn chỉ mất khoảng 15' là xong ngay. Còn bây giờ mời bạn sang trang 2 để cùng tôi tìm hiểu tiếp nhé! :)

Trang: 1 2 3

Đăng ngày 3 Tháng mười hai, 2008 trong mục Web Design | 8,136 lượt xem

Smashing Magazine has released a free RSS feed icon set, which was designed by Dirceu Veiga from FastIcon.

The set contains 8 icons that can be used for private and commercial projects for free. According to the license agreement, the designer requires an backlink to http://www.fasticon.com so don't forget to put his copyright link on your site if you use this set.

The Icons are available for both Mac and Windows. The PNG files can be downloaded as well, which come in various resolutions (16×16px, 24×24px, 32×32px, 48×48px, 128×128px, 256×256px and 512×512px).

Download: ICO | PNG | MacOS

Đăng ngày 2 Tháng mười hai, 2008 trong mục WP Plugins | 12,662 lượt xem

Normally, if you want to moderate your blog comments, most of us usually login to WordPress Admin to check for any new comments awaiting to be moderated. Now you don't have to do that because there is a plugin can help you to view and moderate your blog comments directly from your desktop.

That plugin is Moderator - written by Daniel Dura. It's not only a WP plugin but also an application that notifies whenever there is a new comment submitted on your blog, something similar to Yahoo Messenger or Gtalk.

Plugin Features:

  • Viewing unmoderated comments.
  • Dock and system tray notifications of the number of unmoderated comments.
  • Accept, delete, and spam comments from within the desktop client.
  • Close application window, or minimize it to the system tray while running.
  • Shows the Gravatar icons for the user who posted the comment.

Requirements

Moderator currently requires version 2.6+ of WordPress be installed. Also, you will need Adobe AIR 1.1, which runs on Mac, Windows, and is currently in beta on Linux.

Installation

  1. Download the current plugin bundle from here. (moderator_plugin.zip | 72KB)
  2. Unzip the contents of the archive and place them in your WordPress install directory under {wordpress install}/wp-content/plugins. You should now have a directory called ‘moderator’ in the plugins folder.
  3. Login to your administration panel, and go to the Plugins page. Activate the Moderator plugin by clicking on the ‘Activate’ link in the entry for this plugin.
  4. Now that the plugin is activated, go to the Settings tab and select the Moderator admin page. Follow the instructions on that page to install the desktop client.

I think this is a very useful plugin that you can start using to make your comment moderation easily!

Đăng ngày trong mục WP News | 7,752 lượt xem

Yesterday, WordPress 2.7 Release Candidate 1 (RC 1) has just been released by WordPress.org. This version comes with new interface and new icon set. Bellow is the quote from WordPress.org Blog:

With the release of RC1, we’re in the final leg of development before the release of 2.7.  280 commits since beta 3 have polished the new admin UI (including new menu icons created by the winners of our icon design contest) and fixed all known blocker bugs.

We think RC1 is ready for everyone to try out.  Please download RC1 and help us make the final release the best it can be.  As always, back up your blog before upgrading.

Screenshot of WordPress 2.7 RC1 with new icon set. It's so cool!

I recommend you to update to this version now. But before updating, don't forget to backup your blog database first!

Download WordPress 2.7 RC 1.

Đăng ngày 3 Tháng chín, 2008 trong mục UIQ 3.0 Software | 10,564 lượt xem

lb_anim_150_haLinkBoy provides up to 45 shortcuts to frequently used tasks, that can be optionally displayed on the standby screen. It seems like GDesk has just gotten some competition. :)

Similarly to GDesk, whats great is that the positions of the shortcuts and icons can be changed (the fact that UIQ 3.0 doesn't allow for it in the main menu still boggles me). The Captions under each icon can be changed as well. The standby settings are left intact on the screen, and makes it slightly more convenient than GDesk.

NEW in version 1.52:

  • List of upcoming events displayed when executing the Event active item.
  • Full text display of Note active items.
  • New Active item type: Time and date.
  • Support for passing application parameter from shortcuts.
  • Selectable right softkey action for P990 in flip-closed mode.
  • Improved behavior with the Standby application's Today menu.
  • Numerous additional improvements and bugfixes.

It also has a menu to set transparency for the various shortcuts - something the iPhone users might be in awe about.

The software does not come for free, as opposed to GDesk. Costing at $14.95, it seems to be a high price to pay for to obtain a "stable version of GDesk". You can go here for the details.