Posts

Why you should always add Licensing Terms to any software you distribute

I recently got involved in a debate on the topic of Software Licensing, and I found it sad that there is so little understanding, amongst Developers, of such an important topic. Together with writing complete and accurate documentation, knowing how to license your Software is one of the skills that any Developer worth his salt must have. At the same time, Users must learn how to read licences, and get the habit of doing it, unless they like risking to violate them without even knowing. Read more

New Release – Steam ™ Sign In Plugin for Vanilla 2.0

Steam ™ Sign In Plugin for Vanilla 2.0 is now available for purchase. This simple plugin allows your Users to register and log on your forum using their Steam ™ profile. This plugin relies on the OpenID plugin which is shipped with Vanilla.

Important

The OpenID plugin shipped with Vanilla contains a bug which doesn’t allow Users to enter an Email address to associate with their forum account. A fix is being discussed on Vanilla Community, but it’s unofficial. Use it at your risk.

Birthday Discount!

From 16/11/2012 at 7.10 AM (GMT), you can avail of a 10% discount on the total of your shopping, by using coupon code HAPPYBDAY-1211. Discount is available for just 24 hours, and for the first 10 purchases. After all, birthday comes only once a year! 🙂

New Release – LoginGuard for Vanilla 2.0

LoginGuard for Vanilla 2.0 is finally available! Just in time for Samhain, the Celtic New Year.

LoginGuard puts an end to brute force attacks against your Community, by tracking repeated failures and temporarily banning Users who are subject of suck attacks. More information can be found on product page.

Discount!

To celebrate both the release and the Samhain, you can avail of 10% discount by using coupon code THEGUARD-1211.

 

New Release – Basic and Advanced Logger for Vanilla Forums 2.0

It took a while, but it’s finally ready. Basic Logger for Vanilla Forums 2.0 is available for download.

Based on the powerful Apache Log4php, it adds much needed logging capabilities to the already excellent Garden framework, allowing Developers and Administrators to keep track of activities with extreme ease. I strongly believe that, in this era of expected 24/7 website availability, having a log for every website is a must, as one cannot always be present to spot issues as soon as they arise.

Available Versions

Logger plugin comes in two versions, Basic and Advanced. The Basic version of the plugin and has a a few limitations, but it’s perfect to get started, before moving to the more powerful Advanced version. In the latter, I added several features that will help also non-developers to easily configure the plugin and manage their logs.

What makes the Advanced Logger very powerful is the ability of sending log messages to remote log servers, such as PaperTrail and Loggly. Being an Administrator myself, I can save hours of work by having all the logs in one place, rather than having to collect files via FTP and merge them, or parse and import them in a database.

If you are still unsure if this plugin can help you, just give it a try: Basic version is free!

Code != Clothing, or How to neatly structure your code

Having been worked with countless technologies , frameworks  and 3rd party libraries, I can say that I have seen almost every possible way of organising the code for a project. From the approach of putting every file in a single folder “just for now” (where “now” becomes “forever”, because moving things around is just too complicated), to the one of creating humongous, monolithic do-everything libraries (which I nicknamed “walls of code”), to have everything is in one place, to the theoretically more rational modular system, where files are organized in sub-folders.

The reason why I stress the word “theoretically” is that, while the idea is certainly good, it can still lead to a messy, hard to maintain mass of files. The key of everything, in this case, is finding what logic should be used to structure the code. It may seem a simple question to answer, but the way one answers to it can lead to nasty surprises. Read more

New Release – Cron Jobs Plugin for Vanilla Forums 2.0

Today is a big day, I finally released my first plugin for Vanilla Forums. It was about time, I started using Vanilla in February, and worked on several plugins for many weeks, but they were all “work in progress” and I never felt that they were ready for release. It’s so typical of Developers, looking for an unreachable “perfection”.

Two words about Vanilla Forums

If you don’t know it, you should try it. There are many forum frameworks available on the market, but, in my opinion, Vanilla is by far one of the easiest to use, and one of the fastest. It’s not as widespread as phpBB or vBulletin, but it’s powerful and well designed. Although its documentation is somewhat scarce, such issue is more than compensated by Vanilla Community. Even though I joined only a few months ago, I feel that I already became famous, considering the plethora of questions I asked. Still, not a single one had been left unanswered.

 The reason behind the plugin

Unfortunately, one of the features that Vanilla is lacking (as of version 2.0) is the possibility of running scheduled tasks. If you’re familiar with CMS like Drupal, you’ll know that they expose a special URL which, when opened, will go through all the Cron Tasks registered by plugins and executed them one by one. Although many Users won’t miss such feature, it becomes very important for bigger communities, where the need of regular maintenance tasks acquires a higher level of importance.

I, for one, needed exactly that feature for the first plugin I developed. In its simplest form, it will query forum’s live tables to create statistics, but it will become slow once enough data will be collected. Its Cron Task will, therefore, involve consolidating older data and produce snapshot summaries, to be queried instead for better performances.

More details

I won’t go into much technical detail in this post, as all the information on how to use the Cron plugin is on its download page, on Vanilla Addons website. If you use Vanilla, feel free to download it and give me your opinion. Should you like it and find it useful, feel free to buy me a coffee. 😉

Enjoy!