<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[유튜브 삽입시 에디터 오류가 있습니다.]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/43421</link>
		<description><![CDATA[<p>워드프레스 케이보드 게시판 사용중입니다. </p>

<p>게시판글 작성시 본문에 링크를 삽입하거나, 유튜브 동영상 링크를 삽입하면 </p>

<p>"&gt;</p>

<p>본문에 위 문자가 포함되서 나옵니다.</p>

<p><a href="https://imgur.com/a/OTpxtjX" target="_blank">https://imgur.com/a/OTpxtjX</a></p>

<p>사진 첨부 합니다. 어떻게 해결할 수 있을까요?</p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[안녕하세요.

업데이트를 할 수 없는 상황이시라면

FTP로 접속해서 /wp-content/plugins/kboard/helper...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/43504</link>
			<description><![CDATA[<p>안녕하세요.</p>

<p>업데이트를 할 수 없는 상황이시라면</p>

<p>FTP로 접속해서 /wp-content/plugins/kboard/helper/Functions.helper.php 파일에</p>

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

<pre>
<code class="language-php">/**
 * 유튜브, 비메오 동영상 URL을 iframe 코드로 변환한다.
 * @param string $content
 * @return mixed
 */
function kboard_video_url_to_iframe($content){
	// 유튜브
	$content = preg_replace("/\s*[a-zA-Z\/\/:\.]*youtube.com\/watch\?v=([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&amp;\;\%\=\.]*)/i", '&lt;iframe src="https://www.youtube.com/embed/$1" width="560" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;', $content);
	
	// 비메오
	$content = preg_replace("/\s*[a-zA-Z\/\/:\.]*vimeo.com\/(\d+)/i", '&lt;iframe src="https://player.vimeo.com/video/$1" width="560" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;', $content);
	
	return $content;
}</code></pre>

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

<pre>
<code class="language-php">/**
 * 유튜브, 비메오 동영상 URL을 iframe 코드로 변환한다.
 * @param string $content
 * @return mixed
 */
function kboard_video_url_to_iframe($content){
	// 유튜브
	$content = preg_replace('/&lt;a(.*)href=\"[a-zA-Z\/\/:\.]*youtube.com\/watch\?v=([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&amp;\;\%\=\.]*)"&gt;(.*)&lt;\/a&gt;/i', 'https://youtube.com/watch?v=$2', $content);
	$content = preg_replace("/\s*[a-zA-Z\/\/:\.]*youtube.com\/watch\?v=([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&amp;\;\%\=\.]*)/i", '&lt;iframe src="https://www.youtube.com/embed/$1" width="560" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;', $content);
	
	// 비메오
	$content = preg_replace('/&lt;a(.*)href=\"[a-zA-Z\/\/:\.]*vimeo.com\/(\d+)"&gt;(.*)&lt;\/a&gt;/i', 'https://vimeo.com/$2', $content);
	$content = preg_replace("/\s*[a-zA-Z\/\/:\.]*vimeo.com\/(\d+)/i", '&lt;iframe src="https://player.vimeo.com/video/$1" width="560" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;', $content);
	
	return $content;
}</code></pre>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Thu, 21 May 2020 05:04:42 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[지금 수정한 부분이 꽤 있어서 업데이트하긴 위험부담이 큰데 다른 해결 방법 없을까요?
현재 운영중이...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/43502</link>
			<description><![CDATA[<p>지금 수정한 부분이 꽤 있어서 업데이트하긴 위험부담이 큰데 다른 해결 방법 없을까요?<br />
현재 운영중이라 그렇습니다.</p>]]></description>
			<author>준수하다</author>
			<pubDate>Thu, 21 May 2020 04:54:44 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

사용 중이신 KBoard 플러그인의 버전이 어떻게 되시는지요?

현재 공식적인 KBoard 플러...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/43425</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>사용 중이신 KBoard 플러그인의 버전이 어떻게 되시는지요?</p>

<p>현재 공식적인 KBoard 플러그인 최신 버전은 5.6 버전입니다.</p>

<p>최신 버전이 아니라면 업데이트 부탁드립니다.</p>

<p>업데이트 방법은 아래의 링크를 참고해보세요.</p>

<p><a href="https://blog.naver.com/PostView.nhn?blogId=chan2rrj&amp;logNo=221215008402" target="_blank">KBoard(케이보드) 플러그인 업데이트 방법</a></p>

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