SMF出現the copyright must be in the template..

 

  今天花了點時間把論壇(SMF)加了幾個外掛,順便做一些更新的動作,不過就在更新語言套件後,論壇下方卻出現"Sorry, the copyright must be in the template"的一大串錯誤訊息,原本還以為我動到什麼了,後來上官方論壇查,也有別國語系出現相同問題,所以判斷問題應該是出在語系檔。

又上網google了一下,終於找到解決方法:

開啟./Themes/default/languages/index.chinese-traditional-utf8.php
(default為你的佈景主題)

搜尋$forum_copyright
將整個字串(包含等號後面一大串)改成下面這串

$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by ' . $forum_version . '</a> | <a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy; 2006-2009, Simple Machines LLC</a>';

 


【相關連結】

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.