Upgrade Version 2.5 to Version 2.6
Read First
Steps
1. Download and unzip the upgrade files. Be sure to use the same version.
2. Upload the changed files replacing the old files. (Only changed or new
files are included in the download.)
-- All the
files in the functions folder (includes/functions/*) must be uploaded in
BINARY mode.
-- All the files in
the ioncube folder must be uploaded in BINARY mode.
(Ioncube Version Only)
3. CHMOD the files folder 777(make it writable) Uploaded files are stored in this folder.
4. Open config.php in a text editor and paste in the following code anywhere
above the closing ?> tag.
After pasting be sure to go
through and set them. See Config File for
descriptions.
---------------------- START CONFIG CODE ----------------------------
// Added version 2.6 - FCKeditor for description
field
$wysiwyg = 1; // 1=on 0=off
// Email Settings version 2.6
$html_email = 1; // 1=HTML 0=Plain text
$wordwrap = 50; //
Plain text Only. Line length. (0 = off)
$useSMTP = 1; //
1=Yes 0=No
$smtp_server = "mail.yourserver.com"; // mail
server
$smtp_port = 25; // Mail port number (Default
= 25)
$smtp_username = "";
$smtp_password = "";
// max length for Ask Question text
box
$maxAskText = 150;
// max length for Send to Friend text
box
$maxFriendText = 150;
// Send questions directly to the listers email or the
default email
// if user - make sure they have a valid
email address in their account.
$sendToUser = 0; // 1=User
0=default
// Send copy to
sender?
$sendFriendCopy = 1; // 1=Yes 0=No
// Send copy to sender?
$sendAskCopy
= 1; // 1=Yes 0=No
// Include thumbnail in emails
$include_thumb = 1; //1=Yes 0=No
// Category Menu Type
// Can be
slider or folder.
$menuType = "folder";
// Details Page Thumbnails
// Can be
table or iframe
$thumbType = "table";
// Carfax Dealer Program
$carfax_active = 0; // 1=On 0=Off
$carfax_id =
"WDB_0";
// Show in all pages or just details
page?
$show_carfax = 1; // 1=ALL 0=Details
Only
// Carfax Button Image - Image needs to be in the
v_images folder.
$carfaxbutton =
"carfax_small.gif";
$carfaxbutton_big =
"carfax_big.gif";
// Full file folder Path with trailing slash
/
$file_path =
"/home/user/public_html/files/";
// File URL with trailing
slash /
$file_url = "http://yourdomain.com/files/";
------------------ END CONFIG CODE ----------------------------
5. Open includes/languages/english.php and paste in the following anywhere above the closing ?> tag.
------------------ START ENGLISH.PHP CODE ---------------------
// Added version 2.6
$L_closeButton = "Close
Window";
$L_referFormHeader = "Send this listing to a
friend";
$L_questionFormHeader = "Ask a question about
this listing";
$L_clickThumb = "Click to
Enlarge";
$L_mailToName = 'Friends
Name';
$L_mailsenderEmail = 'Your
Email';
$L_pleaseEnter = "Please
enter";
$L_questionBlank = "a
Question";
$L_friendEmailFormat = "Your friends email is
not formatted correctly.";
$L_yourEmailFormat = "Your
email is not formatted correctly.";
$L_mailFail = "Message
was not sent.";
$L_mailSent = "Message has been
sent.";
$L_only = "Only";
$L_and =
"and";
$L_not = "Not";
$L_exclude =
"Exclude";
$L_hidden = "Hidden";
$L_file = "File";
$L_files =
"Files";
$L_images = "Images";
$L_optional = "Optional";
$L_linkText = "Link
Text";
$L_failed = "Failed";
$L_table = "Table";
$L_selectOne = "-- Select One
--";
$L_min = "Minimum";
$L_max =
"Maximum";
------------------ END ENGLISH.PHP CODE ---------------------------------
6. Open templates/*/header.php and paste in the
following code. Your current template
minimum but you should do them all in case you switch later.
------------------------ BEGIN HEADER.PHP --------------------------------
<-------- Replace This---------->
<script
language="JavaScript">
<!--
function
showimage(theimage,hugeimage)
{
document.images.large.style.visibility =
"visible";
document.images.large.src =
theimage;
document.getElementById('biglink').href =
hugeimage;
//-->
}
</script>
<------- With This --------->
<?php require_once("includes/javascript/header_code.php");?>
<------ End -------->
--------------------- END HEADER.PHP CODE ---------------------------------
7. Open your browser to http://yourdomain.com/sql_update.php and click the button to update your database. Remove sql_update.php from the server once the update is complete.
Upgrade Complete.
If you need assistance please use our support desk at:
https://www.selectdevelopment.com/support/