Pixelpost version 1.4.2 Welcome as User of PixelPost! This file provides you with the necessary steps to upgrade from your existing PixelPost Version 1.3 to PixelPost 1.4 You find as well information how to upgrade from former versions Contents: 1- UPGRADE from Version 1.1 or Version 1.2 to PixelPost 1.4 2- UPGRADE from Version 1.3 to PixelPost 1.4 3- UPGRADE from Version 1.4BETA to PixelPost 1.4.1 4. UPGRADE from Version 1.4 to PixelPost 1.4.1 5. UPGRADE from Version 1.4 to PixelPost 1.4.2 ------------------------------------------------------------------------- Pixelpost version 1.4.2 index.php version 1.7 Pixelpost www: http://www.pixelpost.org/ Version 1.4.2: Developer Team: Ramin Mehran, Connie Mueller-Goedecke, Robert Prouse, Will Duncan, Joseph Spurling, GeoS Version 1.1 to Version 1.3: Linus Contact: thecrew@pixelpost.org Copyright © 2005 Pixelpost.org License: http://www.gnu.org/copyleft/gpl.html This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software ------------------------------------------------------------------------- 1- UPGRADE from Version 1.1 or Version 1.2 to PixelPost 1.4 ------------------------------------------------------------------------- In this rare case, you should run the Upgrade to Version 1.3 first you find this upgrade-file for download here: http://www.pixelpost.org/download.php?download=upgrade_to_1.3 Information, how to run this Upgrade, is available here: http://www.pixelpost.org/forum/viewtopic.php?t=177 ------------------------------------------------------------------------- 2- UPGRADE from Version 1.3 to PixelPost 1.4.1 ------------------------------------------------------------------------- Please note, that the file "pixelpost.php" which contains the database- access-informations is located now in the /includes/-folder! Please do not copy the file "pixelpost.php version 1.3" to this folder, as this will overwrite the version-information. 1) make a backup of your DB please! 2) move the old files except images/thumbnails/templates/addons folders to a directory named e.g. old_files 3) open the pixelpost.php of your PixelPost 1.3 - installation, take the database-information from there and enter it into the \includes\pixelpost.php Be sure to enter the same "table-prefix" which you used for your 1.3-installation !!!! for example: "$pixelpost_db_prefix = "pixelpost_"; // table prefix, leave as is unless you want to install multiple blogs on the same database" 4) copy all the files of the zip file into your directory. - Default templates are changed to be CSS valid and a new UTF-right-to-left template is added. - Decide whether you want to use these when you upload the v1.4 files - The addon's in the v1.4 addon folder are updated and compatible with v1.4. Other addons you have may or may not work for v1.4 right now. If not, ask the author of that addon to change it. 5) browse to http://www.yourwebsite.com/admin 6) it should prompt you to an upgrade page with a button: "upgrade" If not refresh your browser page. (CTRL+F5 in IE) 7) upgrade and then login with your old username and pass 8) if everything's OK, delete the old_files folder. If not, write down the errors and problems you faced. Use the backup of DB to revert the DB tables and then delete the new files and copy back the old files Go back to the forum and report the errors 9) Check the language-file and compare it with the new ones, or better update these as well! 10) CSS: Note, that the CSS-definitions are changed, no CSS-definition contains "_" anymore in the name so check your templates and correct there, especially the calendar-definitions are changed! So please check the templates, which you use and change all underscores "_" to "-" otherwise your calendar will look crumbled and other areas of your photoblog as well Note that we now provide separate CSS-files for the templates Note that there are far more TAGs now which you can use in your templates. Check the file doc/pixelpost-tags.txt 11) Codepage and Character Encoding: as it is our aim to acchieve a photoblog which supports all special characters, codepages etc., we made big efforts to change all input and output to UTF-8-format so please check that your templates use the right codepage-directive in the header: otherwise you might get strange characters still! 12) read the changelog.txt please Good luck! ------------------------------------------------------------------------- 3- UPGRADE from Version 1.4BETA to PixelPost 1.4 ------------------------------------------------------------------------- 1) If you modified something in the scripts please make a backup of your modifications. (including modified language files or templates) 2) Delete ALL files and folders INSTEAD of 'images' and 'thumbnails' folders. 3) Copy the new files from the PixelPost 1.4.1 to your site using an FTP program. 4) Open the upgrade file "admin/upgradefrom14BETA.php" in your browser and it will upgrade your photoblog to version 1.4.1 ------------------------------------------------------------------------- 4- UPGRADE from Version 1.4 to PixelPost 1.4.1 ------------------------------------------------------------------------- 1) If you modified something in the scripts please make a backup of your modifications. (including modified language files or templates) 2) save your /includes/pixelpost.php 3) Open the file /includes/pixelpost.php from the UPGRADE-files and edit it: enter your database-data into the following lines: $pixelpost_db_host = "localhost"; // database host, often "localhost" $pixelpost_db_user = "replace_me"; // database user $pixelpost_db_pass = "replace_me"; // database user password $pixelpost_db_pixelpost = "replace_me"; // database take care that the tablename-prefix is correct, if your tablename-prefix differs from "pixelpost_", you must enter your prefix here! $pixelpost_db_prefix = "pixelpost_"; // table prefix, leave as is unless you want to install multiple blogs on the same database 3) Copy the new files from the PixelPost 1.4.1 to your site using an FTP program. 4) go to your site and open /admin/install.php the update changes adds one table 4) That's it! Your PixelPost Version is upgraded and it will show the correct version in the admin panel ------------------------------------------------------------------------- 4- UPGRADE from Version 1.4.1 to PixelPost 1.4.2 ------------------------------------------------------------------------- No install-script and no database-backup are necessary for this Upgrade. But for sure we recommend to make a backup of all your files and the database as well! 1) If you modified something in the scripts please make a backup of your modifications. (including modified language files or templates) 2) save your /includes/pixelpost.php 3) Open the file /includes/pixelpost.php from the UPGRADE-files and edit it: enter your database-data into the following lines: $pixelpost_db_host = "localhost"; // database host, often "localhost" $pixelpost_db_user = "replace_me"; // database user $pixelpost_db_pass = "replace_me"; // database user password $pixelpost_db_pixelpost = "replace_me"; // database take care that the tablename-prefix is correct, if your tablename-prefix differs from "pixelpost_", you must enter your prefix here: $pixelpost_db_prefix = "pixelpost_"; // table prefix, leave as is unless you want to install multiple blogs on the same database 3) PixelPost 1.4.2 comes as a complete install-package, if Pixelpost 1.4.1 is installed already at your website, !! update at least the following files: to the "root.directory" of PixelPost: index.php to the addon-folder: /addons/anti_spam.php /addons/advanced_stat.php to the admin-folder: /admin/index.php to the includes-folder: /includes/pixelpost.php /includes/no-refer-spam.php /includes/phpinfo.php no need to run any install-script, everything should work fine after that. the new table {$pixelpost_db_prefix}stats will be created automatically when you first log into ADMIN-section by "/addons/advanced_stat.php" 4) edit your templates in /templates: open your image_template.html and take off the tag: !! !! as this link will not work anymore to stop referer-robots as the link to the referer-page will not work anymore, take off your referer_template.html from your template-directory replace the tag in your image_template.html by this new tag: to show the number of all visitors from the new table "stats" This package comes with the PixelPost-'standard'-templates (pixelpost-light and pixelpost-dark), which are updated already 4) Additional goodies of PixelPost 1.4.2: you will find one new template-folder: simple use it if you whish! some small bugs or corrections or additions are part of this package as well, this are documented in the changelog.txt in the doc-folder as well. 5) We strongly recommend to run the Referer-Clean-Job and the Comment-Clean-Job from your Admin/AddOn-Page after updating to clean your Pixelpost-tables. 6) That's it! Your PixelPost Version is upgraded to version 1.4.2 now your PixelPost-Installation is armed against referer-spam in the admin panel