歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 23, 2024, 08:11:07 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  外掛程式  |  留言板該如何設定與操作呢??? « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 留言板該如何設定與操作呢???  (閱讀 34969 次)
w7410
新手見習
*
文章: 3


檢視個人資料
« 於: 十月 10, 2006, 04:25:05 下午 »

請問我把外掛程式guestbook,上傳到plugins目錄後,勾選了設定開啟外掛,也勾選了啟動留言板,為何我的主頁仍然沒有留言板這個連結字樣???
Usage:
Use the following method to call your pLog Flickr Plugin Page

1. http://your-plog/index.php?op=Guestbook&blogId=1

2. Add {$guestbook->pluginTemplatePage()} in your template.

第1項我開的出來,但第二項是什麼意思呢??如何操作?
已記錄
jyn99
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #1 於: 十月 10, 2006, 08:34:00 下午 »

我自已修改過的留言版,使用方法可參考:
http://reading.kl.edu.tw/blog/index.php?op=ViewArticle&articleId=8&blogId=1

替留言版加入驗證碼可參考:
http://reading.kl.edu.tw/blog/index.php?op=ViewArticle&articleId=33&blogId=1
已記錄
w7410
新手見習
*
文章: 3


檢視個人資料
« 回覆文章 #2 於: 十月 10, 2006, 09:39:57 下午 »

請問你修改過的留言板程式只適用於lifetype1.1板的嗎? 直接上傳啟用就可以嗎? 還是其他地方需要設定修改的?

我有看過你的參考網址,不過...以下這些地方不太懂。

在links.模板終須加入
{if $guestbook->isEnabled()}
<DIV class=sidebody><a class=aside title="{$locale->tr("guestbook")}" href="{$guestbook->pluginTemplatePage()}">{$locale->tr("guestbook")}</a></DIV>
{/if}       =====>>>什麼意思??
----------------------------------------------
1.手動加入MySql表格========>>(該如何設定?)
5.因為已手動加入MySql表格,將 function checkTables() 中的 $dict = NewDataDictionary 相關函式註解掉,在啟用留言版時才不會出錯。

----------------------------------------------
我的留言板網址http://naswan.freehostia.com/blog/index.php?op=Guestbook&blogId=1
可以告訴我問題出在哪嗎?
一直都會顯示第幾行有錯誤


« 最後編輯時間: 十月 11, 2006, 02:06:37 上午 由 w7410 » 已記錄
jyn99
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #3 於: 十月 11, 2006, 05:52:10 上午 »

1.這是專為1.1版改的,1.06的請用下面的檔案,也不用改你任何地方。有問題的話,請先把/blog/tmp/1/的的檔案清空,再試試。
2.在links.模板中加入(或add this to header or footer (or panel) template)… 才會有留言版的連結。
3.手動加入MySql表格,就是使用 phpMyAdmin 新增 lt_guestbook 資料表,sql 如下:
--
-- 資料表格式: `lt_guestbook`
--

CREATE TABLE `lt_guestbook` (
  `id` int(10) NOT NULL auto_increment,
  `blog_id` int(10) NOT NULL default '0',
  `topic` text,
  `content` text,
  `date` datetime default NULL,
  `user_email` varchar(64) default '',
  `user_url` varchar(128) default '',
  `user_name` varchar(30) NOT NULL default '',
  `parent_id` int(10) default '0',
  `client_ip` varchar(15) NOT NULL default '0.0.0.0',
  `private` enum('0','1') NOT NULL default '0',
  `spam_rate` varchar(20) default NULL,
  PRIMARY KEY  (`id`),
  KEY `blog_id` (`blog_id`),
  KEY `parent_id` (`parent_id`)
)
因為在1.1版中 沒有 $dict = NewDataDictionary 函式,我也不知道10.6 改成1.1後$dict = NewDataDictionary 變成是什麼,只好土法坐煉鋼。
« 最後編輯時間: 十月 11, 2006, 05:56:36 上午 由 jyn99 » 已記錄
w7410
新手見習
*
文章: 3


檢視個人資料
« 回覆文章 #4 於: 十月 11, 2006, 03:43:10 下午 »

links.模板中加入(或add this to header or footer (or panel) template)… 才會有留言版的連結。 ===>>這個((link.模板))在哪裡呢?
已記錄
jyn99
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #5 於: 十月 11, 2006, 04:18:29 下午 »

看你使用的模版而定,
links.template

panel.template
這樣主選單中才會有留言版的連結!
已記錄
itrs821
新手見習
*
文章: 3


檢視個人資料
« 回覆文章 #6 於: 十月 29, 2006, 08:14:57 下午 »

請問可以再詳述一下SQL方面的設定嗎?  疑惑
我的留言版都沒辦法新增留言....
我目前是使用LT1.06版 /MySQL V4.1.21-standard /
網頁位置在:http://itrs821.idv.tw

多謝指教!
已記錄
jyn99
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #7 於: 十月 30, 2006, 04:30:20 上午 »

看你的留言版是否有在管理中心啟用。
下載1.06版的 Jyn_guestbook_fro1.06.zip 取代guestbook的檔案,應該不用修改就可以用了。
已記錄
TENZI
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #8 於: 一月 25, 2007, 07:29:06 上午 »

請問一下第3.4.5項要去那個資料夾及網頁修改呀
{if $guestbook->isEnabled()}
<DIV class=sidebody><a class=aside title="{$locale->tr("guestbook")}" href="{$guestbook->pluginTemplatePage()}">{$locale->tr("guestbook")}</a></DIV>
{/if}
一定要這樣加嗎還是可以精簡一點
因為照你的加都會顯示錯誤耶
已記錄
jyn99
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #9 於: 一月 25, 2007, 04:56:08 下午 »

guestbookdata.class
在plugins/guestbook/class/dao

{if $guestbook->isEnabled()}
<DIV class=sidebody><a class=aside title="{$locale->tr("guestbook")}" href="{$guestbook->pluginTemplatePage()}">{$locale->tr("guestbook")}</a></DIV>
{/if}

看你使用的模版而定,
links.template

panel.template

在templates的資料夾內
« 最後編輯時間: 一月 25, 2007, 05:01:59 下午 由 jyn99 » 已記錄
青狼
新手見習
*
文章: 6


檢視個人資料 個人網站
« 回覆文章 #10 於: 二月 07, 2007, 08:46:40 下午 »


我使用大大的留言板.啟用後.發現在沒有留言的情況下會出現
Fatal error: Call to a member function on a non-object in /home/fousevse/public_html/twrf/tmp/1/%%D8^D8B^D8B6F599%%guestbook.template.php on line 112
錯誤碼.請問有辦法解決嗎?
已記錄

作業系統 Linux
Apache:1.3.37 (Unix)
PHP:4.4.4
MYSQL:4.1.21
joey6519
新手見習
*
文章: 6


檢視個人資料
« 回覆文章 #11 於: 二月 08, 2007, 09:32:50 上午 »

請問要在哪裡管理留言版的內容啊???
已記錄
jyn99
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #12 於: 二月 10, 2007, 12:36:24 下午 »

先由部落格管理面版登入,再到留言板,就可以管理
已記錄
ltfs2007
新手見習
*
文章: 10


檢視個人資料
« 回覆文章 #13 於: 七月 24, 2007, 05:25:50 下午 »

1.2.1版本用不了,怎么办啊 目瞪口呆
已記錄
頁: [1]
LifeType 中文開發論壇  |  開發  |  外掛程式  |  留言板該如何設定與操作呢??? « 上篇主題 下篇主題 »
    前往: