<?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 Tag: nested</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: nested</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 21:51:31 +0000</pubDate>

<item>
<title>cartmanffc on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-18964</link>
<pubDate>Fri, 05 Sep 2008 13:42:18 +0000</pubDate>
<dc:creator>cartmanffc</dc:creator>
<guid isPermaLink="false">18964@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Where exactly should I put this code in post-form.php?&#60;/p&#62;
&#60;p&#62;&#38;lt;textarea name=&#34;post_content&#34; cols=&#34;50&#34; rows=&#34;8&#34; id=&#34;post_content&#34; tabindex=&#34;3&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php if (function_exists('bb_quote_post')) bb_quote_post(); ?&#38;gt;&#60;br /&#62;
&#38;lt;/textarea&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Migrate WordPress Comments"</title>
<link>http://bbpress.org/forums/topic/migrate-wordpress-comments#post-9986</link>
<pubDate>Mon, 06 Aug 2007 12:58:50 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">9986@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I don't know if this is exactly what you're looking for but &#60;a href=&#34;http://bbpress.org/plugins/topic/56?replies=11&#34;&#62;bbSync&#60;/a&#62; unifies commenting and when an old topic is synchronised the comments are transferred - albeit as if they had just been posted, with a little message saying they haven't.
&#60;/p&#62;</description>
</item>
<item>
<title>Mistainu on "Migrate WordPress Comments"</title>
<link>http://bbpress.org/forums/topic/migrate-wordpress-comments#post-9985</link>
<pubDate>Mon, 06 Aug 2007 12:30:57 +0000</pubDate>
<dc:creator>Mistainu</dc:creator>
<guid isPermaLink="false">9985@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;if this were done, I'm hoping it would be a fully integrated system in wordpress and bbpress. it would be nice of both applications &#34;realize&#34; they're both there in the same website and perform integrated functions themselves by means of one plugin in each wp and bbp.
&#60;/p&#62;</description>
</item>
<item>
<title>850 on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-7059</link>
<pubDate>Fri, 27 Apr 2007 20:13:11 +0000</pubDate>
<dc:creator>850</dc:creator>
<guid isPermaLink="false">7059@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How can I add the word &#34;Quote:&#34; above the blockquote with this plugin?&#60;/p&#62;
&#60;p&#62;And maybe even &#34;quoted by: username&#34;.
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6838</link>
<pubDate>Wed, 18 Apr 2007 23:50:49 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6838@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Can this plugin be changed so that each seperate quote is shown in order, as separate blockquotes, rather than nesting them?
&#60;/p&#62;</description>
</item>
<item>
<title>helgetry on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6471</link>
<pubDate>Fri, 06 Apr 2007 20:14:42 +0000</pubDate>
<dc:creator>helgetry</dc:creator>
<guid isPermaLink="false">6471@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think this problem must be solved via the function bb_allowed_tags() in the formatting-functions.php file. But I don't know how yet.&#60;/p&#62;
&#60;p&#62;(And I do have the same problem myself...)
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6463</link>
<pubDate>Fri, 06 Apr 2007 17:24:11 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6463@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Just wondering... will quoting be a part of the next version? Or will we still rely on a plug-in for it?
&#60;/p&#62;</description>
</item>
<item>
<title>AphelionZ on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6211</link>
<pubDate>Fri, 30 Mar 2007 20:56:52 +0000</pubDate>
<dc:creator>AphelionZ</dc:creator>
<guid isPermaLink="false">6211@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry, citizenkeith... we still havent solved the problem :(
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6209</link>
<pubDate>Fri, 30 Mar 2007 20:33:45 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6209@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You guys are way over my head. :D
&#60;/p&#62;</description>
</item>
<item>
<title>AphelionZ on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6204</link>
<pubDate>Fri, 30 Mar 2007 19:15:34 +0000</pubDate>
<dc:creator>AphelionZ</dc:creator>
<guid isPermaLink="false">6204@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I just tried this and it still has the glitch with the nested quotes...&#60;/p&#62;
&#60;p&#62;I absolutely love the addition of the &#38;raquo; link!
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6203</link>
<pubDate>Fri, 30 Mar 2007 19:08:57 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">6203@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Not sure what black magic you just haxed up there (MySQL I am fairly clueless about), I just did this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$quoted = bb_get_user( $row-&#38;gt;poster_id );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;My full modifications are:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function bb_quote_message() {
	global $bbdb, $topic;
	$post_id = (int)$_GET[&#38;#39;quote&#38;#39;];
	if ($post_id) {
		$row = $bbdb-&#38;gt;get_row(&#38;quot;SELECT * FROM $bbdb-&#38;gt;posts WHERE post_id={$post_id} AND topic_id={$topic-&#38;gt;topic_id} AND post_status=0&#38;quot;);
		$//row-&#38;gt;post_text = preg_replace( &#38;#39;(&#124;
)&#38;#39;, &#38;#39;&#38;#39;, $row-&#38;gt;post_text );
		$row-&#38;gt;post_text = preg_replace( &#38;#39;/&#38;lt;blockquote&#38;gt;.*&#38;lt;\/blockquote&#38;gt;/&#38;#39;, &#38;#39;&#38;#39;, $row-&#38;gt;post_text );
		$row-&#38;gt;post_text = str_replace( &#38;#39;&#38;#39;, &#38;#39;&#38;#39;, $row-&#38;gt;post_text );
		$row-&#38;gt;post_text = str_replace( &#38;#39;
&#38;#39;, &#38;#39;&#38;#39;, $row-&#38;gt;post_text );
		$quoted = bb_get_user( $row-&#38;gt;poster_id );
		$quotesince = bb_since( $row-&#38;gt;post_time );
		$quotesince = &#38;#39; - &#38;#39; . $quotesince . &#38;#39; ago &#38;#39;;
		$quotelink = get_post_link( $row-&#38;gt;post_id );
		$quotelink = &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39; . $quotelink . &#38;#39;&#38;quot;&#38;gt;&#38;amp;nbsp;&#38;amp;raquo;&#38;amp;nbsp;&#38;lt;/a&#38;gt;&#38;#39;;
		if ($row) echo htmlentities(&#38;#39;&#38;lt;blockquote&#38;gt;&#38;lt;cite&#38;gt;&#38;#39;.$quoted-&#38;gt;user_login . $quotesince . $quotelink . &#38;quot;&#38;lt;/cite&#38;gt;\n&#38;quot;.$row-&#38;gt;post_text.&#38;#39;&#38;lt;/blockquote&#38;gt;&#38;#39;, ENT_COMPAT, &#38;#39;UTF-8&#38;#39;);
	}
}

function fel_addcitetag( $tags )
{	$tags[&#38;#39;cite&#38;#39;] = array();
	return( $tags );	}

add_filter( &#38;#39;bb_allowed_tags&#38;#39;, &#38;#39;fel_addcitetag&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can see my regex attempt to get rid of blockquotes, although for some reason despite it being marked as code the b-quote tags were still removed.&#60;br /&#62;
I also switched from regexing the paragraph tags to&#60;code&#62;str_replace&#60;/code&#62;ing them, which is apparently much faster. Again, though, they're filtered out.
&#60;/p&#62;</description>
</item>
<item>
<title>AphelionZ on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6201</link>
<pubDate>Fri, 30 Mar 2007 18:30:00 +0000</pubDate>
<dc:creator>AphelionZ</dc:creator>
<guid isPermaLink="false">6201@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Regex's are a mystery to me, but I did end up doing something pretty cool with it - I added an INNER JOIN to the sql to grab the username of the quoted..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function bb_quote_message() {
	global $bbdb, $topic;
	$post_id = (int)$_GET[&#38;#39;quote&#38;#39;];
	if ($post_id) {
		$row = $bbdb-&#38;gt;get_row(&#38;quot;SELECT * FROM $bbdb-&#38;gt;posts INNER JOIN wp_users ON bb_posts.poster_id = wp_users.ID WHERE bb_posts.post_id={$post_id} AND bb_posts.topic_id={$topic-&#38;gt;topic_id} AND bb_posts.post_status=0&#38;quot;);
		$row-&#38;gt;post_text = preg_replace( &#38;#39;(&#38;lt;p&#38;gt;&#124;&#38;lt;/p&#38;gt;)&#38;#39;, &#38;#39;&#38;#39;, $row-&#38;gt;post_text );
		if ($row) echo htmlentities(&#38;#39;&#38;lt;blockquote&#38;gt;&#38;quot;&#38;#39;.trim($row-&#38;gt;post_text).&#38;#39;&#38;quot;&#38;lt;br /&#38;gt;&#38;lt;strong&#38;gt;- &#38;#39;.$row-&#38;gt;user_login.&#38;#39;&#38;lt;/strong&#38;gt;&#38;lt;/blockquote&#38;gt;&#38;#39;, ENT_COMPAT, &#38;#39;UTF-8&#38;#39;);
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>fel64 on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6199</link>
<pubDate>Fri, 30 Mar 2007 18:06:48 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">6199@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Keith: Yeah, it can. Easily. By WP handling it I really meant being smart enough to leave it alone. :P&#60;/p&#62;
&#60;p&#62;Aphelionz, you're right. I feel stupid for such an oversight to the nesting problem. &#38;gt;_&#38;lt; However, my perl regexes aren't particularly good and it's not working (nor is it returning an error).&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$row-&#38;gt;post_text = preg_replace( &#38;#39;/&#38;lt;blockquote&#38;gt;.*&#38;lt;\/blockquote&#38;gt;/&#38;#39;, &#38;#39;&#38;#39;, $row-&#38;gt;post_text );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If anyone knows how to fix that that'd be great.
&#60;/p&#62;</description>
</item>
<item>
<title>AphelionZ on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6194</link>
<pubDate>Fri, 30 Mar 2007 17:15:35 +0000</pubDate>
<dc:creator>AphelionZ</dc:creator>
<guid isPermaLink="false">6194@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Another solution could be to use the preg_replace function or something similar to edit out the original quote so you're not nesting them at all,  just taking what was written by the person who is doing the quoting
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6190</link>
<pubDate>Fri, 30 Mar 2007 16:12:48 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6190@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;em&#62;Bah, this is bb (and WP) trying to be clever. It's annoying; they both mess with your code too much. Although at least WP can handle nested blockquotes.&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Could nested blockquotes be handled by CSS? Does bbPress need to &#34;handle&#34; nested blockquotes in a special way?
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6058</link>
<pubDate>Wed, 28 Mar 2007 16:33:51 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">6058@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Bah, this is bb (and WP) trying to be clever. It's annoying; they both mess with your code too much. &#38;gt;_&#38;lt; Although at least WP can handle nested blockquotes.
&#60;/p&#62;</description>
</item>
<item>
<title>wittmania on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6051</link>
<pubDate>Wed, 28 Mar 2007 16:10:15 +0000</pubDate>
<dc:creator>wittmania</dc:creator>
<guid isPermaLink="false">6051@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Let's see if it does...&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;This is the opening of the first blockquote.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;blockquote&#62;&#60;p&#62;This is the opening of the nested blockquote.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;This is after the closing of the nested blockquote.&#60;/p&#62;
&#60;p&#62;This is after the closing of the first blockquote.&#60;/p&#62;
&#60;p&#62;Now, how'd she do???&#60;/p&#62;
&#60;p&#62;UPDATE:  Nope.  It automatically closes the first blockquote tag before it will open another one.&#60;/p&#62;
&#60;p&#62;Any ideas on how to make this work better?
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6037</link>
<pubDate>Wed, 28 Mar 2007 13:24:41 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">6037@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That is the problem with this plugin, it uses blockquotes. I suggest the plugin builder uses &#60;code&#62;&#38;lt;quote&#38;gt;&#38;lt;/quote&#38;gt;&#60;/code&#62; for this (some users want to use the quoteblocks  and also want to quote stuff.&#60;/p&#62;
&#60;p&#62;But yourproblem (Keith)  is that bbpress can't handel nested blockquotes (I think)
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Quote Plugin Weirdness"</title>
<link>http://bbpress.org/forums/topic/quote-plugin-weirdness#post-6034</link>
<pubDate>Wed, 28 Mar 2007 12:18:54 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6034@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm running bbPress 0.8.1 with the Fix bbPress Plugin. I installed Michael Nolan's Quote plugin, version 0.2.&#60;/p&#62;
&#60;p&#62;It works fine if you quote simple post. But when you quote a post that already has a quote in it, things get weird. This is what my edit box looks like when I do that:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;blockquote&#38;gt;&#38;lt;/blockquote&#38;gt;
&#38;lt;blockquote&#38;gt;
This is text that was quoted in the post that I am quoting.

&#38;lt;/blockquote&#38;gt;
This is the text that I am quoting directly.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It looks as though the plugin doesn't like nested blockquotes.&#60;/p&#62;
&#60;p&#62;My forum is here:&#60;br /&#62;
&#60;a href=&#34;http://www.citizenkeith.com/forums/&#34; rel=&#34;nofollow&#34;&#62;http://www.citizenkeith.com/forums/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>minnellium on "Migrate WordPress Comments"</title>
<link>http://bbpress.org/forums/topic/migrate-wordpress-comments#post-240</link>
<pubDate>Thu, 19 Oct 2006 14:52:47 +0000</pubDate>
<dc:creator>minnellium</dc:creator>
<guid isPermaLink="false">240@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm interested in this too... but I understand it might sound a bit odd to some people, depending on how they use WP.
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Migrate WordPress Comments"</title>
<link>http://bbpress.org/forums/topic/migrate-wordpress-comments#post-230</link>
<pubDate>Thu, 19 Oct 2006 06:14:29 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">230@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Has anyone considered what might be required to migrate existing WordPress comments into BBPress?&#60;/p&#62;
&#60;p&#62;I'm imagining a script that would examine the comments DB, move comments storing them in an article-specific topic (which might be easier if themes could be nested, like categories), tagging them with their previous article's categories.&#60;/p&#62;
&#60;p&#62;One nicety: perhaps each former comment URL could be added to htaccess, redirecting to it's new location.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
