Archive for February, 2007

WordPress Plugins Tested

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

Admin Tools
Admin Drop Down Menus - Adds drop down menus for users of the SpotMilk plugin.
SpotMilk - Changes look of your Dashboard, adding new buttons, forms, menus, and sub-menus.
Update Manager - Checks for updates to your plugins.
WP-Cache - Creates a cache of your posts, helping your website to survive being Dugg.
WP-Contact Form - Helps you avoid E-mail spam by having users fill out a contact form to E-mail you.
WP-Database Backup - Backs up your blog.
WP-PHPMyAdmin - Gives you access to PHPMyAdmin from your Wordpress Admin console.
WP-Tiger-Admin-Panel - Adds a clean and simple layout to your Dashboard, making it easy to navigate.

Advertisements

Adsense-Deluxe - Helps integrate Google Adsense advertisements into your website (including into individual posts). Also supports Yahoo Publisher Network (YPN).
Adsense-Earnings - Displays your Google Adsense earnings in your Dashboard.
eMiniMall - Integrates Chitika’s eMiniMalls into your Wordpress blog.
Paypal Donate - Allows you to add a Paypal Donate button to your website.
Text Ad Links - Helps you add Text Link Ads to your blog’s sidebar.
WP-Cafepress - Allows you to sell your blog’s merchandise on your blog and earn affiliate commissions.

Archiving
Extended Live Archive - Implements dynamic archiving.

Comments
Brian’s Latest Comments - Shows the latest comments on your website.
CoComment Enhancer - Gives comments the option of tracking the comments for that post using CoComment.
Comment Live Preview - Shows a preview of the comment as it is typed.
Comvatars - Shows avatar images assigned to the commenter next to the comment (Requires Gravatar and Favatar Plugins).
Edit Comments - Allows commenter to edit their comment for a set amount of time after this post.
Favatars - Shows the favicon associated with the commenter’s website.
Gravatar - The official Gravatar plugin by Tom Werner, the greater of Gravatars. It allows users to see their Globally Recognized Avatar next to their comments on your website.
Rate Comments - Allows users to rate each post’s comments.
Subscribe to Comments - Adds a box commenter’s can click to be notified via E-mail of follow up comments.
Subscribe to Comments Stat Reporting - Gives you stats and reporting on who is subscribing to which posts, etc.

Feedvertising
Text Link Ads - Adds Text Link Ads to your Feed.

Images
Batch Image Uploader - Allows you to upload multiple images at once.
ImageManager - Popular Photo and Image Editor plugin. Allows you to upload and edit (crop, rotate, scale, flip, and create thumbnails).
PhotoPress - Adds a pop-up uploader to your Write Post page of your Dashboard.

Miscellaneous
Google PageRank - Displays your Google PageRank.
Skype Online Status - Shows your Skype Online Status.
WP-Polls - Allows you to easily add a Poll to your website.
WP-UserOnline - Shows your online status (supports Skype, Yahoo! Instant Messenger, Windows Live Messenger, etc.)

Post Meta Data
Post Updated - Automatically updates to show the last time the post was updated.
Relative Date - Shows the amount of time that has lapsed since the post was made.

Related Posts
Add Related Posts to Your Feed - Adds Related Posts to your feed (requires Ultimate Tag Warrior or Related Posts plugin).
In Series - Allows you to link posts together into a series of posts.
Related Posts - Shows designated number of related entries below your post.
Related Posts Link - Allows you to manually select related posts once the post has been completed.

SEO
Add Meta Tags - Adds meta keywords to your blog, helping with Search Engine Optimization.
Google Sitemaps - Generates an XML-Sitemap file of your website that Google, Yahoo!, and MSN use.
Head Meta Description - Adds keywords to your posts, pages, categories, and archives to improve Search Engine Optimization.
Gamer’s Pack - Makes your website viewable on the Nintendo Wii, Nintendo DS, and Sony PSP gaming systems.

Social Bookmarking
WP-Notable - Adds social bookmarking icons below each of your posts.
WP-Sociable - Adds social bookmarking icons below each of your posts.

Spam
Akismet - Comes default with current Wordpress installations. Will catch most all spam before it hits your website.
Bad Behavior - Prevents known spam bots from accessing your website. ***Works with Akismet***
Spam Karma 2 - Sends all comments through various filters before they appear on your blog. This is a popular plugin for people that aren’t getting good enough results with Akismet.

Statistics/Metrics/Feeds
Angsuman’s Feed Copyrighter - Adds a copyright message to your feed to help stop people from stealing your content.
Feedburner Standard Stats - Installs the Feed Flare script on your Wordpress blog (which is required for their stat tracking service).
Feedburner Feed Replacement - Forwards all feed entry clicks to your Feedburner feed.
Live Wordpress - Allows you to watch visitors come and leave your blog as they visit your website.
Popularity Contest - Calculates the most popular posts on your website using values you provide for page views, comments, trackbacks, etc.
Subscription Icons - Adds subscription icons to your blog’s sidebar for My Google, My Yahoo, Bloglines, etc.
Top Posts by Category - Shows top posts by category, comments, etc. (Similar to Popularity Contest)
Ultimate Google Analytics - Allows you to add Google Analytics to your blog without dealing with the source code.
WP-SlimStat-EX - Amazing Stat tracking service built into your Wordpress dashboard that uses AJAX, filters, and more.

Tags
Bunny’s Technorati Tags - Allows you to add Technorati Tags to your post.
Ultimate Tagging Warrior - Popular plugin to do a variety of different tagging styles. (Ultimate Tagging Warrior Guide)

Popularity: 2%

Comments

Adding a New SCSI or IDE Hard Disk to Your Linux Box (Redhat, CentOS)

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

1, Find out if your new hard disk is IDE or SCSI drive. Use the following table for naming convention. For example, if you are adding second SCSI drive, use sdb for your hard disk. This guide uses SCSI as example.

IDE SCSI
Primary Slave Primary Slave
hda hdb sda sdb

2, Verify your system is using SCSI hard disk

[root@innovitainc ~]# df -h

Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 32G 26G 4.1G 87% /
/dev/sda1 99M 33M 62M 35% /boot
none 1.5G 0 1.5G 0% /dev/shm

3, Create Partitions

[root@innovitainc ~]# fdisk /dev/sdb

Command (m for help):
m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition’s system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help):
p Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System
Command (m for help):
n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-8924, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-8924, default 8924):
Using default value 8924
Command (m for help): p Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System
/dev/sdb1 1 8924 71681998+ 83 Linux Command (m for help): w
The partition table has been altered! Calling ioctl() to re-read partition table.
Syncing disks.

4. Format hard disk

[root@innovitainc ~]# mkfs -t ext3 /dev/sdb1

mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
8962048 inodes, 17920499 blocks
896024 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=20971520
547 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

5. Make a directory for mounting the new partition

[root@innovitainc ~]# mkdir /disk2

6, Use vi to edit the /etc/fstab file.

[root@innovitainc ~]# vi /etc/fstab

# This file is edited by fstab-sync - see ‘man fstab-sync’ for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/sdb1 /disk2 ext3 defaults 1 2

add the following line to /etc/fstab

/dev/sdb1 /disk2 ext3 defaults 1 2

the file should be like this:

# This file is edited
by fstab-sync - see ‘man fstab-sync’ for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0

save and exit vi.

7, Mount the partition.

[root@innovitainc ~]# mount /dev/sdb1

or mount -t ext3 /dev/sdb1 /disk2

8, Verify the new drive is mounted

[root@innovitainc ~]# df -k

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 32801652 26871124 4264276 87% /
/dev/sda1 101086 32856 63011 35% /boot
none 1557528 0 1557528 0% /dev/shm
/dev/sdb1 70557052 86080 66886876 1% /disk2

[root@innovitainc ~]# mount

/dev/mapper/VolGroup00-LogVol00
on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /disk2 type ext3 (rw)

[root@innovitainc ~]# fdisk -l

Disk /dev/sda:
36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 4427 35455455 8e Linux LVM

Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 8924 71681998+ 83 Linux

Popularity: 2%

Comments

PHP function to display current year

No GoodNeed ImprovementOKGoodExcellent (4 votes, average: 5 out of 5)
Loading ... Loading ...

If your web site has copyright footer and you want it to display current year, you can use PHP date function to make year current. For example, the follow lines of code will display owner’s copyright notice from 2002 to current year (2007):

<STYLE TYPE="text/css" MEDIA=screen>
<!–
.Footnote
{
font-family: Arial, Helvetica, Sans-Serif;
font-size: 11px;
color: #999999;
}
–>
</STYLE>
<p align=center><font class=”Footnote”>© 2002-<?php echo date(’Y'); ?> Web Designed by
<a href=”http://www.innovitainc.com“>
<img src=”/images/InnoVitalogo1.jpg” valign=”TOP” border=”0″ height=”14″ width=”18″><b>
<i><font color=”red”>Inno</font><font color=”green”>Vita</font></i><font color=”blue”>
Inc.</font></b>.</a> All rights reserved.</font></p>

Popularity: 6%

Comments (1)

Next »