I am a web & mobile app developer based in Lahore. I have been developing creative, interactive, usable & successful web apps, web portals, php and Flash action scripting, REST apis, WordPress plugins & themes. In recent years, I have worked on Ionic, Angular and TypeScript for hybrid mobile apps, Flutter & Dart, React & React Native, and Swift native iOS mobile app development.
Facebook Graph API $me object does not provide user’s network info. To access FB user’s networks/affiliations information, you need to use FQL like this: $fql = ‘SELECT affiliations, name FROM user WHERE uid = ‘.$me[‘id’]; //or use this query for standard_user_info table //$fql = ‘SELECT affiliations, name FROM standard_user_info WHERE uid = ‘.$me[‘id’]; $param =…
Recently working on a WordPress powered website, I needed to place different forms on the WordPress based website to generate leads and capture data. One contact form was to be setup through sidebar widget and other form was to be setup as lead generation standard ‘Get a Free Quote’ form placed in the theme header.…
During osCommerce store customization and add-on installation, if you get following error Cannot redeclare do_magic_quotes_gpc(): PHP Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/user/public_html/butikk/includes/functions/compatibility.php:19) in /home/user/public_html/butikk/includes/functions/compatibility.php on line 3 This error is caused by copying of a module file into the languages “catalog/includes/languages/” folder by mistake during some add-on installation. Check all the files…
Embedding Flash swf files in the WordPress is something which all designers and developers have to do to showcase their work. And since WordPress is now being used extensively not just for blogging but also as a CMS, there are more and more people showing their Flash portfolio in WordPress pages. Also, usually Flash files…
Debugging is part and parcel of development and especially now applications getting complex with the advent of mobile apps development, developers need to log Form submitted $_POST and $_FILES data. Here’s a useful snippet to log the posted data that you can place in your PHP script to help you identify the problematic part. Jut…
Moodle is the leading Open Source E- learning management system. Moodle is a free, open-source PHP web application for producing modular internet-based courses that support a modern social constructionist pedagogy. Using Moodle, teachers and professors can easily construct richly textured web-based courses. A course can consist of a number of lessons, with each lesson including…
Nokia N900 is a great smart phone but not without its hiccups. When you are having long conversations, sometimes your messages start disappearing. sometimes the messaging doesn’t work and shows the in progress but the message has already been sent. But once you restart the phone, you get all the pending messages which were lost…
Search feature on website is the most important and crucial one and no one can search better than Google, even within your website. Google has made available custom Search engine option for all its AdSense accounts freely and it’s great option that every website owner must avail. Even if you don’t place AdSense ads on…
With the popularity of WordPress with ever expanding list of features, it’s now being used more as a CMS for a website than a blog. With this, more and more people have to move the WordPress form a sub-directory to root of a website to properly setup website. For all of its pages and posts,…
WordPress slowly but surely has become the most popular open source CMS but most users did not start using it as a CMS for their websites. I also started using WordPress as Blogging Platform and had a custom built CMS to manage rest of my website. But with the arrival of WordPress 3.x, lot of…
One of the best features in the WordPress 3.x is the ability to add multiple Menus from pages, posts, customs posts types or even just anything as you desire. It’s very easy to first register custom menu in the admin panel and then call in your theme files and style them as you want. To…
In WordPress, Custom Post Type is great feature to manage your custom content such as portfolio which can’t be managed properly with the default posts or pages type. One of the problem in working with custom post types is the pagination issue. If you are viewing the same records on the next or third page…
This is last of the series of posts I have made on loading external swf movies into Main Flash movie and controlling its timeline. In this post, I’ll add the last missing feature in the player which was seek bar. In the previous Post, I added Play, Pause, Forward, Rewind Buttons to control and manage…
Custom Post Types is very useful way to add Custom Manager in the WordPress. I have been using More Types with lot of success. One of the problem that I usually get while setting up is the permalinks structure for the custom post using More Types Plugin or any other Custom Post type plugin is…
With Facebook user base reaching 1 Billion connected people mark and integration of more than 7 million websites, Facebook is the number one social networking platform. While every developer wants to be on this bandwagon to create applications and games, there are numerous tutorial websites sharing the tips and tricks on Facebook evolving API. For…