<?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: Guru06</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums User Favorites: Guru06</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 12:54:10 +0000</pubDate>

<item>
<title>TrishaM on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20625</link>
<pubDate>Tue, 11 Nov 2008 20:14:18 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">20625@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks _ck_ - I'll do as suggested.......&#60;/p&#62;
&#60;p&#62;P.S.  At cafepress.com you can design your own bumper sticker!  I've made a few of my own t-shirts that way.....perfect for when you know just what you want but can't find it anywhere.... :)
&#60;/p&#62;</description>
</item>
<item>
<title>lstelie on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20624</link>
<pubDate>Tue, 11 Nov 2008 20:01:35 +0000</pubDate>
<dc:creator>lstelie</dc:creator>
<guid isPermaLink="false">20624@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;em&#62;People who insist on perfect validation need to find more productive things to do with their time, there's alot of code out there that needs to be written! ;-)&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Good point :)
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20622</link>
<pubDate>Tue, 11 Nov 2008 19:33:47 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">20622@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;TrishaM, if you are using bb-tweaks.php you can just add the above code to the bottom of it and disable the target_blank filter. But it will work either way.&#60;/p&#62;
&#60;p&#62;lstelie, there is another problem with using javascript as it increases the amount of time before the page is ready. If you are going to throw in rel=&#34;external&#34; you might as well do target. (In fact, you don't even need rel=&#34;external&#34; as you can scan the domain for each link with javascript on the fly.) But I assure you that target will be supported in browsers ten years from now, maybe even twenty. People who insist on perfect validation need to find more productive things to do with their time, there's alot of code out there that needs to be written! ;-)  &#60;/p&#62;
&#60;p&#62;Throw off the shackles of validation!&#60;br /&#62;
(I need that as a bumper sticker)
&#60;/p&#62;</description>
</item>
<item>
<title>lstelie on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20621</link>
<pubDate>Tue, 11 Nov 2008 19:19:23 +0000</pubDate>
<dc:creator>lstelie</dc:creator>
<guid isPermaLink="false">20621@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I use for a pretty long time rel=&#34;external&#34; more compliant and this works well.&#60;/p&#62;
&#60;p&#62;The following bit of code is from&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.sitepoint.com/article/standards-compliant-world&#34; rel=&#34;nofollow&#34;&#62;http://www.sitepoint.com/article/standards-compliant-world&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName(&#38;quot;a&#38;quot;);
 for (var i=0; i&#38;lt;anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute(&#38;quot;href&#38;quot;) &#38;#38;&#38;#38;
       anchor.getAttribute(&#38;quot;rel&#38;quot;) == &#38;quot;external&#38;quot;)
     anchor.target = &#38;quot;_blank&#38;quot;;
 }
}
window.onload = externalLinks;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If JS is not activated ? well no external link but the site is prefectly working
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20620</link>
<pubDate>Tue, 11 Nov 2008 18:29:11 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">20620@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This worked perfectly!    I deactivated the bb_tweaks plugin so as to not cause any conflict (I think I only installed it for the target=&#34;_blank function) but in theory if I wanted to have it activated as well, I would just need to comment out the function for bb_target_blank, correct?&#60;/p&#62;
&#60;p&#62;Thanks so much for this!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20612</link>
<pubDate>Tue, 11 Nov 2008 14:01:38 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">20612@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Okay this one is testing working.&#60;br /&#62;
For anyone else that wants to use this, you have to replace the domain name by hand. It's hardcoded for speed, sorry.&#60;/p&#62;
&#60;p&#62;All other target=&#34;_blank&#34; plugins should be uninstalled. Any existing links with target=&#34;_blank&#34; will be left in place for performance since target is not added by bbPress by default.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: Target Nofollow External Only
Description:  append target=&#38;quot;_blank&#38;quot; and rel=&#38;quot;nofollow&#38;quot; only on external links
Plugin URI:
Author:  _ck_
Version: 0.0.1
*/

add_filter(&#38;#39;post_text&#38;#39;, &#38;#39;target_nofollow_external_only&#38;#39;,999);	// unfortunately we have to do this on every page load and not in pre_post

function target_nofollow_external_only( $text ) {
	$domain=&#38;quot;travel\-writers\-exchange\.com&#38;quot;;	// domain to exclude from target and nofollow
	$text = preg_replace(&#38;#39;&#124;&#38;lt;a (.*)rel=[\&#38;#39;&#38;quot;]nofollow[\&#38;#39;&#38;quot;](.+)?&#38;gt;&#124;iU&#38;#39;,&#38;#39;&#38;lt;a &#38;gt;&#38;#39;, $text);	// strip ALL nofollow
	$text = preg_replace(&#38;#39;&#124;&#38;lt;a (?=([^&#38;gt;]+http\:\/\/))(?!([^&#38;gt;]+&#38;#39;.$domain.&#38;#39;))(.+)&#38;gt;&#124;iU&#38;#39;, &#38;#39;&#38;lt;a  rel=&#38;quot;nofollow&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;#39;, $text);  // add back in when needed
	return $text;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;em&#62; &#60;/em&#62;&#60;br /&#62;
I'm not happy about the performance of this technique because it has to be done in post_text for every time a page is displayed, but there's no other easy way around bbPress/WordPress's unfortunate use of make_clickable with hardcoded &#34;nofollow&#34; in post_text.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20611</link>
<pubDate>Tue, 11 Nov 2008 12:25:23 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">20611@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Okay I'll play with it some more and see what I can do.&#60;/p&#62;
&#60;p&#62;update: the problem lies within make_clickable which has nofollow hard coded and impossible to &#34;unfilter&#34; at that level&#60;/p&#62;
&#60;p&#62;I'll have to come up with a way to do it at display time and cleanup the mess bbpress (actually wordpress functions) create
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20605</link>
<pubDate>Mon, 10 Nov 2008 20:26:13 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">20605@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hmmm.....okay well I did add this code to bb_tweaks......I replaced the function bb_target_blank section with what you have here, and I removed the &#60;code&#62;add_filter(&#38;#39;pre-post&#38;#39;,&#38;#39;bb_rel_nofollow&#38;#39;);&#60;/code&#62; and added the remove_filter actions above.......but it did not seem to have any effect - bbPress still strips out any &#34;target&#34; reference and still adds the rel=&#34;nofollow&#34; to all links.....&#60;/p&#62;
&#60;p&#62;I haven't made any other tweaks to this....
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20582</link>
<pubDate>Sun, 09 Nov 2008 17:59:17 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">20582@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well we could cheat and make the plugin skip links that have your domain name or no &#60;code&#62;&#60;a href=&#34;http://&#34; rel=&#34;nofollow&#34;&#62;http://&#60;/a&#62;&#60;/code&#62; in it.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function bb_target_blank( $text ) {
$text = preg_replace(&#38;#39;&#124;&#38;lt;a (?=http\:\/\/)(?!travel\-writers\-exchange\.com)(.+?)&#38;gt;&#124;i&#38;#39;, &#38;#39;&#38;lt;a  rel=&#38;quot;nofollow&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;#39;, $text);
return $text;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This is untested.&#60;br /&#62;
It's a fancy regex feature called negative lookahead.&#60;br /&#62;
Try it and see what happens.&#60;/p&#62;
&#60;p&#62;Doing nofollow for only externals is essentially the same thing, I've added it to the replacement above.Make sure you have no additional tweaks for nofollow. I don't think it's on by default?  If so, try &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;remove_filter(&#38;#39;post_text&#38;#39;, &#38;#39;bb_rel_nofollow&#38;#39;);
remove_filter(&#38;#39;pre_post&#38;#39;, &#38;#39;bb_rel_nofollow&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>TrishaM on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20581</link>
<pubDate>Sun, 09 Nov 2008 17:55:41 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">20581@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks _ck_ - that's a good suggestion - I'll play around with that a bit.....maybe I can even find some javascript to get rid of the &#34;rel=&#34;nofollow&#34;&#34; on our internal links, as we do want internal links followed......
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20579</link>
<pubDate>Sun, 09 Nov 2008 17:51:01 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">20579@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;updated, see below
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20578</link>
<pubDate>Sun, 09 Nov 2008 17:47:37 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">20578@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Bump - I know this may wind up being a dead issue (at least until a future bbPress update), but is anyone aware of any plugin to give greater control over how links are handled?&#60;/p&#62;
&#60;p&#62;I don't want to dig into the core files, but I need to have internal links handled differently from external links, and need to be able to not have manually entered links (not using the URL button) altered to remove or add anything to the &#60;code&#62;&#38;lt;a&#38;gt;&#60;/code&#62;tag.....so I'm hoping a plugin exists that will allow for link customization....
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-20452</link>
<pubDate>Tue, 04 Nov 2008 22:00:45 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">20452@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I actually have a closely related but slightly different need - I need bbPress to NOT strip out the target if I manually enter it into an &#60;code&#62;&#38;lt;a&#38;gt;&#60;/code&#62; tag and, ideally, to also not strip out the rel=&#34;nofollow&#34;&#60;/p&#62;
&#60;p&#62;This plugin does add the rel=&#34;nofollow&#34; to links, but I wouldn't want that added to my internal links, just external ones.  But it is not adding the target=&#34;_blank&#34; and bbPress is still stripping it if I add it manually.  Again, I wouldn't want it added for internal links, just external  (we want ALL internal (on-site) links to open in the same window, but want ALL external links to open in a new window).   &#60;/p&#62;
&#60;p&#62;The only way I know of to get this granularity of control is to do them manually, but dang it bbPress keeps removing them.&#60;/p&#62;
&#60;p&#62;I agree totally that it's not good to mess with core files, and I try to avoid it at all costs, but this is a very important issue for us - so if there is no plugin to add this level of control, how can I modify my file(s) to do this?  I would happily add a functions.php to my theme and put it there, but am not a good enough coder to write this function myself.&#60;/p&#62;
&#60;p&#62;Any suggestions?
&#60;/p&#62;</description>
</item>
<item>
<title>zigx on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-19839</link>
<pubDate>Sat, 11 Oct 2008 20:23:22 +0000</pubDate>
<dc:creator>zigx</dc:creator>
<guid isPermaLink="false">19839@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;anyone know if this plugin works with the latest bbpress?  (0.9.0.2 )&#60;/p&#62;
&#60;p&#62;I cant seem to get it to work.&#60;/p&#62;
&#60;p&#62;Plugin is activated, but links do not have _blank added into the &#38;lt;a tag.&#60;/p&#62;
&#60;p&#62;any ideas? thank you!!
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-17938</link>
<pubDate>Sun, 03 Aug 2008 18:27:29 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17938@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thanks Chrishajer:&#60;/p&#62;
&#60;p&#62;the opposition is that I'm not really develloper, I'm administrator systems but I like to program my website, but I have to tell you that I'm very happy to have bbpress forum in my web, but I  had thought that inserting the 'polemical' target in question ) thought my forum will be completly perfect. Anyway...&#60;br /&#62;
Well, thank you to try to help me , I'm very gratefull to know you.&#60;/p&#62;
&#60;p&#62;Thank you very much, I will visit this web frecuently to see more ..&#60;/p&#62;
&#60;p&#62;Sincerelly , thank you sir.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-17917</link>
<pubDate>Sun, 03 Aug 2008 12:09:29 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">17917@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What you are asking for is best done with a plugin as described.  I'm not sure which core files would need to be modified and I wouldn't recommend that anyway.  What is the opposition to using a plugin?
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-17912</link>
<pubDate>Sun, 03 Aug 2008 10:19:47 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17912@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thank you Chrishajer:    Excus me my bad english , I hope to explain better now:&#60;/p&#62;
&#60;p&#62;I know that it's  a bad idea to modify some bbPress files , I know , I know. But my question is that I think I can insert the 'target=&#34;_blank&#34; ' tag in the place qhere the php engine reads the  user comment and shows it and the url link goes to a new window explorer.&#60;/p&#62;
&#60;p&#62;you can see the exemple in my web, and I would like this link works in another window. Click on &#34;BIENVENIDOS AL FORO !!!! &#34; and see the third comment of &#34;   jcvandamm Admin Principal   and there's some url link:&#60;br /&#62;
&#34;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.capsir.es/rafa/forum/&#34; rel=&#34;nofollow&#34;&#62;http://www.capsir.es/rafa/forum/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;thanks for your help and if you can tell me something, please, sincerelly do it:
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-17850</link>
<pubDate>Thu, 31 Jul 2008 19:10:55 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">17850@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm sorry, I don't understand the question.  This won't be in a template file, and it's a bad idea to modify core files, which is why the best practice is to use a function as was posted here.
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-17845</link>
<pubDate>Thu, 31 Jul 2008 16:47:43 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17845@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for the help, I knew it, but I would like to insert my 'target=&#34;_blank&#34; '  in the  file Adapted place to see the coments with url added , and of course, I would they works.  My question is:&#60;br /&#62;
which file is it?  (load.php, post.php, target.php)&#60;br /&#62;
or , better, which function ?&#60;/p&#62;
&#60;p&#62;thank you again
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15673</link>
<pubDate>Tue, 22 Apr 2008 15:37:20 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">15673@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#38;gt; shackles of validation&#60;/p&#62;
&#60;p&#62;Most awesome quote of the day!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15671</link>
<pubDate>Tue, 22 Apr 2008 15:33:30 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15671@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;TARGET is deprecated?!&#60;br /&#62;
Throw off your shackles of validation, seriously.&#60;/p&#62;
&#60;p&#62;I promise you that browsers 10+ years from now will still support TARGET. I'll take html over likely-blocked javascript code anyday. At least firefox can intercept the TARGET and open it as a tab which is the user-prefered behavior.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15649</link>
<pubDate>Tue, 22 Apr 2008 05:10:28 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">15649@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;strong&#62;jaydedman&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;I think my dislike of it started when tabbed browsers came around.  There is no &#60;code&#62;target=&#38;quot;_newtab&#38;quot;&#60;/code&#62;, and I want to control where the windows open.  If I want it in a new tab or new window, I do that with my browser.  Let me control it rather than specifying where it happens.&#60;/p&#62;
&#60;p&#62;I dislike it more on some days than others, not as much as I dislike &#38;lt;marquee&#38;gt; and &#38;lt;blink&#38;gt;, but I still tend to dislike it.  It's just a personal preference though.  Here's something related with a couple discussions linked to it:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.456bereastreet.com/archive/200603/the_target_attribute_and_opening_new_windows/&#34; rel=&#34;nofollow&#34;&#62;http://www.456bereastreet.com/archive/200603/the_target_attribute_and_opening_new_windows/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15644</link>
<pubDate>Tue, 22 Apr 2008 02:03:53 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15644@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@chrishajer&#60;/p&#62;
&#60;p&#62;Luckily the sort of people who turn off javascript also happen to be the sort of people who hate having new windows forced on them. :)&#60;/p&#62;
&#60;p&#62;@jaydedman&#60;/p&#62;
&#60;p&#62;I agree with chrishajer that forcing new windows is bad. If I want a new window or tab then I can make that happen myself. But when a new window is forced on me I can't make it not do it.
&#60;/p&#62;</description>
</item>
<item>
<title>jaydedman on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15642</link>
<pubDate>Tue, 22 Apr 2008 01:22:22 +0000</pubDate>
<dc:creator>jaydedman</dc:creator>
<guid isPermaLink="false">15642@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hey Chris, just wondering why you would think this?&#60;br /&#62;
When I'm reading a newspaper article with links, I don't want to be taken out of the article to quickly browse the other link. &#60;/p&#62;
&#60;p&#62;The same is true for a forum. My main attention is on the thread's conversation, but I may want to browse links that people include when referring to an issue. What I don't want is to be taken out of the thread completely, and need to go back hoping I'll find my place.&#60;/p&#62;
&#60;p&#62;Anyway, thanks for putting up a possible solution. I'll try it out.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15602</link>
<pubDate>Mon, 21 Apr 2008 12:30:27 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">15602@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sam, that won't work with Javascript turned off though, will it?  &#60;/p&#62;
&#60;p&#62;That said, I think opening links in a new window or tab, based on browser configuration, is a bad idea anyway.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15597</link>
<pubDate>Mon, 21 Apr 2008 12:02:36 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15597@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The target attribute is deprecated (for those who care), use this instead:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: Links in new window
*/
//add onclick=&#38;quot;window.open(this.href); return false;&#38;quot; to post links
function bb_links _in_new_window( $text ) {
	$text = preg_replace(&#38;#39;&#124;&#38;lt;a (.+?)&#38;gt;&#124;i&#38;#39;, &#38;#39;&#38;lt;a  onclick=&#38;quot;window.open(this.href); return false;&#38;quot;&#38;gt;&#38;#39;, $text);
	return $text;
}
add_filter(&#38;#39;pre_post&#38;#39;, &#38;#39;bb_links _in_new_window&#38;#39;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>chrishajer on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15587</link>
<pubDate>Mon, 21 Apr 2008 05:05:11 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">15587@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Courtesy of _ck_  &#60;a href=&#34;http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/&#34; rel=&#34;nofollow&#34;&#62;http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: Target Blank
Description:  append target=&#38;quot;_blank&#38;quot; to all links
Plugin URI:  &#60;a href=&#34;http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/&#34; rel=&#34;nofollow&#34;&#62;http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/&#60;/a&#62;
Author:  _ck_
Version: 0.04
*/
//add target=_blank to post links
function bb_target_blank( $text ) {
	$text = preg_replace(&#38;#39;&#124;&#38;lt;a (.+?)&#38;gt;&#124;i&#38;#39;, &#38;#39;&#38;lt;a  target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;#39;, $text);
	return $text;
}
add_filter(&#38;#39;pre_post&#38;#39;, &#38;#39;bb_target_blank&#38;#39;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>jaydedman on "Open Links in new window"</title>
<link>http://bbpress.org/forums/topic/open-links-in-new-window#post-15583</link>
<pubDate>Mon, 21 Apr 2008 00:26:42 +0000</pubDate>
<dc:creator>jaydedman</dc:creator>
<guid isPermaLink="false">15583@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I also would like to know the answer to this question. Can anyone say if it's been done before?
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Can someone explain this bbPress database error"</title>
<link>http://bbpress.org/forums/topic/can-someone-explain-this-bbpress-database-error#post-14463</link>
<pubDate>Fri, 14 Mar 2008 09:04:58 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">14463@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;For some reason in your bbPress installation the quotes aren't being escaped before bbPress tries to enter the post into the database. Differences in character encoding on different platforms may mean it is possible from one platform (pc) and not another (mac).&#60;/p&#62;
&#60;p&#62;This points to a PHP configuration problem more than anything. Perhpas magic quotes RPC is turned on?&#60;/p&#62;
&#60;p&#62;Worth digging deeper though.
&#60;/p&#62;</description>
</item>
<item>
<title>Guru06 on "Can someone explain this bbPress database error"</title>
<link>http://bbpress.org/forums/topic/can-someone-explain-this-bbpress-database-error#post-14461</link>
<pubDate>Fri, 14 Mar 2008 07:55:31 +0000</pubDate>
<dc:creator>Guru06</dc:creator>
<guid isPermaLink="false">14461@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you mettled! I am on a mac and that will explain why none of the other users have said anything about the problem because they are all pc users. let me try the ' here and see what happens
&#60;/p&#62;</description>
</item>

</channel>
</rss>
