[mlimg]
[xlang:en]

HOW TO INSTALL:

- Unzip in "modules" directory.
- Configure this module in admin section.
- Check module environment in the photo album admin section.
- Create a Categories in the photo album admin section.
- If you didnot set, chmod 777 your xoops uploads directory.
- If your server runs "safe_mode on", create photos & thumbs directory manually.
- Start uploading photos! :)




HOW TO UPGRADE (from older myAlbum-P or myAlbum 1.1.3):
- Unzip in "modules" directory.
- Update this module in module administration.
- Set photos/thumbs directories properly in myAlbum-P's admin.
  (If you used daniel's myalbum, photos directory may be /modules/myalbum/photos and thumbnails directory may be /modules/myalbum/photos/thumbs)
- chmod 777 (or 707) photos and photos/thumbs directories (if needed)
- If you used custom template set, remake myalbum_photo.html and myalbum_photo_in_list.html

Don't forget updating this module !

Since some permissioning system has been changed, you should recheck each group's permissions from "Global Permissions" in myAlbum-P's admin, after updating this module.






HOW TO use myAlbum-P multiply

copy the directory of modules/myalbum/ into modules/myalbum* entirely.
(Symbolic linking will not be useful. Because __FILE__ returns true file path.)

The directory names are usable like this:

myalbum0
myalbum1
myalbum2

Thus, you can use 4 of myAlbum-P at same time.
If you want to use more myAlbum-P's as separated modules, use mk_templates.sh and mk_slogo.sh, and edit sql/myalbum*.sql manually.

The important notice: the 1st one should not be older than 2.7.
If you've already use myAlbum-P 2.6x or older, update it at first.



HOW TO use imagemanager integration:

There are two ways to integrate XOOPS imagemanager.

1) overwrite imagemanager.php by modules/myalbum/imagemanager.php
This is the easiest way, but is not smart.

2) add a line into original imagemanager.php like this:
line 28:
---------------------------------------------------
include './mainfile.php';
include 'modules/myalbum/imagemanager.php';  // add this line
if (!isset($HTTP_GET_VARS['target']) && !isset($HTTP_POST_VARS['target'])) {
	exit();
}
---------------------------------------------------
Though this way is a little bit more difficult than overwriting method,
you can turn on/off myalbum's hook easily.

When you use myAlbum-P with multiple, you can specify the module like this:

include 'modules/myalbum0/imagemanager.php';  // add this line

If you want to use ImageManager Integration as Simplified Attachment Manager, change the preferences of myAlbum-P.

eg) If you want to upload and attach PDFs via ImageManager:
- Enable ImageManager Integration like described above.
- set 'jpg|jpeg|gif|png|pdf' in "File extensions can be uploaded"
- set blank as "MIME Types can be uploaded"





enjoy!


GIJ=CHECKMATE



[/xlang:en]
[xlang:ja]

󥹥ȡˡ

- ֤򡢤ȤXOOPSmodulesǥ쥯ȥŸƲ

- ⥸塼̤顢󥹥ȡ뤷ޤ

- ֥ޥХפΥƥ꡼ˤơ㣱ġƥ꡼Ʋ

- ɬפ˱ơ֥ޥХΰѹƲۤȤɤξ硢֥ͥפONˤΤɤǤ礦

- ֳƥ롼פθ¡פӡ֥֥å¡פǡƥ롼פŬڤʸ¤ͿƲʽ֤Ǥϡ԰ʳۤȤɲǤޤ

- ŪˤϤǽλǤȤϡ̿򥢥åץɤǤ̿ϡuploads/photos/ ˡͥ uploads/thumbs/ ¸ޤΥǥ쥯ȥϼưޤ

- ⤷ȤΥФե⡼ɤʤ顢ư餺ʬ uploads/photos/  uploads/thumbs ɬפޤξ硢Υǥ쥯ȥΥѡߥå707ޤ777ѹ뤳Ȥ˺̵

- ֥ޥХפΡ֥⥸塼ξ֥åפ¹Ԥ뤳ȤǡܤݡȤޤѤʡȻפä顢ޤϤ򤪻



åץ졼ˡ (myalbum桼)

- modules/myalbum ǥ쥯ȥˡmyAlbum-Pե񤭤Ʋκݡmodules/myalbum/photos ʲˤϿʤ褦ˤƲ

- ⥸塼̤顢⥸塼륢åץǡȤ¹ԤƲ

- ֥ޥХΰꡢӥͥ¸ǥ쥯ȥ򤽤줾졢 /modules/myalbum/photos , /modules/myalbum/photos/thumbs ꤷƲ

- ֳƥ롼פθ¡פӡ֥֥å¡פǡƥ롼פŬڤʸ¤ͿƲʽ֤Ǥϡ԰ʳۤȤɲǤޤ

- ⤷ƥץ졼ȥåȤѤǤСmyalbum_photo.html  myalbum_photo_in_list.html myAlbum-P °Υƥץ졼Ȥ򻲹ͤ˽ľƲ



åץ졼ˡ (2.6myAlbum-P桼)

- modules/myalbum ǥ쥯ȥˡmyAlbum-Pե񤭤Ʋ

- ⥸塼̤顢⥸塼륢åץǡȤ¹ԤƲ

- 2.5myAlbum-PѤǡƥץ졼ȥåȤ򤴻ϡmyalbum_photo.html  myalbum_photo_in_list.html myAlbum-P °Υƥץ졼Ȥ򻲹ͤ˽ľƲ

- 2.6ʹߡ¥ƥबѤޤ餿ơֳƥ롼פθ¡פӡ֥֥å¡פǡƥ롼פŬڤʸ¤ͿƲʽ֤Ǥϡ԰ʳۤȤɲǤޤ




myAlbum-P ʤǤϤεǽˤĤƤβ

myAlbum-P ʣ

myAlbum-P ϡԡḁ̇̄⥸塼Ȥƥ󥹥ȡǽʤ褦ˤĤäƤޤʤΤ褦ʥ⥸塼ϡ¾TinyContent-Duplicatableޤ

̾ϡmodules/myalbum/ Ÿ⥸塼򡢤äꤽΤޤޡmodules/myalbum0 ˥ԡƤߤƲ

ȡ⥸塼̤ˡ⤦ĥƤϤǤmyAlbum-PƱǤ¦˿0Ƥޤ

̤̾ꡢΥ⥸塼򥤥󥹥ȡ뤹СĤmyAlbum-PΥ󥹥ȡ봰λǤ

ĴҤǡǣĤޤǡmyAlbum-P򥤥󥹥ȡǤޤ

ǥ쥯ȥ̾¤ꡢ

modules/myalbum
modules/myalbum0
modules/myalbum1
modules/myalbum2

ͭǤİʾ奤󥹥ȡ뤹뤳ȤϤ餯̵ȻפޤİʲǤ⤦ޤ󥹥ȡǤʤȤСǥ쥯ȥְ̾äƤǽǤ

ʤԤΤ˰񤤤Ƥޤԡ˥ܥå󥯤Ǥϡεǽͭˤʤޤ󡣤PHP__FILE__¤ˤΤǤ

ޤεǽϡ󥹥ȡ뤵줿myAlbum-P٤Ƥ2.7ʾǤɬפޤ2.6ȤäꤹȤʤޤΤǡդ



᡼ޥ͡絡ǽλȤ

myAlbum-P 2.6顢᡼ޥ͡絡ǽĤޤ
εǽONˤ뤳ȤǡͥμưХååץɤȤäǽ᡼ޥ͡ǤѲǽȤʤޤ

ޤ2.7ϡXOOPS°᡼ޥ͡ؤβݡȡݡȤǤ褦ˤʤäᡢΥ᡼ޥ͡λ񻺤Ѥ뤳Ȥ⡢XOOPS°᡼ޥ͡뤳ȤñˤǤޤ

εǽͭˤ뤿ˡʲΣĤˡޤӲ

1) myAlbum-P ° imagemanager.php XOOPS롼ȥѥˤ롢imagemanager.php ˾񤭤ޤ

ִñˡǤʣ⥸塼򥤥᡼ޥ͡ˤ뤳ȤϽޤ


2) XOOPS롼ȥѥˤ롢imagemanager.php ʲΤ褦˽񤭴ޤ
line 28:
---------------------------------------------------
include './mainfile.php';
include 'modules/myalbum/imagemanager.php';  // ΰԤɲ
if (!isset($HTTP_GET_VARS['target']) && !isset($HTTP_POST_VARS['target'])) {
	exit();
}
---------------------------------------------------

 1) ٤ƤäȤ񤷤ʤޤͥƤޤ
modules/myalbum/ Ȥʬ /modules/myalbum0 Ƚ񤭴ǡĤmyAlbum-PΤ⥤᡼ޥ͡ȤѲǽȤʤޤ


[/xlang:ja]
