News : Memepress (Yahoo! Meme) WordPress Plugin Version 0.3 is available

Memepress is a wordpress plugin which provides wordpress widgets for displaying public posts from Yahoo! Meme. Memepress is SEO ready and provides options to noindex/nofollow your Meme posts. New version fixes a few bugs and provides enhanced style control for the widget.

You can download memepress version 0.3 from wordpress plugin page.

For details on usage/installation instructions, please check plugin homepage.

 

Memepress Ready to be Translated (Supports Turkish now)

Thanks for an awesome response to the Memepress (Yahoo! Meme) WordPress plugin. A lot of people have blogged about it and contacted me via email for enhancements. New version also fixes the bug regarding image size in posts. I have also updated the plugin to support internationalization(i18n). Now you can translate about 20 strings in your local language and you’ll have Memepress in your own language.

Turkish Translation

Huge thanks to Yalçın Erdemir for translating the plugin to Turkish :)

How To Translate

If you are interested in translating Memepress plugin in your language, then download the memepress.pot (POT file) and open it in your favourite text editor. Now for every string against msgid should be translated to your language and populated in quotes against msgstr. See the example below.

Before translation

#: memepress.php:37
msgid "Title"
msgstr ""

After translation

#: memepress.php:37
msgid "Title"
msgstr "_WHATEVER_TITLE_IS_WRITTEN_AS_IN_YOUR_LANGUAGE_"

Once you are done with translating all the strings, save the file and mail me at kulbirsaini25 [AT] gmail.com .

 

How To: New Mail Notification

mbooth commented on one of my last post (How To: GNOME GMail Notifier) informing that he/she uses mail-notification. I was curious to check it out for mail via IMAP and I found it way more useful as compared to Gnome Gmail Notifier. I especially like the option to configure it to check the mails every ten seconds. Thats way cool for anxious people like me :) Keeping in mind the huge advantages of mail-notification, I thought of writing an howto for configuring it :)

Install Mail Notification

Installing something can’t be simpler. Just use the following command as root

[root@fedora ~]$ yum install mail-notification

Configuring mail-notification is very simple. Its as easy as it can get but there are tricks for special cases like Gmail for  Google Apps hosted websites.

Launch Mail Notification

Mail notification loses a point here. It doesn’t show up in any of the menus. You have to launch it from command line. You can launch mail-notification from System -> Preferences -> Mail Notification (Thanks mbooth for correcting). Or use the following command as normal user to launch mail notification

[saini@fedora ~]$ mail-notification -p

Configure Status Icon Behaviour

On mail notification properties windows, select Status Icon tab and choose the appropriate behaviour.

Mail Notification Status Icon Action

New Message Popup Settings

Now go to Message Popups tab, and select appropriate options. If you don’t enable popups, using mail notification doesn’t really make sense (though none can prevent you from doing so :) ). Keeping popus stacked is good because it shows you all messages in case you get more than one new mails in an interval. Also, you can configure the expiration time for the popups.

Mail Notification Message Popups Settings

Add New Mailbox

Now select General tab and click of Add button. Mail-notification supports checking new mails from Evolution, Gmail, Yahoo! Mail, Windows Live Mail, any IMAP and POP3 Server and moreover your system mailbox :) Select Gmail for mailbox type. Enter username and password for Gmail account.

Mail Notification Supported Mailboxes

Mail Notification Add Gmail Account

Now move over to Details tab and set delay between checking mails. I keep it 10 seconds :)

Mail Notification Gmail Account Settings

Add a Google Apps Hosted Email Account

This is totally optional :) Now we’ll add a Google Apps hosted account. This is a bit tricky. For mailbox type, you’ll have to select Gmail. For username, you’ll have to provide your email address.

Mail Notification Add Google Apps Hosted Account

Also, the mailbox name has to be modified in this case to make things work. Move over to Details tab and change mailbox name to your email address.

Mail Notification Google Apps Hosted Account Settings

Add a new IMAP mailbox (Gmail)

This is totally optional :) Keep mailbox type as IMAP. IMAP Server has to be imap.gmail.com . Username and password are same as Gmail Account.

Note: For this mailbox to work, you’ll have to enable IMAP in settings tab in Gmail.

Mail Notification Gmail IMAP Account

Now move over to Connection tab. Connection for Gmail IMAP has to be SSL enabled. So, select “SSL/TLS on separate port” and make sure the port number is 993.

Mail Notification Gmail IMAP Account Connection Settings

Well thats all you need to do for configuring things for getting new mail notifications lightning fast :) Now sit back and relax until someone sends you a mail :)

The only major disadvantage that I found with mail-notification is that it doesn’t stay in notification area all the time. It appears only when there is a new mail.

 

News: Memepress (Yahoo! Meme) WordPress Plugin is out!

Yahoo! Meme is a new Twitter like service in testing by Yahoo!. But its much better than Twitter. It has got facility to post text, photos, video and music. The best thing about Meme is the user interface. I am just loving it. Such a clean interface :) I liked twitter’s web interface very much because it was not cluttered like facebook and others. But meme’s interface is much better than twitter’s interface.

As I felt hooked to it, I thought it’ll be a good idea to have wordpress widget to display latest posts from Yahoo! Meme. I took Twitter for WordPress plugin’s source code and started modifying it to work for Yahoo! Meme and in a few hours, I managed to get a full fledged plugin for Yahoo! Meme and a few extra features and minor bug fixes as well :)

I have named it Memepress. For more details and latest updates about the plugin, please visit plugin homepage on wordpress. The plugin is really easy to setup and doesn’t have any dependencies and doesn’t even need to authenticate with Yahoo! Meme.

Comments/Suggestions?

Note: Yahoo! Meme is still invite only. If you need an account, send me an email using this contact form.

 

How To: Configure Kopete Messenger

Kopete is one of the Instant Messengers available for linux and is an alternate for gaim for kde. Though the older versions were not good enough to use but the recent versions are just awesome with a good gui. Its very easy to use and it also goes to the system tray when you close it. You can logon on to yahoo, msn, google talk etc. in just one widnow, minimizing the memory usage bye the application. It asks to view or ignore whenever a new message comes from a user with you were not chatting already.

Installing/Upgrading

1. You have to get the latest kopete package from the sourceforge or kde official site.

Unzip the bz2 package with command…

[saini@localhost]# bunzip2 -d package.bz2

change directory to package and then issue these command

1
2
3
4
[saini@localhost]# ./configure
[saini@localhost]# make
[saini@localhost]# make check
[saini@localhost]# make install

These should not give any errors, make and make install normally takes 15-20 minutes on an average machine.

Now you are ready to use kopete if it gives any problem try to have a reboot because I faced some problem which rectified itself after a reboot.

2. Adding accounts

Now go to k-menu -> internet -> kopete and that it.

When kopete opens go to settings -$gt; configure…

Kopete Main

Kopete Accounts

Click new and select new

Kopete Choose IM Server

Select yahoo and add your account…

Kopete Yahoo Username Password
Go to account preferences and browse your photograph

Kopete Yahoo User Preferences
Just click next and finish and you are done with yahoo account.

Similar is for the MSN Messenger, No special settings.

If you want google talk also. Then you have to install some support for tls

Download the source package qca-tls-1.0.tar.bz2 from here.

If it gives no errors and got install without any errors. Then go to add account and select jabber in the add acount wizard menu and do as shown

Kopete Add Gmail User

and in connection tab do

Kopete Gmail Server Preferences

click next and finish and now you can connect to Google as well.

If you have further suggestion, please leave a comment.

 

How To: Yahoo Messenger on Teaching Lab Machines

Though the pcs in the labs are not having any support for applications except terminal or command line, Linux version of yahoo messenger can be opened there. This is a step by step procedure.

Step 1

Open two terminals and through one of them logon on to your mirage server account because that supports the Gaim(Linux version of yahoo messenger).

Step 2

Now I will call the terminal in which you are logged into mirage as remote machine and the terminal of the machine at which you are working as local machine.
At your local machine execute these commands.

1
2
[kulbir@localhost ~] xhost + [Enter]
access control disabled, clients can connect from any host

The messege displayed above should appear otherwise you may have problems.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[kulbir@localhost ~] /sbin/ifconfig [Enter]
eth0      Link encap:Ethernet  HWaddr 00:11:2F:57:C5:9D
inet addr:372.12.226.25  Bcast:122.12.226.123  Mask:212.223.345.138
UP BROADCAST RUNNING MULTICAST  MTU:1520  Metric:1
RX packets:136851 errors:0 dropped:0 overruns:0 frame:0
TX packets:82928 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:71106959 (67.8 Mb)  TX bytes:40997603 (39.0 Mb)
Interrupt:10
lo        Link encap:Local Loopback
inet addr:122.4.4.1  Mask:252.2.2.1
UP LOOPBACK RUNNING  MTU:11436  Metric:1
RX packets:46123 errors:0 dropped:0 overruns:0 frame:0
TX packets:46123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22001021 (20.9 Mb)  TX bytes:22001021 (20.9 Mb)

The address against inet_addr in 3rd line is the IP address of your local machine.

Step 3

Now switch to your remote machine terminal and issue the following commands…

[kulbir@server ~] export DISPLAY=[IP address]:0.0  [Enter]

e.g.

[kulbirsaini@server ~] export DISPLAY=222.26.36.5:0.0 [Enter]

If no error comes, means things are going fine.

[kulbir@server ~] xterm [Enter]

Now also if no error comes and a new teminal appears then you are ready to open the gaim.
Issue this command on the new appeared terminal

[kulbir@server ~] gaim [Enter]

yahoo messenger will appear and now you are ready to chat.
Add your account to the messenger and chat 😀