http://myweb.hinet.net/home6/riot/snap116.JPG
#
#-----[ OPEN 打開 ]----------------------------------------------------
#
代碼: 選擇全部
staff.php#-----[ FIND 尋找 ]----------------------------------------------------
#
代碼: 選擇全部
$avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $staff['user_avatar'] . '" width="60" height="40" alt="" border="0" />' : '';#-----[ REPLACE WITH 替換 ]--------------------------------------------
#解除個人頭像強制縮圖的設定
代碼: 選擇全部
//-- mod : 管理團隊導航圖案 ------------------------------------------------------------
//-- REPLACE WITH
/*
$avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $staff['user_avatar'] . '" width="60" height="40" alt="" border="0" />' : '';
//-- add
*/
$avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $staff['user_avatar'] . '" alt="" border="0" />' : '';
//-- fin mod : 管理團隊導航圖案 --------------------------------------------------------#-----[ FIND 尋找 ]----------------------------------------------------
#
代碼: 選擇全部
$mail = ( $staff['user_email'] ) ? '<a href="' . $mailto . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>' : '';
$pmto = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$staff[user_id]");
$pm = '<a href="' . $pmto . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
$msn = ( $staff['user_msnm'] ) ? '<a href="mailto: '.$staff['user_msnm'].'"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$yim = ( $staff['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $staff['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$aim = ( $staff['user_aim'] ) ? '<a href="aim:goim?screenname=' . $staff['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$icq = ( $staff['user_icq'] ) ? '<a href="http://wwp.icq.com/scripts/contact.dll?msgto=' . $staff['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>' : '';
$www = ( $staff['user_website'] ) ? '<a href="' . $staff['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';#-----[ REPLACE WITH 替換 ]--------------------------------------------
#將MSN等的圖案導向另一種圖案
代碼: 選擇全部
//-- mod : 管理團隊導航圖案 ------------------------------------------------------------
//-- REPLACE WITH
/*
$mail = ( $staff['user_email'] ) ? '<a href="' . $mailto . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>' : '';
$pmto = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$staff[user_id]");
$pm = '<a href="' . $pmto . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
$msn = ( $staff['user_msnm'] ) ? '<a href="mailto: '.$staff['user_msnm'].'"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$yim = ( $staff['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $staff['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$aim = ( $staff['user_aim'] ) ? '<a href="aim:goim?screenname=' . $staff['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$icq = ( $staff['user_icq'] ) ? '<a href="http://wwp.icq.com/scripts/contact.dll?msgto=' . $staff['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>' : '';
$www = ( $staff['user_website'] ) ? '<a href="' . $staff['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
//-- add
*/
$mail = ( $staff['user_email'] ) ? '<a href="' . $mailto . '"><img src="' . $images['ns_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>' : '';
$pmto = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$staff[user_id]");
$pm = '<a href="' . $pmto . '"><img src="' . $images['ns_pm_galguy'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
$msn = ( $staff['user_msnm'] ) ? '<a href="mailto: '.$staff['user_msnm'].'"><img src="' . $images['ns_msn_butterfly'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$yim = ( $staff['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $staff['user_yim'] . '&.src=pg"><img src="' . $images['ns_yahoo'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$aim = ( $staff['user_aim'] ) ? '<a href="aim:goim?screenname=' . $staff['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['ns_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$icq = ( $staff['user_icq'] ) ? '<a href="http://wwp.icq.com/scripts/contact.dll?msgto=' . $staff['user_icq'] . '"><img src="' . $images['ns_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>' : '';
$www = ( $staff['user_website'] ) ? '<a href="' . $staff['user_website'] . '" target="_userwww"><img src="' . $images['ns_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
//-- fin mod : 管理團隊導航圖案 --------------------------------------------------------#-----[ FIND 尋找 ]----------------------------------------------------
#
代碼: 選擇全部
'L_POSTS' => $lang['Posts'],#-----[ REPLACE WITH 替換 ]--------------------------------------------
#加入語系及圖案連接程式碼\r
代碼: 選擇全部
//-- mod : 管理團隊導航圖案 ------------------------------------------------------------
//-- REPLACE WITH
/*
'L_POSTS' => $lang['Posts'],
//-- add
*/
'L_POSTS' => $lang['Staff_Posts'],
'L_PROFILE' => $lang['Profile_info'],
'L_TOTAL_POSTS' => $lang['Total_posts'],
'NS_LEFT' => '<img src="' . $images['ns_left'] . '" border="0" />',
'NS_RIGHT' => '<img src="' . $images['ns_right'] . '" border="0" />',
//-- fin mod : 管理團隊導航圖案 --------------------------------------------------------#-----[ OPEN 打開 ]----------------------------------------------------
#
代碼: 選擇全部
language/lang_XXXXX/lang_main.php#-----[ FIND 尋找 ]----------------------------------------------------
#
代碼: 選擇全部
$lang['Staff']#-----[ BEFORE ADD 之前加上 ]------------------------------------------
#
代碼: 選擇全部
//-- mod : 管理團隊導航圖案 ------------------------------------------------------------
//-- add
$lang['Staff_Posts'] = "文章資料";
//-- fin mod : 管理團隊導航圖案 --------------------------------------------------------#-----[ OPEN 打開 ]----------------------------------------------------
#
代碼: 選擇全部
templates/xxx/subSilver.cfg#-----[ FIND 尋找 ]----------------------------------------------------
#
代碼: 選擇全部
$board_config['privmsg_graphic_length'] = 175;#-----[ AFTER, ADD 之後加上 ]------------------------------------------
#加上圖案指定連結
代碼: 選擇全部
//-- mod : 管理團隊導航圖案 ------------------------------------------------------------
//-- add
$images['ns_left'] = "$current_template_images/Staff_Navslices/ns_left.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_email'] = "$current_template_images/Staff_Navslices/ns_email.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_pm_galguy'] = "$current_template_images/Staff_Navslices/ns_pm_galguy.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_msn_butterfly'] = "$current_template_images/Staff_Navslices/ns_msn_butterfly.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_yahoo'] = "$current_template_images/Staff_Navslices/ns_yahoo.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_aim'] = "$current_template_images/Staff_Navslices/ns_aim.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_icq'] = "$current_template_images/Staff_Navslices/ns_icq.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_www'] = "$current_template_images/Staff_Navslices/ns_www.gif\" class=\"imgfade\" " . "$ifade";
$images['ns_right'] = "$current_template_images/Staff_Navslices/ns_right.gif\" class=\"imgfade\" " . "$ifade";
//-- fin mod : 管理團隊導航圖案 --------------------------------------------------------#-----[ OPEN 打開 ]----------------------------------------------------
#
代碼: 選擇全部
templates/xxx/staff_body.tpl#-----[ REPLACE WITH 替換 ]--------------------------------------------
#替換裡面所有程式碼\r
代碼: 選擇全部
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thTop">{L_AVATAR}</th>
<th class="thTop">{L_USERNAME}</th>
<th class="thTop">{L_FORUMS}</th>
<th class="thCornerR">{L_PROFILE}</th>
</tr>
<!-- BEGIN staff -->
<tr>
<td align="center" class="row1">{staff.AVATAR}</td>
<td align="center" class="row2"><a href="{staff.U_NAME}" class="genmed">{staff.NAME}</a><br /> <span class="postdetails">{staff.LEVEL}<br />{staff.RANK_IMAGE}<b>{staff.RANK}</b><br /><br /></span></td>
<td valign="top" class="row1" nowrap="nowrap"><span class="genmed">{staff.FORUMS}</span> </td>
<td align="center" class="row2"><span class="gensmall">
<br />---{L_JOINED}---<br />{staff.JOINED}<br />[{staff.PERIOD}]</span>
<span class="gensmall"><br />
<br />---{L_POSTS}---<br />{L_TOTAL_POSTS}:{staff.POSTS}<br />
{staff.POST_PERCENT} <br />{staff.POST_DAY}
<br />[{staff.LAST_POST}]</span><br />
<br />{NS_LEFT}{staff.MAIL}{staff.PM}{staff.MSN}{staff.YIM}{staff.AIM}{staff.ICQ}{staff.WWW}{NS_RIGHT}</td>
</tr>
<!-- END staff -->
</table>#-----[ SAVE/CLOSE ALL FILES 儲存並且關閉所有檔案 ]--------------------
#
# EoM
# 外掛結束
解壓縮後
上傳Staff_Navslices資料夾到templates/xxx/images/目錄下
-----
因為覺得 顯示方式可以改得更好 所以就不放到非官方推薦區
先放到這 讓大家一起討論討論
