Hacks, now in Plugin mode!

W00t! 

I had missed that I am listed as one of the Unofficial Five (six by some counts) Kingdoms of Hackdom on the wordpress site!  Thanks so much to Cena over at WP for the linkage, I must write more plugins!

The newest nightlies of the Wordpress Blogging System have depricated the my-hacks.php file in favor of a more user-friendly plugin system.

The new system is wonderfully implemented, for both plugin writers and users.  A plugin is really nothing more than a well formed php page that contains your custom functions; the end user then simply drops this php file in a directory labeled, get this: plugins, that resides inside the wp-content directory.  I am not sure about the wisdom of not having the plugins directory at root level, it isn’t for security since you can easily navigate to the folder.  But that is beside the point, since the system is in flux currently.

There is no longer an all-in-one download for these plugins. You can now find them all listed singly at hacks.chrisjdavis.org.

Within the archive you will find:

  1. AuthorList(); (use <?php author_list(); ?> to call this function once you have the plugin installed and enabled.)
  2. AuthorRSS(); (use <?php author_rss(); ?> to call this function once you have the plugin installed and enabled.)
  3. MyTunes(); (use <?php my_tunes(); ?> to call this function once you have the plugin installed and enabled.)
  4. RecentComments(); (use <?php last_comments(); ?> to call this function once you have the plugin installed and enabled.)

I left out my CreativeCommons(); hack for now. There is a little more involved with it, and I am trying to decide a good way to handle the need for an admin screen with it.  That is it for now, so if you are like me and enjoy living dangerously and already have a build of WP that uses plugins, then please by all means DL away and go for it.

  1. personal avatar wife
    Stroll on over and visit wife
    March 1, 2007

    hi Chris! i currently use your live preview hack and it works flawlessly! i am testing out your recent comments but i was wondering if you could include the body of the content as well. thanks in advance.

  2. personal avatar Benoit
    Stroll on over and visit Benoit
    March 1, 2007

    Okies, I’m working on switching from MT to WP and some of your plugins look quite interesting. Sadly, both download links give me a 404. Also, just in case it matters, the YourComment box appears out of whack under Mozilla Firefox. It expands to the middle of the column on the right of the post section.

  3. personal avatar Chris J. Davis
    Stroll on over and visit Chris J. Davis
    March 1, 2007

    Yeah sorry bout that, I have changed the way I handle the plugins, doing away with the archives of each, but neglected to update this article. Thanks for the heads up.

    As for teh comment box, I updated to a newer version of WP and this is the default width for thier comment boxes and I have not had time to change it.

  4. personal avatar thomas
    Stroll on over and visit thomas
    March 1, 2007

    Hi Chris,

    I also tried to DL the plug-in (specifically I’d like to get the Kung-Tunes plug-in up and running…) and got the File not Found message. Is it still possible to DL the plug-in, and if so is there a read-me file that might guide me thru the process? I’m a new Wordpress user (have some experience using/tweaking MT) but any help would be appreciated! : )

    thanks, and really like the site!

    thomas

  5. personal avatar Sphagnum
    Stroll on over and visit Sphagnum
    March 1, 2007

    I know this post is a year old, so I wasn’t suprised that the sub domain hack is no longer in exsistence. I was wondering, Chris, if you still have a plugin available on your site that makes available RSS feeds broken down by user?

  6. personal avatar mg
    Stroll on over and visit mg
    March 1, 2007

    Wondering the same thing as Sphagnum….

Leave a Reply