====================
VERSION UPDATE: 7.1
====================

Rollup up bug fixes since the 7.03 release and a couple new integrations requested

. Fixed a couple vb4 templating display issues.
. Fixed issue with next previous images showing extra next link.
. Fixed issue with russian and arabic category name display in admin
. Fixed issue with slideshow conditional not allowing guests to view it
. Fixed issue with members gallery link in members.php
. Fixed smf avatar bug

. Added support for wordpress product user login
. Added support for the new Xenforo forum product ( user login and basic style integration )

The files changed are:

adm-cats.php
adm-inc.php
adm-misc.php
member.php
showframe.php
slideshow.php


/forums/smf.php
/forums/smf2.php
/forums/xenforo.php ( new integration )
/forums/wp.php      ( new integration )

/templates/vb4enhanced/cathead.tmpl
/templates/vb4enhanced/membhead.tmpl
/templates/vb4enhanced/showgallery.tmpl
/templates/vb4enhanced/showmgall.tmpl
/templates/vb4enhanced/showmlist.tmpl
/templates/vb4enhanced/showphoto.tmpl

/templates/xenforo/*.tmpl ( new directory for xenforo integration )

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 7.03
====================

Rollup up bug fixes since the 7.02 release.

. Fixed issue with various hard coded links in the program not using the new SEO links.
. Fixed issue with some hard coded language strings.
. Updated Imagemagick thumbnail command.
. Fixed issue with posting and voting permissions not being pulled in usergroup perms.
. Fixed issue with bbcode links using the word link instead of the actual link name.
. Fixed smf avatar bug
. Updated vb3/vb4 avatar image tag xhtml validation
. Fixed invisionboard stylesheet links.
. Fixed ppperpage cookie path issue.
. Fixed ppuser query bug
. Fixed issue where next prev queries ran even when feature was turned off.
. Fixed pagination links and sorting inconsistencies when viewing galleries and using SEO urls.

The files changed are:

adm-misc.php
bulkupload.php
header-inc.php
image-inc.php
member.php
misc.php
pp-inc.php
showgallery.php
showmembers.php
showphoto.php
uploadphoto.php

/forums/ib3.php
/forums/smf2.php
/forums/vb3.php

/templates/editphoto.tmpl
/templates/membhead.tmpl
/templates/profile.tmpl
/templates/showphoto.tmpl
/templates/vb3enhanced/editphoto.tmpl
/templates/vb3enhanced/membhead.tmpl
/templates/vb3enhanced/profile.tmpl
/templates/vb3enhanced/showphoto.tmpl
/templates/vb4enhanced/editphoto.tmpl
/templates/vb4enhanced/membhead.tmpl
/templates/vb4enhanced/profile.tmpl
/templates/vb4enhanced/showphoto.tmpl

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 7.02
====================

Rollup up bug fixes since the 7.01 release.

The files changed are:

adm-misc.php
bulkupload.php
external.php
misc.php
pp-inc.php
search.php
showfull.php
showgallery.php
showmembers.php
uploadphoto.php
watermark.php

forums/fusion.php
forums/ib3.php
forums/smf2.php

languages/italian.php *NEW LANGUAGE ADDITION

templates/search-r.tmpl

templates/vb3enhanced/quickcom_367.tmpl

templates/vb4enhanced/*.* ALL for spacing issues reported

HTACCESS must reupload this file named to .htaccess in your photopost directory for SEO to work.

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 7.01
====================

Rollup up bug fixes since initial 7.0 release.

The files changed are:

adm-misc.php
index.php
member.php
pp-inc.php
search.php
showgallery.php
showmembers.php
showphoto.php

forums/*.php

templates/membhead.tmpl
templates/showgallery.tmpl
templates/thread.tmpl
templates/votehead.tmpl

templates/vb3enhanced/membhead.tmpl
templates/vb3enhanced/showgallery.tmpl
templates/vb3enhanced/votehead.tmpl

templates/vb4enhanced/categories.tmpl
templates/vb4enhanced/featurepal.tmpl
templates/vb4enhanced/showgallery.tmpl
templates/vb4enhanced/showphoto.tmpl
templates/vb4enhanced/votehead.tmpl

languages/dutch.php (minor language change to string)

HTACCESS-- You need to delete your old .htaccess SEO file and rename the current HTACCESS file to .htaccess

You do not need to run the upgrade script for this update; you only need update the changed files.


====================
VERSION UPDATE: 7.00
====================

PhotoPost 7.0 is a major update with new new features our users have requested.

New features:

. SEO URLs (requires .htaccess file)
    . Single URLs for images
    . 301 redirects to SEO pages for spider and normal URLs
    . SEO URLs enabled in Admin -> Edit Settings -> Global Options (choices are none, spider, seo)
. Multimedia thumbnails (requires ffmpeg, not included)
    . Includes thumbnail rebuilds (path the ffmpeg set in Admin -> Edit Settings -> Global Options)
. Updated Gallery and Photo pages

New file

.htaccess (only required if you are planning on using SEO URLs)

Upgraded files

/*.php (except config-inc.php.NEW, config-int.php.NEW, inc_features.php, inc_photopost.php)

forums/photopost.php (you only need this file if you are using the internal registration system)

languages/*.php (you only need the file that corresponds to your language)

templates/*.tmpl
templates/vb3enhanced/*.tmpl

js/* (all files)

images/*.png
images/*.gif

You will need to run the upgrade.php script after updating your files.

====================
VERSION UPDATE: 6.23
====================

Security Update! If you are running a version of PhotoPost prior to 6.23, then you should turn off the global
option to move/delete photos (Admin -> Edit Settings -> Admin Options -> Allow users to move/delete their own images?
-> set to "NO") until such a time you can upgrade.

Updated files from 6.22 release:

adm-misc.php
misc.php
pp-inc.php

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 6.22
====================

Rollup of a minor fix for multimedia support and the update of SWFUpload to support Flash 10 support (v2.2.0).

Updated files from 6.21 release:

showphoto.php

js/*

stylesheets/flashuploader.css

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 6.21
====================

Rollup of minor fixes and the update of SWFUpload to support Flash 10 support (v2.1.0 Beta 2).

Updated files from 6.2 release:

adm-misc.php
editphoto.php
pp-inc.php
showphoto.php
slideshow.php

js/*

forums/vb3.php

templates/uploadphoto2.tmpl

templates/vb3enhanced/uploadphoto2.tmpl

You do not need to run the upgrade script for this update; you only need update the changed files.

===================
VERSION UPDATE: 6.2
===================

Rollup of minor fixes plus some new features.

New Features
. Added support for Flash Uploader (disabled by default, not supported by PhotoPost, but be enabled)
. Added Paid Subscriptions
. Improved Show Photo page (for vB3 integrations a new drop-down menu)
. Cosmetic changes
. Bug fix rollups

Updated files from 6.11 release:

    adm-cats.php
    adm-inc.php
    adm-misc.php
    bulkupload.php
    ecard.php
    editphoto.php
    member.php
    payment_verification.php
    pp-inc.php
    showgallery.php
    showmembers.php
    showphoto.php
    subscriptions.php
    uploadphoto.php

    forums/*.php

    templates/cathead.tmpl
    templates/profile.tmpl
    templates/showgallery.tmpl
    templates/showphoto.tmpl
    templates/uploadphoto.tmpl

    templates/vb3enhanced/cathead.tmpl
    templates/vb3enhanced/profile.tmpl
    templates/vb3enhanced/showgallery.tmpl
    templates/vb3enhanced/showphoto.tmpl
    templates/vb3enhanced/uploadphoto.tmpl

    languages/*.php

New files:

    upload.php

    js/* (15 files)

    templates/confirm-subscription.tmpl
    templates/subscriptions.tmpl
    templates/uploadphoto2.tmpl

    templates/vb3enhanced/confirm-subscription.tmpl
    templates/vb3enhanced/subscriptions.tmpl
    templates/vb3enhanced/uploadphoto2.tmpl

You will need to run the upgrade.php script after updating your files.

Included software; itself not supported by PhotoPost.

/**
 * SWFUpload v2.1.0 by Jacob Roberts, Feb 2008, http://www.swfupload.org, http://swfupload.googlecode.com, http://www.swfupload.org
 * -------- -------- -------- -------- -------- -------- -------- --------
 * SWFUpload is (c) 2006 Lars Huring, Olov Nilzn and Mammon Media and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * See Changelog.txt for version history
 *
 */


====================
VERSION UPDATE: 6.11
====================

Rollup of minor fixes and one security fix for vBulletin users.

Updated files from 6.1 release:

adm-inc.php
adm-misc.php
comshow.php
editphoto.php
external.php
image-inc.php
pp-inc.php
showframe.php
showgallery.php
showphoto.php
tjpzoom.js

forums/vb3.php
forums/phpbb2.php
forums/phpbb3.php

templates/uploadphoto.tmpl
templates/profile.tmpl

templates/vb3enhanced/uploadphoto.tmpl

languages/german.php
languages/french.php
languages/spanish.php

You do not need to run the upgrade script for this update; you only need update the changed files.



===================
VERSION UPDATE: 6.1
===================

Rollup of minor fixes plus some new features.

New Features
. Changed buttons on showphoto to be an admin option to display text/buttons
. Auto index thumbnails - uses first photo uploaded to category as a default thumbnail for category
. Added category name and link to the featured photos box
. Made "email a friend" an option which can be disabled
. CAPTCHA verification for anonymous/guest posts
. RSS feeds to include subcategories
. Improved "tag photo" feature
. "Zoom lens" integration (can be turned off and on in admin)
. Scan DB enhanced to add "reset category avatar" option
. Changed # of Images link in uploadphoto to a link which can be used to process only images already in a users queue

Updated files from 6.02 release:

adm-misc.php
adm-photo.php
bulkupload.php
comments.php
external.php
image-inc.php
member.php
pp-inc.php
register.php
seach.php
showframe.php
showmembers.php
showphoto.php
uploadphoto.php

tjpzoom.js
instant.js

languages/*.php

templates/bulkupload.tmpl
templates/featurepal.tmpl
templates/feature.tmpl
templates/profile.tmpl
templates/register.tmpl
templates/showgallery.tmpl

templates/vb3enhanced/bulkupload.tmpl
templates/vb3enhanced/feature.tmpl
templates/vb3enhanced/featurepal.tmpl
templates/vb3enhanced/profile.tmpl
templates/vb3enhanced/quickcom.tmpl
templates/vb3enhanced/quickcom367.tmpl
templates/vb3enhanced/showgallery.tmpl

You will need to run the upgrade.php script after updating your files.

Included software; itself not supported by PhotoPost.

// TJPzoom 3 * Jnos Pl Tth
// 2007.07.12
// Docs @ http://valid.tjp.hu/tjpzoom/
// News @ http://tjpzoom.blogspot.com/

====================
VERSION UPDATE: 6.02
====================

Minor update with bug fixes reported to date resolved.

Security Note: A hard check for .php, .pl and .cgi file extensions is filenames is not being done to reject files with these
extensions embedded anywhere in the filename. While PhotoPost does not allow periods in filenames, these are converted to
underscores, we believe that any file with a script extensions should be outright rejected in the event someone is
trying to upload malicious data to your server.

Updated files since 6.01 release:

adm-misc.php
header-inc.php
image-inc.php
pp-inc.php
showframe.php
showgallery.php
showphoto.php

templates/profile.tmpl

templates/vb3enhanced/profile.tmpl
templates/vb3enhanced/quickcom.tmpl
templates/vb3enhanced/quickcom367.tmpl

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 6.01
====================

Minor update with bug fixes reported to date resolved.

Updated files since 6.00 release:

adm-misc.php
board.php
calpal.php
cap.php
comshow.php
external.php
header-inc.php
image-inc.php
inc_photopost.php
inc_features.php
misc-php
online.php
pp-inc.php
register.php
showframe.php
showphoto.php
showgallery.php
usergallery.php

forums/threads7.php
forums/mambo.php
forums/nuke.php
forums/wowbb.php

templates/board.tmpl
templates/categall.tmpl
templates/menubar.tmpl
templates/register.tmpl
templates/showphoto.tmpl

templates/categall.tmpl
templates/menubar.tmpl
templates/profile.tmpl
templates/quickcom.tmpl
templates/uploadphoto.tmpl

languages/*.php

You do not need to run the upgrade script for this update; you only need update the changed files.

====================
VERSION UPDATE: 6.00
====================

PhotoPost 6.0 is a major update with new new features our users have requested.

New features:

. Message Board (for stand-alone systems to use as a mini-forum)
. Private Messaging (PMs, notices for activity on photos and ratings, new photos from buddies,
  message board activity)
. Built-in RSS (per category basis)
. Usergroup optimization resulting in significant reductions in memory usage for medium-large sites
. Lightbox integration for popover images
. Uniform thumbnails option (when using IM, all thumbnails are uniform in size and cropped from
  center - used at http://www.viperalley.com/gallery/showgallery.php/cat/503
. Link codes for medium thumbnail/html codes
. Invites System for users to invite and track invitiations
. Mature Content flag to "hide" mature images from unregistered users (or users who select to not see mature pictures)
. Buddy Lists
. Who's Online page
. Internal Registration - Avatars, Titles and Signatures
. JavaScript usage for approve/delete options in admin bulk section (no page refresh)
. Redesigned data area for showphoto, more AJAX/JavaScript features
. Redesigned profile page - buddy lists, more stats, bio pages
. Slideshow Pause/Resume
. combined usergroup queries into 1 query versus multiple for each usergroup membership
. CAPTCHA image verification for new registrations
. Changed voting system to track votes seperately from ratings
. Use of icons versus text on showphoto page (famfam icons)

Upgraded files

/*.php (except config-inc.php.NEW, config-int.php.NEW, inc_features.php, inc_photopost.php, install.php)

New files:

/board.php
/cap.php
/effects.js
/external.php
/lightbox.css
/lightbox.js
/online.php
/prototype.js
/scriptaculous.js

forums/*.php (you only need the file the corresponds to your version)
languages/*.php (you only need the file that corresponds to your language)
templates/*.tmpl (there are new templates)

images/*.png (new famfam icons)
images/*.gif (new images)

You will need to run the upgrade.php script after updating your files.

Included software; itself not supported by PhotoPost.

// -----------------------------------------------------------------------------------
//	Lightbox v2.02
//	by Lokesh Dhakar - http://www.huddletogether.com
//	3/31/06
//
//	For more information on this script, visit:
//	http://huddletogether.com/projects/lightbox2/
//
//	Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
//
//	Credit also due to those who have helped, inspired, and made their code available to the public.
//	Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), Thomas Fuchs(mir.aculo.us), and others.
// -----------------------------------------------------------------------------------

====================
VERSION UPDATE: 5.62
====================

PhotoPost 5.62 is a rollup of resolved issues in the 5.6x releases plus we've made some template
changes.

You do not need to run the upgrade script for this update; you only need update the changed files.

The vBulletin tempaltes have all been modified to use vBulletin style codes (i.e. thead, tcat, etc).
This will make editing the vBulletin templates easier for those used to using vB's styles. We
have also updated the buttons to use the button classes.

Additional fixes include:

- keyword search links now work
- Images In Queue text moved from template to language file
- Uploadload photo template updated to fix javascript checking when there are no albums
- Bulk action now forces an update to the cache so any feature cache gets updated immediately
- German language file completly translated
- Upload photo template modified to remove double tables
- fixed error in bulkupload that could cause a file with a duplicate name to overwrite another

Updated files since 5.61 release:

adm-misc.php
bulkupload.php
search.php
showphoto.php

templates/categories.tmpl
templates/editphoto.tmpl
templates/member.tmpl
templates/uploadphoto.tmpl

tempaltes/vb3enhanced/*.tmpl

languages/*.php

====================
VERSION UPDATE: 5.61
====================

PhotoPost 5.61 is a rollup of resolved issues in the 5.6 release plus we've renamed the search table to
avoid obvious conflicts with other scripts that use a table with the same name.

You will need to run the upgrade.php script after updating your files.

Updated files since 5.6 release:

adm-misc.php
index.php
member.php
pp-inc.php
search.php
showgallery.php
uploadphoto.php
useralbums.php

languages/*.php

templates/showphoto.tmpl
templates/uploadphoto.tmpl
templates/alb-editalb.tmpl
templates/ppclose.tmpl
templates/profile.tmpl

templates/vb3enhanced/alb-editalb.tmpl
templates/vb3enhanced/ppclose.tmpl
templates/vb3enhanced/profile.tmpl
templates/vb3enhanced/showphoto.tmpl
templates/vb3enhanced/uploadphoto.tmpl

forums/vb3.php

You only need upload those files which have changed and run the upgrade script.

===================
VERSION UPDATE: 5.6
===================

PhotoPost 5.6 is a rollup of all updates to the 5.5 release plus some new features our users have requested.

New features:

. Improved search results  everything moved into search.php, results saved to db to save on paging through
  searches and having to "re-search" every page load
. New Profile section includes tabs showing profile info (user can customize using BB codes), photos and comments
. Forum thumbnail link bb code on showphoto (shows a linked thumbnail to the showphoto page)
. AJAX additions:
    . Add / Remove from Favorites
    . Notify / Remove from notification
    . Open Close photo for comments
    . Stick / Unstick photo
    . Subscribe / Unsubscribe to gallery
. Improved showmember page  significant query reduction displaying last photos
. Some changes to templates to improve layout  removed alternate template directory
. User set Album intro, album titles, on/off
. User set Album default layout (puzzle, gallery, thumbnail, etc)
. Users viewing a category (new option in Show Gallery options)

Updated files:

/*.php (except config-inc.php.NEW, config-int.php.NEW, inc_features.php, inc_photopost.php, install.php)

forums/*.php (you only need the file the corresponds to your version)
languages/*.php (you only need the file that corresponds to your language)

templates/alb-editalb.tmpl
templates/bulkupload.tmpl
templates/calpal.tmpl
templates/cathead.tmpl
templates/editprofile.tmpl
templates/feature.tmpl
templates/filmstrip-hor.tmpl
templates/indexhead.tmpl
templates/member.tmpl
templates/membhead.tmpl
templates/online.tmpl (new file)
templates/profile.tmpl
templates/ppopen.tmpl
templates/search-r.tmpl
templates/search.tmpl
templates/searchbox.tmpl
templates/showgallery.tmpl
templates/showfull.tmpl
templates/showphoto.tmpl
templates/sidebar_leftopen.tmpl
templates/sidebar_rightclose.tmpl
templates/undercat.tmpl
templates/uploadphoto.tmpl
templates/votehead.tmpl

templates/vb3enhanced/alb-editalb.tmpl
templates/vb3enhanced/bulkupload.tmpl
templates/vb3enhanced/calpal.tmpl
templates/vb3enhanced/cathead.tmpl
templates/vb3enhanced/editprofile.tmpl
templates/vb3enhanced/feature.tmpl
templates/vb3enhanced/filmstrip-hor.tmpl
templates/vb3enhanced/indexhead.tmpl
templates/vb3enhanced/member.tmpl
templates/vb3enhanced/membhead.tmpl
templates/vb3enhanced/online.tmpl (new file)
templates/vb3enhanced/profile.tmpl
templates/vb3enhanced/ppopen.tmpl
templates/vb3enhanced/search-r.tmpl
templates/vb3enhanced/search.tmpl
templates/vb3enhanced/searchbox.tmpl
templates/vb3enhanced/showgallery.tmpl
templates/vb3enhanced/showfull.tmpl
templates/vb3enhanced/showphoto.tmpl
templates/vb3enhanced/sidebar_leftopen.tmpl
templates/vb3enhanced/sidebar_rightclose.tmpl
templates/vb3enhanced/undercat.tmpl
templates/vb3enhanced/uploadphoto.tmpl
templates/vb3enhanced/votehead.tmpl

There is an upgrade script for this release, you will need to run the upgrade.php script to update your new options.

===================
VERSION UPDATE: 5.5
===================

PhotoPost 5.5 is a rollup of all updates to the 5.31 release plus a few new features our users have requested.

New features:

. Photo uploads now have options to disable ratings/comments on the photo by the member
. AJAX technology to control scrolling of the calendar pal (click on the arrows)
. AJAX technology to allow reshufflling of the "random features" pal
. AJAX technology to display EXIF Information on a photo
. AJAX technology to allow scrolling of the filmstrip previews (forward and back)
. Filmstrips will have one additional photo on each side when used in the vertical format
. Various formatting changes to clean up pages for better presentation
. Profile page includes a link to the member's "forum" profile
. "Spinning indicator" and Please Wait message appears when user hits SUBMIT to upload photo
. Moving more PHP code away from templates
. Close Comments to an open photo (comments continue to display, just no new ones allowed)
. Open Comments - undo the above
. Notices about comments to a photo include the message
. Notification emails about new comments are not sent when poster adds a comment
. Option to set timelimit for editing of comments (admin and mod exempt)
. fixed bug with Group By Member that showed last photo uploaded if setting to show all members photos in members gallery was turned on.
. improved child navbits when viewing albums assigned to a category or as a subcat of another album (includes subalbum and category parent name in navbits).
. ability for admin to change the owner of an album they created to someone else.
. fixed a problem where photos could be thumbnailed in previews without proper permissions (next two thumbnails)
. added UBBThreads7 integration

Upgraded files

/*.php (except config-inc.php.NEW, config-int.php.NEW, inc_features.php, inc_photopost.php, install.php)

    New file: /showframe.php

forums/*.php (you only need the file the corresponds to your version)
languages/*.php (you only need the file that corresponds to your language)

templates/alb-editalb.tmpl
templates/bulkupload.tmpl
templates/calpal.tmpl
templates/featurepal.tmpl
templates/feature.tmpl
templates/filmstrip-hor.tmpl
templates/filmstrip-ver.tmpl
templates/indexhead.tmpl
templates/indexstats.tmpl
templates/membhead.tmpl
templates/profile.tmpl
templates/quickcom.tmpl
templates/showgallery.tmpl
templates/showmlist.tmpl
templates/showphoto.tmpl
templates/sidebar_leftopen.tmpl
templates/sidebar_rightclose.tmpl
templates/undercat.tmpl
templates/uploadphoto.tmpl

templates/vb3enhanced/alb-editalb.tmpl
templates/vb3enhanced/bulkupload.tmpl
templates/vb3enhanced/calpal.tmpl
templates/vb3enhanced/comments.tmpl
templates/vb3enhanced/featurepal.tmpl
templates/vb3enhanced/feature.tmpl
templates/vb3enhanced/filmstrip-hor.tmpl
templates/vb3enhanced/filmstrip-ver.tmpl
templates/vb3enhanced/indexhead.tmpl
templates/vb3enhanced/indexstats.tmpl
templates/vb3enhanced/membhead.tmpl
templates/vb3enhanced/profile.tmpl
templates/vb3enhanced/quickcom.tmpl
templates/vb3enhanced/showgallery.tmpl
templates/vb3enhanced/showmlist.tmpl
templates/vb3enhanced/showphoto.tmpl
templates/vb3enhanced/sidebar_leftopen.tmpl
templates/vb3enhanced/sidebar_rightclose.tmpl
templates/vb3enhanced/undercat.tmpl
templates/vb3enhanced/uploadphoto.tmpl

There is an upgrade script for this release, you will need to run the upgrade.php script to update your new options.


====================
VERSION UPDATE: 5.31
====================

PhotoPost 5.31 is a rollup of bug fix release since the 5.3 release and adds new code formatting and some
optimizations which give PhotoPost sites a nice boost in speed.

There are no new features in this release and no security updates; this is an optional upgrade, but users
will enjoy the performance boost of this new version.

/*.php (except config-inc.php.NEW, config-int.php.NEW, inc_features.php, inc_photopost.php, install.php and
        upgrade.php)

forums/*.php (you only need the file the corresponds to your version)

templates/filmstrip-hor.tmpl
templates/filmstrip-ver.tmpl
templates/indexstats.tmpl
templates/showgallery.tmpl
templates/showmlist.tmpl
templates/showphoto.tmpl
templates/uploadphoto.tmpl

templates/vb3enhanced/comments.tmpl
templates/vb3enhanced/filmstrip-hor.tmpl
templates/vb3enhanced/filmstrip-ver.tmpl
templates/vb3enhanced/indexstats.tmpl
templates/vb3enhanced/quickcom.tmpl
templates/vb3enhanced/showgallery.tmpl
templates/vb3enhanced/showmlist.tmpl
templates/vb3enhanced/showphoto.tmpl
templates/vb3enhanced/uploadphoto.tmpl

There is no upgrade script for this release; you only need upload changed files.

===================
VERSION UPDATE: 5.3
===================

PhotoPost 5.3 is a rollup of all updates to the 5.2 release plus a few new features our users have requested.

Sub Albums. The ability to assign albums to a parent album creating categories within an album.
Puzzle Display. Displays thumbnails without formatting:

http://www.viperalley.com/gallery/showgallery.php/cat/3034/thumbsonly/4/thumbscheck/0

Gallery Layouts. The ability to specify default gallery view layouts on a per category basis (Gallery, Thumbnail,
Thmbnail with Title, Puzzle).
Order Photos. This functionality has been removed and is no longer supported.
New Performance Configuration Items. Ability to turn off new category caching for large sites, ability to turn off
featured photos for showgallery pages, ability to turn off quick admin options on showphoto pages, cpu limiter to
disable gallery when cpu load is over a threshold. (See below)
HTML Codes/Direct Links. On showphoto the ability to turn on the displaying of IMG SRC html code and direct link URLs.
Thumbnail Control. More control over number of thumbnails by allowing admin to set the default number of rows of
thumbnails on a gallery page (also more Per Page options for users).

All code fixes reported to date.

There is an upgrade script for this release, you will need to run the upgrade.php script to update your new options.

The list of files to change since the 5.21 (Build 12/9) are:

adm-cats.php
adm-misc.php
bulkupload.php
comments.php
comshow.php
ecard.php
editphoto.php
image-inc.php
member.php
misc.php
pp-inc.php
search.php
showgallery.php
showmembers.php
showphoto.php
slideshow.php
uploadphoto.php
useralbums.php

templates/albhead.tmpl
templates/alb-editalb.tmpl
templates/albums.tmpl
templates/bulkupload.tmpl
templates/cathead.tmpl
templates/editphoto.tmpl
templates/membhead.tmpl
templates/showgallery.tmpl
templates/showphoto.tmpl
templates/uploadphoto.tmpl

templates/vb3enhanced/albhead.tmpl
templates/vb3enhanced/alb-editalb.tmpl
templates/vb3enhanced/albums.tmpl
templates/vb3enhanced/bulkupload.tmpl
templates/vb3enhanced/cathead.tmpl
templates/vb3enhanced/editphoto.tmpl
templates/vb3enhanced/membhead.tmpl
templates/vb3enhanced/showgallery.tmpl
templates/vb3enhanced/showphoto.tmpl
templates/vb3enhanced/uploadphoto.tmpl

forums/vb3.php
forums/phpbb2.php

languages/*.php

If you are running a version prior to the 5.21 December 9th build, please refer to this thread for more information
on files that have changed between 5.21 versions:

http://www.photopost.com/forum/showthread.php?t=116255

New Performace Options
======================
You will find three new configuration items which can impact performance on your site - these options generally
apply to our larger customers only:

Global Options -> Use category cache?

For small and medium sized sites, the category cache can greatly improve performance by caching all of the category
informatin into the database. However, if you have a large site with hundreds of categories or more, the cache may
actually slow down your page load times. You can see if performance improves on your site by turning the category
cache off (set to "no").

Show Gallery Options -> Display Featured Photos on this page?

On large sites, the query to display Featured Photos on each Gallery page can be excessive - this is because the
query is specific to each and every gallery and cannot be cached. If your gallery pages are running on the slow side,
you can improve the page generation times by disabling the featured photos display. Setting this option to "no" will
prevent the features from being displayed.

Show Photo Options -> Display Admin quick move/delete options under photo?

On large sites with hundreds (or thousands) of categories, the Admin Delete/Move option displayed on a Show Photo
page can result in alot of additional HTML code on every photo page. You can disable this quick admin display by
setting this option to "no"; and then any changes you need to make to the photo can be made by using the EDIT PHOTO link.

====================
VERSION UPDATE: 5.21
====================

There is no upgrade script required for this update, you only need upload the changed files.

The files that changed from the initial 5.2 release are:

adm-inc.php
adm-misc.php
adm-photo.php
adm-users.php
bulkupload.php
comments.php
ecard.php
editphoto.php
header-inc.php
inc_features.php
index.php
misc.php
pp-inc.php
register.php
showgallery.php
showmembers.php
showphoto.php
slideshow.php
uploadphoto.php
useralbums.php

templates/albums.tmpl
templates/categories.tmpl
templates/commentspal.tmpl
templates/editphoto.tmpl
templates/indexstats.tmpl
templates/quickcom.tmpl
templates/showgallery.tmpl
templates/showmlist.tmpl
templates/thumbnail-filmstrips.tmpl

templates/vb3enhanced/albums.tmpl
templates/vb3enhanced/categories.tmpl
templates/vb3enhanced/comments.tmpl
templates/vb3enhanced/commentspal.tmpl
templates/vb3enhanced/indexstats.tmpl
templates/vb3enhanced/quickcom.tmpl
templates/vb3enhanced/showgallery.tmpl
templates/vb3enhanced/showmlist.tmpl
templates/vb3enhanced/thumbnail-filmstrips.tmpl

forums/vb3.php

languages/*.php

Fixes include:
. vB3.5 Gold issue when vB and PP are in separate databases
. vB3.5 Gold issue with quick comments Javasciprt error

Also included fixes for:
. Comments PAL cache refresh using wrong permissions
. Personal Albums not displaying in Members Gallery
. Assigned Albums not appears in category list
. Links in Members Gallery not working
. Force refresh of cache when new photos are uploaded or photos are deleted (forces Recent Photos to update immediately)
. Query format error in regsiter.php
. Fixed problem where two Random PALs on a single page messed with the cache
. Fixed a parse error in slideshow.php
. editphoto - fixed Make Index Thumb problem where update didnt take til next cache update
. useralbums - fixed category caching problem
. Reduced 1 query from showgallery and showphoto page loads
. Fixed areas that needed to update cache after a change
. XHTML updates
. Added JavaScript to uploadphoto pages to prevent uploading to "no thumbs" categories (uses a popup to prevent the page
from being posted, saving a page load and the need to BACK up)
. All bug reports reported to date

===================
VERSION UPDATE: 5.2
===================

5.2 is a code update which incorporates a couple bug fixes as well as significant performance
enhancing changes and a new caching system which significant reduces page generation times.

/*.php (except config-inc.php, config-int.php, inc_features.php, inc_photopost.php, install.php and upgrade.php)

forums/ib2.php (only if using IB2 integration)
forums/photopost.php (only if using stand-alone integration)
forums/postnuke.php (only if using postnuke integration)
forums/threads.php (only if using .threads integration)
forums/vb3.php (only if using vB3 integration)

templates/albums.tmpl
templates/calpal.tmpl (new file)
templates/catintro.tmpl
templates/commentspal.tmpl
templates/editphoto.tmpl
templates/indexstats.tmpl
templates/sidebar_leftopen.tmpl
templates/sidebar_rightclose.tmpl
templates/register.tmpl
templates/showgallery.tmpl
templates/showphoto.tmpl
templates/statspal.tmpl
templates/topposterpal.tmpl
templates/topratedpal.tmpl
templates/undercat.tmpl
templates/uploadphoto.tmpl

vb3enhanced/templates/albums.tmpl
vb3enhanced/templates/calpal.tmpl (new file)
vb3enhanced/templates/catintro.tmpl
vb3enhanced/templates/commentspal.tmpl
vb3enhanced/templates/editphoto.tmpl
vb3enhanced/templates/indexstats.tmpl
vb3enhanced/templates/quickcom.tmpl
vb3enhanced/templates/showgallery.tmpl
vb3enhanced/templates/showphoto.tmpl
vb3enhanced/templates/sidebar_leftopen.tmpl
vb3enhanced/templates/sidebar_rightclose.tmpl
vb3enhanced/templates/statspal.tmpl
vb3enhanced/templates/topposterpal.tmpl
vb3enhanced/templates/topratedpal.tmpl
vb3enhanced/templates/undercat.tmpl
vb3enhanced/templates/uploadphoto.tmpl

languages/*.php

One language string was added to each language file:

$Globals['pp_lang']['photosadded'] = "photos added";

To upgrade your 5.12, 5.13 or 5.14 version, simply upload the changed files and upgrade.php - run upgrade.php
and select the 5.1x -> 5.2 upgrade and proceed as instructed.

Changes:

. New cache system to store frequently used data
. New Calendar sidebar which shows current month with links to photos uploaded that day
  (this can be turned on/off in the Sidebar Options panel)
. Updated vBulletin 3.5 compatibility
. Query optimization to reduce queries on some pages
. Fixed a checkboxes problem where deselecting all options would not change selections
. .threads integration updated to reduce queries for users who belong to multiple usergroups

====================
VERSION UPDATE: 5.14
====================

5.14 is a bug-fixing release and adds vBulletin 3.5RC2 compatibility.

vBulletin 3.5RC2 compatibility is included in this update; you only need update your files,
PhotoPost will determine which version you are running and automatically compensate for the
differences between the 3.5 and 3.0x versions.

There is no upgrade script required for this update, you only need upload the changed files.

Files changed since 5.13 release:

adm-cats.php
adm-misc.php
bulkupload.php
comments.php
comshow.php
ecard.php
header-inc.php
image-inc.php
member.php
misc.php
pp-inc.php
showgallery.php
showmembers.php
showphoto.php
slideshow.php
uploadphoto.php
useralbums.php

forums/*.php

templates/searchbox.tmpl
templates/searchmem.tmpl

templates/vb3enhanced/comments.tmpl
templates/vb3enhanced/quickcom.tmpl
templates/vb3enhanced/searchbox.tmpl
templates/vb3enhanced/searchmem.tmpl

====================
VERSION UPDATE: 5.13
====================

5.13 is a security update to address a vunerability when integrated with vB3. Included in this
update are all bug fixes reported to date since the 5.12 release.

Files changed from 5.12 which fix reported issues:

adm-cats.php
adm-misc.php
editphoto.php
image-inc.php
misc.php
pp-inc.php
search.php
showgallery.php
uploadphoto.php
watermark.php

forums/wowbb.php

Security Update
---------------

There is no upgrade script to run, the change for the security update is entirely in pp-inc.php.

====================
VERSION UPDATE: 5.12
====================

5.12 is a security update following a security audit by an independent third-party security
company. Having checked virtually every line of code, the audit revealed some potentials for
vulnerabilities which go back to the 4.8 release of PhotoPost. It is not our policy to detail
these vulnerabilities as it can effect many users who are running older versions of the software
and who need time to upgrade. Many of the issues were mitigated by the 5.11 release, but the
5.12 release is the official security update.

Anyone who is running a prior version of PhotoPost (especially anyone running 4.8 or later) is
strongly encouraged to upgrade to 5.12.

Files changed from 5.11:

/*.php (except config-inc.php, config-int.php, inc_features.php, inc_photopost.php, install.php and upgrade.php)

/templates/showgallery.tmpl

/forums/*.php (you only need your integration file)

languages/dutch.php (new language added)

You only need upload the updated scripts, there is no upgrade script required for this upgrade.

====================
VERSION UPDATE: 5.11
====================

Since releasing 5.1, we've identified many variables that did not get filtered on systems which had
registered globals turned off. The vast majority of issues reported to date were resolved by making
sure these variables were filtered properly. Along the way we also identified several smaller issues
which were resolved.

We recommend anyone running the 5.1 release (especially early builds), upgrade to the 5.11 release. The
upgrade is simple, there is only one query being added (a new setting).

Files changed:

/*.php (except config-inc.php, config-int.php, inc_features.php, inc_photopost.php)

/templates/alb-addalb.tmpl
/templates/categories.tmpl
/templates/filmstrip-hor.tmpl (new file)
/templates/filmstrip-ver.tmpl (new file)
/templates/membhead.tmpl
/templates/searchmem.tmp
/templates/showgallery.tmpl
/templates/showmgall.tmpl
/templates/showphoto.tmpl

/templates/vb3enhanced/alb-addalb.tmpl
/templates/vb3enhanced/categories.tmpl
/templates/vb3enhanced/filmstrip-hor.tmpl (new file)
/templates/vb3enhanced/filmstrip-ver.tmpl (new file)
/templates/vb3enhanced/membhead.tmpl
/templates/vb3enhanced/searchmem.tmp
/templates/vb3enhanced/showgallery.tmpl
/templates/vb3enhanced/showmgall.tmpl
/templates/vb3enhanced/showphoto.tmpl

/languages/*.php
/forums/smf.php

To upgrade your 5.1 version, simply upload the changed files and upgrade.php - run upgrade.php
and select the 5.1 -> 5.11 upgrade and proceed as instructed.

Changes:

. New option to select where you want filmstrip previews to appear on the showphoto page (top, bottom, left, right)
. Reduced queries in showmembers.php by 1 and optomized another query
. Fixed Recent Addition links on showmembers page
. Optimized Scan DB to cache username to reduce number of queries for each photo scanned
. Added code to de-register global variables prior to initializing our own variables
. Many scripts updates with variable initializations
. Dutch language file updated with current string translations
. Group By Member fixed for Recent Photo links
. Added filesize and disk space limit checks to uploadphoto for single photo uploads
. smf.php gets avatar and signature support

===================
VERSION UPDATE: 5.1
===================

This is a major update which involves alot of rewriting in the code to improve overall performance
and add new features.

New Features for PhotoPost 5.1
------------------------------

. PhotoPost Image Protection System (IPS). IPS gives a webmaster much more flexibility in controlling
access to original images; images can be located outside the data directory structure for additional
security. Image locations can be masked through the use of a redesigned watermark.php which adds security
and can serve up images every from password protected directories (this ensures that only those people
who you want to will have access). Additional features include: Admin section for IPS which groups options
for protecting images into one area, allows for the directory for image storage to be changed (and moves
files to new location), edit/creation of .htaccess files and configuration of the watermark.php script.
. Recent comments listing - previously a modification, this addition provides for a "more" link off the
Recent Comments box and gives people a thumbnail listing of photos with the most recent comments.
. Group By Member option in category dropdowns which allow a user to change the category display
to show images grouped by user (display is changed to showmembers.php format to show a list of members who
have posted in the category and allow selection of that user to show only their photos posted in that category).
. Members Gallery. An option to make any category funciton like a Members Gallery by default. Works
like the function above, but changes the functionality so that the gallery is presented in the Member
Gallery format each time.
. Optimizations of queries to improve performance, increase security and reduce errors when invalid
data is passed.
. New integration: http://www.fusionbb.com
. Approve a photo while viewing it (Admins and Mods)
. Images awaiting approval will display "pending approval" thumbnail in category to indicate their
thumbnail is there, just waiting approval
. Improved language strings for easier comprehension
. Smarter URL parsing when grabbing images from a URL
. Single image uploads done in 1 step
. When image uploading complete, auto forwarded to category (no click here page)
. Second dropdown for album selection (if user has albums) during upload to make it easier to find the
category/album users wants to upload images to
. Most Recent features/Most Popular/Last X days/All features link to "virtual categories" where next/prev
links take a user through the images
. Revamped URL construct to remove unnecessary URL tags
. Rewritten slideshow feature - works as expected, much faster and uses alot less memory
. New "filmstrip" layout for showphoto - templates for placing in default, side or top will be
available (top by default)
. Improved switches for turning off the Last Photo Uploaded/Last Comment Posted columns which place
the new posts icon in the same box as the number of photos/comments. You can see this on
http://www.photopostdev.com/photopost/index.php and http://www.viperalley.com/gallery/index.php
. Albums attached to categories will have their last photos/posts links updated when new photos are uploaded
. Approve photos sorting ignores display orders when displaying sorted views
. vB3enhanced users can create separate sets of templates based on the styleid

The IPS is the next step towards a secure photo gallery with eCommerce capabilities. By providing
security for images our users will be greater control over the distribution of content from their sites.

UPGRADES
--------

As always, we recommend you perform a database backup prior to performing an upgrade. While the changes
to the database are minimal, we are performing some maintenance on some fields to remove excessive
backslashes. Because we are changing the way we store data in the database, you may find yourself needing
to reedit some descriptions to remove a slash or two.

Every file in this upgrade has changed and will require a complete reupload before executing the
upgrade.php script (except config-inc.php and config-int.php).

/*.php
languages/*.php
forums/*.php (whichever forum integration file you use, you do not need the others)
templates/*.tmpl
templates/vb3enhanced/*.tmpl

Note for vB3Enhanced users: We no longer require you to copy your templates over the old ones, you now
upload the vb3enhanced directory in its entirety and PhotoPost will select this directory automatically
when vB3Enhanced mode is enabled.

How do I upgrade?
-----------------

1) In your Admin Options, close your gallery.

2) Backup your database.

3) Copy the files from the ZIP download in the main directory, except
config-inc.php/config.int.php and install.php. Upload the templates, templates/vb3enhanced, forums
and languages directory.

Note for vB3Enhanced users: See note above concerning new templates directory layout.

4) Run the upgrade.php script and follow the upgrade instructions to upgrade from
your current version.

Note that all the upgrade scripts have been combined into one easy-to-use upgrade script
and you no longer have to upload individual scripts from the upgrades directory.

5) Once the upgrade is complete, delete the upgrade.php script and reopen your boards.

WATERMARK.PHP
-------------

The watermark.php file has been significantly changed to incorporate security and the ability to
serve images from a secure location without the need to configure the file separately as in past
versions. All options for this script are done in the Admin Options panel for the new IPS section.


====================
VERSION UPDATE: 5.03
====================

This update fixes a few issues that have been reported, changes the way the Edit Categories
pages work (making it easier for larger sites to navigate), adds 4 new integrations and brings
back a feature that our users have asked for (reassigning images during upload).

The new forums to be added are:

MyBB (user and style integration included)
WowBB (user and style integration included)
Mambo (user integration only)
XMB (user integration only)

There is no upgrade.php file to run; you only need to upload the files which have changed.

adm-cats.php
   . changed way Edit Categories is displayed
adm-misc.php
adm-inc.php
   . added debug timing code to footer (optional)
bulkupload.php
   . added back the option to change category during bulk upload
editphoto.php
   . fixed moving of a copy of an image
   . fixed photo count for cat where image was copied to
header-inc.php
   . modified some variable rewrites
misc.php
   . added user check to report post
pp-inc.php
   . removed version number from footer
   . added setcookie to getpass to clear previous password
   . fixed childsub zip download link
showfull.php
   . fixed $skip_vbheader variable
useralbums.php
   . fixed category counts when album is reassigned
   . fixed forward for admin edit

alb-editalb.tmpl
   . fixed a close td tag
featurepal.tmpl
   . removed outdated code
categories.tmpl
vb3enhanced/comments.tmpl (copy to templates directory)

You only need to update these files if you are running one of the integrations:

forums/postnuke.php
   . fixed usergroup issue
forums/nuke.php
forums/xmb.php
forums/wowbb.php
forums/mybb.php
forums/mambo.php

====================
VERSION UPDATE: 5.02
====================

Because we uncovered a couple potential security issues with PhotoPost 5.01, we're
updating the build to 5.02 to include these fixes for the potential problems and
also including any fixes reported to date.

We have also changed the use of the cookie/variable "password" which was used to
access password protected albums/categories. Because this variable conflicted with
one of the forum cookies, we changed this variable to use "pppass" instead of "password".

There is no upgrade.php file to run; you only need upload the files which have changed.

adm-misc.php
comments.php
editphoto.php
index.php
member.php
misc.php
pp-inc.php
register.php
search.php
showfull.php
showgallery.php
. added $PP_PATH to custom theme is_dir
. fixed problem with grabbing thumbnails for albums when copies are used
showmembers.php
. fixed problem with grabbing thumbnails for preview when copies are used
showphoto.php
slideshow.php

templates/getpass.tmpl


The security fixes made to these files do not appear to effect 4.86, although you
should read this thread if you are still running version 4.86:

http://www.photopost.com/members/forum/showthread.php?t=112679

====================
VERSION UPDATE: 5.01
====================

Minor update to resolve some reported issues and one security fix.

adm-misc.php
adm-inc.php
. added paging function to handle page links for the sort photos admin page

header-inc.php
. fixed footer rewrites
. added a line to include files for search comment results

image-inc.php
. added +profile to remove IPTC/EXIF info from thumbnails
. put $julian back into the new photo uploads so a Most Active sort would work as before

member.php
. added a line to prevent a possible security vunerability
. added a fixstrings to the $editbio variable

misc.php
. added a user check to only allow registered users to submit a report photo

pp-inc.php
. page numbering fixed for last X days posts
. change to is_image_private logic (no fix, just changed)
. fixed the Zip Download link

register.php
. fixed language file inclusion

search.php
. fixed error that appeared when searching comments

showfull.php
. fixed the link for on the fly watermarks for popup large images

showgallery.php
. fixed sorting while viewing albums

showphoto.php
. fixed an old reference to $ugview which is no longer used
. added an unset to the filstrip code to reduce memory usage during execution
. added optimization code for the filmstrip code

forums/vb3.php
. added a function check to prevent a parse_bb error code from appearing

templates/uploadphoto.tmpl
. added formatting tags to left justify text consistantly

templates/cathead.tmpl
. removed hardcoded perpage variables

templates/getpass.tmpl
. xhtml updates and html formatting

templates/sortphotos.tmpl
. fixed the form link which was pointing to old file
. xhtml updates

templates/vb3enhanced/commentspal.tmpl
. fixed loop which was cutting off 1 comment from being displayed

There is no upgrade script; you only need to upload these changed files.

===================
VERSION UPDATE: 5.0
===================

This is a major update. If you are upgrading a prior version of PhotoPost, please read the
upgrade section carefully as it contains important information about the changes to the data
directory structure.

New Features for PhotoPost 5
----------------------------
x Moderator assignments by category
x Unlimited extra fields including definable types using text, dropdowns, checkboxes and
radio buttons
x Hidden Photos photos which can be tagged "hidden" from appearing in the gallery itself,
 but can be viewed with a direct link (Approve Photos has a new "Hidden Photos" which can
 be used to view any hidden photos).
x Contest Mode - allows a category to be set to "contest" mode where users can only vote
for one photo in the category (no ratings per image), Moderators/Admins can control voting
and reset votes.
x Advanced Sorting on showgallery pages
x improved search conditions (all words, one word matching)
x Category "max images" setting - removes oldest images as new ones are added
x Quick nav dropdown selector
x "Image ## to ## of ####" indicator on showgallery page
x Recent Posts category specific when in category
x Thumbnails with Titles in showgallery page
x Switch to turn of embedded multimedia
x Report Post
x Password variable removed from URLs and set by cookie
x System closed indicator for Admin
x Zip 'n Download optional for any category/albums
x optional rotation for thumbnails (IM users only)
x "mini" thumbnails for non-rotated thumbnails (only if rotating thumbs)
x thumbnail sharpening (IM users only)
x option to disable URL image downloads in uploadphoto
x new graphics for default message buttons
x page generation times
x MySQL errors only displayed to admin
x new thumbnail handling to remove php code from thumbnail templates and read the thumbnail
file only once during execution
x optional big image window popup
x album titles clickable to album from album admin page
x removed userid from new file uploads - files retain original name unless same filename has
 been uploaded to same category (support for legacy filenames included)
x changed # of comments not to count votes if you are not displaying votes without comments
x Print View of just image to allow for easy printing of photo
x vB3 avatars improved to show file system avatars, db stored and site selected avatars
x Minimium image size setting
x DocType and Content-Type meta tag moved to language file
x vB3 Enhanced picks up censored words
x significantly improved vB3 integration removing the need for cookie and license info for
vB3 Enhanced installations (vB3 does all authentication).

Performance Updates
x Category info cache query optimization (significant reduction in queries for showgallery page)
x Thumbnails and med images moved to own directories
x .threads Users count taken from cache table (saves time on larger sites)
x Photo Views caching table to improve performance by saving an UPDATE query (can be set in
admin options on or off)
x query optimizations on index, showgallery, showphoto (saves 6 queries on showphoto, 4 queries
on index, and on showgallery 6 standard queries + with 30 thumbnails being displayed saves 30
queries for a total of 36 saved queries on this page)

Script Consolidation
x consolidation of multiple scripts into one multipurpose script (12 scipts into 1)
x consolidation of admin scripts (15 into 1)
x consolidation of all upgrade scripts into one upgrade script
x consolidation of language files into one sorted file - all strings moved to language files

Layout Improvements
x configurable index paging (see example site)
x News/Announcements Box for index page (contents set in admin)
x Category Intro Boxes to display a custom box of text for a category (set in admin categories)
x new layout for Edit Usergroups to accomidate smaller browser windows
x 24-hour time format selection (in Admin Options/Global Options)
x 10 new styles provided by Toney (see this thread)
x main gallery layout now an option (file copy not required - gallery or list options)
x edit header/footer/headtags file from Admin
x user selectible frames for albums
x user selectible styles for albums (when not using integrated forum styles)
x category specific thumbnail borders (can override site default)
x 7 new selectible thumbnail frames
x Admin Category list has collapse/expand selection removed for cats with no children
x improved show photo page layout

Every file in this upgrade has changed and will require a complete reupload before executing the
upgrade.php script.

Upgrades
========
Please read the following information carefully - don't skim it - as there is important
information here that will save you alot of headaches later if you don't.

Backing up your database/files
------------------------------
I highly recommend you backup your photos table and make a copy of your data
directory. This upgrade will move files around and if for some reason the script
aborts, having a backup is the easiest way to start over.

*****************
Important changes
*****************

If you read the feature list, you'll see that there is alot of new stuff with PP5.
One of the biggest changes is that we no longer rename a file with the userid as
the prefix to an uploaded file. This was a major obstacle to people trying to migrate
from one forum to another. Once you are running PP5, migration will be much easier
(although not automatic as we still need to map userids during an upgrade, but we
wont need to change filenames).

The upgrade script will create directories in every category directory: thumbs,
medium and mini. Then the upgrade will move and rename the -thumb and -med files
from the category into their respective directories. When you are done your layout
will look like:

data/500/filename.jpg
data/500/thumbs/filename.jpg
data/500/medium/filename.jpg

To ensure that all previously uploaded filenames are not "disconnected", the name
of the file in the database is being updated to include the userid of the user.

Also, we have consolidated all the language files into one language file.

What does this mean and why should I care?
------------------------------------------
If you are running any scripts that pull information from the PhotoPost database,
that script probably uses the -thumb and {userid}{filename}.jpg convention - those
scripts would have to be modified to just use the {bigimage} filename and not use
the userid at all.

What else is new?
-----------------
Alot! Once you have upgraded, you'll have plenty of new features to play with
including Category Introductions, Index pagination, moderator assignments
and a big boost in performance.

A note about photo printing - there is code in this release to support a "shopping cart"
feature which will be used to send images to a printing service (or used in a purchase
feature); however, at this time the printing service does not have their side completed. Rather
than take the code out, we're leaving it in so that we can work with the community to
develop viable alternatives uses while we work with the partner on a photo printing solution.

How do I upgrade?
-----------------
1) Backup your photos table and make a copy of your data directory. And remember, you can
always rebuild your thumbnails and medium images should you need to - we don't touch the
original images at all in this upgrade.

2) In your Admin Options, close your gallery.

3) Copy the files from the ZIP download in the main directory, except
config-inc.php/config.int.php, install.php and watermark.php. Upload the templates, forums,
images, languages and stylesheets directory (careful not to over-right any custom style
you may have created/modified).

vB3 Enhanced Users: If you are running the vB3 Enhanced version, upload the files from the
vb3enhanced directory into your templates directory.

4) Run the upgrade.php script and follow the upgrade instructions to upgrade from
your current version.

Note that all the upgrade scripts have been combined into one easy-to-use upgrade script
and you no longer have to upload individual scripts from the upgrades directory.

5) Once the upgrade is complete, delete the upgrade.php script and reopen your boards.

Moving of files can take some time depending on your server and the number of images. Give the
upgrade script plenty of time to do its work and avoid prematurely terminating the script. Sites
with over 10,000 images can take several minutes or longer.

New Installations
-----------------
Users who plan a new install of PhotoPost 5 will be glad to see a new install.php
script. We'll walk you through every step of the installation and check your settings
along the way. We'll also prompt you for everything we need to get started up front.


=====================
VERSION UPDATE: 4.8.2
=====================

Minor updates to fix a few files:

pp-inc.php
adm-approve.php
image-inc.php (change to notification addition to use $upuser instead of userid)
index.php (added permissions to comments view)
showmembers.php (add permissions to comments view)

forums/threads.php (fixed missing init_user_groups() function)
forums/ib.php (slight changes to styles integration
               and a fix for import_user_groups to identify admins)
forums/ib2.php (slight changes to styles integration,
                a fix for import_user_groups to identify admins
                and an authication addition)

languages/german/* (all files updated to German strings)

There are no database changes for this upgrade, so there is no upgrade script. You only need to
upload files which have changed since 4.8.1.

=====================
VERSION UPDATE: 4.8.1
=====================

4.8.1 is the official upgrade to 4.8 which includes all of the fixes below, plus the new
Personal Album features. We recommend all users update to the current release.

New Features
------------

- SORT PHOTOS option for user to sort their personal albums
- MANAGE PHOTOS option for user to move/delete images in bulk (if allowed)
- Improved Album Admin display (includes thumbnails, number of photos)
- Edit Album includes option for default Sort Order

The files changed for 4.8.1 include:

adm-approve.php
adm-inc.php
adm-order.php
member.php
orderphotos.php (new file)
pp-inc.php
showgallery.php
showphoto.php
sortphotos.php (new file)
useralbums.php

templates/alb-editalb.tmpl
templates/alb-add.tmpl
templates/editprofile.tmpl
templates/orderphotos.tmpl (new file)
templates/profile.tmpl
templates/sortphotos.tmpl (new file)

languages/*/index.php
languages/*/member.php
languages/*/orderphotos.php (new file)
languages/*/pp-inc.php
languages/*/showgallery.php
languages/*/sortphotos.php (new file)
languages/*/useralbums.php

Fixes
-----
adm-approve: fix to a link for multiple pages
member.php: added back link for edit my profile in internal user systems
profile.tmpl: see above
pp-inc.php: verison number update
            change to the category listing function to show only albums
adm-inc.php: fix for category renumbering where top levels were all 1's
showphoto.php: added convert_markups for extra fields
showgallery.php: moved english words into languages file

Please consult the lists below for any additional files which may have been changed since your version.

There are no database changes for this upgrade, so there is no upgrade script. You only need to
upload files which have changed.

====================
VERSION UPDATE: 4.8e
====================

Minor updates to fix a few files and added support for IB2:

adm-inc.php
adm-approve.php
adm-photo.php
catopts.php
index.php
pp-inc.php
showgallery.php
showphoto.php
useralbums.php

templates/indexhead.tmpl
templates/alb-editalb.tmpl
templates/categories.tmpl

languages/*/useralbums.php

forums/*.php
forums/ib2.php (new file)

- adm-inc.php: fixed problems with collapsed cats or nested subcats and renumbering properly
- adm-approve.php: fixed problem with default option LEAVE being selected
- adm-photo.php: fixed a file path
- catopts.php: added code to register cookie values for sites that don't
- index.php: added a stripslashes
- pp-inc.php: version number update,
              changed | to &middot;,
              added support for ib2
- showgallery.php: added a stripslashes
- showphoto.php: added a stripslashes, changed sidebar code to only execute if sidebars enabled globally
- useralbums.php: added option to generate a new password for private albums,
                  added option to select default sort order

- indexhead.tmpl: removed welcome class
- alb-editalb.tmpl: added option to generate a new password
- categories.tmpl: removed extra class tags

- forums/*: changed | to a &middot; for the Register link,
            added ib2.php
- languages/*/useralbums.php: added two string for useralbum.php and new gen password feature

====================
VERSION UPDATE: 4.8d
====================

Minor updates to fix a few files:

adm-inc.php
adm-cats.php
bulkupload.php
showgallery.php
showmembers.php
ecard.php
editphoto.php
uploadphoto.php
adm-approve.php
catopts.php
pp-inc.php

templates/showmlist.tmpl
templates/categories.tmpl
templates/topratedpal.tmpl
templates/profile.tmpl
templates/editphoto.tmpl
templates/indexstats.tmpl

languages/english/showgallery.php

forums/vb2.php (thanks to Scott MacVicar for his optomizations for large sites)
forums/vb3.php (thanks to Scott MacVicar for his optomizations for large sites)

You only need upload these new files, no other changes are required.

====================
VERSION UPDATE: 4.8c
====================

Minor updates to a few files:

pp-inc.php
adm-approve.php
adm-cats.php
adm-inc.php
bulkupload.php
showphoto.php
showmembers.php
showgallery.php
index.php
adm-db.php
uploadphoto.php

templates/categories.tmpl
templates/topratedpal.tmpl
templates/showgallery.tmpl
templates/onlinepal.tmpl
templates/profile.tmpl
templates/editphoto.tmpl
templates/indexstats.tmpl

languages/english/emails.php

upgrades/upgrade47.php has been changed and can be uploaded to your PhotoPost main
directory and run (ignore any duplicate errors) and then removed. The upgrade script
includes some index changes which will speed up larger sites.

This is a partial list of fixes:

adm-appove.php
- fixed so action on non-approve category can be defaulted to another choice
- fixed problem where copies of images didn't get approved (checkbox remained, although queue was empty)
- fixed path problem with page navigation and spider friendly urls enabled

adm-cats.php
- fixed child cat not picking up permissions changes when set

adm-inc.php
- fixed IB formatting issue

adm-db.php
- fixed problem with medium sized image rebuilds

bulkupload.php
- fixed url encoding problem with admin set titles/descriptions during uploadphoto

index.php
- added a strip_tags to the comment display pal to avoid broken links

pp-inc.php
- removed useless td tags from catrow()
- updated strip_tags to allow for $sl
- added style for IB for login page
- added $sl to the page navigation
- change version number

showphoto.php

showmembers.php
- fixed problem with undercat appearing on page even if option was turned off
- fixed navigation problem with letter searches and multiple pages

showgallery.php
- added checks for global sidebar PALs before executing additional queries (prevents queries from being run when option turned off)

uploadphoto.php
- fixed url encoding problem with some installs that didn't convert special characters when passing to bulkupload as admin


===================
VERSION UPDATE: 4.8
===================

Major update!

ChangeLog
---------

x Integration with user-selectable styles for vB3 and Threads (templates for others provided)
x new profile page to allow for user specific options even when using forum integrations
x user subscription / notification management
x grab images from URL (mod posted on photopostdev.com)
x new admin settings layout (mod posted on photopostdev.com)
x admin assigned default sort order per category
x letters index for members gallery
x phpinfo() page for admin
x "set children" link when editting cats
x do not email users about ratings with no comments
x ip tracking of photos, comments/ratings
x "copy to" option to copy an image to another category
x when editing photo, modify status if approval is required
x edit photo displays links to copies of image
x custom fields per category
x change owner for an image
x change alt tags for images
x collapse/expand cat admin page
x category image for main index
x improved index page (portal style) with optional configurable sidebars
x improved urls (removal of blank variables for cleaner urls)
x option to allow users to associate albums to categories (permissions set by usergroup)
x fix to adm-db to prevent removal of images which are "copies"
x fix to ecards to fix name of user in return receipts
x fix to ecards to sending return receipts
x fixed typo in the postnuke.php file
x fixed a moderation flag issue when moving an image (resetting mod flag)
x fixed time adjustment in the adm log
x fix to vb3 header for slideshows
x added stripslashes to the approve page
x moved some hardcoded text in pp-inc.php to langauge files
x moved expand code out of index and into pp-inc.php to avoid expand/collapse issues with vB3 headers.
x users who cannot delete a photo are not shown the option during edit photo
x redesigned category editor - uses single query to greatly improve performance on larger sites
x delete all photos for user
x IkonBoard support (thanks Jeremy)

Upgrade Script
--------------

The primary upgrade script upgrade.php should be used - this script provides pointers to all
the individual upgrade scripts with links to open new windows for each one you run in order.

To upgrade any of the 4.7 releases, you only need to run upgrade47.php from the main directory.

Files to Upload
---------------

Main Scripts: Virtually all of the main php scripts have changed, so you will need to
upload all the files from the main directory (except config-inc.php - see below).

Templates / Languages: Most of the template files have changed and several of the
language files have changed; best to upload the entire templates and languages directories.

Stylesheets: We have added one new style tag "menubarnb" which can be used by people who
want to use cells with borders, but do not want interior cells to also have borders. The
menubarbn class is indentical to the menubar class except any border tags should be removed. You
will want to copy your menubar class to menubarnb and make any changes. The default.css entries
look like:

.menubarnb{
  background: #498CD1;
  font-size: 8pt;
  color: #FFFFFF;
}
.menubarnb A:link {
  color: #FFFFFF;
}
.menubarnb A:visited {
  color: #FFFFFF;
}
.menubarnb A:active {
  color: #FFFFFF;
}
.menubarnb A:hover {
  color: #000000;
}

Images: No changes.

Forums: All of the forums scripts have been updated and you must upload the script for
your integration. As a side note, you do not need any of the other scripts except the
one you use for your integration. We've also added an index.htm file into this directory
to prevent browsing.

CONFIG-INC.PHP: There are only two small changes to config-inc.php: The version number
in config-inc.php has changed and we have added back the $PP_PATH variable. You can either
manually update the file or select Edit Config from the admin menu and then SUBMIT to
update your file automatically.

Once you have run the upgrade script and uploaded all the files, you will be good to go.
Typical upgrade takes about 15 minutes including file upload time.

====================
VERSION UPDATE: 4.7i
====================

Minor update to address some users specific issues.

- modified thumbnails to link to showphoto in approval page (filesizes link to image) (adm-approve.php)
- removed two useless lines from (searchbox.tmpl)
- when searching in Members Gallery when MG shows all photos, search searches all photos (showgallery.php)
- fix to catrow() for complex cat/subcat arrangements for expand/collapse (pp-inc.php)
- fix to catrow() for counting total photos/comments on index page (pp-inc.php)
- changed do...while loop that a version of PHP doesnt like (albums.tmpl)
- added quotes around variable to avoid errors from web bots (uploadphoto.php)
- changed subscribe notification to when photo is approved versus uploaded (image-inc.php, adm-approve.php)
- modified add favorites to save page number for continued browsing (addfav.php)
- removed extra number printing (showgallery.php)
- formatting change for when printing an empty cell (showgallery.php)

Files changed (must be uploaded):

adm-approve.php
showgallery.php
pp-inc.php
uploadphoto.php
image-inc.php
addfav.php

templates/searchbox.tmpl
templates/albums.tmpl

There are no database changes for this update.

====================
VERSION UPDATE: 4.7h
====================

Minor update to address some users specific issues.

- removed checkmark for unapproved comments (pp-inc.php)
- fixed expand/collapse for subcats of subcats (showgallery.php, pp-inc.php)
- thumbnail.tmpl default template updated
- skip watermark checkbox fix for bulkuploads (uploadphoto.tmpl, bulkupload.php)
- subscribe to gallery link removed from non-categories (showgallery.php)
- fixed 999 references in a couple places (changed to "fav")
- fixed edit photo issues (editphoto.php)
- removed blank spaces at end of adm-cinc.php
- changed "no photos" message to "no users" for no matches in showmembers seach
- seperated subscribe/page/email columns into own table to match top (showgallery.tmpl)
- ib forums update (thanks Chuck!)
- added (f) designation to version number printed in footer (pp-inc.php)

Files changed (must be uploaded):

pp-inc.php
showgallery.php
bulkupload.php
editphoto.php
index.php
showmembers.php
adm-cinc.php
uploadphoto.php

languages/showgallery.php

templates/thumbnail.tmpl
templates/bulkupload.tmpl
templates/showgallery.tmpl
templates/uploadphoto.tmpl

forums/ib.php

There are no database changes for this update.

====================
VERSION UPDATE: 4.7g
====================

Minor update to accomidate users with an open_basedir error and users with usergroup
permissions issues.

Files changed (must upload these):

forums/*.php (you only need upload the file for the integration you use)
login-inc.php
pp-inc.php (also adds auto parsing of URLs)

If you receive an "open_basedir" error when trying to include templates, you should edit the
pp-inc.php file and read lines 17-20. You can remove the first define and uncomment the second
to change the path to include your templates.

These templates changed:

templates/showmlist.tmpl
templates/showmgall.tmpl
templates/showgallery.tmpl
templates/membhead.tmpl
templates/indexhead.tmpl
templates/index.tmpl
templates/feature.tmpl
templates/cathead.tmpl
templates/albums.tmpl
templates/searchmem.tmpl (changed to go button)

The upgrade file has been updated with two cosmetic queries, you can re-run the upgrade script to
update these two variables:

upgrade467.php (adds query to update copyright label and PhotoPost internal version)

====================
VERSION UPDATE: 4.7f
====================

Minor update to add smilies back into BB Code.

Files changed:

pp-inc.php

Changed invalid menubar2 class to menubar in these templates uploaded with 4.7e.

templates/comments.tmpl
templates/showphoto.tmpl
templates/searchbox.tmpl
templates/indexhead.tmpl
templates/cathead.tmpl

====================
VERSION UPDATE: 4.7e
====================

Minor update to put image/comment moderation into other user systems.

Files changed:

forums/vb2.php
forums/phpbb2.php
forums/postnuke.php
forums/nuke.php
forums/dcf.php
forums/ib.php

And some minor html updates to:

templates/categories.tmpl
templates/search.tmpl

German languages files all updated - thanks to Zarzal

====================
VERSION UPDATE: 4.7d
====================

Minor update to restore "Do you want Members Gallery to show all of a users photos?" feature
which had been removed from the initial 4.7 release.

Files changed:

pp-inc.php
showmembers.php
showphoto.php
showgallery.php

Users who ran the initial 4.7 upgrade will also need to readd the Admin Option via the query:

INSERT INTO settings VALUES (94,'Do you want Members Gallery to show all of a users photos?','memformat','','yes',57,2);

Be sure to use any prefix for "setting" you may have.

===================
VERSION UPDATE: 4.7
===================

Major update:

Upgrade Script
--------------

The upgrade scripts have been improved to make it easier to see which scripts should be
run - the SQL files have been merged into the actual upgrade scripts, so only those scripts
you need to run should be uploaded.

If you are upgrading from PhotoPost 4.6.5 - 4.6.7, then you only need to upload the
upgrade467.php script (into the PP main directory) and execute it. The upgrade will
make some minor changes to your database structure.

If you are upgrading from a version prior to 4.6.7, then you would need to run any
number of scripts to bring you current; for example, if you are running version 4.1,
then you would run these scripts (in order):

upgrade41.php, upgrade45.php, upgrade46.php and upgrade467.php

There is also an upgrade.php file which can be used to explain which scripts you should
run and in which order.

Files to Upload
---------------

Main Scripts: Virtually all of the main php scripts have changed, so you will need to
upload all the files from the main directory (except config-inc.php, header-inc.php and photopost.sql).

Templates / Languages: Most of the template files have changed and several of the
language files have changed; best to upload the templates and languages directories.

Stylesheets: There are no changes to the stylesheets, however some new images have
 been uploaded into the theme directories in the stylesheets directories. You should
 upload these subdirectories to update your images.

Images: There are several new images in the images directory, you should upload this
whole directory so that you have all the new selectable frames and collapse/expand buttons.

Forums: All of the forums scripts have been updated and you must upload the script for
your integration. As a side note, you do not need any of the other scripts except the
one you use for your integration. We've also added an index.htm file into this directory
to prevent browsing.

CONFIG-INC.PHP: There are only two small changes to config-inc.php: The version number
in config-inc.php has changed and we have removed the $PP_PATH variable. You can either
manually update the file or select Edit Config from the admin menu and then SUBMIT to
update your file automatically.

Once you have run the upgrade script and uploaded all the files, you will be good to go.
Typical upgrade takes about 15 minutes including file upload time.

=====================
VERSION UPDATE: 4.6.7
=====================

Files changed from 4.6.6:

adm-db.php, useralbums.php, showphoto.php, showmembers.php, showgallery.php, bulkupload.php,
pp-inc.php, config-inc.php (version number only), adm-cfgtpl.php (version number only)

languages/*/emails.php

There are no database changes, you only need to upload the files listed above.

=====================
VERSION UPDATE: 4.6.6
=====================

Files changed from 4.6.5:

addfav.php, uploadphoto.php, showphoto.php, reportphoto.php, pp-inc.php, index.php,
editphoto.php, ecard.php, comments.php, useralbums.php, showgallery.php, bulkupload.php,
adm-db.php, adm-photo.php

There are no database changes, you only need to upload the files listed above.

=====================
VERSION UPDATE: 4.6.5
=====================

Files changed from 4.6:

adm-users.php, adm-db.php, adm-purge.php, search.php, adm-photo.php, image-inc.php,
showphoto.php, ecard.php, bulkupload.php, showgallery.php, pp-inc.php, adm-approve.php,
editphoto.php, cookies.php, header-inc.php

templates/showphoto.tmpl, templates/bulkupload.tmpl, templates/showmlist.tmpl

forums/vb3.php

There is some database changes with this upgrade, so you will need to run upgrade46.php. Consult the
UPGRADE.TXT file for more detailed instructions.

===================
VERSION UPDATE: 4.6
===================

The following files were updated from 4.5:

All of the main scripts have changed

forums/* (new search.php)
templates/* (couple of new templates)
languages/*/search.php (new)
languages/*/index.php
forums/*

There is some database changes with this upgrade, so you will need to run upgrade45.php. Consult the
UPGRADE.TXT file for more detailed instructions.

===================
VERSION UPDATE: 4.5
===================

The following files were updated from 4.1.5:

All of the main scripts have changed

forums/*

templates/uploadphoto.tmpl
templates/showphoto.tmpl
templates/alternate - new directory where alternate template files can be placed, to use
    copy the files into the templates directory

stylesheets/orange.css - new stylesheet
stylesheets/orange - new directory of images for orange layout
stylesheets/dark.css - dark stylesheet

There is some database changes with this upgrade, so you will need to run upgrade41.php. Consult the
UPGRADE.TXT file for more detailed instructions.

=====================
VERSION UPDATE: 4.1.5
=====================

The following files were updated from 4.1.4:

pp-inc.php - added user offset to time varibales, changed domain_path to cookie_path, changed version number
bulkupload.php - fixed userid for upload as user
showgallery.php - improved search results
showphoto.php - fixed preview images to not display images user doesnt have permission to view
login.php - improvments to the who's online functionality
logout.php - improvments to the who's online functionality
index.php - improvments to the who's online functionality
adm-inc.php - improvments to the who's online functionality
adm-cfgtpl.php - change version number from 4.1.4 to 4.1.5

templates/showmembers.tmpl - image now links to photo
templates/membhead.tmpl - point to new searchmem.tmpl file
templates/searchbox.tmpl - fix to improve searches
templates/showmgall.tmpl - fix to use names and photos same as list view
templates/searchmem.tmpl - new file to allow searching of usernames in Members view

=====================
VERSION UPDATE: 4.1.4
=====================

The following files were updated from 4.1.3:

adm-userg.php - line 247 changed to read "photopost"
pp-inc.php - changed the REPLACE used for who's online and version number
adm-approve.php - fixed a problem where deleting an image returned you to another category
showphoto.php - changed prev/next not to show unapproved images
bulkupload.php - filesize check fix
editphoto.php - changed a line to fix the replace image feature
member.php - added check for invalid user, fixes spiders that were picking up nonusers

templates/editprofile.php - fixed birthday months selection

languages/*/emails.php - fixed send password email to use proper variable

=====================
VERSION UPDATE: 4.1.3
=====================

The following files were updated from 4.1.2:

comment.php - line 251 variable changed
image-inc.php - moved check_user_dir
showgallery.php - improved search query
header-inc.php - changed $vbheader variable
bulkupload.php - see note below
uploadphoto.php - see note below
image-inc.php - see note below
pp-inc.php - change version number, variable on line 391
showmembers.php - change sort default to alphabetical

templates/alb-addalb.tmpl - remoced reference to $menu
templates/showmlist.tmpl - changed line 2 to include member sort
templates/showphoto.tmpl - added dimensions back and % width to the feature preview

forums/ib.php - add line for blank usergroups
forums/nuke.php - fixes links lines
forums/threads.php - reworked guest usergroup
forums/dcf.php - change on DELETE line 301

Note: Most all items were one line fixes, except for the "Upload as user" feature which was recoded to behave as in prior versions where the Admin
uploads the images to THEIR directory and then they are uploaded under a different users id.

There are NO DATABASE CHANGES for this upgrade and no upgrade script is required; simply upload changed files.

=====================
FEATURE UPDATE: 4.1.2
=====================

After adding several features our members have been asking for, I've updated the version in the downloads area to include these new features.

- Improved navigation
- Improved Bulk Actions page
- Improved delete image
- Improved Add Favorites

These updates will improve some navigation in several areas. You would only upload the files listed below for these new features - no other update or script is required.

Navigation
----------
There is a new page number system which shows at the top and bottom of a showgallery page - also the addition of << and >> arrows to make navigation MUCH easier.

Files changed: showgallery.php, templates/cathead.tmpl

Bulk Actions
------------
After working on a gallery with 3,000 images, I added several enhancements to this page to make large gallery management a snap!

- The page has been modified to display the image filename and the thumbnail links to a showphoto page which will open in a new window and allow you to see the image as others see it.

- When you click SUBMIT, the page will return to where you left off - remembering page, sort and number of images per page. Previously it returned you to the first page.

Files changed: adm-approve.php

Delete Image
------------

Previously, when you deleted an image, it took you back to the first page of the gallery you were in. This update will return you to the page where you left off when viewing the image you deleted.

Files changed: showphoto.php, adm-photo.php

Add/Remove Favorites
--------------------

With this update, when you add or remove a favorite, it will take you back to the image you were at without changing your sort or page options.

Files changed: addfav.php, showphoto.php

Minor updates
-------------

pp-inc.php - version number changed, forward changed to use 1 second delay instead of 3.
adm-pa.php - line 47 correction
forums/phpbb2.php - array change to use digit instead of string (one line)

There are NO DATABASE CHANGES for this upgrade and no upgrade script is required; simply upload changed files.

=============
UPDATE: 4.1.1
=============

Addition changes:

. adm-db.php - line 210 changed the query for updating comment owners
. forums/photopost.php - added addslashes to usernames to handle special characters
. bulkupload.php - added two lines to fix "upload as user" and a couple lines to change how multimedia file sizes are checked
. adm-cinc.php - removed unused tag
. pp-inc.php - version number updated to 4.1.1

New Feature for 4.1.1:

A Thumbnail Preview of images under the photo image which show upcomming images and previous images (linked).

Demo of the new feature:

http://www.danasoft.com/phpppsp2/sh...&cat=509&page=3

Files changed:

. showphoto.php
. templates/showphoto.tmpl

This can be removed by removing the corresponding code from the template.

There are NO DATABASE CHANGES for this upgrade and no upgrade script is required; simply upload changed files.

=========================
PhotoPost 4.1: 9/16 Build
=========================

10:45am Build

In keeping with our policy of providing updates in a timely manner for new users, we have uploaded a new build today. The changes are in addition to those listed below:

bulkupload.php - added two urlencodes, although no reports of problems, might cause issues with special characters
ecard.php - fixed a line which improperly displayed the username
pp-inc.php - for GD users and newer versions of PHP, changed the code to check for "imagegif" instead of "imagecreatefromgif" which was passing TRUE even though GIF support was not enabled.
adm-cfgtpl.php - minor change to add cookie domain to the list of edittable variables
adm-cfgedit.php - same as above, also fixed cookie prefix variable which was not saving properly

templates/ecard-bottom.tmpl - fixed a line which improperly displayed a username
templates/bulkupload.tmpl - added a notify variable which caused notifications to not be recorded (one line)

forums/ib.php - change to support the IB special character conversion.

There are NO DATABASE CHANGES for this upgrade and no upgrade script is required; simply upload changed files.

====================================
PhotoPost 4.1: Build 9/9 Information
====================================

5:24pm Build

In keeping with our policy of providing updates in a timely manner for new users, we have uploaded a new build today. The changes are in addition to those listed below:

Files changed:
. templates/showphoto.tmpl - line 338 changed edit to allow for moderators to edit comments
. comments.php - two lines change to allow moderators to edit comments
. showgallery.php - one line added to fix search query in My Favorites

There were a number of rp_lang variables that needed to be changed to pp_lang. This mostly effected Unregistered user names and months of the year. Not all changes actually
resulted in a change to the functionality as the code and the langauge files both used rp_lang. This is primarily a cosmetic change, but effected these files:

. languages/<all>/pp-inc.php
. forums/* (all files)
. member.php (only used by Internal registrations)
. register.php (only used by Internal registrations)
. showphoto.php

There are NO DATABASE CHANGES for this upgrade and no upgrade script is required; simply upload changed files.

====================================
PhotoPost 4.1: Build 9/5 Information
====================================

I've updated the build to benefit new downloads and anyone who needs these fixes:

- Added back "notify of posts" to the image uploads
- Added code to create directory of a user for admin who "upload as user" where the directory doesnt exist
- Added code to allow admins to set a default title and description to their uploads (commonly used with "process all files")
- Added a line to the phpbb2.php file to account for anonymous users
- Fixed a problem with Edit Config that wasnt letting the domain variable be updated
- Fixed missing EDIT button on user comments
- Fixed missing albums from Admin's Manage Albums

Files changed:

adm-cinc.php - one line change
pp-inc.php (new function check_user_dir)
showphoto.php - (one line addition)
uploadphoto.php
image-inc.php (one line change)
bulkupload.php
adm-cfgedit.php (one line change)
templates/bulkupload.tmpl
templates/showphoto.tmpl (one line change - $cuserid to $cowner)
templates/uploadphoto.tmpl
forums/phpbb2.php (one line change)

There are NO DATABASE CHANGES for this upgrade and no upgrade script is required; simply upload changed files.

=============
PHOTOPOST 4.1
=============

4.1 Information

I am redoing the way we handle file uploads to accomidate our ever growing communities.

File Uploads/Multiple file uploads gets a facelift!

We're moving to a two-staged process for file uploads. The first Upload Photos page allows you to select one (or more) files to
upload. When you click submit, you will be taken to the bulkupload interface which provides a thumbnail and input for each image you uploaded.

TEMPLATES

4.1 will include the new template files for all the user pages.

Forum Integration

I've broken our the BB code into individual files (one include file for each BB). All code related to a BB integration has been moved into
the respective file and removed from all the other files.

This will make adding new boards much easier and also make following BB code much easier.

Misc Stuff
. Personal Albums inherit permissions and headers, footers, headtags from Members Galleries
. fixed double headers with error messages
. fixed some leftover hardcoded language items
. removed a couple redundant settings from the admin panel (default upload size, admin override - both set in usergroup permissions).
. Search in Members Gallery works same as rest of searches (versus searching just Members).
. Improved scan db which refreshs page to prevent timeouts on large databases
. new borders around thumbnails and images
. Nuke support
. VB3 BETA support
. Improved random number in photo url to only add random number after an edit; not on every page
. made image resizing "quality" an option in the admin options
. added image borders and made them configurable in the admin options (size and color)
. fixed email link which did not contain passwords
. fixed recommend email to use "A friend" when user is not registered.
. Enhanced security
. When a comment is posted by an admin, and admins are exempt from upload approval, it will not appear in the to-be-approve list of comments.