tutorials

Goal Seek in Microsoft Excel

Continuing with our Excel Tutorials, in this article, I’ll take you through using Goal Seek in Microsoft Excel 2007. The function is same as that of earlier versions of Excel as well as Excel 2010. The screenshots below are taken in 2007.

How to prevent CSRF vulnerability in WordPress plugins and themes

Recently the folks at Secunia contacted me regarding a vulnerability in my plugin Contextual Related Posts.

Contextual Related Posts is a powerful plugin for WordPress that allows you to display a list of related posts on your website and in your feed. The plugin comes with a tonne of options and inbuilt caching that can possibly increase user retention.

This vulnerability was on the settings page of the plugin and opened up the blog to a potential cross site request forgery (CSRF)

The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to change plugin settings and e.g. insert malicious script to pages or posts when a logged-in administrator visits a specially crafted web page.

Since then, I’ve been scouring the web for material on this and you might also want to take a look this article on crunchify for a solution. In this post, I’ll tell you what I did to fix the vulnerability. But first, let’s understand what’s CSRF.

Read More »How to prevent CSRF vulnerability in WordPress plugins and themes

5 Steps to setup your Google Inactive Account Manager

In today’s day and age where most of our information is online, including banking information and more importantly emails, it is essential to think about what happens to this data in case of an untimely passing. Similar to making a will to bequeath your belongings to your near and dear ones, planning your digital afterlife is essential.

Yesterday, Google launched a new feature called Inactive Account Manager that helps you in this regard, at least in the case of all things Google. You can now choose what happens with your data if your account goes inactive after a set period of time. You can choose to send it to a person(s) you nominate or delete your data.

Inactive Account Manager

Here’s how you go about using it.

Step 1: Login to Inactive Account Manager

Simply follow this link to Inactive Account Manager and login with your Google ID and Password. Hit the Setup link and you’re ready to begin the wizard.

Inactive Account Manager - Setup

Read More »5 Steps to setup your Google Inactive Account Manager

How to delete unused or less used post tags in WordPress

If you’ve been running a multi-author blog like us, over a period of time, you’ll see your list of tags growing exponentially. When I reviewed the number of tags on Techtites today, I noticed that this was well over 1,100 tags!

So, I went into the Tags interface and immediately realised that I’m going to spend an hour just deleting and cleaning up tags.

There are a few WordPress plugins available that allow you to manage tags and categories, including Term Management Tools. However, there isn’t a good free plugin to delete and clean up tags.

So, with a bit of googling, I came across SumTips post. If you have access to your database via phpMyAdmin or a similar tool then it will take you less than a minute to delete unused or unpopular tags.

If you proceed beyond this step, please be extremely careful. Playing with your database table is risky and can break your entire site!

Read More »How to delete unused or less used post tags in WordPress