[phpBB2 譯文:MOD] 在 ezPortal 中顯示線上留言版

與 phpBB 2.0.x 相關主題。
回覆文章
Mac
百戰天龍馬蓋先
百戰天龍馬蓋先
文章: 2590
註冊時間: 2003-02-02 02:28
來自: MacphpBBMOD
聯繫:

[phpBB2 譯文:MOD] 在 ezPortal 中顯示線上留言版

文章 Mac »

This is another ezPortal block.
This one simply adds the Shoutbox by, Neils.
To the ezPortal by Smartor.
This is easy to install, and will be updated first on this site.

又是一個 ezPortal 資料顯示
這將在由 Smartor 所寫的 ezPortal 中顯示 Neils 開發的線上留言版 (Shoutbox)
這個外掛很容易安裝,而且會在我的站上使先發佈更新檔

代碼: 選擇全部

############################################################## 
## MOD Title: Shoutbox on ezPortal.
## 外掛名稱: 在 ezPortal 中顯示線上留言版
## MOD Author: Antony, antony_bailey@lycos.co.uk, Antony Bailey, http://rapiddr3am.slackslash,net
## 外掛作者: Antony, antony_bailey@lycos.co.uk, Antony Bailey, http://rapiddr3am.slackslash.net 
## 中文譯者: Mac < ycl_6@sinamail.com > http://phpbb-tw.net/, http://endless-tw.net/
## MOD Description: Adds shoutbox by Neils to ezPortal by Smartor.
## 外掛描述: 在 Smartor 所寫的 ezPortal 中顯示 Neils 開發的線上留言版
## MOD Version: 1.0.0
## 外掛版本: 1.0.0
## 
## Installation Level: Easy
## 安裝難度: 簡易 
## Installation Time: 2 Minutes
## 安裝時間: 2 分鐘
## Files To Edit: portal.php, portal_body.tpl
## 修改檔案: portal.php, portal_body.tpl
## Included Files: N/A
## 附加檔案: 無 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
## 
## 由於安全上的考量,請檢查: 
## http://www.phpbb.com/mods/downloads/ 是否有此外掛的最新版本 
## 從其他地方下載此檔可能會造成你在你的 phpBB 討論版上寫入有誤的程式碼 
## 基於這個理由,phpBB 將不會為沒有收藏在我們的外掛資料庫的外掛提供支援 
## 我們的外掛資料庫在 http://www.phpbb.com/mods/downloads/ 
## 
############################################################## 
## Author Notes: Must have shotbox by Neils avalable from: http://mods.db9.dk
## Must also have ezPortal by Smartor, available from: http://smartor.is-root.com
## 
## 作者留言: 討論版必須裝上 Neils 寫的 線上留言版,可以在這裡取得: http://mods.db9.dk
## 另外,也必須有 Smartor 所寫的 ezPortal,可以在這裡取得: http://smartor.is-root.com
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
## 
## 在你加入這個外掛前,你應該把所有與這個外掛有關的檔案進行備份 
############################################################## 

# 
#-----[ OPEN 打開 ]------------------------------------------ 
# 
portal.php
# 
#-----[ FIND 尋找 ]------------------------------------------ 
# 
	'WELCOME_TEXT' => $CFG['welcome_text'],
# 
#-----[ AFTER ADD 之後加上 ]------------------------------------------ 
# 
'U_SHOUTBOX' => append_sid("shoutbox.$phpEx"),
'L_SHOUTBOX' => $lang['Shoutbox'],
'U_SHOUTBOX_MAX' => append_sid("shoutbox_max.$phpEx"),
# 
#-----[ OPEN 打開 ]------------------------------------------ 
# 
portal_body.tpl
# 
#-----[ FIND 尋找 ]------------------------------------------ 
# 
<!-- END fetch_post_row -->
# 
#-----[ AFTER ADD 之後加上 ]------------------------------------------ 
# 
<!-- BEGIN switch_shoutbox_on -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline"> 
  <tr> 
           <tr> 
         <td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td> 
      </tr> 

         <td> 
          <iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0"></iframe> 
         </td> 
  </tr> 
</table>
<br/>
<!-- END switch_shoutbox_on -->
# 
#-----[ SAVE/CLOSE ALL FILES 儲存並且關閉所有檔案 ]------------------------------------------ 
# 
# EoM
# 外掛結束
+ 關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。

phpBB 官網 | 竹貓星球 | MacphpBBMOD | 我的服務
回覆文章

回到「2.0」