Описание: шаблон, являющийся аналогом стандартного шаблона XenForo (синий стиль).
- Инструкция по установке
-
###############################################################################
## Шаблон «XenForo» - аналог стандартного шаблона форумного движка «XenForo» ##
## Адаптация для TorrentPier II R 418: ChihPyh, DarkMod ##
## Адаптация для TorrentPier II 2.1.5 [ALPHA]: Lynx ##
## ##
###############################################################################
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT username, user_id, user_rank, user_opt, user_posts, user_regdate, user_from, user_website, user_email
#
#-----[ AFTER ADD ]------------------------------------------
#
, avatar_ext_id
#
#-----[ FIND ]------------------------------------------
#
'WWW' => $www,
#
#-----[ AFTER ADD ]------------------------------------------
#
'AVATAR' => get_avatar($row['user_id'], $row['avatar_ext_id'], !bf($row['user_opt'], 'user_opt', 'dis_avatar'), 48, 48),
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
f.forum_id, f.forum_status, f.forum_last_post_id, f.forum_posts, f.forum_topics
#
#-----[ AFTER ADD ]------------------------------------------
#
, f.forum_desc
#
#-----[ FIND ]------------------------------------------
#
u1.user_rank as first_user_rank
#
#-----[ AFTER ADD ]------------------------------------------
#
u1.user_opt AS first_user_opt,
u1.avatar_ext_id AS first_avatar_ext_id,
#
#-----[ FIND ]------------------------------------------
#
'FORUM_NAME' => htmlCHR($forum_data['forum_name']),
#
#-----[ AFTER ADD ]------------------------------------------
#
'FORUM_DESC' => $forum_data['forum_desc'],
#
#-----[ FIND ]------------------------------------------
#
'DL_CLASS' => isset($topic['dl_status']) ? $dl_link_css[$topic['dl_status']] : '',
#
#-----[ AFTER ADD ]------------------------------------------
#
'TOPIC_TIME' => bb_date($topic['topic_time'], 'd M Y'),
'TOPIC_AVATAR' => get_avatar($topic['first_user_id'], $topic['first_avatar_ext_id'], 'dis_avatar', 38, 38),
#
#-----[ OPEN ]------------------------------------------
#
config.php
#
#-----[ FIND ]------------------------------------------
#
$bb_cfg['user_signature_start'] = '<div class="signature"><br />_________________<br />';
#
#-----[ REPLACE ]------------------------------------------
#
$bb_cfg['user_signature_start'] = '<div class="signature">';
#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT pm.privmsgs_type, pm.privmsgs_id, pm.privmsgs_date, pm.privmsgs_subject, u.user_id, u.username, u.user_rank
#
#-----[ AFTER ADD ]------------------------------------------
#
, u.avatar_ext_id, u.user_opt
#
#-----[ FIND ]------------------------------------------
#
$privmsg_id = $row['privmsgs_id'];
#
#-----[ AFTER ADD ]------------------------------------------
#
$user_id = $row['user_id'];
$avatar = get_avatar($user_id, $row['avatar_ext_id'], !bf($row['user_opt'], 'user_opt', 'dis_avatar'), 48 ,48);
#
#-----[ FIND ]------------------------------------------
#
'DATE' => $msg_date,
#
#-----[ AFTER ADD ]------------------------------------------
#
'AVATAR' => $avatar,
#
#-----[ OPEN ]------------------------------------------
#
search.php
#
#-----[ FIND ]------------------------------------------
#
t.*, t.topic_poster AS first_user_id, u1.user_rank AS first_user_rank
#
#-----[ AFTER ADD ]------------------------------------------
#
, u1.avatar_ext_id AS first_avatar_ext_id, u1.user_opt AS first_user_opt
#
#-----[ FIND ]------------------------------------------
#
'TOPIC_AUTHOR' => profile_url(array('username' => $topic['first_username'], 'user_id' => $topic['first_user_id'], 'user_rank' => $topic['first_user_rank'])),
#
#-----[ AFTER ADD ]------------------------------------------
#
'TOPIC_AVATAR' => get_avatar($topic['first_user_id'], $topic['first_avatar_ext_id'], 'dis_avatar', 48, 48),
#
#-----[ OPEN ]------------------------------------------
#
library/language/ru/main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['REPLY_WITH_QUOTE_TXTB'] = '[Цитировать]';
$lang['EDIT_DELETE_POST_TXTB'] = '[Изменить]';
$lang['VIEW_IP_TXTB'] = '[ip]';
$lang['DELETE_POST_TXTB'] = '[x]';
$lang['MODERATE_POST_TXTB'] = '[m]';
$lang['SEND_PM_TXTB'] = '[ЛС]';
$lang['TOPIC_POLL'] = '[ Опрос ]';
#
#-----[ REPLACE ]------------------------------------------
#
$lang['REPLY_WITH_QUOTE_TXTB'] = 'Цитировать';
$lang['EDIT_DELETE_POST_TXTB'] = 'Изменить';
$lang['VIEW_IP_TXTB'] = 'ip';
$lang['DELETE_POST_TXTB'] = 'x';
$lang['MODERATE_POST_TXTB'] = 'm';
$lang['SEND_PM_TXTB'] = 'ЛС';
$lang['TOPIC_POLL'] = 'Опрос';
#
#-----[ OPEN ]------------------------------------------
#
library/language/en/main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['REPLY_WITH_QUOTE_TXTB'] = '