Latest Posts »
Latest Comments »
Popular Posts »

Your Ad Here

WordPress StatPress plugin with empty table option

Written by Uthfull on September 21, 2008 – 4:32 pm

I use the StatPress plugin on this blog installation to gather some basic and live statistics of the visitors to my blog. I also use the WassUp plugin to capture some similar statistics. While both plugins have their own pros and cons, there is one thing that used to bother me about the StatPress plugin.

While there is an option to delete the older records from the table after a certain time, there is no option to empty the entire table of the stats. Why is this option required? Well, certain people like me host their blogs on servers which give a limited amount of database storage. Statistics plugins like WassUp and StatPress tend to accumulate a large amount of data and thereby take up a lot of database space.

WassUp has an option to empty the table whereas StatPress misses this functionality. I had to manually go into phpMyAdmin and empty the table. So, I decided to look into the plugin and try to add this functionality within it so that I could save myself from the hassle of going to a another software to manage the mess. I am no coder. I read through the entire code in statpress.php and made modifications as required.

I present to you, StatPress with empty table option.

statpress

As the above screenshot clearly shows, when you click on StatPress tab within your WordPress Dashboard, you will see an extra option called “Empty”. Clicking on it will delete all your stats from within the database and makes StatPress start afresh. However, please note that this action is permanent unless you have a previous backup. Once you click on Empty, it will empty your database without any further prompts or warnings.

DOWNLOAD : StatPress v 1.2.9.2 with Empty table option (79KB).

Those of you not wanting to undergo the exercise of downloading a new ZIP file of a plugin, deactivating the original StatPress 1.2.9.2 and reactivating this plugin may simply copy the entire code from the text file linked below.

DOWNLOAD : statpress.txt

Open the statpress.txt file. Either save it as statpress.php and overwrite the wp-content/plugins/wp-statpress/statpress.php file. Otherwise, from within your WordPress Dashboard, click on Plugins. Navigate to StatPress and click on Edit. Replace the entire text in the textbox on the next page with the text from the statpress.txt file you just downloaded.

Please note that I am in no way responsible to any damage or loss whatsoever the use of this modified plugin may cause to your installation. I am Jack of all trades, master of none. I don’t claim the code and modification is perfect. It is just a basic implementation. Take all precautions before you activate this plugin.

Finally, the development of StatPress seems to have stalled. There is another plugin StatPress Reloaded. Check it out.


Tags: , , , , , , ,
Posted in Technology | 2 Comments »

Finally! Symbian v9.2 hacked!

Written by Uthfull on April 13, 2008 – 11:52 pm

I know I’m a bit late on this but I just found out that Symbian v9.2 has been hacked. Yes… God does exist!!! The hack is available for pre Feature Pack 1 phones (N73) and Feature Pack 1(N95, N82) but does not correctly work on all firmware versions of N93.

I was in two minds recently on whether to buy a Windows Mobile based smartphone or a Symbian based phone. Ever since Symbian Signed forced all users out of their system, it had become a pain to install any application on your Symbian smartphone. I had begun to hate Symbian as it behaved liked a stupid locked system.

While the buzz was around with every second person hacking into the iPhone, it seemed that Symbian had been completely ignored. But along came some dedicated individuals who proved me wrong… and kicked Nokia’s ass!!

Hurray!! Symbian pwned!! Time to start collecting cash for the N82!!

If you wanna know more about the hack, read this post on the Symbian Freak’s forum :

http://www.symbian-freak.com/forum/viewtopic.php?t=17479

It took me some time sifting through the entire post (84pages) but it was well worth the knowledge I gained.

History has been created… finally!!


Tags: , , ,
Posted in Internet, Journal, Sexy, Technology | 1 Comment »

Lock and Hide your Windows XP folder the special folder way

Written by Uthfull on September 1, 2007 – 8:27 pm

This week I came across an article on Lifehacker providing a way to hide and lock a folder in Windows XP. The moment I read it, I fond out that they were using the same technique to hide files that I used to use in the start of 2005 to hide porn on my PC.

Although there’s no porn on my machine now, I had still kept the folder structure and the tools that I had used to accomplish this task back then in order to document the procedure sometime later. I never really got the motivation until now. I used to be of the opinion that no one would really be interested in it. I had discovered this process by snooping around to find how a software, by the name of “Folder Lock” that I was using worked.

The process is fairly simple and requires little technical expertise. I would also like to address some of the issues faced by the readers of Lifehacker. This tutorial will cover mostly all of the aspects of creating special system folders and to use them to mask your secret files. Even though this method is not fool-proof, yet it is amazingly easy to implement and fools the other person effectively.
Read more »


Tags: , , , , , , ,
Posted in Internet, Journal, Sexy, Technology | No Comments »

My Desktop

Written by Uthfull on April 28, 2006 – 9:42 pm

My LCD, the Samsung SyncMaster 740n, with a max resolution of 1280×1024. OK, its not a pic of my monitor but a screenshot of my desktop which looks stunning with an Elisha Cuthbert wallpaper!!! Wo0o0o0W!!

Clean, uncluttered and oh so sexy!!

Free Image Hosting at www.ImageShack.us

Though my Dad is always like, “Rahul, where do you get such ugly wallpapers from?!”. And since a part of her boob is showing, I don’t think this wallpaper is gonna stay on long enough!! SAD!!! :(


Tags:
Posted in Journal, Life, Sexy, Stupid Me!, Technology | 3 Comments »

Jessica Alba

Written by Uthfull on April 18, 2006 – 7:04 pm

Free Image Hosting at www.ImageShack.usFree Image Hosting at www.ImageShack.usFree Image Hosting at www.ImageShack.usFree Image Hosting at www.ImageShack.usFree Image Hosting at www.ImageShack.usImage Hosted by ImageShack.usImage Hosted by ImageShack.us
She is just so fucking cute!!

Stylish, sexy, naughty, cute… all rolled into one. And that too without make-up

Please be mine!


Tags:
Posted in Journal | 5 Comments »

Fool’s Day…

Written by Uthfull on March 31, 2006 – 5:20 pm

April 1st is near. Get ready to play pranks on your friends. Here’s something I had done sometime back. It was not April 1st then. But I was getting bored & wanted to have some fun.

OVERVIEW:
Charanjeet likes Amit Pantri. Rahul Sarin (ME) emails Charanjeet n starts talking all crap. Read on!!

Read more »


Tags:
Posted in Journal | 11 Comments »

More blogs?

Written by Uthfull on March 22, 2006 – 10:20 pm

I dunno what to do ?

Should I start another blog. I have this cool idea in my head. But it need participation to make it work.

Its like people sharing their “experiences” & others commenting on them. I will say nomore.

What do you guys think… a forum or a blog ? Forum allows more people to register & write what they want to. Blog is still restricted. I currently have a databse of 100 + members but I think all they came for was music. Since I would be removing the music section, do you think I should start all over again? From “0″ members? Or dump the forum thing & go for a blog?

One last thing. I have this cool hack for making registrations on my forum by invitations only, just like GMail. So if I finalise the forum thing, should I make it a more personal discussion platform. People would be able to read but won’t be able to share or comment until they are invited. What do you think?

Come on… I need feedback… please!!


Tags: ,
Posted in Journal | 16 Comments »

Maxim in India

Written by Uthfull on January 30, 2006 – 4:09 pm

Its old news but its still NEWS!!

Yay!! Maxim is officially now in India. The first issue came out this month featuring none other than Priyanka Chopra on the cover.

Here is a scan of the advertisement that is being published in various other magazines.

Get your copy fast… I think the invitation price is only 60 bucks!!

Not bad eh?!

Check out the Advt. here


Tags:
Posted in Misc | No Comments »