               -------------- Photo Album Addon for phpBB2 ---------------
                             
                                        ~ oOo ~

                        Upgrading Guide from v2 BETA 1-5 to lastest

                                           *
                                         *   *

RECOMMEND:	If it is possible you should remove everything of your
			old Album Addon then do a fresh install.


+ BACKUP!!! -> it's important!


+ Remove all old additional files of Photo Album


+ Upload all new additional (included) files


+ upload album_update.php to your phpBB root directory


+ run album_update.php -> by typing on the browser. I hope you will get the successful message!


+ delete album_update.php


#
#-----[ OPEN ]-------------------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]----------------------------------------
#
	'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username'])),

#
#-----[ AFTER, ADD ]----------------------------------
#
	//
	// Photo Album Addon v2.x.x by Smartor
	//
	'U_PERSONAL_GALLERY' => append_sid("album_personal.$phpEx?user_id=" . $profiledata['user_id']),
	'L_PERSONAL_GALLERY' => sprintf($lang['Personal_Gallery_Of_User'], $profiledata['username']),


#
#-----[ OPEN ]-------------------------------------------------------
# also for all other templates
templates/subSilver/profile_view_body.tpl

#
#-----[ FIND ]----------------------------------------
#
<a href="{U_SEARCH_USER}" class="genmed">{L_SEARCH_USER_POSTS}</a>

#
#-----[ IN-LINE AFTER, ADD ]--------------------------
#
<br /><a href="{U_PERSONAL_GALLERY}" class="genmed">{L_PERSONAL_GALLERY}</a>


#
#-----[ OPEN ]-------------------------------------------------------
# also for all other language packs
language/lang_english/lang_main.php

#
#-----[ FIND ]----------------------------------------
#
//
// Errors (not related to a
// specific failure on a page)
//
$lang['Information'] = 'Information';
$lang['Critical_Information'] = 'Critical Information';

#
#-----[ BEFORE, ADD ]---------------------------------
#
//
// Photo Album Addon v2.x.x by Smartor
//
$lang['Album'] = 'Album';
$lang['Personal_Gallery_Of_User'] = 'Personal Gallery of %s';


#
#-----[ OPEN ]----------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]----------------------------------------
#
	'L_ALBUM' => ALBUM_LINK,
#
#-----[ REPLACE WITH ]--------------------------------
#
	'L_ALBUM' => $lang['Album'],


#
#-----[ OPEN ]----------------------------------------
#
viewonline.php

#
#-----[ FIND ]----------------------------------------
#
					$location = ALBUM_LINK;

#
#-----[ REPLACE WITH ]--------------------------------
#
					$location = $lang['Album'];


#
#-----[ OPEN ]----------------------------------------
#
admin/index.php

#
#-----[ FIND ]----------------------------------------
#
					$location = ALBUM_LINK;

#
#-----[ REPLACE WITH ]--------------------------------
#
					$location = $lang['Album'];


#
#-----[ OPEN ]-------------------------------------------------------
# also for other templates
templates/subSilver/subSilver.cfg

#
#-----[ FIND ]----------------------------------------
#
$images['upload_pic'] = "$current_template_images/{LANG}/upload_pic.gif";

#
#-----[ AFTER, ADD ]---------------------------------
#
$images['no_thumbnail'] = "$current_template_images/nothumbnail.jpg";


#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------------
# check your AdminCP again (maybe some of your settings in Album Configuration would be changed)
#
# EoU