In my development machine I always like to move the default /var/www directory to my home directory, e.g. /home/tareq/www . It's very simple to do. Open the /etc/apache2/sites-available/default file with administrator privilege and change the document root as you want Now change the file like this: Now restart your apache Update According to Nasim vai, …
I used to work in my projects like editing a file and uploading the changed files back to the server every time when it feels like those changes are OK. But when the number of files gets bigger, I lose track which files I've edited. In that case I had to upload all the files …
WP User Frontend plugin supports some actions and filters by itself. That means you can extend this plugin without touching its code. Let's see how to do that. Adding an input field You can add your custom input fields in 5 areas in the post add form, they are: Top area: wpuf_add_post_form_top Before the post …
Maybe you are working in a server or in local machine, you may have situations where you want to track if mail is sending as you want. I find it very useful in my local server, because I don't have any MTP installed in my local machine. So I use this following method to …
It's a tiny plugin that logs the user login count. I made this about two months ago for a client. Now I am making it open source. You can view how many registered users logged in in your site every day. There are no other options for this plugin. Just install and it'll log the …
phpXperts is the biggest PHP group from Bangladesh. It was started by Hasin Hayder as a yahoo group and is a great place for newbies to ask questions and to solve their problems. Now the most part of the activity of this group is based on the facebook group for phpXperts . The annual seminar …
The new Ubuntu is here 2 days ago. I was using Natty Narwhal (11.04) and didn't take any risk to use Gnome 3 there. But I couldn't resist myself to switch to Gnome 3 this time. Here are some things I did after installing 11.10 - [Note: If you are in Bangladesh, change the default …
After I saw the latest release Gingerbread 2.3.4 in samfirmwire.com about a month ago, I decided to upgrade my Galaxy Mini from Froyo (2.1). I upgraded without any hassle. The experience was quite good. The phone was faster and also the touch response was really good. I was happy with that :D But, as …
May be you are developing a plugin or a theme and it has something to do with handling some pagination of your custom tables data. Here's how we can simply manage it, I am not going to build all the admin panel stuffs, but just showing you the process. Step 1: Let's get the page …
What? What did you say on the title? Well, I am not sure this is an appropriate title. But I am going to explain it to you. Let's say, you are making a theme or a WordPress plugin and you want to show something in the admin panel like this: We will see how can …