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>';

 


【関連リンク】

返信を残す

あなたのメールアドレスは公開されません. 必須項目にはマークが付けられています *

このサイトはスパムを減らすためにAkismetを使用しています. コメントデータの処理方法について学ぶ.