歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 23, 2024, 03:19:38 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1] 2 3
1  開發 / 外掛程式 / 我在测试编写插件,请问如何用插件目录下的view输入内容? 於: 九月 27, 2007, 10:30:50 上午
我在测试编写插件,请问如何用插件目录下的view输入内容?
2  開發 / 外掛程式 / 急...翻译了一遍插件制作,还是写不出today(helloworld)这个插件 於: 九月 26, 2007, 09:32:01 上午
知道的请帮忙急

3  開發 / 外掛程式 / Re: 寻找mark wu 於: 九月 25, 2007, 10:37:06 上午
<?php
  include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
  include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
  include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
  class PluginToday extends PluginBase
  {
   function PluginToday()
   {
     $this->PluginBase();
     $this->desc = "Very simple plugin that will tell today's date.";
     $this->author = "The pLog team";
   }
   function show()
   {
       $t = new Timestamp();

       $todayDate = $t->getDay()."/".$t->getMonth()."/".$t->getYear();

       return $todayDate;
   }
  }
  PluginManager::registerPlugin( "today", "PluginToday" );
?>

我将这样的程序码存在today.class.php,放在plugin目录下,在后台管理中去没有办法发现这个插件

前台main模板中添加{$today->show()}又会报这个错误
Fatal error: Call to a member function show() on a non-object in D:\JOB\baby\root\tmp\1\%%AB^AB5^AB5C16A9%%main.template.php on line 27
4  開發 / 外掛程式 / 寻找mark wu 於: 九月 25, 2007, 10:13:13 上午
我想写一个个人博客的统计插件,请提供说明
我试验您写的today的例子并没有实验成功
请具体说明一下编写我这类插件程序的实现方式
5  開發 / 外掛程式精華區 / 请问哪里有详细些的编写外挂plugin程序的说明,我要作一个统计,需要自己 於: 九月 24, 2007, 03:57:34 下午
请问哪里有详细些的编写外掉程序的说明,我要作一个统计,需要自己写外挂
6  支援 / 使用與操作 / Re: unported目录是存放什麽翻译的?为什麽没有中文语言? 於: 九月 24, 2007, 08:55:34 上午
以上是我整的lifetype的物理模型文档,请版主补充修改完善
7  支援 / 使用與操作 / unported目錄是存放什麽翻譯的?為什麽沒有中文語言? 於: 九月 21, 2007, 09:21:06 上午
unported目錄是存放什麽翻譯的?為什麽沒有中文語言?
8  開發 / 手冊文件 / Re: 哪位有lifetype资料库表结构的说明文档呀 於: 九月 20, 2007, 11:15:09 上午
nonspam_occurrences是什麽用的?
9  支援 / 使用與操作 / user表中的site_admin是一個boolean值來判斷是否為管理員,為什麽用int 10? 於: 九月 20, 2007, 11:05:10 上午
user表中的site_admin是一個boolean值來判斷是否為管理員,為什麽用int 10?
10  支援 / 使用與操作 / custom_fields_definition中序列化后的field_values a:0:{}有什麽做用? 於: 九月 20, 2007, 10:37:08 上午
custom_fields_definition中序列化后的field_values有什麽做用?
11  站務 / 站務公告 / Re: LifeType 1.0.2 正式版释出 於: 九月 20, 2007, 10:23:26 上午
请问
Config表
value_type的取值是什么意思?
12  支援 / 使用與操作 / 请问articles_text中的normalized_text,normalized_topic,angled_topic是做什么用的? 於: 九月 20, 2007, 08:21:18 上午
请问articles_text中的normalized_text,normalized_topic,angled_topic是做什么用的? 害羞
文章分类表
mangled_name是作什么用的?

config表裏的value_type我也找不到字典描述,這個是什麽意思?
13  支援 / 使用與操作 / Re: 上传rtf,doc,rar文件都失败,只能上传图片是什么原因? 於: 九月 20, 2007, 08:05:07 上午
明白了,谢谢,以前没看到,还想自己开发这样的功能呢
14  支援 / 使用與操作 / Re: 上传rtf,doc,rar文件都失败,只能上传图片是什么原因? 於: 九月 19, 2007, 05:58:56 下午
原来不支持中文名 疑惑
15  支援 / 使用與操作 / 上传rtf,doc,rar文件都失败,只能上传图片是什么原因? 於: 九月 19, 2007, 05:40:25 下午
上传rtf,doc,rar文件都失败,只能上传图片是什么原因?
頁: [1] 2 3