Posts Tagged ‘How To’

How To detect Mobile visitors on Your WordPress

Thursday, December 10th, 2009
Detect Mobile Users

Detect Mobile Users

Right now, Mobile user growing really fast, some of them enjoy to read blog via Mobile Phone, iPhone or they BlackBerry. As weblog maintenance. We need to create some wonderful guide how to directly Mobile user to match with Mobile Friendly interface.

I got this tips from WP Recipes, this tips is really nice and I like it

Write this script on your header.php

Once done, simply open your header.php file and place the following at the top of the file. Don’t forget to edit line 5 according to the page where you’d like to redirect mobile users.

include('mobile_device_detect.php');
$mobile = mobile_device_detect();

if ($mobile==true) {
  header( 'Location: http://your-website.com/?theme=Your_Mobile_Theme' ) ;
}

Thanks to Jeff Starr for this very cool idea! and Happy blogging and sent your reader to the right theme ;)

Popularity: 1%

Resetter for Canon Pixma MP198

Wednesday, July 29th, 2009

Canon Printer, is one of the big five printers product ever. I love and enjoy Canon Printers, Because they product is better and very easy to use. Some Canon user found some problem on Canon Pixma MP198, the Problem is How To Reset Canon Pix MP198 or They try to find some Resetter

canon_MP198

I will try to share some tips about How To Reset Canon Pixma MP198

Reset Waste Ink

  1. Enter SERVICE MODE. By pressing Menu Copy Scan Copy Copy
  2. Select TEST MODE.
  3. Select [8] PRINTER TEST in TEST MODE.
  4. Select 3. [EEPROM CLEAR].
  5. Select 0. [INK COUNT].
  6. Press the [Set] key.
  7. Press the [Stop/Reset] key (returning to the state of 3)), and then press the [ON/OFF] key.

I hope that tips is useful and Have a nice day

Popularity: 10%

How To Creating Featured Slider in Wordpress

Wednesday, April 22nd, 2009

Creating Featured Slider in WordPress is useful functions. With tutorial from TobaCamp Featured Slider will be easy to implemented. Just follow the tutorial and you will have nice and good looking wordpress website or blogs. Like what TobaCamp team has said.

Featured Slider is considered as one of the hottest elements on a website, the trend of using the slider effects continued each year. JQuery which has become  Wordpress  prominent javascript framework shows many love to sliding effect and this tutorial will guide you through one of them; the JQuery s3Slider.

View the HTML demo in here to see what we’re trying to create.

What You Need

JQuery. Get the latest JQuery download and place it inside your wordpress theme, you might create a new folder for it as well.

s3Slider.js. You can download the script in here and place it on the same folder as above.

Read More on this post

Popularity: 2%

How to clear the “Briefly unavailable for scheduled maintenance” message after doing automatic upgrade?

Saturday, February 21st, 2009

As part of the automatic upgrade WordPress places a file named .maintenance in the blog base folder (folder that contains the wp-admin folder). If that file exists, then vistors will see the message Briefly unavailable for scheduled maintenance. Check back in a minute.

To stop that message from being displayed to vistors, just delete the .maintenance file. The automatic upgrade should be executed again, just in case it failed.

Popularity: 2%

How To Fix: Can’t connect to local MySQL server through socket /tmp/mysql.sock

Friday, November 21st, 2008

If you found trouble on your Mac OS X Leopard or other Mac OS X Can’t connect to local MySQL server through socket /tmp/mysql.sock. I got the solutions how to fix it.

When connecting to a MySQL server located on the local system, the mysql client connects thorugh a local file called a socket instead of connecting to the localhost loopback address 127.0.0.1. For the mysql client, the default location of this socket file is /tmp/mysql.sock. However, for a variety of reasons, many MySQL installations place this socket file somewhere else like /var/lib/mysql/mysql.sock.

While it is possible to make this work by specifying the socket file directly in the mysql client command

mysql –socket=/var/lib/mysql/mysql.sock …

If you must do so this way (because you don’t have permissions to the file in the solution below), you could create an alias in your shell to make this work (like alias mysql=”mysql –socket=/var/lib/mysql/mysql.sock” depending on your shell).

To make your life easier, you can make a simple change to the MySQL configuration file /etc/my.cnf that will permanently set the socket file used by the mysql client. After making a backup copy of /etc/my.cnf, open it in your favorite editor. The file is divided into sections such as

[mysqld]
datadir=/usr/local/mysql/data
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql
basedir=/usr/local/mysql

If there is not currently a section called [client], add one at the bottom of the file and copy the socket= line under the [mysqld] section such as:

[client]
socket=/var/lib/mysql/mysql.sock

If there is already a [client] section in the my.cnf file, add or edit the socket line as appropriate. You won’t need to restart your server or any other processes. Subsequent uses of the mysql client will use the proper socket file. And have a nice day ;)

Popularity: 2%