2012
01.26

It took a couple of hours to finally end up with the conclusion, that
ORDER BY statements does not work in MySQL subquery.

2012
01.10

Today I realized theres a pretty simple way, to generate JSON straight from MySQL.

I use it this way:

1
SELECT CONCAT('[',GROUP_CONCAT(CONCAT('{name:',USER.name,''),CONCAT(',email:',USER.email,'}')),']') FROM USER WHERE STATUS = 'active' ORDER BY created ASC
2011
12.20

When I planned an RSS site project I investigated many RSS agregator possibilities, and ended up with Autoblog. As one of the leading figures of Hungarian WordPress Community we have access to wpmudev plugins, but I had previous experience with AutoBlogged and FeedWordPress as well.

I have made many modifications in the plugin, to fullify my needs the most.
These are the things I want to show you in this article.

Read More >>

2011
10.31

Recently I’m working on a news portal, which offers mp3 listening functions, and the client does not want a popout player, but a kind of a constant player on the top of the page.

One way is to create the whole page with a JavaScript framework (for example JMVC), the easy way is to create a frameset on the fly, and inject the current document inside one of the frames.

Read More >>

2011
09.30
1
2
3
4
5
6
7
remove_all_filters('comment_flood_filter');
add_filter('comment_flood_filter','my_comment_flood_filter');

function my_comment_flood_filter()
{
  return false;
}
2011
09.01

Recently I finished a WordPress MultiSite project, for one of the biggest blog networks here in Hungary.
They are switching to WordPress ;)

But, the question for today is how can we integrate a 3rd party authentication method in WordPress, and on the hand how can we let the super admin users to login WordPress credetials, without having a valid username/password in the 3rd party authentication system.

Sounds intresting?

Let’s go ;)

Read More >>

2011
05.12

Many user noticed, that since WordPress 3.0 it’s possible to do a search like domain.com/search/foobar and not just domain.com?s=foobar, but since 3.0.5 things started to work improperly.
The root of the problem is, that search term is not urldecoded. If you use WordPress in english, you won’t notice anything, unless you are searching for multiple words. But for us, who use it, with accents, it makes our lives a disaster.

Read More >>

2011
04.07

I’ll explain now in a few steps, how to write a simple php script,
that can communicate and exchange data with a WordPress based site, that has XML-RPC support enabled.

Read More >>

2011
03.24

Yesterday I was wondering about how can I detect if a page is loaded in an iframe.

The simple answer would be to compare location.href and top.location.href.
Only problem with this solution, that it will only work in older browsers, because modern security features and cross domain policy will not allow to reach the location object, when the location is on a different domain.

Read More >>

2011
03.21

Recently I had terrible time with IE and jCrop, because we are using it in our new social network.
And I’ve found a strange bug only in Internet Explorer (what else? :D), where, the cropping area was positioned outside the image.

Which seems impossible for the first look, because of the DOM structure of jCrop.

Read More >>