Categories
Internet

Reverse Phone Lookup Online

Today, we have an incredible system accessible, that gives us chance to find people by their phone number. This is an excellent service for those people who often fall victims of prank callers. Reverse phone lookup sites, similar to AnyWho.com, Addresses.com and WhitePages.com are ample and free of cost for tracing landline phone numbers. But these reverse phone lookup services aren’t free for cell phone numbers. In fact, the whole construct of reverse phone number lookup changes when phones are switched to mobile.

Like landline numbers, cell phone numbers are brought out by individual mobile phone companies instead by an interlocking scheme of regional phone companies. This makes cell phone numbers and associated user information harder to access and turn into a searchable online database. At the same time, many users honor their own privacy and they don’t want just everyone to be able to reach or contact them on their cell phones.

One of the largest provider for Reverse Phone Lookup is Intelius Inc. Intelius named its lookup service as “Cell Phone Caller ID” and provides available information for each number that may include name and address, VoIP (voice over Internet protocol) and business numbers for the requested user.

How to make Reverse Phone Lookup Online

Today I will show you a service called RealphoneLookup using which you can trace Landlines, Cellphones, Unlisted Numbers, Business Numbers & Owners Address for a small fee. Isn’t this great ? Lets check out. Simply go to RealphoneLookup and make your search. After a while you should see a search result like the one below

You can also get complete details including name and full address by clicking on the Get Full Results button.

 

Categories
Facebook

How to create a Store on Facebook

Looking at the pace its growing, I believe that in years to come we will be using Facebook not just for social networking but as the biggest marketplace to buy and sell stuff online. In this tutorial we are looking up a way on How to create a Store on Facebook using an application called Payvment.

How to create a Store on Facebook

Payvment

It simply takes 15 mins to create your branded store on Facebook using this app and the best part is that its free.

Prerequisites

  1. You should have a paypal account, either personal and business in order to receive payments.
  2. Create an account with Pavment on their website here
  3. Then to set up the store, simply go the application page and follow the directions outlined.

Features

  • Options and Customization (such as different sizes, colors)
  • Featured Product – Ability to display a special product on the main page
  • Multiple Categories – You can create multiple categories of products
  • Sales tracking

Storefront social

Storefront Social is another great store application that has a variety of features to help you make the most out of your Social Media store on Facebook. Storefront Social allows you to create an easily searchable online store for your Facebook customers. Storefront Social provides you amenities like preconfigured Social Share buttons that allow users to quickly showcase and share a specific product thus helping you spread your products on the social world. Apart from that, if you have several products on your store, adding a category to them will help keep them well organized on your storefront. They also have a search feature that helps some storefronts on Facebook that they would like to keep their searchable.

Categories
WordPress

Creating an AJAX Powered Pagination in WordPress

Pagination on blogs is quite in common. But an AJAX powered pagination on a cool themed blog is the apple of my eye. In this tutorial we are going to see how to change your old styled pagination into an AJAX powered dynamic pagination.

In this tutorial I assume that you have basic knowlege of editing HTML, PHP and Javascript. I have used jQuery for handling ajax and the modified code for pagination from Lester Chan’s WP-Page Navi

The tutorial will consists of creating a basic pagination using PHP, jQuery and editing some template pages. Make sure you backup your ooriginal theme before trying this.If you arent able to follow the tutorial download the zip file at the containing the required files. (including css style).

Step 1

Firstly, open up the index.php and/or home.php if it exists. Wrap the div that holds all the posts with a div of id #ajaxcontent. And add <?php pagenavi(); ?> just before the end of the content div.
Will look something like this

<div id="ajaxcontent">
<div id="content">
<?php if (have_posts()):
while (have_posts()):
the_post(); ?>
.......
.
.
.
.
<?php 
endwhile;
endif; ?>
<?php pagenavi(); ?>
</div><!-- end #content --></div>
<!-- end #ajaxcontent -->

Step 2

Create a new folder called plugins in your current template’s directory. Download the zip package containing all the files. Copy the pagenavi.php and pagenavi.css file into the plugins folder in your current template’s directory.

Step 3

Now just copy everything inside the #ajaxcontent wrapper(Make sure you dont include the ajaxcontent wrapper div too.) and create a new file called wp-ajax-post.php in your root directory and paste it there.

Step 4

Add this code on top of wp-ajax-post.php

<?php
require ('wp-blog-header.php'); query_posts('paged=' . $_GET['p']); $paged = $_GET['p'];
?>

Step 5

The last thing to do is, open functions.php in your template directory and include the pagenavi.php plugin like this

 <?php include("plugins/pagenavi.php"); ?> 

So that was the tutorial, check out the working example/demo on the home page of my blog Small Business and Technology Blog

Download Ajax Pagination Files

Related posts:

  1. How to Backup and Synchronize your WordPress Blog
  2. Including Files in PHP – Learn PHP in 7 Days – Day #6
  3. How to Create a WordPress Plugin – Hello World!
  4. Its time to Upgrade your WordPress Again – How to Upgrade from WordPress 2.6.2 to WordPress 2.6.3
  5. WordPress: Creating Custom 404 Pages
Categories
Make Money

5 Ways you can lose your money quickly

Never play with money. This is what I learn today. Though I suffered losses up to $75 but still I regret. I would have easily bought my favorite hoodie for the same price if I never tried this one.

Forex! Yes where everyone try their luck. I tried it too. But my greed made me try it again and again, until the losses incurred were $75. And now I have got nothing but to repent. Anyways leaving it moving ahead as I consider “money is dirt” so I will not cry for it however.

Forex

On top of my list is forex because I lost my money in it. There are many people like me who don’t have any experience in trading and dream to make a living on forex. I strictly warn you, never try this if you have no experience. You may profit some dollars but most of the time this leads to losses. Moreover there are many brokers who are scammers. In fact there are many scammers than the honest brokers in the market, so be warned. Hence I wont recommend forex to anyone.

Lesson learned: If you have no experience, don’t try it.

Stocks / Mutual Funds

Well there is some chance of profit in stocks but still if you are the one like me who never sees or hears world news then this is a waste too. And then since stocks is much similar to forex. You never know which company will rise and which will fall. So stock comes on number 2 on my list. The scam in term of stock is less compared to forex however, you need a good investment to risk up in the stock market.

Lesson Learned: If you have no experience, don’t try it.

burn-money

Entrepreneurship

This is the latest trend these days. Everyone likes to be a successful entrepreneur. Its a good thing to be an entrepreneur in things that you are experienced in. Or else you can only see heavy losses on your side. A good example is wpdesigner. I don’t even want to give a backlink to it too. Wpdesigner was a blog related to WordPress resources. The blog was sold for $65,000 by Small Potato (the guy who ran that blog), due to some financial problems. And now the home page of the same blog is a web hosting affiliate landing page. The guy aka the new owner (so called entrepreneur) ruined both his money and the blog.

Lesson learned: Save your money and don’t spend on useless investments

Vanity at Work

Since I am a freelancer I would give you another example of mine. A month ago I was almost completely without any work. That was not because there was 0 work for outsourcing. It was because the employers were paying less due to recession. I know I am good at what I do and when I provide quality in my work I expect the same in payment. But friends when a time is called as recession, try to do the work even if you get some less amount then the usual. For over a month I was work less and now even after building some reputation I do the same work that I used to at 70% cheaper rate.  At least something is better that nothing. So never show vanity at your work.

Lesson learned: Pride at work = 0 additional income

Improper Research and Hurry

This is more to deal with our daily lives than the business. We tend to buy any thing that looks good without any research. If not you, even this happens to me most of the time. I buy thing online, and the very next moment I find the same thing at a cheaper rate on the next website. Another thing, this is most related to gadgets and such items, it is advisable to wait and buy a product rather than buying it new. Most of the things in the market are costly when launched but you see a steady decline in its price in the very next month. So if the thing is not very required then why not wait for 2-3 months and take it at a better price ?

Lesson learned: Do a good research before buying costly and new things.

Categories
PHP

Including Files in PHP – Learn PHP in 7 Days – Day #6

Include Function

Including files bring more convenience in managing your code. As the name states, include is a function that will simply dump the contents of the included file into the current file. This is cool because some times you may need some code that should be available on all pages. Say a menu or a website header.

Including files saves a lot of efforts by writing your code multiple times on each page. Yeah I know you copy and paste but that requires some more efforts too comparatively. Suppose you suddenly add a page in menu. Then? You need to update all the files. Using include function we can just create one file and include it all over in other files. Hence editing only one file will modify code in your other files.

I hope I am clear enough in explaining this to you. Let us start with an example. Oh before that, the syntax for include function is

<?php include("filename.php"); ?>

So let us first create a file called menu.php The file content would be something like this.

<a href="#">Home</a> -
<a href="#">About Us</a> -
<a href="#">Contact Us</a> <br />

Now let us create an index.php file. The index.php file will contain some content as well as the menu file. So this is what the code will be in index.php file

<html>
<head>
<title>Testing Include File</title>
<head/>
<body>
<?php include("menu.php"); ?>
<p>This page is created to display the working of include  function</p>
</body>
</html>

See the preview

7-include

Require Function

The require function is almost same as the include function. The only difference is in error handling. When the included file doesn’t exist, a warning is displayed and the execution is preceded.

Where as when a file included via require function does not exist, then a fatal error is displayed and the execution is halted at the same line. The syntax is

<?php require(“filename.php”); ?>

Related posts:

  1. MS DOS Tutorials – How to Create, Append and View Files and Move Files and Directory
  2. Handling Traffic With Custom 404 Error Pages
  3. PHP Syntax, Variables, Echo Statement – Learn PHP in 7 Days – Day #1
  4. Learn PHP in 7 Days
  5. MS DOS Tutorials – How to Create, Delete, Change, Rename Directory and Files
Categories
PHP

Using Operators in PHP – Learn PHP in 7 Days – Day #2

Operators are used for performing a variety of simple tasks like specifying values to variables, mathematical functions, comparing data etc. Although operators in PHP are categorized in 11 types, but for the sake of this crash course I will be showing you 5 tutorials. But let me list out all the 11 categories of operators.

  • Arithmetic Operators
  • Assignment Operators
  • Bitwise Operators
  • Comparison Operators
  • Error Control Operators
  • Execution Operators
  • Increment and Decrement Operators
  • Logical Operators
  • String Operators
  • Array Operators
  • Type Operators

Assignment Operator

This will be the most used operator in PHP. Function of this operator is very simple, as the name says the assignment operator is used to assign values to a variable. May it be a number, a string or another variable, or a memory address (if you remember the pointers concept in C language?)

Assignment operator is represented by equals ( = ) sign. Here are a few examples :

$myvar = 4;
$my_string_var = "abc";
$myvar2 = $myvar;
$my_address_var = & $myvar;
?>

Note that my_address_var and myvar point to same memory location thereby contain same values.

Arithmetic Operators

Arithmetic Operators are only used to perform mathematical functions like addition, subtraction etc. There are 5 arithmetic operators in PHP like any other language.

Addition (+)         Subtraction (-)            Multiplication (*)         Division (/)      Modulus (%)

Is there any scope of explanation required for the above operators? Anyways ill try it, these operators are to be put in between 2 operands. Addition is simply adding 2 numbers, similarly subtraction is for subtracting, multiplication for multiplying and division for getting the quotient.

If you don’t know what a modulus operator does, it simple returns the remainder when 2 numbers are divided. Here are a few examples however for self explanation

<?php
$add = 2 + 3;
$subtract = 7 - 2;
$multiply = 3 * 4;
$divide = 24 / 3;
$modulus = 5 % 2; ?>

echo “Perform addition: 2 + 4 = “.$add.”<br />”;
echo “Perform subtraction: 6 – 2 = “.$subtract.”<br />”;
echo “Perform multiplication:  5 * 3 = “.$multiply.”<br />”;
echo “Perform division: 15 / 3 = “.$divide.”<br />”;
echo “Perform modulus: 5 % 2 = ” . $modulus
?>

This is the output for the above piece of code

3-operators-1

Comparison Operators

Comparison operators are used to check the relationship between variables and/or values. They can only return a true or false value based on the statement that we provide. There are 6 comparison operators (up to my knowledge)

Equal (==) – to check if both the operands are equal in value
Not Equal (!=) – to check if both the operands are not equal in value
Less Than (<) – to check if first value is less than the second
Greater Than (>) – to check if first value is greater than the second
Less Than or Equal (<=) – to check if first value is less than or equal to the second
Greater Than or Equal (>=) – to check if first value is less than or equal to the second

Note that there is a huge difference between “==” and “=”. == is used to evaluate where as = is used to assign. So statement like

if ($x = 3)

Will always return true even if values of $x was not 3.

<?php
$a = 4;
$b = 4;
$c = 6;

echo $a == $b;
echo $a != $b;
echo $a < $c;
echo $a > $c;
echo $a <= $c;
echo $a >= $c;
?>

The above code will output something like this.

3-operators-2

1 represents “true” in Boolean. Yeah you already know it smart pants. So here lines 1,3,5 are true and lines 2,4,6 are false. But we don’t see any 0′s right? I know you’re smart. Echo statement cannot output Boolean false or in other terms Boolean false is nothing but a NULL value, so echo statement cannot simply output NULL values. Hence you don’t see any 0′s here.

String Operators

I think we have already seen the string operator (which I call as the dot operator) used to join multiple strings or variables. If you don’t remember I won’t mind explaining once again. You can use the string operator to join multiple strings or strings and variables like this.

$middlename = "Ameenuddin";
echo "My name is" . "Atif";
$myfullname = "Mohammed " . $middlename . " Atif";
echo "Name : " . $myfullname;

So you remember it. That’s good. Let us move on to the last type of operators now

Increment and Decrement Operators

An increment or a decrement operator can simple increment or decrement the value of any variable with 1. This can work only on integers and floating point number so forget about strings here. (Am I being rude?). Let us take an example, say we want to increment the value of $counter with 1. This is the classic way we would write

$counter = $counter + 1;

Or maybe like this too (called as shorthand)

$counter += 1;

It may look a bit absurd to write long statements for the sake of increasing a value by 1. Like most of the programming languages PHP too supports increment and decrement operators. This is however further sorted into

  • Pre Increment/Decrement
  • Post Increment/Decrement

Pre Increment/Decrement

In this way, the value of the variable is first incremented or decremented based on the operator and then returned back. A few examples for explanation

<?php
$x = 3;
$y = 7;

echo ++$x;
echo “<br />”;
echo –$y;
?>

And the output for this is

3-operators-3

So you already knew that huh! Yes the value of x is increment by 1 and printed as 4 and the value of y is decremented by 1 and printed as 6.

Post Increment/Decrement

Post Increment/Decrement works exactly opposite to pre increment/decrement. Here the variable is first returned back and then the value of the variable is incremented or decremented based on the operator. Moving forth to examples to make it simpler

<?php
$x = 3;
$y = 7;

echo “the value of x = ” . $x– . “<br/>”;
echo “The value of x is now changed to $x” . “<br/>”;;
echo “the value of y = ” . $y++ . “<br/>”;;
echo “The value of y is now changed to $y”;
?>

3-operators-4

As you can see the value of $x—or $y++ is not reflected in the first echoed text because the variable is not incremented until after the line of code is executed. However, with the pre-increment “++$x” the variable does reflect the addition immediately on the same line because it is done before returning output to the buffer.

Related posts:

  1. PHP Syntax, Variables, Echo Statement – Learn PHP in 7 Days – Day #1
  2. Learn PHP in 7 Days
  3. Sanitizing Variables in PHP without Regular Expressions
  4. MS DOS Tutorials – How to Create, Delete, Change, Rename Directory and Files
  5. MS DOS Tutorials – Learn MS DOS with an ease
Categories
PHP

PHP Syntax, Variables, Echo Statement – Learn PHP in 7 Days – Day #1

Welcome everyone to the Day # 1 of my PHP tutorials series, Learn PHP in 7 days. Today we are going to start with basic concepts of PHP like the syntax, using variables, strings and the printing output on the browser using echo statement. Without wasting your time I’ll start the tutorial right away.

PHP Syntax

Note that every statement in PHP finishes with a semicolon ” ; ” at the end except for looping structures. First I may tell you how PHP works. Working with PHP files is the same way like you work with HTML files, but these files end with a .php extension rather than .htm or .html that we usually use for HTML files.

PHP file is nothing but an HTML file. That means you can write an execute HTML inside a PHP file. That’s for sure but how on earth do we execute PHP code? That’s what we expect to learn here right?

Anything placed inside the tags (or a PHP Block) will be you PHP code. For instance:

The above statement is going to output like this on the web browser.

1-hello-world

So this is how you get your output. We execute PHP code in a PHP Block and its gets compiled and is displayed on your browser.

Example of a PHP and HTML Code

My First PHP Page
<?php echo "Hello World!";
?>

I remind you once again, every statement in PHP finishes with a semicolon ” ; ” at the end except for looping structures.

White space

White space between 2 php lines is ignored, so that means you can leave white space without any problem

Variables

A variable is something that can store changing values. If you already know any other programming language or probably Algebra, then you already know what a variable is. The concept of variables is beyond this tutorial so I assume that you already know about a variable.

Variables in PHP are stored with a dollar sign ” $ ” before the variable name. There are some naming conventions for creating variables.

PHP variables can start only with a letter or underscore “_”

PHP variables may only be comprised of alpha-numeric characters and underscores. a-z, A-Z, 0-9, or _

Examples

$myname = "Atif";
$myfullname = 'Mohd Ameenuddin Atif';
$number = 5;
$decimal = 12.25;

As the above code is pretty self explanatory, any string variable must be wrapped inside single (’) or double (“) quotes where as any integer or a floating point (decimal) number should be written straight away.

Hello World!

Let us start with a “hello world” example. Coming back to our hello world example, create a new file using your favorite text editor. Writing hefty applications in a text editor is quite hard to debug. Hence I would recommend you to get a copy of RapidPHP , that is what I use for my self.

Write the following code into the file

<?php
echo ("Hello, World!" );
?>

Now save it as lesson1.php or whatever you would like. Make sure it resides inside the www folder of your WampServer Directory. Open its relative URL like http://localhost/lesson1.php to make sure it works.

1-hello-worldAhh! Great It works!

Echo

Echo is a language construct that allows you to print any thing on the screen. The PHP command echo is a means of outputting text to the web browser. You can print any HTML using echo statement. Here are a few examples of using echo statement to output plain text

<?php I am learning PHP"; ?>
<?php HTML Title tag using PHP "; ?>

And this is how we echo a variable on the web browser.

<?php $websitename = "MyGeekPal!";
<?php echo "hi";
<?php echo "Welcome to $websitename"; ?>

This way the browser will echo the string along with the variable.

Make a note that the variable will be parsed only if its supplied within the double quotes.

An alternative of writing this would be the following way

<?php
$websitename = "MyGeekPal!";
echo "hi";
echo "<h5>Welcome to " . $websitename . "</h5>";
?>

In both the ways the output would be virtually same but when we take it in terms of CPU usage, the output will be processed faster in the second method.

The ( . ) or dot operator is used to simply join 2 expressions. The output you get is

2-echo-1How to echo quotes

To echo quotes or other extend characters like line breaks we use backslash ( ) before the character or also called as escaping text. Let us see an example

2-echo-2

Here is the output

To echo a backslash, write the backslash twice ( \ )

Heredoc method

Heredoc method is another robust method in PHP that can help you create multi line strings variables without using escape characters. Let me first write the code and then explain it to you.

$a_string = <<<TEST
MyGeekpal!
Testing PHP Heredoc
TEST;
echo $a_string;
?>

Use <<< and some identifier keyword (my suggestion would be to use some word that is no where used inside the variable.) like we used TEST.

Start writing the multi line string that you want the variable to hold from the next line onwards.

To close it, simply write the name of the identifier in the next line. Be warned that the line closing the variable must contain only the identifier that we used to start it followed by a semicolon and the line must not be indented.

This is the output that you would get

2-echo-heredoc

Related posts:

  1. Sanitizing Variables in PHP without Regular Expressions
  2. Learn PHP in 7 Days
  3. MS DOS Tutorials – How to Create, Append and View Files and Move Files and Directory
  4. How to Create a WordPress Plugin – Hello World!
  5. MS DOS Tutorials – How to Create, Delete, Change, Rename Directory and Files
Categories
PHP

Learn PHP in 7 Days

After my prolonged exams I have though to write something really productive for you all. All day long I was thinking what should be the topic that I should hit it with. At first I thought to go with HTML or CSS. But these languages are quite easier to learn. SO I though we will be going with PHP, its because I like challenges.

PHP is a great language to learn, specially for web developers. And this week through I am going to write a series of tutorials to make sure you learn the basic concepts of PHP in 7 days. Don’t afford to miss these click here to subscribe to our RSS feeds at least for the next 7 days to get your daily dose of PHP or else you can catch back on this blog everyday.

The tutorials will be starting tomorrow so once again I remind you, don’t forget to subscribe to our RSS feeds

Day #1 – PHP Syntax, Variables, Echo Statement

Day #2 – Using Operators in PHP

Day #3 – Using Comments in PHP

Day #4 – Using Conditional Statements in PHP

Day #5 – Using Loops in PHP

Day #6 –Including Files in PHP

Related posts:

  1. MS DOS Tutorials – Learn MS DOS with an ease
  2. Google Updates PageRank – Google Loves Me !
  3. Welcome to MyGeekPal
  4. How to automatically tweet your blog post
  5. MS DOS Tutorials – How to change colors in DOS prompt
Categories
Make Money

10 Killer Reasons Why Your Blogs don’t Make Good Money (+2 more)

You have a good amount of traffic on your blog. But the monetization thing doesn’t seems to work. Your blog’s Click Through Rare is less than 0.10% or you don’t have leads. Most of the bloggers want to earn at least a small part of their living from their blogs. If your blog is the one among those which generate very little revenue, you one or more of the following may be a reason

    • Money is in your eyes – You don’t blog to share knowledge or create an identity, rather your primary reason for blogging is to earn money. If this is what running in your mind trust me you won’t be earning any good money
    • Your traffic is social media – You have 80% of the traffic that is from social media websites like StumbleUpon and Digg. I say you StumbleUpon traffic is the worst. The only thing it helps is in lowering your Alexa Rank. Traffic from Google, Yahoo and Del.icio.us tends to work well.
    • Your bounce rate is high – Your blog has a bounce rate that is over 75%. This is mostly due to social media traffic. I say you again, traffic from social media websites is useless until they don’t stay on your blog.
    • Quality of Articles – The quality of articles that you write on your blog are not effective enough to keep people on your blog. This can be either language related errors or simple the article is not good enough
    • You blog once in a while – You rarely write posts on your blog. I have noticed a serious decline in subscribers if you I don’t blog frequently. I recommend one to write at least 3 posts in a week excluding posts related to link roundups.
    • Paid Reviews – Seriously no one likes to read useless paid reviews on your blog. This is a grave mistake that bloggers do. Paid reviews are good when you blog is popular enough to get you paid much. Then people won’t mind reading a paid review.

 

  • RSS Subscribers is NOT the key – Your traffic is mostly RSS Subscriber that read your blog in RSS Feeds. RSS Feeds are good but to have a good CTR you need to get your RSS Subscribers back to your blog for reading. Writing striking titles and showing only half of the posts excerpts may work or may have negative aspects too.
  • Unfit Design – your blog doesn’t look appealing making most of the visitors run away. Choose a theme that supports your niche and has decorous white space. Some people (like me) don’t like blogs cluttered with content.
  • Monetize it wisely – Study your traffic and Choose wisely how you should monetize your blog. Should it be CPA or CPC or simple monthly rented banners. Keep experimenting until you find the best way to monetize.
  • Over Monetization – Whoa! You don’t have ads between content, rather you have content in between ads. Remove some ads, clean your website and add some content. People  visit blogs to read content, nor to look at ads.
  • Geeky Traffic – Blogs targeting visitors like webmasters and techies get low clicks. This is mainly because webmasters are ads blinded and techies use extensions that block ads.
  • You don’t sell juice – Almost every blogger sells juice to generate a decent revenue. I hope you understand what juice is. If you don’t then you are losing almost 25% of your website’s revenue. Click Here to Start Selling Juice
Categories
WordPress

How to Backup and Synchronize your WordPress Blog

This tutorial is based on the assumption that you already know the basics of WordPress and FTP. If you need any kind of help with the tutorial, fell free to as me a question below in the comments
wp-backup-cds2I don’t trust web hosts. Yes I mean it I don’t trust any web hosts. I am not saying that web hosts aren’t reliable but when it comes for backup, I don’t trust any web host. No Godaddy, no media temple, no hostgator. First of all I don’t like hosting at godaddy and hostgator either. They have are far too many clients than they can tackle. The best host that I feel to host a wordpress blog is Wpwebhost and I have all my websites and wordpress blogs hosted there. They are the best hosting service for a budget price that I have found so far.

When it comes to backup, thought my host provides me regular backup like most of the pout there, but I still backup my blogs on my own and sync them up to date. I feel this very convenient to keep all my blogs synchronized on my local computer. It makes me feel secure to have everything updated on my local PC. So basically I keep my local backup by, synching my blogs after every 2-3 posts. The main reason for doing this is I don’t have to download those large big backup files generated by the server.

Things to have in your Inventory

Before starting up, these are the things that you may require

Firefox 3.0 – Yeah you need this if you don’t have

FireFTP – So you have firefox like everyone does huh! Grab this extension that we need to synchronize all the image files

WP-DB-Backup – This plugin will help you get the fresh copy of your updated wordpress database

Lets get started – How to backup the Database

We’ll start off with the downloading the database as this is a one step method, next we’ll move on to synchronizing files. Activate the downloaded plugin. Click on DB backups in the sidebar under the posts.

wp-sync-tutorial-1

You get to see something like this, Select all the tables that you want to add in the database and click on backup button

wp-sync-tutorial-2

You will now get a link to your backup file. The backup is created somewhere in wp-contents folder. Simply download that file. You now have the backup of your database.

wp-sync-tutorial-3

The next big thing – How to backup and sync files

This is what is somewhat lengthy process but easier though.Let us first create a new folder where we will be saving/synchronizing the blog. Now keep ot ready and open the Firebug Extension from the Tools menu in your browser. Connect to your website using FTP and navigate to the /wp-contents/uploads/ folder of your blog. Do the same with the local folders, I mean to say navigate to the /wp-content/uploads/ folder in your local sync directory.

wp-sync-tutorial-5

Click on the image to enlarge it

Now click on the Tools button and click sync directories and subdirectories menu.

wp-sync-tutorial-6

You will see some FTP activity going on in hte log and then you may see a dialog box like this.

wp-sync-tutorial-7

Click on the Download button and then click on the Sync button. You will see some files get downloaded and that’s it, you get both the directory synched up to date.

This is what I do with all my blogs. Got a better idea? Please write below…

Related posts:

  1. Tweet My Post: Tweet and Twitter your blog posts
  2. Its time to Upgrade your WordPress Again – How to Upgrade from WordPress 2.6.2 to WordPress 2.6.3
  3. How to Upgrade to WordPress 2.6.5 Easily
  4. Free WordPress Theme – WpTechTuts v1.0
  5. How to Create a WordPress Plugin – Hello World!
Categories
Webmasters

Handling Traffic With Custom 404 Error Pages

For newbies out there 404 Error Page is the page that is returned when no page at a specific URL does not exists. Hence customizing the 404 Error Page can put a great effect in convincing visitors to stay on your website.

So lets start how to deal with the 404 Errors and creating custom 404 page for your website

ie_404_err.JPG

Setting Up a 404 Page

To set up a 404 page, only 2 things need to be done

  • Modifying the .htaccess file

Elaborating on this step all you need to do is create a file (incase you dont have it already in you root directory) and name it as “.htaccess” meaning that there is no filename and the extension is htaccess. Now write this in the file and upload it in your root directory

ErrorDocument 404 /notfound.html

  • Creating an html Error Page

Coming to the html part now create a html document, its not limited to html document you can create a php document too ad make sure it resides in your root directory with the name as given in the .htaccess document. For instance we took the name notfound.html so you need to make sure a file named notfound.html exists in your root directory.

Thats all… now you have set up now have a try and you should see that you are being redirected to the error page on 404 error.

Well I’m feeling quite sleepy today will write out more about this topic tomorrow. Sure to come… Some Cool 404 Pages, Custom 404 Pages for WordPress Powered Blogs ad the most prominent of all Monetizing 404 Pages

Keep viewing…

Related posts:

  1. WordPress: Creating Custom 404 Pages
  2. 301 Redirect: The Search Engine Friendly Way To
  3. MS DOS Tutorials – How to Create, Delete, Change, Rename Directory and Files
  4. 8 Essential Things to Check your Website for
  5. The Anatomy Of StumbleUpon – How to drive more traffic with StumbleUpon
Categories
WordPress

How to Create a WordPress Plugin – Hello World!

A wordpress plugin can do wonderful things with your blog. Developing a wordpress plugin may look more difficult compared to themes but if you know PHP then thanks to the hooks and functions, developing a wordpress plugin is very simple.

This is a very simple and basic tutorial in which we will create a simple plugin that prints Hello World! on your blog.

Let us begin with creating a new folder inside the wp-content/plugins/ directory. I will name is as hello-world.

Create a new php file inside the folder we just created. I am naming this file as hello-world.php. Now Before we get started with the plugin, let us first add the meta data to the plugin. Open the hello-world.php and add some information on top, something like this

<?php
/*
Plugin Name: Hello World
Plugin URI: http://www.yourdomain.ca
Description: A simple Hello Word Plugin
Version: 1
Author: John Doe
Author URI: http://www.yourdomain.ca
*/

That was our meta data. Meta data is pulled out by the wordpress core and is displayed in the plugins page of your wordpress admin. Now we will create a simple php function to print Hello World! Add this code below to create a simple hello world function

function helloworld() {
        echo ("Hello World!");
}
?>

Save the file. The above code will output Hello World! when the function is called from any of your pages. Go to the Manage Plugins page (wp-admin/plugins.php) and activate the Hello World Plugin.

Now we need to call the function from some file to execute it. Open the index.php (or any file like footer.php) file in your current theme folder and add this anywhere where you would like to see the code. (preferably at the end near the footer).

<?php
if(function_exists(’helloworld’)) {
helloworld();
}
?>

Save the file and reload your blogs main page. You mush be seeing Hello World! somewhere where you have put the code. This example might not be interesting but it is a good start to learn coding plugins.

Make sure you are subscribed to feeds, as more tutorials will be coming soon.

Related posts:

  1. WordPress Plugin – RSS Post Editor
  2. How to make your WordPress Theme Widget Ready
  3. How to Create Post Accordions in WordPress
  4. WordPress Plugin – Techytube
  5. 3 Most Important SEO Plugins for your WordPress Blog
Categories
Random

Welcome to MyGeekPal

Hey there and welcome to Mygeekpal. Mygeekpal is developed by Mohammed Ameenuddin Atif, that’s me.. I am a webamsters hailing from Hyderabad, India. The purpose of MyGeekPal is to serve and guide people about computers and technology, help webmasters develop their websites, entrepreneurs how to effectively market products online and amateurs to help make money online as well.

So now on I’ll be providing you quality tutorials, freebies and stuffs, tools, and lots of opportunities to you all and help serve the webmaster and geek community. I am pretty sure you wont be liking to miss this opportunity so the first thing you do is subscribe to our feeds as well as subscribe by email to make sure you don’t miss anything.

I will be open to answer all the questions that you could possibly have, so feel free to use the contact form with your questions, and I will make sure to address them in a timely manner. Your comments are welcomed too. I would like to share whatever I know and you can use the contact form to suggest anything to me and people are free to write a guest post too.]

So that’s the end of the introduction and the real business starts here…

Related posts:

  1. How to create Ebooks and PDF Files using Google Docs
  2. The Anatomy Of StumbleUpon – How to drive more traffic with StumbleUpon
  3. Customizing the TaskBar System Tray Icons in Windows XP
  4. Free WordPress Theme – WpTechTuts v1.0
  5. 10 Simple ways to protect and secure your PC from Internet Threats
Categories
SEO

WordPress: Creating Custom 404 Pages

Lol… I’m sure you must be thinking why am I after 404 these days. 404 pages is one of the essential things in SEO. Hence I’ll be clearing off essential things first.  Last week I posted something about handling 404 error pages. And now to make it simple we will see how to do it with a wordpress theme. Now that makes the sense. Doesn’t it?

I’ll be writing a complete tutorial on creating WordPress themes later after my exams which might be probably in the 3rd or 4th week of May. So coming back to the topic today we will be creating a custom 404 page for your WordPress theme.

What you basically got to do is

Open your WordPress theme folder that inside wp-content/themes/.

Now look for a file named 404.php.

If it exists open it up and do what ever you like with it. Thats the one we needed after all.

If not then make a copy of single.php and rename it as 404.php. Remove all the WordPress template tags and write your own HTML, for monetizing you can put up you ad code too. I recommend you to put up links to best content opf your website to get back the visitors. When your done just upload it to the theme folder.

That’s all !! Easy isn’t it

Comments Please ….

Related posts:

  1. MS DOS Tutorials – How to Create, Delete, Change, Rename Directory and Files
  2. How to Create Post Accordions in WordPress
  3. Its time to Upgrade your WordPress Again – How to Upgrade from WordPress 2.6.2 to WordPress 2.6.3
  4. [Video] Creating a Custom Toolbar in Windows XP
  5. How to Upgrade to WordPress 2.6.5 Easily
Categories
WordPress

Its time to Upgrade your WordPress Again – How to Upgrade from WordPress 2.6.2 to WordPress 2.6.3

As my opened my blog’s dashboard today, the first thing that I noticed was please upgrade your wordpress package.

Well I knew WordPress 2.7 was to be released in November. But never expected 2.6.3 to be out. And this may be the last time I am upgrading wordpress as WordPress 2.7 is to be incorporated with an auto upgrade feature. Cool !

So coming back to 2.6.3, the upgrade 2.6.3 was necessary as recently there was a critical vulnerability announced in the Snoopy Library. And our wordpress uses the same to get feeds in the dashboard. This is a simple upgrade and I wont recommend you to download the complete 1.2 MB package and upload it to your server and go throught the upgrade process if you are already running WordPress 2.6.2. Basically only 2 files needs to be replaced here in case of upgrade from WordPress 2.6.2 to.Wordpress 2.6.3 which are

  1. wp-includes/class-snoopy.php
  2. wp-includes/version.php

Download the zip file which contains both the upgraded file.

Unzip it

(If you dont have any compression utility your Windows XP already supports zip files. You can view a tutorial on using zip files here)

Upload both the files  to your wp-includes directory.

Make sure the files are overwritten… Happy blogging and our special thanks to Rockorn.com for the 2 files

Related posts:

  1. How to Create Post Accordions in WordPress
  2. How to keep your PC clean and junk free with CCleaner
  3. WordPress Plugin – Thumbs Me Up!
  4. MS DOS Tutorials – How to Create, Append and View Files and Move Files and Directory
  5. How to create Ebooks and PDF Files using Google Docs