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을 사용하여 스팸을 줄입니다. 댓글 데이터 처리 방법 알아보기.