This issue took me weeks to fix it. It started when we started working on a new ratings module for PHPBB forum at popular HTML.net website. I noticed (the client also knew) that a few of forum tables filled very fast and kept growing with the time. Continue reading
Changes to Media Uploader in WordPress 3.5 were perhaps the most significant changes in that release. Another important change was the removal of Settings » Miscellaneous section where there was an option to change the default upload directory and an option “check box for year/month folder organization”, in the admin end. Continue reading
I tried to add a featured image to the previous post i created but it gave me the following error:
Unable to create directory uploads/2014/08. Is its parent directory writable by the server?
The same error occurred when i tried to add a new media item to the same post. Continue reading
It’s almost 5 years when i purchased my first laptop. It was Dell Inspiron 1440. This was the first and the only laptop i have had bought for myself till date. After buying this one didn’t feel need to buy another one as this one still runs very smooth and problem free. Continue reading
Sometimes you wanted to update columns of one MySQL table by quering another MySQL table and getting a column value from the later table. For example you have a ‘students’ table and you wanted to create a new field ‘totalMarks’ in it and wanted to fill or update by taking sum of the ‘marks’ field from another table named ‘marks’. Here comes the use of subquery to update column. Continue reading
I frequently need to check this list as i have got two active Airtel activated sim cards and one of them is a post-paid sim. The given list of Airtel prepaid tariff plans for Punjab circle is on the Airtel website itself and i dont think i am going to be responsible for any mistake in the list, haha.. Continue reading
WordPress keys and salt in wp-config.php work as an important security measure. These “impossible to guess” and hard to remember and understand keys work as salt for WordPress Cookies data store in your computer for your WordPress website information. These security keys ensure better encryption of data. Continue reading
What is this Custom Post Menu Sort Order plugin?
This is a plugin to sort WordPress posts using simple drag and drop method. Custom Post Menu Sort Order plugin has a settings page where one can choose the post type for which this plugin should load the sorting mechanism. Continue reading
Here are a few useful PHP debug functions.
I wrote a similar post sometime ago posting the abbreviated “pr” function as a shorthand replacement for the “prinr_r” or “var_dump” functions. Since then this function has changed a bit so re-posting it here with the improvements. With the new updated function one can restrict the output to screen for specific IP address only. Continue reading