[mlimg]
[xlang:en]
============ D3FORUM ==============

The REAL Innovative and Basic forum module for XOOPS.
I -GIJOE- release this module with convidence though this module might be still buggy.

Enjoy D3 World!


[b]INSTALL[/b]

(If necessary)
- set up XOOPS_TRUST_PATH
- install the latest altsys module (0.61 or upper)

- Copy all files into your XOOPS.
- Install it as usual D3 module. Of course, you can name the directory under modules/ freely.


[b]AUTHOR[/b]

GIJOE -basic designing and PHP coding-
jidaikobo -template coding-


[b]CHANGES[/b]

0.85 beta (2009-01-19)
- removed extra trim() handling post_text at post and edit
- fixed compatibilities among autolink and the end of quotation tag
- fixed D3commentAbstract triggers empty 'comment' events (thx spaceship)
- added an option the order of comments
- modified comment integration class can override can_vote etc.
- modifeid templates easy to use
- updated language files
-- persian (thx stranger)
-- portuguesebr (thx leco1)

0.84 beta (2008-08-18)
- fixed the post_id is passed for onUpdate() in comment-integration (thx toychee)
- fixed a notice in output RSS
- modified some exit()s to redirect_header()s (thx dekki)
- modified comment-integration can notify new 'comment' from X2 (thx naao)
- fixed external_link_id without external_link_fmt would be blank
- added total topics/counts as redundant information for categories (thx suin)
- modified default subject in the notifications
- modified the history controller for admin
- modified xoops_version for XCL2.1 friendly
- modified d3forum.textsanitizer XCL2.1 preload friendly

0.83 beta (2008-05-19)
- added smarty plugin function.d3comment.php (don't forget copy it)
- modified comment-integration the CLASS has a larger privileges
- fixed small bugs
- fixed legacy comment-integration cause fatal error (thx DJ_okamOTO) 0.83a

0.82 beta (2008-02-24)
- added import from cbb (not implemented - permissions, votes) (thx MrTheme)
- fixed invalid html in some templates (thx hi-debow)
- modified [1] won't be converted as a link automatically
- updated language files
-- persian (thx stranger)
- added language files
-- spanish (thx debianus)
-- german (thx wuddels) 0.82a

0.81 beta (2007-11-16)
- modified post form reflects "Always attach my signature" of user data
- modified new posts will be checked by "censor string"
- fixed cutandpaste loses external_link_id
- added RSS outputs

0.80 beta (2007-10-11)
- fixed Script Insertion in guest_url (thx kentaro)
- updated language files
-- french (thx gigamaster)
- added language files
-- fr_utf8 (thx gigamaster)
- modified [ siteimg] is displayed as internal image (thx ask35) 0.80a
- fixed {TOPIC_TITLE} is not assigned (thx ask35) 0.80a

0.78 alpha (2007-09-28) update this module
- added a configuration of default_options
- changed default meaning of solved (solved=0 must mean unsolved)
- added a batch action "turn all topics as solved" into category manager
- added solved controller into listtopics_over_categories
- added marking controller into listtopics_over_categories
- fixed a wrong behavior of a checkbox for appoval
- fixed a wrong error of "empty message" with a WYSIWYG editor
- modified mysql.sql removing "NOT NULL" from text fields (thx moegiiro) 0.78a
- fixed typo of method name in textsanitizer (thx enhiro) 0.78a
- fixed typo in some templates (thx enhiro) 0.78b

0.77 alpha (2007-09-27)
- modified posts allowing HTML must be filtered by HTMLPurifier
- added WYSIWYG editor (common/fckxoops)
- modified the target for redirectiion after posting by quick form

0.76 alpha (2007-09-26) update this module
- added post's histories feature
- modified templates of menu
- fixed quick form with anti-spam (thx Ron)
- added language files
-- portuguese (thx Mikhail)
-- pt_utf8 (thx Mikhail)
-- portuguesebr (thx X-TRAD team)

0.75 alpha (2007-08-22)
- added quick post form into viewpost
- added quick post form into listposts
- modified a comment from quick form will be a member of existing topics
- modified D3comment class adding methods like getPostsCount()

0.74 alpha (2007-08-11)
- fixed wrong " escaping in [ code] block with XCL2.1 (thx sippu)
- added an option selecting forum into blocks
- added a sorting option "average"
- modified listtopics templates for some sites without voting feature
- added an input form for topic_external_link_id ihnto topicmanager
- modified forum/category form about overriding option
- updated language files
-- persian (thx voltan)

0.73 alpha (2007-06-05)
- modified AntiSPAM class japanese
- modified some templates
- changed some specs of comment integration class
- added smarty's plugin function.d3forum_comment_postscount.php
- added language files
-- polish (thx kurak_bu)
-- ja_utf8 (formerly japaneseutf) 0.73a

0.72 alpha (2007-05-27)
- modified templates by jidaikobo

0.71 alpha (2007-05-21)
- modified templates by jidaikobo
- fixed comment's form does not have antiSpam elements
- fixed escaping subject on d3comment integration
- added an antiSPAM class
-- japanese (only for Japanese. input reading of kanji) 0.71a
- fixed typo in comment_functions.php (thx fanrun7) 0.71b

0.70 alpha (2007-05-18)
- changed the structure "altsys essential"
- added language constants override system (with altsys>=0.5)
- templatized mymenu (with altsys>=0.5)
- changed a post without body will be refused
- modified checking bbcode (number of quote) of post's body
- modified d3comment will redirect to target of the comment after posting
- added external_link_id validation system into class of d3comment
- modfied the field of external_link_id from integer to varchar
- templated index.css
- added callback system into d3comment class
- added a plugin for waiting module
- modified d3comment can be selected its view from thread or flat
- added guest's deletion
- added antiSPAM system
- added an antiSPAM class
-- default (using JavaScript)

0.60 (2007-05-14)
- 1st release as beta
- fixed export topic/forum into the other d3forum
- fixed sync topic
- updated D3 system
- added language files
-- japaneseutf
- fixed incompatibility with XC Legacy 2.1 (0.60a)

0.49
- updated D3 system

0.48
- fixed xoops_breadcrumbs
- fixed a config of posts_per_topic
- fixed child link in listposts

0.47
- added hierarchical submenu

0.46
- added topic move/copy into the other d3forum in topicmanager
- added forum move/copy into the other d3forum in forummanager

0.45
- fixed a bug in sync (thx nao-pon)
- added xoops_breadcrumbs
- added language files
-- french (thx gigamaster)

0.44
- fixed minor bugs (thx Konstantine)
- modified some templates
- added language files
-- persian (thx voltan)
-- russian (thx Konstantine)

0.43
- merged the latest templates from jidaikobo

0.42
- implement native comment-integration

0.41
- merged jidaikobo's templates and images
- language fixes

0.40
- update the module!
- some fixes, new smarty plugin counting comments


[b]How to use "comment-integration"[/b]

== for conventional modules ==

1. copy a plugin function.d3forum_comment of the archive into XOOPS_ROOT_PATH/class/smarty/plugins/
2. make a new forum for integration under appropriate category.
3. import from xoopscomments of a module into the forum.
4. edit template like this.
[/xlang:en]
[xlang:ja]
============ D3FORUM ==============

XOOPS2Ѥ0߷פľե⥸塼롣
-GIJOE-äƥ꡼Ƥޤ
ޤĤХϤǤ礦D3⥸塼뷲ˤ¸ߤǤꡢD3⥸塼Ѥʾϥ󥹥ȡ뤬侩ޤ


󥹥ȡ


⤷ޤʤ)
- XOOPS_TRUST_PATH 򥻥åȥåפ
- ǿaltsys⥸塼򥤥󥹥ȡ뤹 (0.61ʾ)

- XOOPS˥֤Ÿƥԡ롣κݡSmartyץ饰Υԡ˺ʤ
- ̾D3⥸塼Ȥƥ󥹥ȡ뤷ޤ󡢥ǥ쥯ȥ̾ϼͳ˷뤳Ȥޤ


ѹ

0.85 beta (2009-01-19)
- ʸ򾡼 trim() Τ
- ư󥯤ľ [ /quote] ȤʤΤ
- 쥯饹ΥȤȥꥬΤ (thx spaceship)
- ɽ򥳥ȥǤ褦ˤ
- 祯饹¦ǡcan_vote ʤɤ򥳥ȥǤ褦ˤ
- ǤȤ䤹褦˥ƥץ졼Ȥ˴ѥ󥯤ɲä
- ե빹
-- persian (thx stranger)
-- portuguesebr (thx leco1)

0.84 beta (2008-08-18)
- Ǿpost_idonUpdate()Ϥ褦˽ (thx toychee)
- ɸ।٥ΤǤ֥ɲáפб (thx naao)
- RSSϻNotice
- exitǶλ뤦ΤĤuser.phpؤΥ쥯Ȥѹ (thx dekki)
- ѤǤϤʤե˥ԡ줿ȥԥåν
- ȥԥå/ƿμ (thx suin)
- ٥Τǡ̾SubjectϤ褦˽
- ̤Ȥ䤹
- xoops_versionXCL2.1򤤤Ĥɲä
- textsanitizerΥС饤ɤXCL2.1preloadȤʤ٤ʤ褦ˤ

0.83 beta (2008-05-19)
- ץ饰function.d3comment.php ˤޤȤ᤿ ʥԡ˺ա
- ˤơѥ饹礭°Ѿ
- Ĥκ٤Х
- 쥿פΥ礬顼Τ (thx DJ_okamOTO) 0.83a

0.82 beta (2008-02-24)
- CBBΥݡȤʤ¤ɼ̤(thx MrTheme)
- </li>ΤĤ˺ʤɥƥץ졼Ȥtypo (thx hi-debow)
- [1] ϼư󥯤ˤʤʤ褦ѹ
- ե빹
-- persian (thx stranger)
- եɲ
-- spanish (thx debianus)
-- german (thx wuddels) 0.82a

0.81 beta (2007-11-16)
- Ƥ˽̾ɬɲäפȿ
- ػѸбɽǤϤʤѴ
- ǥȥԥåʬ䤹external_link_id¸ʤХ
- RSSϤɲ

0.80 beta (2007-10-11)
- URLScriptInsertion (thx kentaro)
- ե빹
-- french (thx gigamaster)
- եɲ
-- fr_utf8 (thx gigamaster)
- ɽOFFǤ[ siteimg]ɽ褦ѹ (thx ask35) 0.80a
- {TOPIC_TITLE} 󤵤ƤʤäΤ (thx ask35) 0.80a

0.78 alpha (2007-09-28) ץ⥸塼륢åץǡ
- ƥץνͤɲä
- ѤνŪѹѤʤ==Ѥߡ
- ƥ꡼ޥ͡˲ѥХåɲ
- ȥԥåβѹ
- ȥԥåѹ
- Ƥξǧåܥåɽ郎äΤ
- WYSIWYGǥONȡʸޤפȤʤäƤޤԶν
- mysql.sql text NOT NULL, (thx moegiiro) 0.78a
- ƥȥ˥Υ᥽å̾typo (thx enhiro) 0.78a
- ƥץ졼Ȥκ٤typo (thx enhiro) 0.78b

0.77 alpha (2007-09-27)
- HTMLĻˤ̵HTMLPurifier̲᤹褦ˤ
- common/fckxoops ǤԽǽˤ (HTMLĻΤ)
- åƥեफΥ쥯ȥԥåưѹ

0.76 alpha (2007-09-26) ץ⥸塼륢åץǡ
- Խҥȥ굡ǽɲáѥơ֥ɲá
- ƥץ졼Ĵ
- åƥեAnti-SPAMϤäƤʤäΤ (thx Ron)
- եɲ
-- portuguese (thx Mikhail)
-- pt_utf8 (thx Mikhail)
-- portuguesebr (thx X-TRAD team)

0.75 alpha (2007-08-22)
- ƾܺ⥯åƥեμ
- ư⥯åƥեμ
- ƤΥåեफϡľΥȥԥåλҤȤʤ褦ˤ
- ȥХå饹d3forum¦ƿʤɤ򥫥Ȥ᥽åɤ

0.74 alpha (2007-08-11)
- XCL2.1[ code]"\"ˤʤäƤޤäƤХ (thx sippu)
- ȥԥåư֥åˡեɲ
- ȥԥåȤʿɲ
- ɼǽȤʤɽˡ
- ȥԥåǡtopic_external_link_idԽǽȤ
- ץ󥪡С饤ɤpicoƱȽ䤹
- ե빹
-- persian (thx voltan)

0.73 alpha (2007-06-05)
- AntiSPAM饹japaneseư
- ƥץ졼ȤĴ
- Ƚ饹λͰѹ
- ƿ򥫥ȤSmartyץ饰 function.d3forum_comment_postscount.php
- եɲ
-- polish (thx kurak_bu)
-- ja_utf8 (japaneseutf͡) 0.73a

0.72 alpha (2007-05-27)
- jidaikoboΥƥץ졼Ȥ̤ޡλ

0.71 alpha (2007-05-21)
- jidaikoboΥƥץ졼Ȥޡ
- ľܥȤĤեantiSpamǤޤޤƤʤäΤ
- Υ֥ȥ׽
- AntiSPAM饹ɲ
-- japanese (ɤϤƤ餦ˡ) 0.71a
- comment_functions.php ˻ĤäƤvar_dump() (thx fanrun7) 0.71b

0.70 alpha (2007-05-18)
- altsysɬܤȤ
- ʸС饤ɥƥƳaltsys-0.5ʾ
- mymenuΥƥץ졼Ȳaltsys-0.5ʾ
- ʸΤʤƤƤ褦ˤ
- ơޤ褦bbcode (quote) Ƥ褦ˤ
- ǡƸˤǤΥڡ᤹褦ˤ
- ΥIDvalidationȤߤä
- IDʸ󷿤ѹʤ깭ѤǤ褦ˡ
- index.cssΥƥץ졼Ȳ
- ΥХå
- waitingץ饰ɲ
- 򥹥åɥӥ塼եåȥӥ塼٤褦ˤ
- ȤѥɤǺ뵡ǽ
- AntiSPAMƥ
- AntiSPAM饹ɲ
-- default (JavaScriptˤ)

0.60 (2007-05-14)
- ǤȤƤκǽΥ꡼
- ȥԥå/եΥݡȵǽǡƻҴطƤΤ
- ȥԥåƱΥХ
- D3ƥιʴԥ˥塼ʤɡ
- եɲ
-- japaneseutf
- XC Legacy 2.1ߴ 0.60a

0.49
- D3ƥι

0.48
- xoops_breadcrumbsХäƤΤ
- ȥԥåƿ꤬ƤʤäΤ
- ƤΥ󥯤äΤ

0.47
- إ֥˥塼б

0.46
- ¾d3forumءȥԥåñ̤ΰư/ԡ
- ¾d3forumءեñ̤ΰư/ԡ

0.45
- ƱΥХ (thx nao-pon)
- xoops_breadcrumbs 
- եɲ
-- french (thx gigamaster)

0.44
- Ĥκ٤ʥХν (thx Konstantine)
- ƥץ졼Ȥ
- եɲ
-- persian (thx voltan)
-- russian (thx Konstantine)

0.43
- jidaikoboκǿΥƥץ졼Ȥޡ

0.42
- ͥƥ֤ʥ絡ǽμ (ˡpico򻲾ȤΤȡ

0.41
- jidaikoboκǿΥƥץ졼Ȥޡ
- եν

0.40 ץ⥸塼륢åץǡ
- ٤ʥХեå
- ȿɽץ饰


d3forumˡ

d3forumб⥸塼Ф

d3forumäƤ⥸塼ǤСd3forum¦ǲɬפޤɬפ˱ơե򿷵˺äơΥեֹ⥸塼¦˻ꤹǤ

̾⥸塼ؤd3forum

1.  function.d3forum_comment XOOPS_ROOT_PATH/class/smarty/plugins/ ¸ߤ뤳Ȥǧ
2. Ѥ˿˥ե
3. ɬפ˱ơ˴̤xoopscomments򤽤Υե˥ݡȤ
4. оݥ⥸塼Υƥץ졼ȤʲͤԽ
[/xlang:ja]


original:
[code]
<div style="text-align: center; padding: 3px; margin:3px;">
  <{$commentsnav}>
  <{$lang_notice}>
</div>

<div style="margin:3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
  <{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
  <{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
  <{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>
[/code]

modified:
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="id" subject=$title}>
[/code]


[b]mydownloads[/b]
mydownloads_singlefile.html
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="lid" subject=$file.title|regex_replace:"/&nbsp;.*/":""}>
[/code]
mydownloads_download.html
[code]
<{d3forum_comment_topicscount dirname=d3forum forum_id=[i](number)[/i] link_id=$down.id}>
[/code]


[b]myAlbum-P[/b]
myalbum_photo.html
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="lid" subject=$photo.title}>
[/code]
[code]
<{d3forum_comment_topicscount dirname=d3forum forum_id=[i](number)[/i] link_id=$photo.lid}>
[/code]
myalbum_photo_in_list.html
[code]
<{d3forum_comment_topicscount dirname=d3forum forum_id=[i](number)[/i] link_id=$photo.lid}>
[/code]


[b]bulletin2[/b]
{dirname}_article.html
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="storyid" subject=$story.title}>
[/code]
{dirname}_item.html (instead of <{$story.comentstotal}>)
[code]
Comments(<{d3forum_comment_topicscount dirname=d3forum forum_id=[i](number)[/i] link_id=$story.id}>)
[/code]


[b]xoopspoll[/b]
xoopspoll_results.html
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="poll_id" subject=$poll.question}>
[/code]


[b]TinyD[/b]
tinycontent*_index.html
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="id" subject=$xoops_pagetitle}>
[/code]


[b]PukiWikiMod[/b]
tinycontent*_index.html
[code]
<{d3forum_comment dirname=d3forum forum_id=[i](number)[/i] itemname="pgid" subject=$xoops_pagetitle}>
[/code]


