(Translated by https://www.hiragana.jp/)
PEAK XOOPS - Comment Anywhere 0.14

PEAK XOOPS - Comment Anywhere 0.14 in englishin japanese







Category: XOOPS Modules minahito's works          
Download Now! Download Now! Comment Anywhere 0.14 Popular Version: 0.14
Submitted Date:  2007/6/27
Description:
in englishin japanese

どこでも XOOPS コメント GIJOE Hackedばん

はじめに
 「コメントの投函とうかん」フォームをメインコンテンツ下部かぶにねじこむモジュールです。
 なおフォームは通常つうじょうの textarea なので bb code を使用しようしたい場合ばあいは「DHtmlTextArea 表示ひょうじよう smarty プラグイン」などを使つかって、テンプレート commentany_center.html を修正しゅうせいしてください。

利用りよう方法ほうほう

(1) まずは、exFrame最新さいしんばんを、modules ディレクトリにいてください。インストールする必要ひつようはありません。

(2) つぎに、どこでもXOOPSコメントモジュールを通常つうじょうどおりインストールします。

(3) つづいて「フックでXOOPSコメント」を、ブロック管理かんりなどで、目的もくてきモジュールにたいして「表示ひょうじ」する設定せっていにします。実際じっさいには、このブロックは表示ひょうじおこないませんので、左右さゆう中央ちゅうおう、どこに配置はいちしてもかまいません。ただし、表示ひょうじじゅんだけは、出来できかぎおおきな数値すうちにしておくのがいでしょう。

 このブロックは、Smarty がコンパイルキャッシュを生成せいせいするさいにテンプレートの include ぶんすべませるトリガーとなりますので、コメント権限けんげんとは無関係むかんけいさきにゲストにアクセス権限けんげんっておいたほう無難ぶなんです。(コメントフォームの表示ひょうじ表示ひょうじべつのロジックでおこないます。たとえばゲストにコメントをゆるしていないときは、コメントらん表示ひょうじされません)

この一連いちれん作業さぎょうには、blocks adminモジュールの利用りようがおすすめです。

(4) 以上いじょう準備じゅんびわりましたら、Smarty のコンパイルキャッシュ(templates_cの中身なかみ)をすべてクリアする必要ひつようがあります。
 管理かんりメニューより Cache Clear をえらび、 Confirm ボタンをしてください。
 コメント表示ひょうじ対象たいしょうモジュールを変更へんこうした場合ばあいにも、コンパイルキャッシュクリア操作そうさ必要ひつようです。

(5) この状態じょうたいで、目的もくてきのモジュールを表示ひょうじすれば、「どこでもXOOPSコメント」の入力にゅうりょくフォームがもぐんだコンパイルキャッシュが、templates_c にあらたに生成せいせいされる、という仕組しくみです。

 なお、以上いじょう動作どうさ原理げんりから、Smarty を使用しようしないモジュールでは表示ひょうじ不可能ふかのうです。

どこでもトラックバックとの相性あいしょう
 「フックでXOOPSコメント」ブロックを、「どこでもトラックバック」の「フックでトラックバック」ブロックとおなじモジュールに配置はいちする場合ばあい、「フックでXOOPSコメント」ブロックのほうが、表示ひょうじじゅんうしろにるようにしてください。
 「フックでトラックバック」ブロックがのち処理しょりされると、「フックでXOOPSコメント」ブロックの処理しょりがキャンセルされてしまいます。
 将来しょうらいてきには、どちらがさき処理しょりされても問題もんだいないようになる予定よていです。


++ v0.13->v0.14
* 本家ほんけばん2.0.16に対応たいおう

++ v0.12->v0.13
* 「匿名とくめいによるコメント投稿とうこう」の設定せっているように修正しゅうせい

++ v0.11->v0.12
* コメントの承認しょうにん必要ひつようとすると、投稿とうこう画面がめんないバグを修正しゅうせい (thx minahito)

++ v0.10->v0.11 ※ようモジュールアップデートorカスタムテンプレート更新こうしん
* XOOPS >= 2.0.10 への対応たいおう (XoopsSecurity::createToken()を利用りよう)

++ v0.03->v0.10 GIJOE Hackedばん放題ほうだいしゅれてます)
* コメントフォーム入力にゅうりょく場所ばしょを、ナビゲーションのある場所ばしょにした
* ナビゲーションの「投稿とうこうする」ボタンをhiddenにした
* <{$xoops_default_comment_title}> を初期しょきタイトルにした (TinyDが対応たいおうずみ)
* 「どこでもトラックバック」などとのほかのフックけいモジュールとの相性あいしょう対策たいさくをした
* デフォルトのテンプレートを極力きょくりょくシンプルにした
* ダイレクトアクセス対策たいさく
* ドキュメントを整備せいびした(あまりにアレだったもので
* モジュールめいの(かり)をはずした

++ v0.02->v0.03
* ファイル構成こうせいけがあったのをめた

++ v0.01->v0.02
* コメントのルールを参照さんしょうして動作どうさえるようにした
* メッセージアイコンをテンプレートがわめるようにした
* コメントにかんするルールをメッセージがわめるようにした
* モジュールめいに(かり)をれた


Downloaded 24247 times  24247  File Size 16.04 KB  Supported Platforms tar.gz|zip  Home Page http://www.pleple.com/~sunday_lab/
Modify | Report Broken File | Tell a Friend | Comments (5)


Comments list

cybermongo  Posted on 2012/4/24 5:44
how can i make compatible this module with news 1.62 and xoops 2.5.5 version, it is very handy!! great idea man!!!
sallywong  Posted on 2008/6/1 11:36 | Last modified
Why guest can't comment but registered user can.

This issue has been solved.
cybermongo  Posted on 2006/10/13 4:36 | Last modified
it it is not Compatibility =0
cybermongo  Posted on 2006/9/18 10:29
Comment Anywhere 0.12 is compatible with XOOPS 2.0.15
skara  Posted on 2005/11/2 23:05
if this is a question, my answer is yes!
cybermongo  Posted on 2005/11/1 9:39 | Last modified
Comment Anywhere 0.12 is compatible with XOOPS 2.0.13.2
krobi  Posted on 2005/8/15 17:31 | Last modified
i have downloaded your version here, for about 3-4 days.

it seems that this bug is still there, when i give acces permission for that block for anonymous users the block will be shown - the block is not checking if i allow post comment for anonymous users.

maybe he does but the block is displayed and that will confuse users.

on my test server i get this error message when i open a news

Quote:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in e:\programme\easyphp1-8\www\Xoopslocal\modules\commentAny\include\Smarty_CustomCompiler.php(38) : eval()'d code on line 27

maybe this is making the problem? i havent tested it if i get the error on my productive page also.

reagarding the second thing, i know that is it
Quote:
Althogh it is a module in a series of exModules made by minaito
but did you ever tried to unterstand japan language without knowing anything about the language its quite hard to understand what the other modules for the exmodule do

this is why i mention to make the module independence from exmodule, because i think (nothing agains you or so) users around the world cant really use the exmodule because they simple dont understand what this module and the modules who needs this module can really do.

and maybe its better for further development - only a idea

a next idea would be a setting if i want the dhtml editor or the "light" editor for my visitors to display, i know that i can install this manually but i think it would be nice to have the option for example i give my registered users the dhtml editor and the anonymous users will only get the "light" editor.
GIJOE  Posted on 2005/8/15 15:50 | Last modified
Quote:
would be great if this modul would care about the other modules comments settings
because at the moment you only can set the permission for the block and what group can access this "block" but when you have disabled comments for anonymous users but have alllowed to show the block for anonymous users then the block will be shown
It sounds a bug fixed in 0.11 to 0.12.
Or does the other bug exist?

Quote:
it would be also nice if you could make the module work without the exframe module - so it would be easier for all users to install the module.
Althogh it is a module in a series of exModules made by minaito, it is almost independent from exFrame, certainly.

But it is not so difficult to put exFrame in XOOPS_ROOT_PATH/module/
Don't install but just put.
krobi  Posted on 2005/8/15 3:58
feature request:
would be great if this modul would care about the other modules comments settings
because at the moment you only can set the permission for the block and what group can access this "block" but when you have disabled comments for anonymous users but have alllowed to show the block for anonymous users then the block will be shown
it would be also nice if you could make the module work without the exframe module - so it would be easier for all users to install the module.
GIJOE  Posted on 2005/3/17 10:38
hi Yuji.

I've modified the place of quick-comment-form from the minahito's original 0.03.

You can see the form just after the body of contents.
(In original, the form is placed the bottom of comment area.)

And some typos are fixed
Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!