Archive for the ‘Tips & Tricks’ Category

exportHi there! 🙂

If you are a website owner who has a blog or some other kind of dynamic website which utilizes a mysql database, but you don’t have (or you don’t know how to use) phpMyAdmin then you need a very easy way to backup and export your mysql database, right?

Well I also faced this problem recently, one of my client sites didn’t have phpMyAdmin installed and he needed a quick and easy method to download the backup. So here is a script that solved my client’s problem, and now am releasing it so it solves yours problem as well 🙂

How to use:
1)
Download mySQL Backup script (1.17 KB)

2) Extract all files

to be continue..

Hi there,

A friend of mine asked me how to add some text before and after post content in WordPress using Plugins.. it’s easy!

Let me tell you how:

function add_test_text($content) {
$content = “Before Content<hr>”.$content;
$content .= “<hr>After Content”;
return $content;
}

add_filter( “the_content”, “add_test_text”,1 );

What we are doing here? let me explain line by line:

function add_test_text($content) {

We are just starting a function here with $content as the first (and only) variable.. Function name is “add_test_text”

$content = “Before Content<hr>”.$content;

What we are doing here is we are assigning “Before Content” as the value of the variable $content.

".$content; this just adds (suffixes) the original $content variable after the string.

$content .= “<hr>After Content”;

If you notice there is a “.” (dot) before “=” (equals to sign), this DOT tells PHP that we want to add something after the variable.. rest is just like above.

return $content;
}

to be continue..

FarmVille

FarmVille

Everyone  must be looking for Farmville cheats, right? lol even I have been looking for some too 😉 who doesn’t want to go ahead than his/her friend? or Beat friends in game?

But after so much of searching I ended up getting very few cheats, that also sometimes work and sometimes doesn’t.

to be continue..

wp-pass-resetHi,

Consider this:
1) You don’t have access to phpMyAdmin.
2) Your access is limited to FTP.
and you forgot your wordpress admin panel password!!

So what do you do? Well here is the solution: (Must Read: Important Note)

Step 1): (Screenshot)
Download this file “WordPress: Reset Admin Password Script”, Extract & Upload it in your WordPress directory (it must share the same folder with wp-config.php).

to be continue..

kPicasa Hi guys,

kPicasa Gallery is a wordpress plugin by Guillaume Hébert which as it’s name suggest let’s you display your Picasa gallery on your blog.

kPicasa requires that post or page where you want your gallery to appear should be solely based on the kPicasa gallery code.. there should be no other text in the post. So when you add another plugin like Digg Digg, or TweetMeme which adds content to the post (digg button/tweet button etc) kPicasa will stop working.

So how to fix it? it’s actually very easy just follow these steps:

to be continue…

YouTube

YouTube

Many of my friends have been asking me to tell them how I get their favorite videos downloaded and converted into mp3 for them so quick and easily.

Although many websites have already mentioned the ways, but being lazy bums friends won’t search for them, so am mentioning my way of downloading them and converting them.

Firstly we have to download the video and then later we have to convert it, so lets see what I do for downloading.

I download videos through this websites:

to be continue…