<?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 Topic: links longer than page width!</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: links longer than page width!</description>
<language>en</language>
<pubDate>Thu, 24 Jul 2008 05:14:27 +0000</pubDate>

<item>
<title>_ck_ on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16134</link>
<pubDate>Mon, 12 May 2008 01:31:42 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">16134@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It would be easier to disable the auto-link entirely for a post when [code] is detected than to parse it out, if that will do. Somehow I missed the original question was scrolling on code, sorry about that but as you found it's very simple CSS.&#60;/p&#62;
&#60;p&#62;Disabling auto-link is something like: (untested)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;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_clickable_if_not_code&#38;#39;);
function make_clickable_if_not_code($text) {
if (strpos($text,&#38;#39;&#38;lt;code&#38;gt;&#38;#39;)===false) {return make_clickable($text);}
return $text;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>bobbyh on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16118</link>
<pubDate>Sat, 10 May 2008 09:29:10 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16118@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;joneywalker4u, to remove the hyperlinkification of URLs for text inside of code tags, you could write a plugin that removes the filter that hyperlinkifies URLs for the entire post, and then create a new filter that splits the post into strings-enclosed-by-code-tags and strings-not-enclosed-by-code-tags, apply the filter that hyperlinkifies URLs to the strings-not-enclosed-by-code-tags, and then glue the strings together.&#60;/p&#62;
&#60;p&#62;This is totally doable, but it seems like a lot of work, which is why I suggested the CSS approach...
&#60;/p&#62;</description>
</item>
<item>
<title>joneywalker4u on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16111</link>
<pubDate>Sat, 10 May 2008 06:39:09 +0000</pubDate>
<dc:creator>joneywalker4u</dc:creator>
<guid isPermaLink="false">16111@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I don't want my text that i enter between [code][/code] to be trated as hyperlink even if it is. What @bobbyh say will only change the formatting but not remove hyperlink.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16103</link>
<pubDate>Fri, 09 May 2008 21:10:12 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16103@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Can you just use CSS to style links so they look just like your text.? If so, something like this might work (obviously modify this as appropriate for your theme):&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.post code a, .post code a:link, .post code a:visited {&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;color: #9c0;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;text-decoration: none;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;font-size: 8pt;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;font: 0.9em Monaco, &#38;quot;Andale Mono&#38;quot;,&#38;quot;Courier New&#38;quot;, Courier, mono;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;color: #000;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;}&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>joneywalker4u on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16091</link>
<pubDate>Fri, 09 May 2008 09:14:28 +0000</pubDate>
<dc:creator>joneywalker4u</dc:creator>
<guid isPermaLink="false">16091@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Got it somewhat.&#60;br /&#62;
Edit style.css file in themes and enter&#60;/p&#62;
&#60;p&#62;1)To align text both sides&#60;br /&#62;
&#60;code&#62;.post {text-align: justify;}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;2)To prevent overflow&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.post code {
	overflow: auto;
	display: block;
	height: auto;
	max-height: 200px;
	white-space: normal;
	padding-top: 5px;
	padding-bottom: 5px;
	font: 0.9em Monaco, &#38;quot;Andale Mono&#38;quot;,&#38;quot;Courier New&#38;quot;, Courier, mono;
	line-height: 1.3em;
	background: #ffffff;
	margin: 2px 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Sill one more thing - how to remove hyperlink in the text entered. That is why &#60;code&#62;&#38;lt;a href=&#38;quot;&#60;/code&#62; etc gets added to text I enter between code tag.
&#60;/p&#62;</description>
</item>
<item>
<title>joneywalker4u on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16089</link>
<pubDate>Fri, 09 May 2008 08:31:40 +0000</pubDate>
<dc:creator>joneywalker4u</dc:creator>
<guid isPermaLink="false">16089@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is not what I meant, haven't you seen phpbb3 that sort of thing, scrollbar only under [code][/code] and hyper links are not active in that box.&#60;/p&#62;
&#60;p&#62;please people suggest.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16088</link>
<pubDate>Fri, 09 May 2008 06:58:32 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">16088@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;WP-Chunk ported to bbPress, inserts a break into long links so they wrap:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/forums/topic/limit-long-words#post-9648&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/limit-long-words#post-9648&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16087</link>
<pubDate>Fri, 09 May 2008 06:42:18 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16087@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;try this then:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.post code {overflow:scroll;}&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>joneywalker4u on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16086</link>
<pubDate>Fri, 09 May 2008 06:31:50 +0000</pubDate>
<dc:creator>joneywalker4u</dc:creator>
<guid isPermaLink="false">16086@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks man but it changes whole post and a scroll appears, but in RSS feeds it doesnot.&#60;/p&#62;
&#60;p&#62;I require scroll only to appear where I have entered text in between backtricks and not in the whole post.&#60;/p&#62;
&#60;p&#62;Besides overflow firefox displays the links in one line but IE7 breaks it into more than one line, why is that?
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16081</link>
<pubDate>Fri, 09 May 2008 04:06:29 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16081@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Change the attribute for overflow of the relevant class to like:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.post {overflow:scroll;}&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>joneywalker4u on "links longer than page width!"</title>
<link>http://bbpress.org/forums/topic/links-longer-than-page-width#post-16080</link>
<pubDate>Fri, 09 May 2008 03:28:04 +0000</pubDate>
<dc:creator>joneywalker4u</dc:creator>
<guid isPermaLink="false">16080@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi, installed newer version of bbpress 0.9.2.&#60;br /&#62;
Problem: text entered between backtricks`treated as code. Width is larger than page width. look here&#60;/p&#62;
&#60;p&#62;&#60;code&#62;[url=http://img140.imageshack.us/my.php?image=88594514gy3.jpg][img=http://img140.imageshack.us/img140/6366/88594514gy3.th.jpg][/url]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;There should be a scrollbar for the purpose of restricting width and hyper links shouldn't be active. How can I do that?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
