Monthly Archive for January, 2009

Never argue

I came across with this quote today and instantly thought of coppermine forums.

Never argue with an idiot. They pull you down to their level, then beat you with experience.

There is no dearth of such morons on coppermine forums.

Recently I have seen many users criticizing support team of being rude and un-friendly. They claim that we should answer their each and every question (which we do unless the question has already been asked many times) as they are using our product. What they don’t understand is that coppermine is not a commercial product but a FREE open source application which comes with no warranty for support. Despite of this we try to help as much as possible and reply to more than 95% of threads.

Threads started by such morons lead to flames and arguments and they generally beat us with their experience.

All new upload interface

Continuing the series to highlight the new exciting features of cpg15x, today lets take a look at all new upload interface. The new interface uses the popular open source tool SwfUpload which uses flash to upload files. The great thing about this tool is that it shows file upload progress bar. Whats better than a demo itself, so here you go…

Get the Flash Player to see the wordTube Media Player.

As you can see multiple files can be selected and uploaded in one single go. After uploading the user is taken to editpics page where s/he can enter the file details like title, description and keywords. The only gotcha with this new interface is that it requires flash and javascript but in todays time if your browser don’t have those two things then you are still living in 20th century ;).

Happy New Year 2009

Well i am late on this but nevertheless – Coppermine Dev Team wishes all users of cpg a very Happy New Year 2009. We look forward to having a rocking time in 2009.

This new year will also bring the new coppermine release i.e. cpg1.5.x (lets keep our fingers crossed). We are working hard to make this possible. However no release date has been set so please don’t ask about the date in comments. You all have kept enough patience and as the saying goes “Patience is the virtue of wise men” fits quite well here.

Fasten your seat belts and get ready for a rocking year ahead.

Creating plugins was never this easy

While I have been working on CPG 1.5, I recently started recoding some plugins and writing new ones. One of the major things that have been coded is the addition of quite a lot of plugin hooks. While sometimes it is easier to create a mod (modifying the core code) then a plugin (no changes needed in the core), it does pay to create the plugin. It is easier to maintain and certainly easier to support. Plugins are portable when doing an upgrade, while modifications have to be applied everytime.

It is possible to convert every mod to a plugin in the 1.4 series, but it certainly was not always efficient. You could/can use the ‘page_html’ filter to change every aspect of Coppermine if you want to, but it would be quite resource intensive. Now with the additional hooks I was able to create a plugin to add an alternate CAPTCHA then the default one built in. I was also able to convert my lightbox mod to a plugin with the addition of an administration menu, no need to edit the files anymore!

It would be nice to see people convert their mods to plugins as it is more likely they will work on future versions of the 1.5 branch and possibly even after that.
I think over 90% of the mods currently available are convertable without to much hassle. It does take some time to get used to the plugin API, but there are enough plugins available to peek at their code and see how it works. The 1.5 plugin documentation is currently being improved, and I will add all my plugins in there with detailed info on how I wrote them.