歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 28, 2024, 03:35:23 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: 1 [2] 3 4 ... 8
16  開發 / 模版設計 / Re: IE有時候只顯示一半的問題 於: 十月 18, 2006, 09:30:00 下午
引用
 </p>
</div> <br/>
 
   <!-- Google Firefox -->
   <script type="text/javascript"><!--
   google_ad_client = "pub-5977300681227029";
   google_ad_width = 110;
   google_ad_height = 32;
   google_ad_format = "110x32_as_rimg";
   google_cpa_choice = "CAAQmZignAIaCPs1KdL6h77QKIOlwXU";
   google_ad_channel = "9806734455";
   //--></script>
   <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
   </script>
   <br/><br/>
   
   <!-- Google Packet -->
   <script type="text/javascript"><!--
   google_ad_client = "pub-5977300681227029";
   google_ad_width = 110;
   google_ad_height = 32;
   google_ad_format = "110x32_as_rimg";
   google_cpa_choice = "CAAQwNDHmwIaCJRaaOD2xY0LKMyIu4sB";
   google_ad_channel = "5349736813";
   //--></script>
   <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
   </script>
   <br/><br/>
   
   <!-- Google Adsense -->
   <script type="text/javascript"><!--
   google_ad_client = "pub-5977300681227029";
   google_ad_width = 110;
   google_ad_height = 32;
   google_ad_format = "110x32_as_rimg";
   google_cpa_choice = "CAAQ2YWvjAIaCPdSUXUwhauJKPm0i4gB";
   google_ad_channel = "3556634373";
   //--></script>
   <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
   </script>
   <br/>   
    

将上面红色的DIV放到蓝色<br/> 后,清空tmp缓存,看看
17  開發 / 外掛程式 / Re: 一个Plogeshi 的问题 於: 十月 12, 2006, 11:10:14 上午
 吐舌頭 没有看清你的前提,原来不是TinyMCE的,very sorry. 開懷大笑
18  支援 / 使用與操作 / Re: 请问LifeType能用Windows Live Writer么 於: 十月 11, 2006, 11:18:15 下午
1.1我默认情况下就支持发文与发图啦 開懷大笑

http://admin.cnplog.com/resserver.php?blogId=1&resource=6_edit.png

估计Mark前辈在发布1.1时已修正原来的XMLRPC文件

不过WLW只支持发单张图,发文的时候还是不是很方便,比不上在线后台发~~

19  支援 / 使用與操作 / Re: 使用者帳號如何超過15個字以上? 於: 十月 09, 2006, 04:16:07 下午
I'm very sorry , 对,数据库的字段也要改下, lt_users 表里user 字段属性也要增加varchar的长度,不然入不了库

另还有个地方要改,lifetype-1.1\class\data\validator\usernamevalidator.class.php
引用
line 10 : define( "ONLY_ALPHANUMERIC_REGEXP", "^([A-Za-z0-9]*)$" ); //这里现在的正则

line 34 : $this->addRule( new StringRangeRule( 0, 15 ));  // to make sure they're not longer than 15 characters

简单改长度的话,只需改34行这里的 15 增大即可,不要忘记上面模板还要改maxlength

若要改为符合Email的格式的话,参考lifetype-1.1\class\data\validator\emailvalidator.class.php
lifetype-1.1\class\data\validator\rules\emailformatrule.class.php
这两支程式~~ 開懷大笑
20  支援 / 安裝與設定 / Re: 发布导入Lifetype的程序 於: 十月 08, 2006, 02:17:22 下午
期待以久,多谢楼主无私精神 開懷大笑 開懷大笑
21  開發 / 外掛程式 / Re: 一个Plogeshi 的问题 於: 十月 08, 2006, 12:02:06 上午
试试我这个办法,http://nba23.cnplog.com/post/2/150

我测试过,应该能满足你的要求

22  開發 / 核心補強 / Re: LifeType 1.1与vbb论坛的整合 於: 十月 06, 2006, 05:18:15 下午
不错~~
23  開發 / 手冊文件 / Re: pLog 1.0 安裝教學影片 於: 十月 06, 2006, 05:17:09 下午
传到lifetype/plugins目录

如recentcomments外挂传上去后的目录如何如下
plugins\recentcomments\pluginrecentcomments.class.php
plugins\recentcomments\class\.....
.......

即将补丁文件夹放plugins目录,明白吧 :-D多试试
24  支援 / 使用與操作 / Re: 使用者帳號如何超過15個字以上? 於: 十月 06, 2006, 05:13:44 下午
更改这个文件试下吧
lifetype/templates/summary/registerstep1.template 第20行左右

<input type="text" name="userName" value="{$userName}" id="userName" style="width: 73%;" maxlength="15" />
25  測試 / LifeType 1.1 測試 / Re: LifeType 1.1 beta 2 統計資料問題 於: 九月 29, 2006, 03:40:30 下午
模板文件中,去除

一般在panel.template或者footer.template
26  支援 / 安裝與設定 / Re: 碰到怪事,被骚扰的文章ID为2,文章已删除,但还是会出现垃圾评论 於: 九月 20, 2006, 03:12:36 下午
到『清除垃圾』中把以刪除的文章清除掉就可以了。

Mark

试过啦,我删除了,这个文章ID的评论还是会有,现在用了Mark前辈的Bad behavior 2 ,搞定了

应该机器人发留言是透过xmlrpc来发的,或者另一个可能,有其它的未知漏洞存在
27  開發 / 核心補強 / Re: LT 1.0 和 MYSQL 4.1 於: 九月 20, 2006, 09:59:10 上午
运行mysqldump导出4.0的,再导入4.1的mysql中,只要没有乱码是没有问题的。
28  開發 / 核心補強 / Re: LT 1.0 和 MYSQL 4.1 於: 九月 20, 2006, 08:57:41 上午
我的数据库也是4.1.21的,暂时没有发现问题。不过文章还不多,以前的数据库丢了~~痛  嚎啕大哭
29  支援 / 安裝與設定 / Re: 如何在模版上取得username? 於: 九月 19, 2006, 09:00:03 下午
{assign var=blogOwner value=$blog->getOwnerInfo()}

{$blogOwner->getUsername()}
30  支援 / 安裝與設定 / Re: 碰到怪事,被骚扰的文章ID为2,文章已删除,但还是会出现垃圾评论 於: 九月 17, 2006, 10:38:49 下午
http://blog.markplace.net/marks_place/15/2006/06/14/100

Mark前辈的方法,我尽早试试,有效果了会马上过来汇报情况,谢谢James大侠喔 開懷大笑

有一点我搞不明,删除了的文章都还可以发留言,机器人不知是如何弄的~~`
頁: 1 [2] 3 4 ... 8