Config File Information

The config.php file is where you will set your preferences, turn options on and off, and set your database information. Below is a basic description of the settings and what they do. For information on a specific feature please check and see if there is a page for that feature.

$license=""; - Enter your license number. If you do not know what your license number is you can find it in your account.

$baseurl="http://yourdomain.com"; - This is the url to the script. No trailing slash /

$dbuser=""; - Database Username

$dbpassword=""; - Database Password

$db=""; - Database name

$L_money="\$"; - Currency Symbol - The US dollar sign must have a backslash \ before it.

$limit=5; - How many listings to show per page. (Public Side)

$admin_limit=10;  - How many listings to show per page. (Admin Side)

$L_miles="Mileage"; - Text setting. 

$no_price="Please Call"; - text shown when no price is set for a listing. Keep it short.

$copyright="© Copyright 2008"; - Copyright text shown in footer.

$del_confim=1; // 0=No 1=Yes - If set to No listings will be removed as soon as you click delete instead of showing a confirmation page.

$showdate=0; // 1 = Yes | 0 = No - Whether or not to show the listings add date on the details page.

$show_cat_count=1; // 0=No 1=Yes - Show the count in the category menu

$show_zero_count=0; // 0=No 1=Yes - Show Zero category counts in menu 

$html_email=1; // 1=HTML 0=Plain text - Use HTML or Plain text for Send to Friend and Ask Question emails

$wordwrap=55; // Plain text Only. Line length. (0= off)

$useSMTP=1; // 1=Yes 0=No - Use SMTP or mail() for sending email. (SMTP is recommended.)

$smtp_server="mail.yourserver.com"; // mail server - Mail server Address (SMTP Only)

$smtp_port=25; // Outbound Mail port number (Default= 25). Your host may provide an alternative port. (SMTP Only)

$smtp_username=""; -  Email Username (SMTP Only)

$smtp_password=""; - Email Password (SMTP Only)

$use_mail="1"; // 1=on 0=off - Turns the send to friend listing on and off.

$maxFriendText=200; - Max length for the comment field in send to friend form.

$sendFriendCopy=1; // 1=Yes 0=No - If set to yes the sender will get a copy of the email

$mail_sales="1"; // 1=on 0=off - Turns the ask question feature on and off.

$maxAskText=200; - Max length for the question field in the ask question form.

$sendToUser=1; // 1=User 0=default - If set to 1 the ask question email will go directly to the user that added the listing. 0 will got to the default email set in config.

$sendAskCopy=1; // 1=Yes 0=No - If set to yes the sender will get a confirmation/copy of the ask question email.

$include_thumb=1; //1=Yes 0=No - Include a thumbnail image in the emails?

$youremail="name@domain.com"; - Default email address. Will recieve Ask question emails if set to default and is used as the return email address.

$yourname="Company Name"; // Used as the from in emails.

$chmod=1; // 1=On 0=Off - Turns on/off setting the permissions on images. Disable it only if you have a Windows OS

$perms=0644; //MUST HAVE THE BEGINNING ZERO! - What to set the image permissions to. Don't change unless you know what your doing.

Image Notes:

$maxThumbWidth=100;  - Max width for thumbnails

$maxThumbHeight=300; - Max height for thumbnails

$maxImageWidth=300; - Max width for full images (top of details page)

$maxImageHeight=500; - max height for full images (top of details page)

$bigimage=1; - Turns big images on and off. Big images are the ones that open when a thumb or full image is clicked.

$maxBigImageHeight=600; - Max height for big image.

$maxBigImageWidth=800; - Max width for big image.

$image_quality=75; - Image quality setting. (100 max) Higher number equals larger file.

Path Notes

$thumb_path="/home/username/public_html/v_thumbs/"; - Path to the thumbs folder.

$image_path="/home/username/public_html/v_images/"; - Path to the full image folder

$bigimage_path="/home/username/public_html/v_bimages/"; - Path to the big image folder

$thumb_url="http://yourdomain.com/v_thumbs/"; - Url to the thumb folder with trialing slash /

$img_url="http://yourdomain.com/v_images/"; - Url to the full image folder with trailing slash /

$bigimage_url="http://yourdomain.com/v_bimages/"; - Url to the big image folder with trailing slash /

$file_path="/home/username/public_html/files/"; - Url to the files folder with trailing slash / Used to store uploaded files.

$file_url="http://yourdomain.com/files/"; - Url to the files folder.

$latest_list=1; // 1 = On | 0 = Off - Show latest listings on homepage?

$num_latest=3; - Number of latest listings to show on homepage.

$specials_list=1; // 1 =On | 0 = Off - Show random specials on homepage? (Specials are anything with a sale price)

$specials_list_num=3; - Number of random specials to show on the homepage.

$nothumb="nothumb.jpg"; Default thumbnail image. Must be in v_thumbs folder. (It is better to rename your images than change the name.)

$noimage="noimage.jpg"; Default full image. Must be in v_images folder. (It is better to rename your images than change the name.)

$template="default"; Name of the directory in the templates folder. (basic, default, greycar, and purplecar are included) 

$menuType="slider"; - Determines the type of category menu to use. slider for the slideout menu or folder for the folder menu. (slider or folder)

$thumbType="table"; - Determines the automated thumbnail display in the details page. (table or iframe)

$language="english"; - Language. - Must be a php file in includes/languages/

$newusedopt=1; - Turns the used/new search option off and on. Only disable if you only sell used cars. All listings will be marked used by default.

$use_calc=1; - Show payment calculator link on details page.

// Sold over Images Settings (Requires FreeType Support)

$sold_over_images=1;  // 1 = On | 0 = Off - Turn the write sold on images feature on and off.

$thefont="times.ttf"; // The font to use. Can be any true type font. Must be located in includes/font/

$thumbfontsize=16; Thumb text font size

$imagefontsize=30; - Full image text font size.

$sold_text="SOLD"; - Text to write

$sold_text_angle=35; // 0-90 degrees (0 = Horizontal) Angle of the text

// Sold Font Color must be the RGB Values - White(255,255,255),Red(255,0,0),Blue(0,0,255)

$font_red=255; - Red

$font_green=255; - Green

$font_blue=255; - Blue

$pending_text="PENDING";

$pending_thumb_font_size=14;

$pending_image_font_size=30;

$pending_text_angle=30;

// PENDING Font Color must be the RGB Values - White(255,255,255),Red(255,0,0),Blue(0,0,255)

$pfont_red=255; - Red

$pfont_green=255; - Green

$pfont_blue=255;  - Blue

// Google Analytics Settings (Free Stats from Google)
// Go to google.com to setup a free account and view web stats.

$google_analytics=0; /// 1 = on | 0 = off - Trun Google Analytics on and off

$google_id=""; - Account number from Google

$google_ssl=1; - 1 = Yes | 0 = No - Yes uses a SSL connection to Google. Use this if you have any secure pages to avoid a browser warning for non ssl content.

$google_track_admin=0; // 1=Yes 0=No - Yes tracks visits to the admin section. Default is No

$google_maps=0; // 1=On 0=Off - Turns Google Maps on and off

$google_maps_key='YOUR_MAP_KEY_HERE'; - Your Google Maps key. (get from google .com)

$google_maps_height=14; - 17 is closest 1 is farthest away. If you are too close map may not show if Google doesn't have the detail required.

$google_country="US"; // US or UK. - Only change if you are in the UK. Googles geocoder does not work for UK addresses.

$wysiwyg=1; // 1=on 0=off Turns the wysiwyg editor for the description field on and off.

error_reporting (E_ALL ^ E_NOTICE); - Sets PHP error reporting to the default level.

If you have any questions please contact us.