Installation instructions for 'phpBB Gallery' version 1.0.6
Files to edit
- index.php,
- memberlist.php,
- viewonline.php,
- viewtopic.php,
- includes/cache.php,
- includes/constants.php,
- includes/functions.php,
- includes/functions_admin.php,
- includes/functions_display.php,
- includes/functions_user.php,
- includes/session.php,
- includes/acp/acp_language.php,
- includes/acp/acp_logs.php,
- includes/acp/acp_styles.php,
- includes/acp/info/acp_logs.php,
- styles/prosilver/imageset/en/imageset.cfg,
- styles/prosilver/template/index_body.html,
- styles/prosilver/template/memberlist_view.html,
- styles/prosilver/template/overall_header.html,
- styles/prosilver/template/viewtopic_body.html,
- styles/prosilver/theme/stylesheet.css
Included files
- root/adm/mods/phpbb_gallery_version.php,
- root/adm/style/*.*,
- root/gallery/*.*,
- root/gallery/images/*.*,
- root/gallery/includes/*.*,
- root/gallery/mcp/*.*,
- root/includes/acp/*.*,
- root/includes/ucp/*.*,
- root/install/*.*,
- root/install/schemas/*.*,
- root/language/en/email/*.*,
- root/language/en/mods/*.*,
- root/styles/prosilver/imageset/*.*,
- root/styles/prosilver/template/gallery/*.*,
- root/styles/prosilver/theme/*.*
Additional MODX files
- de Contrib: Geschichte/Entwickler/Features
- en Contrib: History/Developers/Features
- de Contrib: Update von 1.0.5 auf 1.0.6
- en Contrib: Update from 1.0.5 to 1.0.6
- de Language: Anleitung für das deutsche Sprachpaket
- en Language: Manual for German Language-set
- de Template: Anleitung für das Style subsilver2
- en Template: Manual for subsilver2 Style
- de Contrib: Neueste/Zufällige Bilder und Kommentare auf der index.php anzeigen
- en Contrib: View recent/random images and comments on index.php
- de Contrib: Plugin Highslide JS
- en Contrib: Plugin Highslide JS
- de Contrib: Plugin Lytebox
- en Contrib: Plugin Lytebox
- de Contrib: Plugin Shadowbox
- en Contrib: Plugin Shadowbox
Disclaimer and other notes
For security purposes, please check: http://www.phpbb.com/mods/for the latest version of this MOD. Downloading this MOD from othersites could cause malicious code to enter into your phpBB Forum. Assuch, phpBB will not offer support for MODs not offered in our MODsdatabase, located at: http://www.phpbb.com/mods/
Before adding this MOD to your forum, you should back up all files related to this MOD.
This MOD was designed for phpBB 3.0.8 and may not function as stated on other phpBB versions. MODs for phpBB 3.0 will not work on phpBB 2.0 and vice versa.
License and English support
This MOD has been licensed under the following license:
http://opensource.org/licenses/gpl-license.php GNU General Public License v2
English support can be obtained at http://www.phpbb.com/mods/ for released MODs.
File copy
-
-
Copy: root/adm/mods/phpbb_gallery_version.php
- To: adm/mods/phpbb_gallery_version.php
-
-
Copy: root/adm/style/*.*
- To: adm/style/*.*
-
-
Copy: root/gallery/*.*
- To: gallery/*.*
-
-
Copy: root/gallery/images/*.*
- To: gallery/images/*.*
-
-
Copy: root/gallery/includes/*.*
- To: gallery/includes/*.*
-
-
Copy: root/gallery/mcp/*.*
- To: gallery/mcp/*.*
-
-
Copy: root/includes/acp/*.*
- To: includes/acp/*.*
-
-
Copy: root/includes/ucp/*.*
- To: includes/ucp/*.*
-
-
Copy: root/install/*.*
- To: install/*.*
-
-
Copy: root/install/schemas/*.*
- To: install/schemas/*.*
-
-
Copy: root/language/en/email/*.*
- To: language/en/email/*.*
-
-
Copy: root/language/en/mods/*.*
- To: language/en/mods/*.*
-
-
Copy: root/styles/prosilver/imageset/*.*
- To: styles/prosilver/imageset/*.*
-
-
Copy: root/styles/prosilver/template/gallery/*.*
- To: styles/prosilver/template/gallery/*.*
-
-
Copy: root/styles/prosilver/theme/*.*
- To: styles/prosilver/theme/*.*
Edits
swxUse your keyboard to navigate the code boxes. You may also hit 's' on your keyboard to go to the first code box.
Open: index.php
Find
Tip: This may be a partial find and not the whole line.
$total_users = $config['num_users'];
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$total_images = $config['num_images']; $user->add_lang('mods/info_acp_gallery'); $l_total_image_s = ($total_images == 0) ? 'TOTAL_IMAGES_ZERO' : 'TOTAL_IMAGES_OTHER';
Find
Tip: This may be a partial find and not the whole line.
'TOTAL_USERS' => sprintf($user->lang[$l_total_user_s], $total_users),
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'TOTAL_IMAGES' => ($config['gallery_total_images']) ? sprintf($user->lang[$l_total_image_s], $total_images) : '',
Open: memberlist.php
Find
Tip: This may be a partial find and not the whole line.
unset($module); }
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
// phpBB Gallery integration if (!function_exists('integrate_memberlist_viewprofile')) { $gallery_root_path = GALLERY_ROOT_PATH; include($phpbb_root_path . $gallery_root_path . 'includes/phpbb_integration.' . $phpEx); } integrate_memberlist_viewprofile($member);
Open: viewonline.php
Find
Tip: This may be a partial find and not the whole line.
$sql = 'SELECT u.user_id, u.username, u.username_clean, u.user_type, u.user_colour, s.session_id, s.session_time, s.session_page, s.session_ip, s.session_browser, s.session_viewonline, s.session_forum_id
In-line Find
Tip: This is a partial match of a line for in-line operations.
, s.session_forum_id
In-line Add after
, s.session_album_id
Find
Tip: This may be a partial find and not the whole line.
preg_match('#^([a-z0-9/_-]+)#i', $row['session_page'], $on_page); if (!sizeof($on_page)) { $on_page[1] = ''; }
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
// phpBB Gallery integration if ((utf8_substr($on_page[1], 0, utf8_strlen(GALLERY_ROOT_PATH))) == GALLERY_ROOT_PATH) { $gallery_on_page[1] = $on_page[1]; $on_page[1] = utf8_substr($on_page[1], 0, utf8_strlen(GALLERY_ROOT_PATH)); }
Find
Tip: This may be a partial find and not the whole line.
case 'report': $location = $user->lang['REPORTING_POST']; $location_url = append_sid("{$phpbb_root_path}index.$phpEx"); break;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
// phpBB Gallery integration case GALLERY_ROOT_PATH: if (!function_exists('integrate_viewonline')) { $gallery_root_path = GALLERY_ROOT_PATH; include($phpbb_root_path . $gallery_root_path . 'includes/phpbb_integration.' . $phpEx); } $on_page[1] = $gallery_on_page[1]; integrate_viewonline ($on_page, $row['session_album_id'], $row['session_page']); break;
Open: viewtopic.php
Find
Tip: This may be a partial find and not the whole line.
'REPORT_IMG' => $user->img('icon_post_report', 'REPORT_POST'),
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
'GALLERY_IMG' => $user->img('icon_contact_gallery', 'PERSONAL_ALBUM'),
Find
Tip: This may be a partial find and not the whole line.
'SELECT' => 'u.*, z.friend, z.foe, p.*
In-line Find
Tip: This is a partial match of a line for in-line operations.
, p.*
In-line Add after
, gu.personal_album_id, gu.user_images
Find
Tip: This may be a partial find and not the whole line.
'ON' => 'z.user_id = ' . $user->data['user_id'] . ' AND z.zebra_id = p.poster_id' )
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
, array( 'FROM' => array(GALLERY_USERS_TABLE => 'gu'), 'ON' => 'gu.user_id = p.poster_id' )
Find
Tip: This may be a partial find and not the whole line.
'age' => '',
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'gallery_album' => '', 'gallery_images' => '', 'gallery_search' => '',
Find
Tip: This may be a partial find and not the whole line.
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'gallery_album' => ($row['personal_album_id'] && $config['gallery_viewtopic_icon']) ? append_sid("{$phpbb_root_path}" . GALLERY_ROOT_PATH . "album.$phpEx", "album_id=" . $row['personal_album_id']) : '', 'gallery_images' => ($config['gallery_viewtopic_images']) ? $row['user_images'] : 0, 'gallery_search' => ($config['gallery_viewtopic_images'] && $config['gallery_viewtopic_link'] && $row['user_images']) ? append_sid("{$phpbb_root_path}" . GALLERY_ROOT_PATH . "search.$phpEx", "user_id=$poster_id") : '',
Find
Tip: This may be a partial find and not the whole line.
'U_JABBER' => $user_cache[$poster_id]['jabber'],
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'U_GALLERY' => $user_cache[$poster_id]['gallery_album'], 'GALLERY_IMAGES' => $user_cache[$poster_id]['gallery_images'], 'U_GALLERY_SEARCH' => $user_cache[$poster_id]['gallery_search'],
Open: includes/cache.php
Find
Tip: This may be a partial find and not the whole line.
return $hook_files; }
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
/** * Obtain list of albums */ function obtain_album_list() { global $db; if (($albums = $this->get('_albums')) === false) { $sql = 'SELECT album_id, parent_id, album_name, album_type, left_id, right_id, album_user_id, display_in_rrc FROM ' . GALLERY_ALBUMS_TABLE . ' ORDER BY album_user_id ASC, left_id ASC'; $result = $db->sql_query($sql); $albums = array(); while ($row = $db->sql_fetchrow($result)) { $albums[$row['album_id']] = array( 'album_id' => $row['album_id'], 'parent_id' => $row['parent_id'], 'album_name' => $row['album_name'], 'album_type' => $row['album_type'], 'left_id' => $row['left_id'], 'right_id' => $row['right_id'], 'album_user_id' => $row['album_user_id'], 'display_in_rrc' => $row['display_in_rrc'], ); } $db->sql_freeresult($result); $this->put('_albums', $albums); } return $albums; }
Open: includes/constants.php
Find
Tip: This may be a partial find and not the whole line.
define('LOG_USERS', 3);
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
define('LOG_GALLERY', 4);
Find
Tip: This may be a partial find and not the whole line.
// Additional tables
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
define('GALLERY_ROOT_PATH', 'gallery/'); define('GALLERY_ALBUMS_TABLE', $table_prefix . 'gallery_albums'); define('GALLERY_ATRACK_TABLE', $table_prefix . 'gallery_albums_track'); define('GALLERY_COMMENTS_TABLE', $table_prefix . 'gallery_comments'); define('GALLERY_CONFIG_TABLE', $table_prefix . 'gallery_config'); define('GALLERY_CONTESTS_TABLE', $table_prefix . 'gallery_contests'); define('GALLERY_FAVORITES_TABLE', $table_prefix . 'gallery_favorites'); define('GALLERY_IMAGES_TABLE', $table_prefix . 'gallery_images'); define('GALLERY_MODSCACHE_TABLE', $table_prefix . 'gallery_modscache'); define('GALLERY_PERMISSIONS_TABLE', $table_prefix . 'gallery_permissions'); define('GALLERY_RATES_TABLE', $table_prefix . 'gallery_rates'); define('GALLERY_REPORTS_TABLE', $table_prefix . 'gallery_reports'); define('GALLERY_ROLES_TABLE', $table_prefix . 'gallery_roles'); define('GALLERY_USERS_TABLE', $table_prefix . 'gallery_users'); define('GALLERY_WATCH_TABLE', $table_prefix . 'gallery_watch');
Open: includes/functions.php
Find
Tip: This may be a partial find and not the whole line.
$forum_id = ($mode == 'mod') ? intval(array_shift($args)) : ''; $topic_id = ($mode == 'mod') ? intval(array_shift($args)) : '';
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$album_id = ($mode == 'gallery') ? intval(array_shift($args)) : ''; $image_id = ($mode == 'gallery') ? intval(array_shift($args)) : '';
Find
Tip: This may be a partial find and not the whole line.
case 'critical': $sql_ary['log_type'] = LOG_CRITICAL; break;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
case 'gallery': $sql_ary += array( 'log_type' => LOG_GALLERY, 'album_id' => $album_id, 'image_id' => $image_id, ); break;
Find
Tip: This may be a partial find and not the whole line.
// The following assigns all _common_ variables that may be used at any point in a template.
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
$user->add_lang('mods/info_acp_gallery'); $gallery_root_path = GALLERY_ROOT_PATH; include($phpbb_root_path . $gallery_root_path . 'plugins/index.' . $phpEx);
Find
Tip: This may be a partial find and not the whole line.
'U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
'U_GALLERY_MOD' => append_sid("{$phpbb_root_path}{$gallery_root_path}index.$phpEx"),
Open: includes/functions_admin.php
Find
Tip: This may be a partial find and not the whole line.
case 'critical': $log_type = LOG_CRITICAL; $sql_forum = ''; break;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
case 'gallery': $log_type = LOG_GALLERY; $sql_forum = ''; $gallery_root_path = GALLERY_ROOT_PATH; break;
Find
Tip: This may be a partial find and not the whole line.
'viewforum' => ($row['forum_id'] && $auth->acl_get('f_read', $row['forum_id'])) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']) : false,
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'viewalbum' => ((isset($row['album_id']) && $row['album_id'] && ($log_type == LOG_GALLERY)) ? append_sid("{$phpbb_root_path}{$gallery_root_path}album.$phpEx", 'album_id=' . $row['album_id']) : false), 'viewimage' => ((isset($row['image_id']) && $row['image_id'] && ($log_type == LOG_GALLERY)) ? append_sid("{$phpbb_root_path}{$gallery_root_path}image_page.$phpEx", 'album_id=' . $row['album_id'] . '&image_id=' . $row['image_id']) : false),
Open: includes/functions_display.php
Find
Tip: This may be a partial find and not the whole line.
$num_predefined_bbcodes = 22;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$user->add_lang('mods/info_acp_gallery');
Open: includes/functions_user.php
Find
Tip: This may be a partial find and not the whole line.
if ($config['newest_username'] == $old_name)
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
if (!function_exists('gallery_integrate_user_update_name')) { global $phpbb_root_path, $phpEx; include($phpbb_root_path . GALLERY_ROOT_PATH . 'includes/phpbb_integration.' . $phpEx); } gallery_integrate_user_update_name($old_name, $new_name);
Find
Tip: This may be a partial find and not the whole line.
$table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$table_ary = array_merge($table_ary, array(GALLERY_MODSCACHE_TABLE));
Find
Tip: This may be a partial find and not the whole line.
// Delete auth entries from the groups table $sql = 'DELETE FROM ' . ACL_GROUPS_TABLE . " WHERE group_id = $group_id"; $db->sql_query($sql);
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
// Delete the group from the gallery-moderators $sql = 'DELETE FROM ' . GALLERY_MODSCACHE_TABLE . " WHERE group_id = $group_id"; $db->sql_query($sql);
Find
Tip: This may be a partial find and not the whole line.
if (in_array($config['newest_user_id'], $user_id_ary)) { set_config('newest_user_colour', $sql_ary['user_colour'], true); } }
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
if (!function_exists('gallery_integrate_group_set_user_default')) { global $phpbb_root_path, $phpEx; include($phpbb_root_path . GALLERY_ROOT_PATH . 'includes/phpbb_integration.' . $phpEx); } gallery_integrate_group_set_user_default($user_id_ary, $sql_ary);
Open: includes/session.php
Find
Tip: This may be a partial find and not the whole line.
'forum' => (isset($_REQUEST['f']) && $_REQUEST['f'] > 0) ? (int) $_REQUEST['f'] : 0,
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'album' => (isset($_REQUEST['album_id']) && $_REQUEST['album_id'] > 0) ? (int) $_REQUEST['album_id'] : 0,
Find
Tip: This may be a partial find and not the whole line.
$sql_ary = array('session_time' => $this->time_now); if ($this->update_session_page) { $sql_ary['session_page'] = substr($this->page['page'], 0, 199); $sql_ary['session_forum_id'] = $this->page['forum'];
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$sql_ary['session_album_id'] = $this->page['album'];
Find
Tip: This may be a partial find and not the whole line.
// If the database is not yet updated, there will be an error due to the session_forum_id // @todo REMOVE for 3.0.2
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
if ($result === false) { unset($sql_ary['session_album_id']); $db->sql_return_on_error(true); $sql = 'UPDATE ' . SESSIONS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . " WHERE session_id = '" . $db->sql_escape($this->session_id) . "'"; $result = $db->sql_query($sql); $db->sql_return_on_error(false); }
Find
Tip: This may be a partial find and not the whole line.
$sql_ary = array('session_time' => $this->time_now, 'session_last_visit' => $this->time_now, 'session_admin' => 0); if ($this->update_session_page) { $sql_ary['session_page'] = substr($this->page['page'], 0, 199); $sql_ary['session_forum_id'] = $this->page['forum'];
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$sql_ary['session_album_id'] = $this->page['album'];
Find
Tip: This may be a partial find and not the whole line.
'session_viewonline' => ($viewonline) ? 1 : 0, ); if ($this->update_session_page) { $sql_ary['session_page'] = (string) substr($this->page['page'], 0, 199); $sql_ary['session_forum_id'] = $this->page['forum'];
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$sql_ary['session_album_id'] = $this->page['album'];
Find
Tip: This may be a partial find and not the whole line.
$sql_ary['session_id'] = (string) $this->session_id; $sql_ary['session_page'] = (string) substr($this->page['page'], 0, 199); $sql_ary['session_forum_id'] = $this->page['forum'];
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
$sql_ary['session_album_id'] = $this->page['album'];
Open: includes/acp/acp_language.php
Find
Tip: This may be a partial find and not the whole line.
'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',
In-line Find
Tip: This is a partial match of a line for in-line operations.
'button_topic_reply',
In-line Add after
'button_upload_image',
Open: includes/acp/acp_logs.php
Find
Tip: This may be a partial find and not the whole line.
$checks = array('viewtopic', 'viewlogs', 'viewforum');
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
if ($mode == 'gallery') { $checks = array('viewimage', 'viewalbum'); }
Open: includes/acp/acp_styles.php
Find
Tip: This may be a partial find and not the whole line.
'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',
In-line Find
Tip: This is a partial match of a line for in-line operations.
'button_topic_reply',
In-line Add after
'button_upload_image',
Open: includes/acp/info/acp_logs.php
Find
Tip: This may be a partial find and not the whole line.
'critical' => array('title' => 'ACP_CRITICAL_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
'gallery' => array('title' => 'ACP_GALLERY_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
Open: styles/prosilver/imageset/en/imageset.cfg
Find
Tip: This may be a partial find and not the whole line.
img_button_topic_reply = button_topic_reply.gif*25*96
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
img_button_upload_image = button_upload_image.gif*25*96
Open: styles/prosilver/template/index_body.html
Find
Tip: This may be a partial find and not the whole line.
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
In-line Find
Tip: This is a partial match of a line for in-line operations.
{TOTAL_TOPICS}
In-line Add after
<!-- IF TOTAL_IMAGES --> • {TOTAL_IMAGES}<!-- ENDIF -->
Open: styles/prosilver/template/memberlist_view.html
Find
Tip: This may be a partial find and not the whole line.
<!-- IF S_GROUP_OPTIONS --><dt>{L_USERGROUPS}:</dt> <dd><select name="g">{S_GROUP_OPTIONS}</select> <input type="submit" name="submit" value="{L_GO}" class="button2" /></dd><!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
<!-- IF U_GALLERY --><dt>{L_GALLERY}:</dt> <dd><a href="{U_GALLERY}">{SHOW_PERSONAL_ALBUM_OF}</a></dd><!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.
<dt>{L_TOTAL_POSTS}:</dt> <dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF --> <!-- IF POSTS_PCT --><br />({POSTS_PCT} / {POSTS_DAY})<!-- ENDIF --> <!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />(<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>)<!-- ELSEIF POSTS_IN_QUEUE --><br />({L_POSTS_IN_QUEUE})<!-- ENDIF --> </dd>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
<!-- IF TOTAL_IMAGES --> <dt>{L_TOTAL_IMAGES}:</dt> <dd>{IMAGES} | <strong><a href="{U_SEARCH_GALLERY}">{L_SEARCH_USER_IMAGES}</a></strong> <!-- IF IMAGES_PCT --><br />({IMAGES_PCT} / {IMAGES_DAY})<!-- ENDIF --> </dd> <!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.
<!-- INCLUDE jumpbox.html -->
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
<!-- INCLUDE gallery/recent_body.html -->
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.
</head>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
<!-- INCLUDE gallery/plugins_header.html -->
Find
Tip: This may be a partial find and not the whole line.
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
<li class="icon-gallery"><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}">{L_GALLERY}</a></li>
Open: styles/prosilver/template/viewtopic_body.html
Find
Tip: This may be a partial find and not the whole line.
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
<!-- IF postrow.GALLERY_IMAGES != '' --><dd><strong>{L_IMAGES}:</strong> <!-- IF postrow.U_GALLERY_SEARCH --><a href="{postrow.U_GALLERY_SEARCH}">{postrow.GALLERY_IMAGES}</a><!-- ELSE -->{postrow.GALLERY_IMAGES}<!-- ENDIF --></dd><!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.
<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" οnclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
<!-- IF postrow.U_GALLERY --><li class="gallery-icon"><a href="{postrow.U_GALLERY}" title="{L_PERSONAL_ALBUM}"><span>{L_PERSONAL_ALBUM}</span></a></li><!-- ENDIF -->
Open: styles/prosilver/theme/stylesheet.css
Find
Tip: This may be a partial find and not the whole line.
@import url("colours.css");
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
@import url("gallery.css");
DIY instructions
These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.
Rufe install/ auf und führe den Installer aus Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren" Aktualisiere deine Styles: "Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren" "Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren" "Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"
Browse to install/ and run the installer Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache" Refresh your Styles: "Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh" "Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh" "Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"
Save all files. End of MOD.
Youhave finished the installation for this MOD. Upload all changed filesto your website. If the installation went bad, simply restore yourbacked up files.
MOD UA XSLT File Copyright © 2007 The phpBB Group, this MOD is copyright to the authors listed above.
Comments
de-
Wenn die 4 bereits von einem anderem MOD als Log benutzt wird, benutze einfach die nächste freie Zahl.
en
-
If the number 4 is already a Log of an other MOD, just use the next free number.