News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

请问:论坛建好了,如何连接回到网站?

Started by peterish, May 12, 2008, 01:03:15 AM

Previous topic - Next topic

peterish

请问各位前辈,SMF论坛建好以后,如何才能连接回到网站去。也就是说,如何才能在论坛的上部,或者左上角加一个连接,可以方便读者回到网站去。

在SMF 的操作手册里,我没有找到答案。

多谢。

www.e-biotek.com
www.e-biotek.com/forum


peterish

I am still confused.

What's "1. In index.template.php" document, and where can I find it at the forum.

Thank you.

CapriSkye

那是你的佈景檔案 如果你用的是預設的佈景,位址是 /Themes/default/index.template.php

peterish

多谢 绿光森林前辈,

那个教程只提到如何加"chat", 我要的是加外连接,回到自己的网站。这该如何更改呢?

由于本人是新手,基础差,问个不停,望绿光前辈见谅。

peterish

绿光森林先生,以及诸位,

我想在论坛上装个"Mainpage" 按钮,以便连接回到我的网站www.e-biotek.com。我依样画葫芦,做了以下两处修改,但我想装的Mainpage按钮就是不出来。我也试了第二种方法,也不成功。

请在万忙中,予以指点。多谢。

  if ($context['current_action'] == 'Mainpage')
      $current_action = 'Mainpage';




   // Show the [Mainpage] button.
   echo ($current_action=='Mainpage' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'Mainpage' ? 'active_back' : 'back' , '">
               <a href="http://www.e-biotek.com">Mainpage</a>
            </td>' , $current_action == 'Mainpage' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

CapriSkye


peterish

我已经解决了。多谢。

www.e-biotek.com/forum   

peterish

碰到新问题,无法建立中文版。当我上转中文包时,出现"The package you tried to upload either is not a valid package or has become corrupted. "

请问绿光兄,这是怎么回事?该如何解决?

再次感谢。

CapriSkye

你是用繁體還檢體? 打開中文檔看看裡面有沒有檔案

peterish

我用的是简体。我把文件解压后,用ftp上传到服务器的文件夹。现在,我能用中文发帖,显示也正确。但所有的按钮,仍然是英文,论坛名称是??????。我看看官方的说明,很简单的,并且应该是比较简单的,但我的就是不工作。

我的hosing 和数据库都在godaddy.com。 多谢指点迷津。

LanguagesSimple Machines Forum has been translated into many languages. The english language is provided by default, and additional language packages can be downloaded from this page.

Just extract them into the same directory as the installation of SMF.

http://www.simplemachines.org/download/?languages

CapriSkye

那你到管理裡面改論壇名稱呢?會顯示???應該是因為資料庫編碼的問題
你是用utf-8吧?

peterish

所有问题均已经解决.但又出现两个小问题:

一是菜单上的字太小.--"首页     帮助    搜索    管理    个人资料     我的消息     日历   会员  注销"
我去原文件修改了以下,好像还不行.
二是,如何把论坛的新内容, 自动显示到网站的首页? www.smf.cn 上有介绍,但比较模糊,无法按其操作.有没有其它的方法介绍?

谢谢先辈指点.   

Advertisement: