diff --git a/modules/ncenterlite/lang/ko.php b/modules/ncenterlite/lang/ko.php
index 8cca540da..31984a1c6 100644
--- a/modules/ncenterlite/lang/ko.php
+++ b/modules/ncenterlite/lang/ko.php
@@ -29,13 +29,17 @@ $lang->ncenterlite_notify_settings = '알림 설정';
$lang->ncenterlite_userconfig_title = '%s님의 알림센터 설정';
$lang->ncenterlite_userconfig_about = '알림센터의 개인의 설정을 저장하도록 합니다.';
$lang->ncenterlite_comment_noti = '댓글 알림';
-$lang->ncenterlite_comment_noti_about = '내 게시물의 혹은 내 댓글에 댓글이 달릴경우 알림을 받습니다.';
+$lang->ncenterlite_comment_noti_about = '내 게시물에 댓글이 달릴경우 알림을 받습니다.';
$lang->ncenterlite_mention_noti = '멘션 알림';
$lang->ncenterlite_mention_noti_about = '누군가 글, 혹은 댓글을 통해서 나를 멘션 했을 경우 알려줍니다. (멘션 방법 @닉네임 )';
$lang->ncenterlite_message_noti = '쪽지 알림';
$lang->ncenterlite_message_noti_about = '누군가에게 받은 쪽지를 알림을 받습니다.';
$lang->ncenterlite_comment_comment_noti = '대댓글 알림';
+$lang->ncenterlite_comment_comment_noti_about = '내 댓글에 댓글이 달릴경우 알림을 받습니다.';
$lang->ncenterlite_vote_noti = '추천 알림';
+$lang->ncenterlite_vote_noti_about = '내 게시글, 혹은 댓글이 추천을 받았을 때 알림을 받습니다.';
+$lang->ncenterlite_scrap_noti = '스크랩 알림';
+$lang->ncenterlite_scrap_noti_about = '누군가 내 게시글을 스크랩 했을 경우 알려줍니다.';
$lang->ncenterlite_activate = '사용';
$lang->ncenterlite_inactivate = '사용 안함';
$lang->ncenterlite_userconfig_about_warning = '주의! 당신은 관리자 권한으로 다른 사용자의 설정창에 접속하였습니다.';
diff --git a/modules/ncenterlite/ncenterlite.class.php b/modules/ncenterlite/ncenterlite.class.php
index 4323d207f..30a913325 100644
--- a/modules/ncenterlite/ncenterlite.class.php
+++ b/modules/ncenterlite/ncenterlite.class.php
@@ -110,6 +110,21 @@ class ncenterlite extends ModuleObject
return true;
}
+ if(!$oDB->isColumnExists('ncenterlite_user_set', 'comment_comment_notify'))
+ {
+ return true;
+ }
+
+ if(!$oDB->isColumnExists('ncenterlite_user_set', 'vote_notify'))
+ {
+ return true;
+ }
+
+ if(!$oDB->isColumnExists('ncenterlite_user_set', 'scrap_notify'))
+ {
+ return true;
+ }
+
// PK duplicate
if($oDB->isIndexExists('ncenterlite_notify', 'idx_notify'))
{
@@ -218,6 +233,20 @@ class ncenterlite extends ModuleObject
$oDB->dropIndex('ncenterlite_notify', 'idx_notify');
}
+ if(!$oDB->isColumnExists('ncenterlite_user_set','comment_comment_notify'))
+ {
+ $oDB->addColumn('ncenterlite_user_set', 'comment_comment_notify', 'char', 1, null, true);
+ }
+
+ if(!$oDB->isColumnExists('ncenterlite_user_set','vote_notify'))
+ {
+ $oDB->addColumn('ncenterlite_user_set', 'vote_notify', 'char', 1, null, true);
+ }
+
+ if(!$oDB->isColumnExists('ncenterlite_user_set','scrap_notify'))
+ {
+ $oDB->addColumn('ncenterlite_user_set', 'scrap_notify', 'char', 1, null, true);
+ }
$config = getModel('ncenterlite')->getConfig();
if(!$config)
diff --git a/modules/ncenterlite/ncenterlite.controller.php b/modules/ncenterlite/ncenterlite.controller.php
index 1bcafcf99..5d1bd0a3c 100644
--- a/modules/ncenterlite/ncenterlite.controller.php
+++ b/modules/ncenterlite/ncenterlite.controller.php
@@ -31,8 +31,11 @@ class ncenterliteController extends ncenterlite
$args = new stdClass();
$args->member_srl = $member_srl;
$args->comment_notify = $obj->comment_notify;
+ $args->comment_comment_notify = $obj->comment_comment_notify;
$args->mention_notify = $obj->mention_notify;
$args->message_notify = $obj->message_notify;
+ $args->vote_notify = $obj->vote_notify;
+ $args->scrap_notify = $obj->scrap_notify;
if(!$user_config->data)
{
diff --git a/modules/ncenterlite/queries/insertUserConfig.xml b/modules/ncenterlite/queries/insertUserConfig.xml
index c2bc581e3..e09cf6e03 100644
--- a/modules/ncenterlite/queries/insertUserConfig.xml
+++ b/modules/ncenterlite/queries/insertUserConfig.xml
@@ -5,7 +5,10 @@