查看單個文章
舊 2005-06-21, 03:51 PM   #1
貝斯特 帥哥
長老會員
 
貝斯特 的頭像
榮譽勳章
UID - 90669
在線等級: 級別:1 | 在線時長:11小時 | 升級還需:1小時
註冊日期: 2003-08-06
住址: The Gates of Hell
文章: 1758
現金: 15064 金幣
資產: 5185909 金幣
Cool 多重簽名檔功能

#######################################################################
#
# Multiple Signatures Hack
# Allows for multiple signatures in vBulletin 3 (RC1)
#
# Hacked by Ethan Tan
#
#######################################################################

#######################################################################
#
# WARNING:
#######################################################################
#
# Do a database backup and the follow files:
# profile.php, includes/functions_showthread.php
#
# This hack is provided 'as-is'. No warranties.
#
#######################################################################

#######################################################################
#
# Revision History:
#######################################################################
04 Jan 2004, 0400hrs (GMT+8)
Initial Beta Release (for vB3 RC1)

04 Jan 2004, 0500hrs (GMT+8)
Fixed: When editing signature with WYSIWYG editor, changing the
selected signature does not update the WYSIWYG with the
signature.

04 Jan 2004, 1200hrs (GMT+8)
Fixed: Miscellanous typo in this document.
Fixed: Empty signature shown in post/PM after user removed signature.
Fixed: Disallow user from selecting an empty signature.
Fixed: Removed hardcoded 'No' with $vbphrase[no].
Changed:Editing a post that has a empty signature now automatically
remove the signature.
New: Now remember user's last edited signature.

04 Jan 2004, 1630hrs (GMT+8)
Fixed: Signature showing up only once per thread.
New: Random Signatures.
New: User may choose the default signature type (random/last edited)
for new posts and private messages.

05 Jan 2004, 1400hrs (GMT+8)
Changed:Order of installation to allow updates of default values.
Changed:Loop instead of if/else statements for new default signature.
Changed:Use $vbphrase[none] instead of $vbphrase[no].
Changed:Use of $vbphrase[sigopt_*] for template conditionals to allow
changes to be made to the option titles without having to
re-edit the templates.
New: Use of signature titles instead of numbers.

06 Jan 2004, 1130hrs (GMT+8)
Fixed: More typos:
$vbphrase[signopt_none] to $vbphrase[sigopt_none]
'Random Signature' in pm_newpm to $vbphrase[sigopt_random]
Changed:Renamed $vbphrase[none] --> $vbphrase[sig_none]
Changed:Renamed $vbphrase[sigrand] --> $vbphrase[sig_random]
Changed:User Profile Options to use a dropdown box
Changed:Comments to delimits code changes in changed php files.
New: Signature editor open with last edited signature.
New: Phrase $vbphrase[sigopt_first]
New: Now with option to allow user to use his/her first signature as
the default signature.
New: Tested with vB3 RC2

06 Jan 2004, 2200hrs (GMT+8)
Fixed: Another typo in instruction.

#######################################################################
#
# Todo:
#######################################################################
- Replace the same with numeric value in template conditionals.


#######################################################################
#
# AdminCP: 在 語言 & 管理 方面, 選擇短語管理並新增短語
#######################################################################

短語類型: GLOBAL
變量名稱: sig_none
Text: None
中文: 無

####
短語類型: GLOBAL
變量名稱: sig_random
Text: Random
中文: 隨機

####
短語類型: GLOBAL
變量名稱: sigopt_first
Text: First Signature
中文: 主要簽名

####
短語類型: GLOBAL
變量名稱: sigopt_lastedited
Text: Last Edited Signature
中文: 最後編輯的簽名

####
短語類型: GLOBAL
變量名稱: sigopt_random
Text: Random Signature
中文: 隨機顯示簽名

####
短語類型: GLOBAL
變量名稱: sigopt_none
Text: No Signature
中文: 不顯示簽名

#####

短語類型: User tool (global)
變量名稱: sigopt_title
Text: Signature Title
中文: 簽名標題


#######################################################################
#
# AdminCP: 在 用戶資料設定方面,增加新用戶資料欄目
#######################################################################

** Please note that the values entered under options should be the same
** as those entered in the previous section (Add Phrases).

資料欄目類型: 單選列表
標題: 預設簽名
描述: 您可以在您發表的每篇文章或私人訊息中顯示您的預設簽名。

選項:
顯示主要簽名
顯示隨機簽名
最後編輯簽名
不顯示簽名
設為預設: 是,但沒有第一個空白選項
顯示順序: 不用特別更改
必填欄目: 是
此欄目可以被用戶編輯: 是
此欄目在用戶資料頁中隱藏: 否
此欄目可以在會員列表中被搜尋: 否
在會員列表中顯示: 否
允許用戶在此選項中輸入自己的值: 否
允許用戶輸入的最大長度: 100
顯示大小: 25
正則表達式: Leave blank
哪一頁顯示此選項: 其他

#####
Take note of the 'Name' of the new field after saving.
Please note that throughout the rest of this document, fieldX
will refer to this name (without the quotes).
__________________

給自己看也給所有需要這些話鼓勵的人看!

認真不一定會得到美好的結果,但是不認真就一定沒有

想要有什麼結果,就秉持你的雙手
放手去做
總比什麼都沒付出最後失敗了才嘆氣來的好吧
沒努力的人.沒有資格說放棄
努力過的人.更要有勇氣繼續努力下去
貝斯特 目前離線  
送花文章: 1, 收花文章: 38 篇, 收花: 123 次
回覆時引用此帖