4. May 2012
von Blackbam

In the course of my studies I had to implement an AVL-Tree (balanced binary search tree) in Java. When learning the basics of algorithms and data structures, one will probably have to learn about this topic. I want to present my implementation with some useful comments here, be free to use it, if you need. […]

From category Java, Programming || 37 comments »
23. March 2012
von Blackbam

Always when trying to integrate a Mailchimp Newsletter Subscription into WordPress manually, there are a lot of problems occuring. In this very short tutorial I will explain how to create a working, customizable form. 1. The Mailchimp backend. Go to: Lists -> Forms [from the desired list] -> For your Website -> Signup Form embed […]

From category WordPress || No comments yet »
7. February 2012
von Blackbam

Nothing new, nothing special… just the working code of a basic Ajax skeleton, as this has to be copied and pasted that often. This example shows an application similar to Google suggest, which searches related values, whenever a key is pressed.

28. January 2012
von Blackbam

Recently I had to fix a bunch of really annoying problems with this combination. Duplicated contents, automatically inserted line breaks and problems with the custom styles for TinyMCE really caused me to hate these Plugins. The reason for most of the problems is qTranslate though. If you experience similar problems, the following “library” will be […]

28. January 2012
von Blackbam

Sorry, this entry is only available in German.

10. January 2012
von Blackbam

You do not want to use Attachment-Pages in your WordPress page? Or maybe you installed a gallery Plugin and want to transform all your Attachment URLs into File-URLs now? The following script will do this for you. Just make sure, that all relevant content blocks of your database run through this script. function cis_file_links($content) { […]

From category WP Scripts || No comments yet »
28. October 2011
von Blackbam

This little scripts help ordering WordPress categories by meta values – a thing which is not integrated into WordPress yet and which costs some time to integrate. 1. Create a meta value (or meta values) for categories to order by To order categories by a meta value the first thing which we have to do […]

From category WP Scripts || No comments yet »
8. October 2011
von Blackbam

It is a common problem to detect parents or childs of pages and categories in WordPress correctly. The way WordPress stores relationships in hierarchies is not that trivial sometimes, so the results when querying are a bit confusing sometimes. It took some time to determine and optimize functions which do this job good and without faults, and I want to present these. As in this function I prefer working with page IDs, as this is the savest way to identify certain pages. With little changes it should also be possible to use these using e.g. slugs. Both of these functions can be used inside and outside of “the Loop” or loops.

From category WordPress, WP Scripts || 1 comment »
30. September 2011
von Blackbam

Recently we had an issue with the line-breaks in WordPress comments – the comments are saved to the database as they are submitted from the textarea in your theme, and depending on the theme so they are displayed. If your comments are displayed as HTML and there is no mechanism to add line breaks anywhere, […]

9. September 2011
von Blackbam

A landing page (sometimes also called “marketing page”), simply spoken, is the first page of a Web-presence that visitors see after klicking an ad or special link, which is intended to attract Web surfers’ attention for a certain offer (e.g. information, products, forms and so on). A key element of landing pages is the “response” […]

From category Usability || No comments yet »