<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - 표지에 보호글도 출력하려면...]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=6439</link>
		<description><![CDATA[표지에 보호글도 출력하려면... 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Thu, 21 Aug 2008 05:42:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: 표지에 보호글도 출력하려면...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=29818#p29818</link>
			<description><![CDATA[<p>험; 안되네요.<br />if($entry[&#039;visibility&#039;] &gt; 1)<br />를 인식 못 하는 듯. 무조건 내용에 &#039;보호된 글입니다&#039;가 출력되네요. orz</p>]]></description>
			<author><![CDATA[null@example.com (oopsmax)]]></author>
			<pubDate>Thu, 21 Aug 2008 05:42:20 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=29818#p29818</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 표지에 보호글도 출력하려면...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=29815#p29815</link>
			<description><![CDATA[<p>엇. 네. 해볼게요.<br />감사합니다. ^ _^</p>]]></description>
			<author><![CDATA[null@example.com (oopsmax)]]></author>
			<pubDate>Thu, 21 Aug 2008 04:19:09 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=29815#p29815</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 표지에 보호글도 출력하려면...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=29799#p29799</link>
			<description><![CDATA[<p>플러그인 자체를 좀 수정해야 되겠네요. 기본으로 들어있는 /MT_Meta_RecentPS_Default 플러그인을 기준으로 하겠습니다.</p><div class="quotebox"><blockquote><p>48&nbsp; &nbsp; &nbsp;if((misc::isMetaBlog() == true) &amp;&amp; doesHaveOwnership() &amp;&amp; $service[&#039;type&#039;] != &#039;single&#039;) {<br />&nbsp; &nbsp; 49&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$visibility = &#039;AND e.visibility &gt; 1 AND (c.visibility &gt; 1 OR e.category = 0)&#039;;<br />&nbsp; &nbsp; 50&nbsp; &nbsp; &nbsp;} else {<br />&nbsp; &nbsp; 51&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$visibility = doesHaveOwnership() ? &#039;&#039; : &#039;AND e.visibility &gt; 1 AND (c.visibility &gt; 1 OR e.category = 0)&#039;;<br />&nbsp; &nbsp; 52&nbsp; &nbsp; &nbsp;}</p></blockquote></div><p>에서 e.visibility &gt; 1 을 모두 e.visibility &gt; 0 으로 바꾸면 보호글이 포함되어서 표지에 출력됩니다.</p><p>보호글의 경우 제목만 나오게 하려면<br /></p><div class="quotebox"><blockquote><p>94&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &lt;div class=&quot;content_box&quot;&gt;&#039;;<br />&nbsp; &nbsp; 95&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;h2&gt;&lt;a href=&quot;&#039;.$permalink.&#039;&quot;&gt;&#039;.htmlspecialchars($entry[&#039;title&#039;]).&#039;&lt;/a&gt;&lt;/h2&gt;&#039;.CRLF;<br />&nbsp; &nbsp; 96&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;div class=&quot;post_info&quot;&gt;&#039;.CRLF;<br />&nbsp; &nbsp; 97&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;category&quot;&gt;&lt;a href=&quot;&#039;.htmlspecialchars($entry[&#039;link&#039;]).&#039;&quot;&gt;&#039;.htmlspecialch&nbsp; &nbsp; &nbsp; &nbsp;ars($entry[&#039;label&#039;]).&#039;&lt;/a&gt;&lt;/span&gt;&#039;.CRLF;<br />&nbsp; &nbsp; 98&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;date&quot;&gt;&#039;.Timestamp::format5($entry[&#039;published&#039;]).&#039;&lt;/span&gt;&#039;.CRLF;<br />&nbsp; &nbsp; 99&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;author&quot;&gt;&lt;span class=&quot;preposition&quot;&gt;by &lt;/span&gt;&#039;.User::getName($entry[&#039;user&nbsp; &nbsp; &nbsp; &nbsp;id&#039;]).&#039;&lt;/span&gt;&#039;.CRLF;<br />&nbsp; &nbsp;100&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;/div&gt;&#039;.CRLF;<br />&nbsp; &nbsp;101&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;div class=&quot;post_content&quot;&gt;&#039;.htmlspecialchars(UTF8::lessenAsEm(removeAllTags(stripHTML($en&nbsp; &nbsp; &nbsp; &nbsp;try[&#039;content&#039;])),250)).&#039;&lt;/div&gt;&#039;.CRLF;<br />&nbsp; &nbsp;102&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .=&nbsp; &nbsp; &nbsp; &nbsp; $tagLabelView;<br />&nbsp; &nbsp;103&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;&#039;.CRLF;<br />&nbsp; &nbsp;104&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &lt;/div&gt;&#039;;</p></blockquote></div><p>의 코드에서, 101번째 줄을 이렇게 고치면 되겠습니다.<br /></p><div class="quotebox"><blockquote><p>101&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if($entry[&#039;visibility&#039;] &gt; 1) {<br />&nbsp; &nbsp;101&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;div class=&quot;post_content&quot;&gt;&#039;.htmlspecialchars(UTF8::lessenAsEm(removeAllTags(stripHTML($en&nbsp; &nbsp; &nbsp; &nbsp;try[&#039;content&#039;])),250)).&#039;&lt;/div&gt;&#039;.CRLF;<br />&nbsp; &nbsp;101&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} else {<br />&nbsp; &nbsp;101&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$html .= &#039;&nbsp; &nbsp; &nbsp; &lt;div class=&quot;post_content&quot;&gt;&#039;._text(&#039;보호된 글입니다&#039;).&#039;&lt;/div&gt;&#039;.CRLF;<br />&nbsp; &nbsp;101&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p></blockquote></div><p>로 고치면 원하는 결과를 얻을 수 있을 겁니다.^^</p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Wed, 20 Aug 2008 13:18:42 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=29799#p29799</guid>
		</item>
		<item>
			<title><![CDATA[표지에 보호글도 출력하려면...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=29774#p29774</link>
			<description><![CDATA[<p>표지에도 보호글이 출력되게끔 하고 싶습니다.</p><p>표지를 사용하려고 하는데, 보호글을 봐야할 사람들도 못 보고 지나칠 것 같아서요. orz<br />그러니까. 보호글이 올라왔다는 사실을 알 수 있게 하고 싶습니다. 내용은 물론 보호돼야 하겠지만.</p><p>Textcube 1.6.3 : Tenuto 사용 중입니다.<br />표지 메타 스킨에서 $visibility 의 숫자를 변경하니 내용까지 출력돼버리네요.<br />보호글은 제목만 나오고 내용 대신 보호글 안내 문구가 출력되었으면 하는데요.</p>]]></description>
			<author><![CDATA[null@example.com (oopsmax)]]></author>
			<pubDate>Tue, 19 Aug 2008 07:53:15 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=29774#p29774</guid>
		</item>
	</channel>
</rss>
