Apr 18, 2009 1
Happy Easter 2009
All my best to you and your families. Happy Easter to you all!
May the Resurrection of Christ bring light into your hearts and lives ... and all the best.
Gtg ... Buh bye!
Apr 18, 2009 1
All my best to you and your families. Happy Easter to you all!
May the Resurrection of Christ bring light into your hearts and lives ... and all the best.
Gtg ... Buh bye!
Apr 15, 2009 2
I have a script that tracks loads on posts and I see a real-time daily and overall post popularity + traffic statistics. All of a sudden the Missed Schedules Plugin experienced over 300 hits in a few minutes. I was like WTF? Stumbleupon probably. I checked and no new user registration. None after 400 hits. I could smeel something funny ... and it wasn't me.
Read the rest of this entry »
Apr 13, 2009 0
Private-Public Morpheus is a really useful plugin that allows you to create tiny pieces of code (content) within your posts that get replaced with one of two versions of Custom Fields. This plugin is like hitting the subscriber (leads) motherload. If your stuff is tempting enough people will subscribe.
The difference between this and other Subscribe To Gain Access scripts mavens use on their sites is that this one actually validates the email address. 90% of the Subscribe For Access boxes on mavens' sites give access regardless of the email address you enter. And that blows!
Read the rest of this entry »
Apr 9, 2009 1
Watch and learn. Jet Li, Bruce Lee, Jackie Chan and the likes would be put out of business if moves like this went mainstream. It's messed up and very violent. Grab some popcorn.
Looking forward to your feedback on this bloody scene.
Apr 9, 2009 5
Google offers some cool AJAX APIs that can do a bunch of things and today we cover language detection. When you ... let's say ... scrape ... text sometimes you could use a sentence of few words to verify the language. This is not easy viable to do on your own but Google offers a way. It's probably part of the Globalization Agenda Google's part of but I won't discuss this here. Just enjoy it!
Read the rest of this entry »
Apr 8, 2009 0
This is big and this post is a sticky. It will remind you the right way you need to handle code and plugins you get from this site. Simple handling and storing instructions.
Read the rest of this entry »
Apr 7, 2009 0
Eval is real cool and can give a lot more versatility to a coder. Eval for PHP has a small functionality issue one beginner would not expect. If you eval, the parameter has to be a PHP code string. But if you have HTML and inline PHP code, there's a catch.
eval("<b>cool <?=' stuff'?></b>");
If you try to eval the above it will fail as it's not PHP code. It's HTML with PHP inside. And, as eval evaluates the expression as if it was executed in the place where it's called, this eval will never work. On the other hand this will work:
eval("echo 'stuff';");
This can be evaled easily no matter what. It's only PHP code, the whole point of EVAL.
Read the rest of this entry »
Apr 7, 2009 7
As most of you know I had a very popular GZDecode version on my old blog. But, it was not really as good as it looked like. I found the problems when I was trying to expand a monthly GZEncoded raw access log. I realized it was a file made of many welded GZEncoded entities each on its own. So my way of expanding did not work.
Read the rest of this entry »
Apr 6, 2009 0
When you display a sidebar it's great to check if that sidebar actually has widgets inside. You may end up with an empty rectangle if you did not add any widgets to a sidebar. There are two methods to actually do this.
You can output buffer the sidebar and see if it has any text inside. If length is zero don't display it. Or ... you can use the missing is_sidebar_active(). It's actually missing but here is how it should look like. This function will check if a sidebard has widgets inside and, if it's empty, you can skip it.
Read the rest of this entry »
Apr 6, 2009 1
I bet all of you know what cookies are (especially cookie stuffing). Now I will show you the easier way to set them in Wordpress. As you are aware the setcookie function in PHP has a whole bunch of parameters. These, in Wordpress, must be setup a little differently.
Read the rest of this entry »