經過一晚的摸索,我自己解決了,過程如下:
1.先到我的網頁下載下列檔案: 修正成為Skype me!的圖案
http://myweb.hinet.net/home1/st86328susan/icon_aim.gif
取代templates\subSilver\images\lang_chinese_traditional\icon_aim.gif
(記得先備份)
2.修改下列6個檔案:
1.language\lang_chinese_traditional_taiwan\Lang_main.tpl (此步驟感謝Cyrillkk)
找到 $lang['ICQ'] = 'ICQ 號碼';
$lang['AIM'] = 'AIM Address'; <- Skype 帳號
$lang['MSNM'] = 'MSN Messenger';
$lang['YIM'] = '雅虎訊息通';
修改\r
$lang['AIM'] = ' Skype 帳號';
2 .groupcp.php
找到 $aim_img = ( $row['user_aim'] ) ? '<a href="aim:goim?screenname=' . $row['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$aim = ( $row['user_aim'] ) ? '<a href="aim:goim?screenname=' . $row['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';
修改成
$aim_img = '<a href="callto:' . $row['user_aim'] . '"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>';
$aim = '<a href="callto:' . $row['user_aim'] .'">' . $lang['AIM'] . '</a>';
3 .memberlist.php
找到 $aim_img = ( $row['user_aim'] ) ? '<a href="aim:goim?screenname=' . $row['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$aim = ( $row['user_aim'] ) ? '<a href="aim:goim?screenname=' . $row['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';
修改成
$aim_img = '<a href="callto:' . $row['user_aim'] . '"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>';
$aim = '<a href="callto:' . $row['user_aim'] .'">' . $lang['AIM'] . '</a>';
4 .privmsg.php
找到 $aim_img = ( $privmsg['user_aim'] ) ? '<a href="aim:goim?screenname=' . $privmsg['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$aim = ( $privmsg['user_aim'] ) ? '<a href="aim:goim?screenname=' . $privmsg['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';
修改成
$aim_img = '<a href="callto:' . $privmsg['user_aim'] . '"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>';
$aim = '<a href="callto:' . $privmsg['user_aim'] .'">' . $lang['AIM'] . '</a>';
5 .viewtopic.php
找到 $aim_img = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
$aim = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';
修改成
$aim_img = '<a href="callto:' . $postrow[$i]['user_aim'] . '"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>';
$aim = '<a href="callto:' . $postrow[$i]['user_aim'] .'">' . $lang['AIM'] . '</a>';
6 .includes/usercp_viewpfofile.php
找到 $aim_img = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : ' ';
$aim = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : ' ';
修改成
$aim_img = ( $profiledata['user_aim'] ) ? '<a href="callto:' . $profiledata['user_aim'] . '"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : ' ';
$aim = ( $profiledata['user_aim'] ) ? '<a href="callto:' . $profiledata['user_aim'] . '">' . $lang['AIM'] . '</a>' : ' ';
以上在我的網頁測試沒問題,歡迎到我的論壇登錄skype帳號:
http://www.webtalk.idv.tw
PS.我的麥克風忘了帶,所以目前只能收不能發,要等晚上才有麥克風用.