<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[KBoard 댓글 첨부파일 특정 등급만 사용 문의]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/40667</link>
		<description><![CDATA[<p>수고하십니다.</p>

<p>혹시 KBoard 댓글에 첨부파일 올리는 기능 특정 등급의 회원만 보이도록 할 수 있나요?</p>

<p>감사합니다.</p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[감사합니다. ]]></title>
			<link>https://www.cosmosfarm.com/threads/document/40693</link>
			<description><![CDATA[<p>감사합니다. </p>]]></description>
			<author>Neonomadj</author>
			<pubDate>Tue, 04 Feb 2020 03:44:35 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

KBoard 플러그인 댓글 입력 시 사진, 첨부파일 필드를

특정 역할의 회원에게만 표시하...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/40676</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>KBoard 플러그인 댓글 입력 시 사진, 첨부파일 필드를</p>

<p>특정 역할의 회원에게만 표시하시려면 스킨 파일을 수정해주셔야 합니다.</p>

<p> </p>

<p>게시판 관리자 및 글쓴이(Author), 편집자(Editor) 역할 사용자에게만</p>

<p>표시하는 코드를 작성해봤습니다.</p>

<p> </p>

<p>FTP로 접속해서 /wp-content/plugins/kboard-comments/skin/사용중인스킨/list.php 파일에</p>

<p>아래의 코드를 찾아서</p>

<pre>
<code class="language-html">&lt;div class="comments-field field-image1"&gt;
	&lt;label class="comments-field-label" for="comment_image1_&lt;?php echo $content_uid?&gt;"&gt;사진&lt;/label&gt;
	&lt;input type="file" id="comment_image1_&lt;?php echo $content_uid?&gt;" name="comment_attach_image1" accept="image/*"&gt;
&lt;/div&gt;

&lt;div class="comments-field field-file1"&gt;
	&lt;label class="comments-field-label" for="comment_file1_&lt;?php echo $content_uid?&gt;"&gt;첨부파일&lt;/label&gt;
	&lt;input type="file" id="comment_file1_&lt;?php echo $content_uid?&gt;" name="comment_attach_file1"&gt;
&lt;/div&gt;</code></pre>

<p>아래의 코드로 교체해보시겠어요?</p>

<pre>
<code class="language-html">&lt;?php if($board-&gt;isAdmin() || in_array('editor', $user_roles) || in_array('author', $user_roles)):?&gt;
&lt;div class="comments-field field-image1"&gt;
	&lt;label class="comments-field-label" for="comment_image1_&lt;?php echo $content_uid?&gt;"&gt;사진&lt;/label&gt;
	&lt;input type="file" id="comment_image1_&lt;?php echo $content_uid?&gt;" name="comment_attach_image1" accept="image/*"&gt;
&lt;/div&gt;

&lt;div class="comments-field field-file1"&gt;
	&lt;label class="comments-field-label" for="comment_file1_&lt;?php echo $content_uid?&gt;"&gt;첨부파일&lt;/label&gt;
	&lt;input type="file" id="comment_file1_&lt;?php echo $content_uid?&gt;" name="comment_attach_file1"&gt;
&lt;/div&gt;
&lt;?php endif?&gt;</code></pre>

<p> </p>

<p>워드프레스 역할과 권한에 대한 자세한 내용은</p>

<p>아래의 링크를 참고해보세요.</p>

<p><a href="https://wordpress.org/support/article/roles-and-capabilities/" target="_blank">https://wordpress.org/support/article/roles-and-capabilities/</a></p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Tue, 04 Feb 2020 00:17:04 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>