SMF shows 'the copyright must be in the template.'.

 

  今天花了一点时间整理论坛(SMF)安装了几个插件,顺便进行了一些更新操作,不过就在更新语言包后,論壇下方卻出現"Sorry, the copyright must be in the template"的一大串錯誤訊息,Originally thought I had changed something,Later checked the official forum,Other language versions also had the same issue,So I judged that the problem should be in the language files。

又上網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 来减少垃圾评论. 了解您的评论数据如何被处理.