Hello,
does the upgrade from FAP 1.2.3 to FAP 1.4.1 work with the howto from Artie:
h**p://***.mightygorgon.com/viewtopic.php?f=682&t=3661 ?
Regards,
merkas
FAP SUPPORT - How To Upgrade From FAP 1.2.3 To FAP 1.4.1
Subject: Re: How To Upgrade From FAP 1.2.3 To FAP 1.4.1
Yes... you can try this:
How to upgrade from FAP 1.2.3... click SHOW for step by step instructions!
How to upgrade from FAP 1.2.3... click SHOW for step by step instructions!
Spoiler: [ Show ]
Spoiler: [ Hide ]
How to upgrade from FAP 1.2.3
Changes in SQL and files from FAP 1.2.3
Code changes from FAP 1.2.3 in phpBB core files
- Upload fap_install.php to your phpBB root folder and run it when logged as Admin
- Replace all FAP files with the new ones (or use WinMerge to compare your files with the new ones)
Changes in SQL and files from FAP 1.2.3
================================================================================
Changed files from 1.2.3 To 1.4.1
================================================================================
SQL
================================================================================
INSERT INTO `phpbb_album_config` VALUES ('quick_thumbs', '0');
INSERT INTO `phpbb_album_config` VALUES ('set_memory', '0');
INSERT INTO `phpbb_album_config` VALUES ('lb_preview', '0');
INSERT INTO `phpbb_album_config` VALUES ('use_old_pics_gen', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_last_comments', '0');
INSERT INTO `phpbb_album_config` VALUES ('enable_mooshow', '0');
ALTER TABLE `phpbb_album_cat` ADD `cat_wm` TEXT AFTER `cat_desc`;
UPDATE `phpbb_album_config` SET `config_value` = '.0.54' WHERE `config_name` = 'album_version';
UPDATE `phpbb_album_config` SET `config_value` = '1.4.1' WHERE `config_name` = 'fap_version';
================================================================================
Files
================================================================================
All files have been changed and some added since last version, so you should
delete all old files and replace with the new ones.
Remove these files
admin/admin_album_config_clown.php
album_mod/album_nuffimage.php
album_mod/album_watermark.php
album_mod/clown_album_functions.php
templates/subSilver/admin/album_config_clown_general_body.tpl
templates/subSilver/admin/album_config_clown_hotnot_body.tpl
templates/subSilver/admin/album_config_clown_watermark_body.tpl
Changed files from 1.2.3 To 1.4.1
================================================================================
SQL
================================================================================
INSERT INTO `phpbb_album_config` VALUES ('quick_thumbs', '0');
INSERT INTO `phpbb_album_config` VALUES ('set_memory', '0');
INSERT INTO `phpbb_album_config` VALUES ('lb_preview', '0');
INSERT INTO `phpbb_album_config` VALUES ('use_old_pics_gen', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_last_comments', '0');
INSERT INTO `phpbb_album_config` VALUES ('enable_mooshow', '0');
ALTER TABLE `phpbb_album_cat` ADD `cat_wm` TEXT AFTER `cat_desc`;
UPDATE `phpbb_album_config` SET `config_value` = '.0.54' WHERE `config_name` = 'album_version';
UPDATE `phpbb_album_config` SET `config_value` = '1.4.1' WHERE `config_name` = 'fap_version';
================================================================================
Files
================================================================================
All files have been changed and some added since last version, so you should
delete all old files and replace with the new ones.
Remove these files
admin/admin_album_config_clown.php
album_mod/album_nuffimage.php
album_mod/album_watermark.php
album_mod/clown_album_functions.php
templates/subSilver/admin/album_config_clown_general_body.tpl
templates/subSilver/admin/album_config_clown_hotnot_body.tpl
templates/subSilver/admin/album_config_clown_watermark_body.tpl
Code changes from FAP 1.2.3 in phpBB core files
#
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);
define('LOGIN_MG', 'login.' . $phpEx);
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
define('ALBUM_MOD_PATH', 'album_mod/');
define('ALBUM_FILES_PATH', 'album_mod/upload/');
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);
// Mighty Gorgon - Full Album Pack - END
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
define('ALBUM_TABLE', $table_prefix.'album');
define('ALBUM_CAT_TABLE', $table_prefix.'album_cat');
define('ALBUM_CONFIG_TABLE', $table_prefix.'album_config');
define('ALBUM_COMMENT_TABLE', $table_prefix.'album_comment');
define('ALBUM_RATE_TABLE', $table_prefix.'album_rate');
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - REMOVED
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
//--- FLAG operation functions
function setFlag($flags, $flag)
{
return $flags | $flag;
}
function clearFlag($flags, $flag)
{
return ($flags & ~$flag);
}
function checkFlag($flags, $flag)
{
return (($flags & $flag) == $flag) ? true : false;
}
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - REMOVED
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/admin/page_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
/* Mighty Gorgon - Full Album Pack - BEGIN */
.forumline_left {
background-color: {T_TD_COLOR2};
border-bottom: 2px {T_TH_COLOR2} solid;
border-left: 2px {T_TH_COLOR2} solid;
}
.tab_links, a.tab_links:hover, a.tab_links:link, a.tab_links:active, a.tab_links:visited {
font-size: 11px;
color: #FF8866;
text-decoration: none;
}
.tab_links_unsel, a.tab_links_unsel:hover, a.tab_links_unsel:link, a.tab_links_unsel:active, a.tab_links_unsel:visited {
font-size: 11px;
color: #FFFFAA;
text-decoration: none;
}
a.tab_links:hover, a.tab_links_unsel:hover {
text-decoration: underline;
}
.tab_headers, th.tab_headers {
color: #FF8866;
font-size: 11px;
font-weight : bold;
padding-left: 4px;
padding-right: 8px;
border: #003366;
border-style: solid;
border-width: 1px 1px 0px 1px;
background-color: #006699;
}
.tab_headers_unsel, th.tab_headers_unsel {
color: #FFFFAA;
font-size: 11px;
font-weight : bold;
padding-left: 4px;
padding-right: 8px;
border: #336699;
border-style: solid;
border-width: 1px 1px 0px 1px;
background-color: #6699AA;
}
.tab_border {
background-color: #888888;
border: 1px;
}
.filler, th.filler {
background-color:#6699AA;
background-image:none;
}
.picframe{
display: block;
background-color: #FFFFFF;
border: 1px solid #555555;
padding: 2px 6px 2px 6px;
position: relative;
bottom: 2px;
right: 2px;
}
.picshadow{
background-color: #888888;
color: inherit;
margin-left: 4px;
margin-top: 4px;
}
/* Mighty Gorgon - Full Album Pack - END */
#
#-----[ REPLACE, WITH ]----------------------------------------
#
/* Mighty Gorgon - Full Album Pack - REMOVED */
#
#-----[ FIND ]------------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<link>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<link>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);
define('LOGIN_MG', 'login.' . $phpEx);
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
define('ALBUM_MOD_PATH', 'album_mod/');
define('ALBUM_FILES_PATH', 'album_mod/upload/');
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);
// Mighty Gorgon - Full Album Pack - END
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
define('ALBUM_TABLE', $table_prefix.'album');
define('ALBUM_CAT_TABLE', $table_prefix.'album_cat');
define('ALBUM_CONFIG_TABLE', $table_prefix.'album_config');
define('ALBUM_COMMENT_TABLE', $table_prefix.'album_comment');
define('ALBUM_RATE_TABLE', $table_prefix.'album_rate');
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - REMOVED
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
//--- FLAG operation functions
function setFlag($flags, $flag)
{
return $flags | $flag;
}
function clearFlag($flags, $flag)
{
return ($flags & ~$flag);
}
function checkFlag($flags, $flag)
{
return (($flags & $flag) == $flag) ? true : false;
}
// Mighty Gorgon - Full Album Pack - END
#
#-----[ REPLACE, WITH ]----------------------------------------
#
// Mighty Gorgon - Full Album Pack - REMOVED
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/admin/page_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
/* Mighty Gorgon - Full Album Pack - BEGIN */
.forumline_left {
background-color: {T_TD_COLOR2};
border-bottom: 2px {T_TH_COLOR2} solid;
border-left: 2px {T_TH_COLOR2} solid;
}
.tab_links, a.tab_links:hover, a.tab_links:link, a.tab_links:active, a.tab_links:visited {
font-size: 11px;
color: #FF8866;
text-decoration: none;
}
.tab_links_unsel, a.tab_links_unsel:hover, a.tab_links_unsel:link, a.tab_links_unsel:active, a.tab_links_unsel:visited {
font-size: 11px;
color: #FFFFAA;
text-decoration: none;
}
a.tab_links:hover, a.tab_links_unsel:hover {
text-decoration: underline;
}
.tab_headers, th.tab_headers {
color: #FF8866;
font-size: 11px;
font-weight : bold;
padding-left: 4px;
padding-right: 8px;
border: #003366;
border-style: solid;
border-width: 1px 1px 0px 1px;
background-color: #006699;
}
.tab_headers_unsel, th.tab_headers_unsel {
color: #FFFFAA;
font-size: 11px;
font-weight : bold;
padding-left: 4px;
padding-right: 8px;
border: #336699;
border-style: solid;
border-width: 1px 1px 0px 1px;
background-color: #6699AA;
}
.tab_border {
background-color: #888888;
border: 1px;
}
.filler, th.filler {
background-color:#6699AA;
background-image:none;
}
.picframe{
display: block;
background-color: #FFFFFF;
border: 1px solid #555555;
padding: 2px 6px 2px 6px;
position: relative;
bottom: 2px;
right: 2px;
}
.picshadow{
background-color: #888888;
color: inherit;
margin-left: 4px;
margin-top: 4px;
}
/* Mighty Gorgon - Full Album Pack - END */
#
#-----[ REPLACE, WITH ]----------------------------------------
#
/* Mighty Gorgon - Full Album Pack - REMOVED */
#
#-----[ FIND ]------------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<link>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<link>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.384s (PHP: 5% SQL: 95%)
SQL queries: 13 - Debug Off - GZIP Enabled