歡迎光臨, 訪客. 請先 登入註冊一個帳號.
五月 18, 2024, 07:54:36 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  建議 / 要求與建議 / Re: 有關articles、comments 於: 四月 28, 2005, 07:07:51 下午
引用自: markwu
只是,目前 Authentication 因為 Cache 的關係,沒辦法用。否則還可以做到只有當你 login 的時候,才會顯示這一段文字。
Mark

我要的就是這一段解釋 開懷大笑
我只想讓blogowner或系統管理員編輯,可惜了 嚎啕大哭

引用自: markwu
基本上,我們不傾向修改訪客的迴響。所以我們沒作這個功能。應該可以用 plugin 來做到。
Mark

了解,怕的是訪客留言的部份內容有違反規定而無法一一過濾,所以才想編修~
plugin我還不太會寫,有機會再研究看看囉!謝謝mark的解說。
2  開發 / 外掛程式 / 分享一個外掛給大家參考! 於: 四月 28, 2005, 05:27:50 下午
引用自: markwu
這是 Oscar 自己寫的外掛程式喔! 吐舌頭

Mark


我好喜歡呢!這裡沒找到我要的答案,所以就去http://forums.lifetype.net挖寶,沒想到還到這麼實用的外掛,真不賴呢!
(英文不好,所以不敢提出問題^^)

不過我希望迴響除了能回覆之外,也能夠編修(限blogowner或管理員),那就更棒了~
3  支援 / 安裝與設定 / 如何修改歡迎詞 於: 四月 28, 2005, 05:15:22 下午
在templates/summary/index.template就能夠找到~ 眨眼睛
4  開發 / 外掛程式 / 分享一個外掛給大家參考! 於: 四月 28, 2005, 05:05:05 下午
這是一個可以回覆迴響的外掛程式,有興趣的朋友可以參考。
comment
answer1
answer2
...
comment
...

程式碼:
This plugin will generate a nested list of comments. In order to use it, edit your postandcomments.template file and where it says: 

   {foreach from=$comments item=comment}  
with:

   {assign var=comments value=$nestedcomments->getNestedComments($post)}
   {foreach from=$comments item=comment}
In order to nest the comments, you can check the value of the "depth" field in order to know how deeply a certain comment should be nested but keeping in mind that the array of comments is already sorted correctly:

   {assign var=comments value=$nestedcomments->getNestedComments($post)}
   {foreach from=$comments item=comment}
     <div class="comment_{$comment->getValue("depth")}">
      {$comment->getTopic()}<br/>
      {$comment->getText()}<br/>
     </div>
   {/foreach}
In order to apply different graphical styles for different levels of nesting, define up to 6 "comment_X" CSS classes (as in "comment_1", "comment_2", "comment_3", etc) in the CSS file used by your template set.

    .comment_1 {
     margin-left: 10px;
    }
    .comment_2 {
     margin-left: 20px;
    }
    .comment_3 {
     margin-left: 30px;
    }
    ...
    .comment_6 {
     margin-left: 60px;
    }
By default there can only be up to 6 levels of nesting but this limit is configurable by editing the plugin file.


原始說明
http://forums.lifetype.net/viewtopic.php?t=2208

下載
http://www.lifetype.net/blog.php/plog_development_journal/resource/miscellaneous/view/nestedcomments.zip

我已經安裝成功,不錯用唷!
5  建議 / 要求與建議 / 有關articles、comments 於: 四月 28, 2005, 04:57:36 下午
建議~
(一)希望能在登入後不但能透過後端管理,也能直接在前端編輯、刪除,有這類程式可參考嗎?
(二)迴響部份只有刪除,卻沒有編輯,不知道那裡有程式可供參考?
感謝大家!
6  開發 / 外掛程式 / 請教Top Comment Posts 於: 四月 22, 2005, 07:08:02 下午
Plugin: Top Comment Posts
Author: Mark Wu
Release Date: 2005/01/23
Version: 1.0

出現的錯誤訊息
Exception message: Could not load PluginTopCommentPostsUpdateConfigAction!
Error code: 0
-- Backtrace --
D:\appserv\www\blog\class\controller\resourceclassloader.class.php(126): throw
D:\appserv\www\blog\class\controller\controller.class.php(248): resourceclassloader.load
D:\appserv\www\blog\class\controller\controller.class.php(296): admincontroller.loadactionclass
D:\appserv\www\blog\admin.php(36): admincontroller.process


這是為什麼?和同時安裝RecentComments有關係嗎?
7  開發 / 外掛程式 / 請問有關Guestbook Plugin 的設定問題 於: 四月 22, 2005, 04:45:45 下午
引用自: markwu

都不是!呵呵!是因為在留言版的 plugin 未出來前,我們都是用 某一篇文章,來作為留言版,『迴響』當成『留言』,不錯吧!

用迴響當留言?好主意!
安裝guestbook沒成功,不知大大可否提供原始檔,讓在下參考參考?
8  開發 / 外掛程式 / Blogtimes 的 URL 好像有問題 於: 四月 22, 2005, 04:40:31 下午
我也有這個問題,但按照markwu的方法去做就試成功了!
最主要是和下列這個有關吧?
<Files "*">
 Order deny,allow
 Deny from all
</Files>

雖然網址變的很不雅觀,但能用就好,很滿足了~
頁: [1]