歡迎光臨, 訪客. 請先 登入註冊一個帳號.
九月 08, 2024, 06:41:03 上午
19595 文章 在 3865 主題 由 4579 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  開發 / 外掛程式 / 请问有没有文章内容过滤的外挂? 於: 七月 30, 2005, 08:38:01 下午
我修改contentfilter.class.php里面的代码,并不成功。请问应该怎么做?
是否另外需要实现 addPost与contentfilter的binding?在AddComment的时候为什么会执行contentfilter.class.php?谢谢!!!

if( $request->getValue( "op" ) != "AddComment" and $request->getValue( "op" ) != "addPost") {
               $result = new PipelineResult();
                return $result;
            }

            //
            // get the content that has been globally blocked by the admin(s)
            //
            $filteredContents = new FilteredContents();
            $globalFilteredContents = $filteredContents->getGlobalFilteredContents();
            // text and topic of the comment
           
            if($request->getValue( "op" ) != "postText"){
                  $commentText = $request->getValue( "commentText" );
                  $commentTopic = $request->getValue( "commentTopic" );
                  $userName = $request->getValue( "userName" );
                  $userEmail = $request->getValue( "userEmail" );
                  $userUrl = $request->getValue( "userUrl" );
           
           
               
               }else{
                  
                  $commentText = $request->getValue( "postText" );
                  $commentTopic = $request->getValue( "postTopic" );
                  $userName = $request->getValue( "postExtendedText" );
                  $userEmail = $request->getValue( "userEmail" );
                  $userUrl = $request->getValue( "userUrl" );
                  
            }
。。。。。
。。。。。
2  支援 / 安裝與設定 / 谢谢了,主要是防止恶意用户破坏版面 於: 七月 30, 2005, 06:30:56 下午
我在demo.lifetype.org.tw发了一个测试,导致版面变型,很抱歉/
已删除该文章。
3  開發 / 外掛程式 / 请问有没有文章内容过滤的外挂? 於: 七月 30, 2005, 06:27:20 下午
contentfilter 这个外挂可以过滤comment,为什么不支持文章内容过滤呢?能够修改来达到目的?怎么做?谢谢
4  支援 / 安裝與設定 / 内容无法分行?!英文题目的内容 於: 七月 30, 2005, 01:30:36 上午
Plog环境:win2003 +apache 2.X+php5.0+mysql4.0.16
问题:
发表很长的英文题目和内容的文章,无法自动分行,导致页面混乱,请问如何解决???
已测试过:
a.在www.lifetype.org.tw里面下载最新的plog1.0.1版本重新安装,问题依然存在。
b.搜索本站,找不到相关信息。
c.在demo.lifetype.org.tw里面发表了“long title test”文章,能自动分行。

为什么我的却无法自动分行呢?谢谢!!!
頁: [1]