GeoClassifieds Tutorial and Installation How To
-
Mini-Me
- $6.95 /month
- 500 MB Storage
- 1 FTP Account
- 25 Subdomains
- 15 GB Bandwidth
- 50 E-mail Boxes
- 25 MySQL DBs
This tutorial describes how to use the GeoClassifieds classified software with your NEXCESS.NET web hosting account. NEXCESS.NET specializes in hosting GeoClassifieds software and this tutorial is meant to help you quickly setup your site with our web hosting service.
GeoClassifieds is open source, meaning that you can use and distribute it as you'd like as long as you don't change it.
For the sake of this tutorial we'll assume that you own the domain 'johnsmith.com' and are setting up GeoClassifieds at http://johnsmith.com/geoclassifieds/.
Follow these steps to complete the tutorial:
- The first thing to do is to run through
the SiteWorx MySQL tutorial and
create a database for GeoClassifieds to use to store the information
it needs.
Create a database called 'geoclassifieds' with a user named 'geoclassifieds'. When you do this SiteWorx will prefix the database and user names with some text resembling your domain name.
With our example domain of 'johnsmith.com' the database name is 'johnsmit_geoclassifieds' and the username is the same 'johnsmit_geoclassifieds'. - Download the latest version of GeoClassifieds
from the GeoClassifieds
website and unzip the contents of the zip file to your desktop
using http://winzip.com.
You should now have all the files and folders you need to install and run GeoClassifieds. Create a folder named 'geoclassifieds' on your desktop and place all the files and folders into this folder. In the 'geoclassifieds' folder, create a folder named 'images'. In the 'geoclassifieds' folder, create a folder named 'uploads'. In the 'geoclassifieds/classes' folder, create a folder named 'drivers'. In the 'geoclassifieds' folder, copy the 'adodbver1.9/drivers/adodb-mysql.inc.php' file into the 'classes/drivers' folder. In the 'geoclassifieds' folder, copy the 'adodbver1.9/adodb.inc.php' file into the 'classes' folder.
- Now we need to edit some of the files. Open
GeoClassifieds 'config.php' in your text editing program. We need
to enter the information for the database we created in step #1.
For this example, we'll enter the information as follows:
- $db_host = "localhost";
- $db_username = "johnsmit_geoclassifieds";
- $db_password = "mypassword";
- $database = "johnsmit_geoclassifieds";
Your screen should look like this:

Save and close the 'config.php' file. Open the 'classes/authenticate_class.php' file. Scroll down to the 'class Auth' section. You need to change the values in this section to match your preferences. Your screen should look like this:

Save and close the 'classes/authenticate_class.php' file. Open the 'classes/classified_browse_class.php' file. Scroll down to the 'class Classified_browse' section. You need to change the path to GeoClassifieds images. You can change the other values in this section according to your preferences, but the only required change is the images path. For this example, we'll change the path to '/home/johnsmith.com/html/geoclassifieds/images/'. Your screen should look like this:

Save and close the 'classes/classified_browse_class.php' file. Open the 'classified_sell_class.php' file. Scroll down to the 'class Classified_sell' section. You need to change some path and url values in this file. The other values in this section can be changed according to your preferences, but the only required changes are the following:
- var $temp_upload_path = "/home/johnsmith.com/html/geoclassifieds/uploads/";
- var $classified_images_path= "/home/johnsmith.com/html/geoclassifieds/images/";
- var $classified_images_directory = "/images";
- var $url_to_images_directory = "http://www.johnsmith.com/products/geoclassifieds/images/";
- var $url_to_tmp_images_directory = "http://www.johnsmith.com/products/geoclassifieds/uploads/";
Your screen should look like this:
Save and close the 'classes/classified_sell_class.php' file.
- You need to import the 'geoclassified.sql' file into your database using the phpMyAdmin system. If you don't know how to do this, check out the phpMyAdmin tutorial on our tutorials page.
- Upload the 'geoclassifieds' folder to your web hosting account. You should do this using an FTP Program. If you need help with FTPing files, you can check out the FTP tutorials on our tutorials page.
- Now we can access the GeoClassifieds admin
login page. In this example, we'll point to 'http://www.johnsmith.com/geoclassifieds/admin/index.php'.
Enter 'admin' for the username and 'geodesic' for the password. Your
screen should look like this:

Click the 'Login' button to login to GeoClassifieds. From here you can manage your GeoClassifieds software. Your screen should look like this:

To access your GeoClassifieds main page, for this example, you would point to 'http://johnsmith.com/geoclassifieds/classifieds.php'. The GeoClassifieds tutorial is now complete. Your screen should look like this:
For more information on how to use GeoClassifieds once it's installed, check out the GeoClassifieds FAQs.