<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Showcase User Favorites: Null</title>
<link>http://bbshowcase.org/forums/</link>
<description>bbPress Showcase User Favorites: Null</description>
<language>en</language>
<pubDate>Mon, 20 May 2013 01:42:21 +0000</pubDate>

<item>
<title>Null on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/3#post-1174</link>
<pubDate>Sun, 05 Apr 2009 15:10:09 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1174@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Ok I have some new code, but it aint working as intended:&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/m5e541754&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/m5e541754&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It returns 4 words and images aint displaying anymore...&#60;/p&#62;
&#60;p&#62;I am thinking of another solution. i am beginning to think shorten the post text is plain impossible....&#60;/p&#62;
&#60;p&#62;The new plan: is to add a new filter so only the stuff between the new tags &#38;lt;rm&#38;gt;textextxt&#38;lt;/rm&#38;gt; is shown on the blog page. But how can I auto add ... before the &#38;lt;/rm&#38;gt; and the read more link (so this should be done while filtering)? And how do I get bbpress normal posts to hide the &#38;lt;rm&#38;gt; tags when viewing a post and do nothing with them? Adding a filter &#38;lt;rm&#38;gt; to do just nothing wont work  I guess since it will interfere with the blog &#38;lt;rm&#38;gt;?
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/3#post-1159</link>
<pubDate>Wed, 01 Apr 2009 13:14:10 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1159@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;I think I am on to something, testing it right now, keep you posted!
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/3#post-1158</link>
<pubDate>Wed, 01 Apr 2009 02:27:47 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1158@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Hmmm yes that would be an option and then manually add the &#38;lt;/p&#38;gt; behind the ...&#60;/p&#62;
&#60;p&#62;Then there only will be a problem when the last word happens to be a hyperlink and the  isn't processed, but thats something I can live with.&#60;/p&#62;
&#60;p&#62;So, how would I remove the &#38;lt;/p&#38;gt;'s??&#60;/p&#62;
&#60;p&#62;Kind regards,
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1157</link>
<pubDate>Tue, 31 Mar 2009 17:46:34 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1157@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;You can use &#60;code&#62;strip_tags()&#60;/code&#62; to remove all html tags from text before you explode it but I assumed you want to display the text with the tags (like bold italics, etc) so you can't (easily) have it both ways.&#60;/p&#62;
&#60;p&#62;But it does occur to me you could just remove any ending &#60;code&#62;&#38;lt;/p&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1156</link>
<pubDate>Tue, 31 Mar 2009 16:03:13 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1156@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Is it possible the explode the text, but ignore the HTML tags bbPress supports? Perhaps that will fix all problems. I don't know if bbPress has defined the HTML tags somewhere, but that could be used to ignore just the HTML.&#60;/p&#62;
&#60;p&#62;Just a wild thought.... I have no idea how to do this though  &lt;img src="http://bbshowcase.org/forums/my-plugins/bb-smilies/default/icon_smile.gif" title=":)" class="bb_smilies" /&gt; 
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1152</link>
<pubDate>Mon, 30 Mar 2009 17:12:29 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1152@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;The count is likely going wrong because of html tags in the code that you can't see but it's counting as words.&#60;/p&#62;
&#60;p&#62;You'll need some kind of &#34;safety split&#34; that will cut outside of html tags which is very hard to do. That's why I suggested lines instead but even that will have some quirks.&#60;/p&#62;
&#60;p&#62;Splitting on paragraphs should be the best bet if we can make the code work for you and then if the text is too short you can keep adding paragraphs until it's long enough.
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1151</link>
<pubDate>Mon, 30 Mar 2009 16:17:50 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1151@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;No I don't manually add the &#38;lt;/p&#38;gt;, but I'll try your suggested code. I didn't know that every line is saved as &#38;lt;p&#38;gt;blabla&#38;lt;/p&#38;gt;. Technically it isn't per line but per break/paragraph.&#60;/p&#62;
&#60;p&#62;Checking it now...&#60;/p&#62;
&#60;p&#62;Nope aint working, well I'll post the whole code I have now, so you can save it and check it yourself. Perhaps thats easier. Just activate and go to the newly appeared blog tab. Choose a forum where you want to pull the topics from, enter how many posts you want to see and the number of words. Go to the front page and there a link appears to your blog (under the Views part). Ow yeah you also need to add some css (no alpha build, normal build only) The css to be added is at the bottom of the script.&#60;/p&#62;
&#60;p&#62;Also I see that sometimes it aint counting right. If I set it to 30 it goes ok, at 31 it goes wrong badly and will count 31 +1...&#60;/p&#62;
&#60;p&#62;The link:&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/m2b0d9923&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/m2b0d9923&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hope this helps, remember, I just started coding so it could be a bit messy  &lt;img src="http://bbshowcase.org/forums/my-plugins/bb-smilies/default/icon_smile.gif" title=":)" class="bb_smilies" /&gt; 
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1150</link>
<pubDate>Mon, 30 Mar 2009 15:46:44 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1150@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;You are adding the &#60;code&#62;&#38;lt;/p&#38;gt;&#60;/code&#62; before you apply the filter right?&#60;/p&#62;
&#60;p&#62;You might need to take a different approach and cut by LINES instead of words so that you don't truncate tags. Just a thought. &#60;/p&#62;
&#60;p&#62;The whole problem is that you are trying to cut text that already has html tags in it which is tricky.&#60;/p&#62;
&#60;p&#62;Another possibility would be to explode the text by ending p tags and simply use the first paragraph.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$text=explode(&#38;#39;&#38;lt;/p&#38;gt;&#38;#39;,$text);
echo $text[1].&#38;quot;...&#38;lt;/p&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Null on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1149</link>
<pubDate>Mon, 30 Mar 2009 14:03:08 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1149@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;No that doesn't change anything. It's just the filtered text that causes the problems. I have it running now whit out the dots and the problem still occurs.&#60;/p&#62;
&#60;p&#62;Very strange...
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Need help merging 2 functions"</title>
<link>http://bbshowcase.org/forums/topic/need-help-merging-2-functions/page/2#post-1148</link>
<pubDate>Mon, 30 Mar 2009 13:43:28 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1148@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Sorry I dont have the time to look at it right now.&#60;br /&#62;
Note that you can also use &#60;code&#62;&#38;amp;hellip;&#60;/code&#62; instead of three dots but I doubt that will solve anything.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
