It’s not you, it’s me

Sorry for the long delay in posts. I’ve been in the middle of searching for a new apartment and doing all the fun (read: time consuming) stuff that comes with getting a new apartment. I’ll leave it at that since I’d rather not get into anything too personal on a blog.

I have been doing some things in what little free time I had.
I’ve installed subversion and websvn on this server. So now if you’d like you can take a look at what I’m publicly showing on my svn server. The address is http://neaveru.com/websvn/
On that note, you’ll also notice on there I have a new pidgin plugin that I’m working on. It’s a mysql logger for pidgin (actually, for libpurple, so it would allow the not gtk based clients to use it as well). I borrowed some of the code from yonrad’s “Gaim MySQL Logging” plugin. The difference between the two plugins is that this plugin is compatibly with the logging capabilities of libpurple. So, now instead of having two options of ways to log “text” or “html” you have a third saying “MySQL”. It’s still in development of course. Feel free to take a look at the source using the svn server.

Very quick instructions:
Download both the .sql and the source. Import the sql to create the tables. (mysql -u YOUR_USER -d YOUR_DATABASE -p < THE_FILE.sql)
Copy the source file to the libpurple/plugins directory and run “make mysql_logger.so”
Copy that file to the plugin directory for libpurple (I used my home directory: ~/.purple/plugins)
Now when you run pidgin and enable the plugin, you can go to preferences > logging. You should have a mysql logger option. Select that go to tools > Mysql logger > Connect to database. Assuming all goes well, you should start seeing rows being inserted into your tables. You’ll be able to do the normal things like searching for logs by username (Buddies &gt Show User Logs) or viewing system logs (Tools > System Log)

I’ll hopefully have a better tutorial up here soon. I’m also hoping that the pidgin developers add a plugin page soon. I’m sure it’s not a priority for them and I can’t blame them for that.

This entry was posted on Tuesday, May 29th, 2007 at 7:23 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No Responses to “It’s not you, it’s me”

No comments yet

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>