Upgrade Version 2.7 to Version 2.8

 

Read First

Steps

1. Download and unzip the upgrade files. (All upgrades from all versions are included in a single zip file.) There are no longer multiple versions for PHP 4 and PHP 5. There is
a single Ioncube version that will run on both PHP 4 and PHP 5. 

2. Upload the changed files replacing the old files. (Only changed or new files are included in the download.)
     -- The function files are no longer binary.
     -- All the files in the ioncube folder must be uploaded in BINARY mode. (If needed.)

3. 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.

--------------------------- Start config.php ----------------------------------------

// Details Page Thumbnails
// Can be table or carousel
$thumbType = "carousel";

// Thumbnail Carousellite settings - Added Version 2.8
$thumbCircular = "true"; // true or false - Loops through the thumbs instead of stopping at the end.
$thumbVisible = 4; // Number - How many thumbs show at one time.
$thumbAuto = "true"; // true or false - Thumbs rotate automatically.
$thumbSpeed = 1300; // Number - The lower the number the faster the thumbs scroll.
$thumbVertical = "false"; // true or false - Horizontal or Vertical display.
$thumbButtons = "false"; // true or false - Show the back and forward buttons

// Video
// Set the following to the default url and size that you want your videos to be and
// they will be inserted into the add form for you.
$videoURL = "http://"; // Default Video URL
$videoWidth = "320"; // Default Video Width
$videoHeight = "240"; // Default Video Height

$wysiwyg_type = "tinymce"; // Which editor do you want to use (tinymce or fckeditor)

--------------------------- End config.php ------------------------------------------

4. Open includes/language/english.php in a text editor and paste the following. The last variable ($L_video_notes) should be one line when pasted in)

--------------------------- Start english.php ----------------------------------------

    // Aded for version 2.8
    $L_manage_images = "Manage Images";
    $L_manage_files = "Manage Files";
    $L_manage_video = "Manage Video";
    $L_add_image = "Add Image";
    $L_change_image = "Change Image";
    $L_image_changed = "Changed";
    $L_edit_images = "Images";
    $L_invalid_id = "Id is not valid.<br /><br />Please try again.";
    $L_upload_failed = "Image upload failed.";
    $L_video = "Video";
    $L_info = "Information";
    $L_files = "Files";
    $L_manage = "Manage";
    $L_submit = "Submit";
    $L_display = "Display";
    $L_visible = "Visible";

    // Video
    $L_title = "Video Title";
    $L_video_url = "Video URL";
    $L_youtube_id = "Youtube ID";
    $L_width = "Width";
    $L_height = "Height";
    $L_video_add = "Video Added";
    $L_video_add_fail = "There was an error adding the video.";
    $L_video_update = "Video Updated";
    $L_video_update_fail = "There was an error updating the video.";
    $L_video_error = "You must enter the Video URL <u>OR</u> Youtube ID.";
    $L_video_http = "Full url to the video file (http://domain.com/video.flv)";
    $L_video_youtube = "You can get the ID from the youtube url if needed. (http://www.youtube.com/watch?v=sJC7E06IBXI the ID is sJC7E06IBXI)";
    $L_video_wh = "The width and height of the video. (Defaults set in config.php)";
    $L_video_title = "Title for the Video";
    $L_video_notes = "<b>Video Notes:</b> <ul><li>Due to PHP upload limits you must upload video files manually.</li><li>Flash (.flv) movies are recommended for the widest compatibility.</li><li>You can convert most formats to FLV using a converter like <a href=\"http://www.koyotesoft.com/indexEn.html\" target=\"_blank\" style=\"color: blue\">Free Video Converter 2.8</a></li><li>Many formats are supported such as Quicktime, Real, Windows Media, Flash, etc. but browser compatibility will vary.</li><li>If the Youtube ID field is filled in, the Video URL field is ignored.</li></ul><br />";

--------------------------- End english.php -----------------------------------------

5. templates/*/header.php   -  (* = ALL TEMPLATES)

Change:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd ">

6. templates/*/admin_header.php

Change:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd ">

7. templates/*/css/style.css

-------------------------- Start style.css ----------------------------------------------

.thumbspace li{
    /* Space between thumbs in carousel */
    margin: 2px;
}

------------------------- End style.css ------------------------------------------------

8. Remove files (optional)

-- Remove file: admin/XMLRPC.class.php
-- Remove file: thumbframe.php
-- Remove folder & files: includes/javascript/modalwindow
-- Remove folder & files: includes/mlmenu
-- Remove file: templates/*/css/mlmenu_style.css

9. Go to http://yourdomain.com/sql_update.php and click to update the database.

10. Remove sql_update.php from the server.

Upgrade is Complete! Be sure to test everything.

If you need assistance please use our support desk at:
https://www.selectdevelopment.com/clients