<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[인사이드 상담 스킨에서 답변 무조건 이메일 발송]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/47785</link>
		<description><![CDATA[<p>안녕하세요, 현재 인사이드 상담 스킨에서</p>

<p>손님이 글을 올릴 때, 답변이 달리면 이메일로 받을지 여부를 체크하게 되어있는데요.</p>

<p>이 부분을 체크하지 않고 무조건 이메일로 발송하도록 할 수 있을까요?</p>

<p> </p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[항상 정말 감사드립니다...!!!

너무 잘됩니다....]]></title>
			<link>https://www.cosmosfarm.com/threads/document/47801</link>
			<description><![CDATA[<p>항상 정말 감사드립니다...!!!</p>

<p>너무 잘됩니다....</p>]]></description>
			<author>코비즈</author>
			<pubDate>Wed, 11 Nov 2020 01:03:47 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

KBoard 인사이드 상담 스킨에서 답변 등록시 이메일로 알림 받기 체크박스를 안보이게 ...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/47789</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>KBoard 인사이드 상담 스킨에서 답변 등록시 이메일로 알림 받기 체크박스를 안보이게 하고</p>

<p>게시글 작성 시 입력한 메일로 알림을 보내고 싶다는 말씀이신지요?</p>

<p> </p>

<p>아래의 코드를 활용해보시겠어요?</p>

<pre>
<code class="language-php">add_action('kboard_skin_editor_option', 'inside_ask_kboard_skin_editor_option', 10, 3);
function inside_ask_kboard_skin_editor_option($content, $board, $builder){}

add_action('kboard_document_insert', 'inside_ask_kboard_document_insert', 10, 4);
function inside_ask_kboard_document_insert($content_uid, $board_id, $content, $board){
	if($board_id == '1'){ //실제 게시판 id로 적용해주세요.
		$nonmember_email = isset($_POST['kboard_option_email']) ? sanitize_text_field($_POST['kboard_option_email']) : '';
		$nonmember_password = isset($_POST['password']) ? sanitize_text_field($_POST['password']) : '';
		
		if($nonmember_email &amp;&amp; $nonmember_password){
			$_SESSION['nonmember_list_search'][$board_id]['email'] = $nonmember_email;
			$_SESSION['nonmember_list_search'][$board_id]['password'] = $nonmember_password;
		}
		
		if($content-&gt;parent_uid){
			$parent = new KBContent();
			$parent-&gt;initWithUID($content-&gt;parent_uid);
			
			if($parent-&gt;option-&gt;email){
				$url = new KBUrl();
				$mail = kboard_mail();
				$mail-&gt;to = $parent-&gt;option-&gt;email;
				$mail-&gt;title = apply_filters('inside_ask_kboard_latest_alerts_subject', '문의사항에 답변이 달렸습니다.', $content);
				$mail-&gt;content = apply_filters('inside_ask_kboard_latest_alerts_message', $content-&gt;content, $content);
				$mail-&gt;url = $url-&gt;getDocumentRedirect($parent-&gt;uid);
				$mail-&gt;url_name = apply_filters('inside_ask_kboard_latest_alerts_button', '문의사항 확인하기', $content);
				$mail-&gt;send();
			}
		}
	}
}</code></pre>

<p>위의 코드에서 $board_id == '1' 부분은 실제 게시판 id로 적용해보세요.</p>

<p> </p>

<p>테마의 functions.php 파일에 코드를 추가하거나 <a href="https://ko.wordpress.org/plugins/code-snippets/" target="_blank">Code Snippets</a> 플러그인을 사용해서 코드를 추가할 수 있습니다.</p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Tue, 10 Nov 2020 06:59:16 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>