myalbum with d3comment easy integration
outline
I have used myalbum-P module with comment integration, but we have to edit templates and edit "d3forum_dirname" & "forum_id" site by site, so I tried to edit myalbumP-ver2.88 for better administration.
- D3-comment integration class was also edited to the one distributed by photosite.
- The integrated d3forum-directory & forum_id value are saved in config table in DB by editting in module administration screen, that's implemented as
d3blog d3pipes module's integration.
D3-comment integration class is the new version ,merged after d3forum-0.83a, which is called as "d3comment" procedure. The "forum-id" value will be realized in D3-comment integration class , so we don't have to edit it any more.
procedure
You have to edit "xoops_version.php", "language/(your_lang)/modinfo.php", D3coment calss files and some template files.
For Easier way, different (to myalbumP-ver2.88) files pack is available for you. After extracted overwrite the files.
Notice: Added configlation words are edited in english. If your language is neither Japanese nor English, please edit your language file as you like.
installation and settings
On the module administration screen , please update your myalbum-P module. Then, you will find new setting items "Comment integration directory" & "d3forum_id" on the myalbum-P module administration screen.
- Before setting, of course you have to make a new forum for integration. And write in the "Format for comment-integration" box as
myalbum::myalbumD3commentContent::
The first "myalbum" will be changed as your installed module directory.
- "Comment integration directory" on myalbum-P preferences
When you use D3-comment integration system,write your d3forum (html) directory. If you don't use comments or use xoops comment system, leave this in empty.
- "d3forum_id"
When you set above integration diredtory, write forum_id value.
It is finish. Before avove settings, xoops original comment system is enabled.
licenses
- myalbum-P, d3forum source -->GPL
実体ファイル:inc/e/myalbum_d3com
関連記事: