<?xml version="1.0" encoding="UTF-8"?><!-- 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 support forums User Favorites: Beaver6813</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums User Favorites: Beaver6813</description>
<language>en</language>
<pubDate>Thu, 04 Dec 2008 06:37:25 +0000</pubDate>

<item>
<title>ganzua on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-10191</link>
<pubDate>Wed, 15 Aug 2007 15:37:30 +0000</pubDate>
<dc:creator>ganzua</dc:creator>
<guid isPermaLink="false">10191@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Whenever I try to activate this plugin I get this error message; &#60;/p&#62;
&#60;p&#62;Plugin could not be activated; it produced a Fatal Error.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-10121</link>
<pubDate>Fri, 10 Aug 2007 21:44:07 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10121@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Actually, seems to have flaky behavior unless you remove this line:&#60;/p&#62;
&#60;p&#62;remove_filter('post_text', 'make_clickable');&#60;/p&#62;
&#60;p&#62;Seems to work pretty well otherwise.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-10120</link>
<pubDate>Fri, 10 Aug 2007 21:30:47 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">10120@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Here you are... ported from wp-chunk (literally only had to change the filter names)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: bb-chunk
Description: Shortens the display of urls so they won&#38;#39;t break your site theme. Ported from wp-chunk 2.0 ( &#60;a href=&#34;http://www.village-idiot.org/archives/2006/06/29/wp-chunk/&#34; rel=&#34;nofollow&#34;&#62;http://www.village-idiot.org/archives/2006/06/29/wp-chunk/&#60;/a&#62; )
Author: The How-To Geek
Author URI: &#60;a href=&#34;http://www.howtogeek.com&#34; rel=&#34;nofollow&#34;&#62;http://www.howtogeek.com&#60;/a&#62;
Version: 0.1
*/

function make_chunky($ret)
{

	// pad it with a space
	$ret = &#38;#39; &#38;#39; . $ret;
	$ret = preg_replace(&#38;quot;#(^&#124;[\n ])([\w]+?://[\w\#$%&#38;#38;~/.\-;:=,?@\[\]+]*)#is&#38;quot;, &#38;quot;$1&#38;lt;a href=&#38;#39;$2&#38;#39; rel=&#38;#39;nofollow&#38;#39;&#38;gt;$2&#38;lt;/a&#38;gt;&#38;quot;, $ret);
	$ret = preg_replace(&#38;quot;#(^&#124;[\n ])((www&#124;ftp)\.[\w\#$%&#38;#38;~/.\-;:=,?@\[\]+]*)#is&#38;quot;, &#38;quot;$1&#38;lt;a href=&#38;#39;http://$2&#38;#39; rel=&#38;#39;nofollow&#38;#39;&#38;gt;$2&#38;lt;/a&#38;gt;&#38;quot;, $ret);
	//chunk those long urls
	chunk_url($ret);
	$ret = preg_replace(&#38;quot;#(\s)([a-z0-9\-_.]+)@([^,&#38;lt; \n\r]+)#i&#38;quot;, &#38;quot;$1&#38;lt;a href=\&#38;quot;mailto:$2@$3\&#38;quot;&#38;gt;$2@$3&#38;lt;/a&#38;gt;&#38;quot;, $ret);
	// Remove our padding..
	$ret = substr($ret, 1);
	return($ret);
}

function chunk_url(&#38;#38;$ret)
{

   $links = explode(&#38;#39;&#38;lt;a&#38;#39;, $ret);
   $countlinks = count($links);
   for ($i = 0; $i &#38;lt; $countlinks; $i++)
   {
      $link = $links[$i];

      $link = (preg_match(&#38;#39;#(.*)(href=&#38;quot;)#is&#38;#39;, $link)) ? &#38;#39;&#38;lt;a&#38;#39; . $link : $link;

      $begin = strpos($link, &#38;#39;&#38;gt;&#38;#39;) + 1;
      $end = strpos($link, &#38;#39;&#38;lt;&#38;#39;, $begin);
      $length = $end - $begin;
      $urlname = substr($link, $begin, $length);

      /**
       * We chunk urls that are longer than 50 characters. Just change
       * &#38;#39;50&#38;#39; to a value that suits your taste. We are not chunking the link
       * text unless if begins with &#38;#39;http://&#38;#39;, &#38;#39;ftp://&#38;#39;, or &#38;#39;www.&#38;#39;
       */
	$chunked = (strlen($urlname) &#38;gt; 50 &#38;#38;&#38;#38; preg_match(&#38;#39;#^(http://&#124;ftp://&#124;www\.)#is&#38;#39;, $urlname)) ? substr_replace($urlname, &#38;#39;.....&#38;#39;, 30, -10) : $urlname;
	$ret = str_replace(&#38;#39;&#38;gt;&#38;#39; . $urlname . &#38;#39;&#38;lt;&#38;#39;, &#38;#39;&#38;gt;&#38;#39; . $chunked . &#38;#39;&#38;lt;&#38;#39;, $ret); 

   }
} 

remove_filter(&#38;#39;post_text&#38;#39;, &#38;#39;make_clickable&#38;#39;);
add_filter(&#38;#39;post_text&#38;#39;, &#38;#39;make_chunky&#38;#39;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>_ck_ on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9648</link>
<pubDate>Tue, 31 Jul 2007 08:34:51 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9648@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Don't re-invent the wheel. &#60;a href=&#34;http://www.village-idiot.org/archives/2006/06/29/wp-chunk/&#34;&#62;WP-Chunk&#60;/a&#62;&#60;br /&#62;
or Sam Ingle's Link Truncator for Wordpress can be hacked to support bbpress in under 5 minutes. There are probably others too.
&#60;/p&#62;</description>
</item>
<item>
<title>Beaver6813 on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9647</link>
<pubDate>Tue, 31 Jul 2007 07:35:20 +0000</pubDate>
<dc:creator>Beaver6813</dc:creator>
<guid isPermaLink="false">9647@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ahhh that auto worked a treat ;-) I've used the break-word as well for IE so it doesn't even need to scroll when words are too long, in FF it just scrolls. Although a plugin to shorten long url's words etc might be quite cool, like:&#60;br /&#62;
&#60;a href=&#34;http://www.ilovebbpress.com/bla/blab/blalblba/indexnop/123&#34; rel=&#34;nofollow&#34;&#62;http://www.ilovebbpress.com/bla/blab/blalblba/indexnop/123&#60;/a&#62;&#60;br /&#62;
to&#60;br /&#62;
&#60;a href=&#34;http://www.ilovebbpress.com/bla.../123&#34; rel=&#34;nofollow&#34;&#62;http://www.ilovebbpress.com/bla.../123&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If I get time next week I might make one... but don't quote me on that :-P&#60;/p&#62;
&#60;p&#62;Thanks guys for the help!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9640</link>
<pubDate>Tue, 31 Jul 2007 04:58:19 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9640@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Are you interested in a plugin that will force spaces into long urls?
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9627</link>
<pubDate>Mon, 30 Jul 2007 23:38:55 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9627@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;oh right, auto...   duh!  (slaps forehead)
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9622</link>
<pubDate>Mon, 30 Jul 2007 22:22:33 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">9622@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You want&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.post { overflow: auto; }&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;which isn't actually the automatic setting - but it's the one that automatically adds a scrollbar if the post is too wide. Like multiline code here, it'll add the scrollbar only if needed. Also handy for images.&#60;/p&#62;
&#60;p&#62;And lol at everyone suggesting something else. :P
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9617</link>
<pubDate>Mon, 30 Jul 2007 21:04:59 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">9617@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It sounds like you're looking for something like the proprietary word-wrap CSS property which works in IE browsers only, as far as I know.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.post {word-wrap: break-word; }&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9613</link>
<pubDate>Mon, 30 Jul 2007 20:22:52 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9613@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You could try this:&#60;/p&#62;
&#60;p&#62;.post {overflow: scroll; }&#60;/p&#62;
&#60;p&#62;Should scroll the extra content... I think that's what they are doing here, or something like that.
&#60;/p&#62;</description>
</item>
<item>
<title>Beaver6813 on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9612</link>
<pubDate>Mon, 30 Jul 2007 20:01:41 +0000</pubDate>
<dc:creator>Beaver6813</dc:creator>
<guid isPermaLink="false">9612@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yes but that won't wrap the word down or shorten it, it'll just cut it off... any other solutions?
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9610</link>
<pubDate>Mon, 30 Jul 2007 19:49:12 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">9610@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yeah, the easy fix for this is adding:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.post {overflow: hidden; }&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Beaver6813 on "Limit long words"</title>
<link>http://bbpress.org/forums/topic/limit-long-words#post-9608</link>
<pubDate>Mon, 30 Jul 2007 19:40:07 +0000</pubDate>
<dc:creator>Beaver6813</dc:creator>
<guid isPermaLink="false">9608@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hey Guys,&#60;/p&#62;
&#60;p&#62;We're currently having some problems with longish words flowing out of the design, all normal words get text wrapped when they reach the end however long url's or lines don't, any ideas how to resolve?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.bblocked.org/forums/topic/10?replies=2&#34; rel=&#34;nofollow&#34;&#62;http://www.bblocked.org/forums/topic/10?replies=2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;An example can be seen there, that url would even go into the background if i hadn't shortened it, any ideas guys?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
