Want to get notified on NotifyMe2 updates?

January 23rd, 2009

phplist-logoI’ve installed phplist on a subdomain for those who want to be notified when NotifyMe2 is released.

Click here to subscribe.

I will probably convert subscribers to NotifyMe2 once it has reached a decent stage but I can’t promise anything..

Upcoming: NotifyMe2

January 1st, 2009

notifyme2If you’ve previously used my NotifyMe plugin, you’ll probably be excited to hear that I’ve finally started development on NotifyMe2, even though the initial NotifyMe plugin never reached a final version. The reason that I’m going straight to version 2 is that I am starting from scratch again, seeing as I’ve gained a lot more experience since initially starting NotifyMe, I want to apply that experience as best I can.

Following are my ideas about the project, what exactly I want to achieve by making yet another mailing list plugin for Wordpress.. and while I’m at that subject I would like to point out that I was originally not planning to develop NotifyMe any further, since there are loads of alternatives.. but I’ve gotten a lot of e-mails from people who loved the simplicity of the plugin and would prefer not to reach out to alternatives.

Therefore, my goals on this project are;

  • To yet again, create a very simplistic (yet advanced, but not bloated) mailing list plugin
  • To have it integrate with Wordpress as best I can
    • By this I mean I want it to match the wordpress style in every aspect.
    • I have removed any Naatan.com abbreviations, this would break the integration from my point of view.
  • Initially I want to release a basic plugin that does exactly what it needs to do and nothing more, from there I will continue to extend it, though as I said, I do not want it to become bloated.
  • To develop a better way to notify users of new blog items, a way that would not break other plugin hooks and filters.
    • Cron job support for these type of notifications

Those are basically the goals I have at the moment, once I’ve reached them I will continue to add functionality to the plugin, I currently have some ideas about adding category/tag specific notifications for mailing lists, but I consider this an extra functionality which will not be required in the initial release.

Well that’s about it, I hope the people that have been e-mailing me asking for a new version have not given up hoping, if it wasn’t for them, I wouldn’t be doing this :)

Crisp Fonts on Linux

December 18th, 2008

fontsWell I just installed Linux Mint tonight as I really liked where the Project was going, it’s basically Ubuntu with some extra’s for the real Linux geeks.

The only problem with any (or most) new Linux installations is that the fonts are blurry and spacing is just off.. So I did some googling and found this thread on the Ubuntu forums, if you follow the 2 simple steps given you’re fonts will look a lot better..

Create a file called .fonts.conf in your home directory (vim ~/.fonts.conf) and paste in the following contents

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
</fontconfig>

After that relog.

Apperantly the reason this isn’t done by default is because Apple has some patents on the techniques used to make this happen.. don’t you just hate patents..

Note that I’ve only tried it on Linux Mint 6 (based on Ubuntu 8.10), but I reckon it should work for most distro’s.. gonna try it tomorrow on Centos 4.7 at work.

cPanel - How to put all Domains in the same Folder

December 11th, 2008

cpanelIf you’ve ever used cPanel you probably know that each account is tied to a default domain for that account.. you can add more domains to each account but these will be seen as additional domains..
This idealogy has always annoyed me.. because it also means that your default domain is bound to the public_html folder and all other domains can have either that folder or any sub folder as it’s homedir.. but I want all my domains in the same folder, not one “default” domain as the main folder and put all other domains in a subfolder of that domain.. where’s the logic in that?

So I used htaccess to have mod_rewrite redirect the main domain to the “domains” folder… which is the same folder all my other domains use, this way I can have things the way I like.

Here’s the code that you put right inside your public_html folder;

<IfModule mod_rewrite.c>
RewriteEngine On
ReWriteCond %{HTTP_HOST} naatan.com
ReWriteCond %{DOCUMENT_ROOT} !domains/
ReWriteCond %{DOCUMENT_ROOT} !subdomains/
ReWriteRule ^(.*)$ domains/naatan.com/$1 [L]
</IfModule>

Of course you’re gonna want to replace naatan.com with your domain..

Read the rest of this entry »

SyntaxHighlighting in Wordpress

November 20th, 2008

Syntaxhighlighter PluginOne of the first plugins I installed on my new blog is the SyntaxHighlighter plugin by matt, Viper007Bond and mdawaffe, from what I understand each of these guys kind of perfected the other persons version.

Anyway, the plugin is great, it basically just incorporates the Syntaxhighlighter script by Alex Gorbatchev into Wordpress. There’s just one problem though, it does not support indentation, as the TinyMCE configuration in Wordpress doesn’t convert spaces to &nbsp;’s. Also tags like <?php were in my case converted to &lt;?php, which is quite annoying.

Long story short, I’ve done some playing around with the code and it turns out that just by removing the TinyMCE encoding / decoding functions and adding a small function to convert spaces to &nbsp;’s this plugin works great!


<?php
    echo 'Proof! Look.. I can use &nbsp; as plain text as well.. ';
?>

Attached to this post is the modified syntaxhighlighter.php file, just install the SyntaxHighlighter plugin and replace the syntaxhighlighter.php with the one posted underneath.

Download: syntaxhighlighter.php (191) - 3.88 KB

I’d like to give some quick kudo’s to Steve Smith from The Wordpress Magazine for sharing his SyntaxHighlighter modifications with me, without them it would have taken me much longer to figure this one out.

New Plugin: Comment Move

November 19th, 2008

movecommentAnother plugin born out of necessity, Comment Move will allow you to move a comment between posts/pages or even attachments.

And that’s about it.. it’s another no-fuzz plugin.. does what it needs to do and nothing more.

On another subject there is a new update for Twitter Status that fixed incompatibility with themes that don’t have jquery enabled by default.
Make sure you read the readme.txt as installation instructions have slightly changed.

Twitter Status 1.0.1 Fix

November 17th, 2008

tools-report-bugMy apologies to those who installed Twitter Status and didn’t get it working, unfrotunately I did all my testing in Wordpress 2.7 and didn’t notice it was incompatible with 2.6.

You can get the latest version from the plugin page or Wordpress.org..

Hope this version works properly for everyone.

New Wordpress Plugin: Post Filters

November 16th, 2008

Post Filters ScreenshotMy second plugin released in one day :ohhyeahh:, it’s a small one though.. called Post Filters.

I am still working on some more plugins, this one I created out of necessity, I wanted to have my plugin pages skip the frontpage and stick to their relative category.
So why not use a page? Well the links in my navigation bar are generated by the categories I post in.. and pages don’t have categories.. so there.

Anyway, what this plugin does:

Gives you the ability to have posts skip the frontpage and to stick a post to the top of all it’s relative categories.

Hopefully some more people can find a good use for this ;)

New Wordpress Plugin: Twitter Status

November 16th, 2008

ScreenshotTwitter Status is a very simple no-fuzz plugin that gets the current Twitter message from the Twitter ID specified, when someone visits your website there will be an ajax script running in the background doing a GET request every 30 seconds.
This request will trigger the Plugin to get all Author profiles with a twitter ID, and update their Twitter status, given that they haven’t been updated in at least 30 minutes and with a limit of 5 twitter profiles per request.

You can change these settings by editing the plugin file (before activating it).. the settings are easily accessible, no knowledge of PHP required.. I will incorporate a configuration page in future versions, for now I wanted to make an initial release that’s down to the complete basics.

I am also working on a couple more usefull plugins which should be coming along soon..

  • Post Filters
    Gives you the ability to have posts .. 

    • Skip the Frontpage
    • Act as a sticky on Category pages (and -only- on Category pages)
  • Raw Posts
    Will process posts EXACTLY the way you edit them in the wysiwyg editor, it bypasses the wordpress filters completely.
    This will quite definitely create conflict with plugins that rely on Wordpress’ filtering.
  • Raw Syntaxhighlighter
    Source code highlighter that works with the Raw Posts plugin

I’m also working on a PDO wrapper to make it’s functionality more accessible, though this is of course not related to Wordpress in any way.

Mounting SSH / FTP for Easy Access

November 15th, 2008

folder-remoteHaving discovered the “remote files” feature in Komodo Edit I went on a search for methods to access remote projects through Komodo (as oppose to just one or two files).

Using Ubuntu I came to the solution of using SSHFS, it took me a while to find a good tutorial on how to auto-mount using this protocol, but in the end I found a blog by Colin M from The Spark Between  on how to auto-mount sshfs on Ubuntu..

Since my wife uses Windows and I don’t feel comfortable giving her SSH access I searched a bit further and found that there is a build-in feature in Windows that will let you mount an FTP server as a network share.

Hope this info can help other people looking for similair solutions :)