The title pretty much says it all. It’s 2 of the most useful AdSense ads tips for bloggers in my opinion. Obtrusive ads have the unnecessary effect of driving away readers after they have found what they needed. Unless you have amazingly great content, the chance of them becoming a loyal reader is rather low when you have ads splashing into their faces – this is not something you want to do to your subscribed readers. On the other hand, you’d want to maximize your AdSense earnings by putting up ads on as many posts as possible.
click to continue
Sometimes you would want to check if a string is an acronym or an abbreviation by testing if it only contains capitalized letters from A to Z and nothing else. There are 2 ways to accomplish this simple task in PHP.
click to continue
Do you know you can actually change the CSS styles of the entire editing area / editor where you create the post content in WordPress? It doesn’t have to be the default styles and since version 3.0, people can freely style the TinyMCE rich text editor shipped with WordPress however they want to by a few simple changes to the theme files. click to continue
Lots of people ask this question and most of them probably made the matter complicated by editing the DNS Zone from WHM in the DNS Functions. But they actually should just do it in cPanel which is A LOT easier.
click to continue
This post is dedicated to one of my friends, Coolie (not his real name but he preferred to be called that way among friends), a father and self-entrepreneur who created the outstanding Delphi VCL component for FFmpeg that makes it extremely easy to develop audio and video applications for Windows.
click to continue
I’ve been with Aweber for nearly 2 years and they are good. But I eventually decided that newsletter is not my type of thing – there are people who are making big bucks by building and maintaining a high profile email list, but I’m just not one of them. So I left Aweber and switched all my subscription forms to Feedburner email subscription.
click to continue
Recently uCertify approached me and asked me to do blogging on about Zend PHP-5 exam PrepKit. Since this is an interesting topic to me and as I would get a free simulator, I agreed. uCertify produces the preparation kits for many different IT Certifications including Microsoft, Oracle, Cisco, CompTIA, Adobe, etc. The uCertify PrepEngine looks like this:
click to continue
After digging into Magento for a few months and trying to start my own tangible business (I only deal with digital goods as of now), I failed in finding the perfect theme for my store. What I had in mind was a Magento theme much like Thesis for WordPress, the sort of theme that’s simplistic yet powerful, finely crafted and omnipotent (not just for a specific niche). Seemed most of the themes I could find were a bit too frivolous for me, until I found Jake and his Avalanche, premium Magento theme.
click to continue
While you can somewhat rely on the name extension of a file to determine the mime type, it may not always be accurate. For example, .jpg and .jpeg files are very probably image/jpeg files and .png files are very probably image/png files, but there’s always an exception because file extensions can be faked. To accurately find the mime type of a specific file in PHP, you should use the Fileinfo extension.
click to continue
Other than making your 404 error page user friendly, you can redirect it to your index pages such as the homepage, sitemap, or search page, to make it useful for the users. Instead of relying on them to correct the error themselves, you offer the new orientation.
click to continue
It’s not unusual to respond to the user actions by dynamically modifying some content of the page. For example, you can employ JavaScript to change and load another image based on the <select></select> option the user has just selected.
click to continue
My friend Xiaobo has been developing for WordPress for the last 4 years – a truly master he is about the themes, plugins, and any customizations you may need about WordPress. He has helped hundreds of professional bloggers.
click to continue
You can save re-usable data in database such as MySQL so you can load them among different scripts / script sessions, though it may be a bit overwhelming for simple tasks because you have to set up a whole database and the connection credentials, etc.. File system is probably a better approach with regards to storing and retrieving simple tabular data, for not-so-important projects or test projects.
click to continue
I deal with quite some code examples across some of my blogs and sometimes they contain too long lines to fit in nicely, which makes it hard to read the latter part of a long line. But you still need to maintain the pre-formatted text with the <pre> tag.
click to continue
The power of social media now beginning to be felt, there may be some “powers” better left alone. Scientist now say Social Media participation may be causing users’ brains to be REWIRED! Now there is some startling news. Facebook, Twitter, and now g+ use being on the upswing, it’s no wonder all our time is taken up, but who said anything about losing the ability to multitask?
click to continue