Weblog of Nazly Ahmed
A Facebook Page is a vital part of Social Media Marketing. One of the key features in a Facebook Page is the ability to add a custom Tab. Page owners can use a custom Tab to provide valuable information. On these Tabs, most of them provide content/information only to the users who have Liked their page. If this strategy is used effectively, the fan base of the Page will grow significantly. My primary focus is how we could technically provide the content based on the fact whether the user has Liked the page or not.
If you let your website visitors know, what version of WordPress you are running, you are potentially at risk. Hackers might use this opportunity to exploit the vulnerabilities in that particular version and will try to take down your website. Though you might keep your WordPress installation up-to-date, any lapses in failing to do so may open the doors to hackers. A good security measure would be to hide the WordPress version from the HTML source. By default if the theme uses wp_head() function which is true in most cases, the chances are that the WordPress version will be displayed in your HTML source.
Recently I was developing a Facebook iframe application using PHP and all was good until I got few complaints that the application wasn’t functioning as it’s supposed to on IE8. I was using the Facebook php-sdk and I have tested this app successfully on Firefox 4 and Google Chrome 11. Since I was on a Ubuntu box, I tested the app on IE6 under wine and I didn’t have any issues as such. I had to get a help from a friend using Windows and IE8 to dig deep into the problem. The issue seemed that session data didn’t persist across the application specifically on IE8.
Since WordPress 3.0 introduced Custom Post Types, I have been using it extensively in my projects. Each Custom Post Type had multiple Custom Fields, but I had major concerns on building an algorithm to search across multiple Custom Fields using query_posts() since it allowed only a single key value pair (meta_key and meta_value). I had to extend the functionality of query_posts() to get over this problem. Looking at the documention it appears that with the release of WordPress 3.1, query_posts() will have a new parameter called meta_query which could handle multiple Custom Fields.
If you are running a WordPress Website or a Blog where the content is updated and/or deleted frequently, you will need to optimize the MySQL tables more often than not so that you don’t run into database issues and down times. This also helps to maintain the average response time of MySQL queries.
WordPress is simple, yet powerful. Those are the key ingredients why it is popular among the Bloggers and Web Developers alike. WordPress will always be the first choice as a blogging platform. In the recent times it has moved far from being just a blogging engine. Most Web developers choose WordPress as their primary CMS of choice ahead of other popular Content Management Systems. Regardless of you being a Blogger or a Web Developer, the manner you maintain your WordPress files and database will play an important role in running a successful website.
The Refresh Colombo event yesterday evening was one of the best meetups we had so far and I would like to thank everyone for coming and making it a great success. Special thanks goes out to Chandika and Naveen for their very informative talks which would have definitely made a big impact to all who were present there. I got the honour of doing a session on WordPress Security and got a lot of requests to share the presentation slides. So here it goes. Click Here to download it.
You can follow InduNan who live tweeted from the event. Thanks to Thilina and Malinthe for live blogging from the event. Photos will be uploaded to Refresh Colombo Facebook page soon. See you all at the next event.
I have been coding PHP like for almost 10 years. The date() function in PHP is a widely used function in most of my apps. The application or website I’m developing will require to associate with a date at some point. When displaying a date/time it requires to be displayed in a particular format. This will be different from one app to another. So remembering each format character is quite difficult even thought I have 10 years of experience on my back. So each an every time I head to the PHP: date() Manual to find out the format character. I have had cheat sheet wallpapers as my desktop wallpaper but I still felt the PHP Manual served me better. But finally I decided to build my own reference with commonly used character combinations with their respective output to make my life much easier (not that it was difficult before) so that other PHP developers will benefit out of this as well.
It’s the moment that most of the WordPress enthusiasts were waiting for. The release of WordPress 3.0 bring lots of new features and updates that makes WordPress a powerful CMS to build complex and powerful websites.
Arm your vuvuzelas: WordPress 3.0, the thirteenth major release of WordPress and the culmination of half a year of work by 218 contributors, is now available for download (or upgrade within your dashboard). Major new features in this release include a sexy new default theme called Twenty Ten. Read More >>