User:
Pass:
Keep:   
Xoops Cube Project
XOOPS Cube Project Site
Powered by Google


Powered by XOOPS Cube Legacy 2.1.8
PukiWikiMod 1.5.1
WordPress Module 0.6.0 Alpha
wordpress smarty 投稿者: mike 投稿日:2004/07/16(Fri) 13:26 No.352  
hi
have doene a quick and dirty hack to the wordpress module, so that it uses smarty and thus xoops comments etc
as not a coder was wondering if anyone be interested in having a look at it to improve it??


Re:wordpress smarty 投稿者: のぶのぶ 投稿日:2004/07/16(Fri) 16:22 No.353  

引用:

have doene a quick and dirty hack to the wordpress module, so that it uses smarty and thus xoops comments etc
as not a coder was wondering if anyone be interested in having a look at it to improve it??

I've been already thinking about these themes what you did.
But, I don't have any plan to implement these issues now.
The reasons why I don't do are as following.

[XOOPS Comment System]
WordPress is a blog system, and it integrates Comment messages and Trackback messages and Pingback messages.
I think this is a one of special features that WordPress has.

In Japan, comment system and trackback system which blog has, attracts attention as a new communication tool very much.
And building Blog sites are in fashion,now.
So, I don't want to delete WordPress comment system.

But, If many people want to use XOOPS comment system with this module, I'll prepare a option to use Xoops Comment System in the future.

[Smarty template]
Original WordPress is designed with following concepts.

1. WordPress prepares many PHP function as parts of building blog site.
2. If user want to modify his blog's appearance, he has to build his own blog site, by using these functions in "index.php" & "wp-comments.php".

So, WordPress treat "index.php" & "wp-comments.php" as a template file and Original WordPress provides edit screen of "index.php" & "wp-comments.php".

From WordPress Version 1.2, WordPress prepares some functions for Smarty template system, but it is a subset of original template functions.

So , I think it isn't a best way to use Smarty, now.
From Release 0.2.0, I change the location of these WordPress template files to themes direcoty. And WordPress Templates and Stylesheets can be customized synchronising with XOOPS Theme.

Can you understand my poor English?

-- In Japanese --
私も、以前これらのテーマについて検討した事があります。
しかしながら、現在のところはこれらに対応する予定は持っていません。
対応しない理由は以下のとおりです。

[XOOPS Comment System]
WordPressは、コメント、TrackBack、PingBackを一元的に管理出来るブログシステムです。
私は、これはWordPressの大きな特徴の一つだと考えています。
今、日本ではブログが持っているコメントとトラックバックの仕組みが新しいコミュニケーションツールとして関心をよんでいます。
そしてブログサイトの立ち上げが流行になっています。
よって、私はWordPressのコメントの仕組みを削除したいとは考えていません。
しかしながら、多くの人がXOOPSのコメントシステムをこのモジュールと共に使いたいという要望を持っているのであれば、
XOOPSのコメントシステムもオプションとして使えるように将来的に考えてもよいと思います。

[Smarty template]
元々のWordPressは以下のようなコンセプトで設計されています。

1.WordPressはブログサイトを構築するにあたって必要な部品をPHP関数として準備しています。
2.ユーザがブログサイトの見栄えを変更したければ、"index.php"や"wp-comments.php"にこれらの関数を使って独自のサイト作りが出来ます。

よって、元々のWordPressは"index.php"と"wp-comments.php"をテンプレートファイルと見なし、それらのファイルの編集画面を用意していました。
WordPressのバージョン1.2からは、Smartyテンプレート用の関数もいくつか用意しているようですが、現在のところは元のテンプレート関数群のサブセットでしかありません。

よって、今Smartyを使う用に移行する事は最良の方法とは言えないと考えます。
リリース0.2.0からは、これらのテンプレートファイルの配置をthemesディレクトリ下に変更しました。そしてXOOPSのテーマに連動してテンプレートファイルをカストマイズ出来るようにしてあります。

私の英語理解出来ますか?
-----------------
おはずかしながら、つたない英語にてのレスを付けました。
どなたか、「ココはこうした方が判りやすいのでは?」などありましたら、教えて下さいませ。
(ふぅ〜〜〜疲れた〜〜〜


Re:wordpress smarty 投稿者: mike 投稿日:2004/07/17(Sat) 04:55 No.358  

引用:


Can you understand my poor English?


many thanks for your reply and clear english:)

apoligies for my lack of language skills

am i right in saying that plans are to upgrade module to using wordpress v1.2 in near future?

on smarty - found it fairly simple to implement - it only touches two of your module files, however as said am not coder and someone may be able to do it faster amd quicker :)

one problem did have is trying to use the xoopscomments and permalinks - the index.php could not match the artciles comments if using permalinks
ie
index.php?p=135 -ok
/archives/post title/ - not ok
any thoughts ??

many thanks for your work - have followed this module since 2003 under xoops-modules and it is one of the best and most usefull xoops modules !!!


NO: PASS:

このプログラムは KENT 氏の yybbs を xoops(PHP) に移植したものです
- KENT -