<?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: here's a trick to redirect user back to topic after login</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: here's a trick to redirect user back to topic after login</description>
<language>en</language>
<pubDate>Thu, 20 Nov 2008 13:58:20 +0000</pubDate>

<item>
<title>hellweaver666 on "here's a trick to redirect user back to topic after login"</title>
<link>http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-18169</link>
<pubDate>Mon, 11 Aug 2008 22:07:37 +0000</pubDate>
<dc:creator>hellweaver666</dc:creator>
<guid isPermaLink="false">18169@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Works a charm - thanks _ck_
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "here's a trick to redirect user back to topic after login"</title>
<link>http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14286</link>
<pubDate>Thu, 06 Mar 2008 03:50:53 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">14286@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;For my site, I'm using the bbpress login as the site-wide login...  so when I put a login link on the wordpress side of the site the user would be redirected to the forum every time after login... kinda annoying.&#60;/p&#62;
&#60;p&#62;With this new knowledge I should be able to fix it so they are redirected back, even to a non-bbpress page.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "here's a trick to redirect user back to topic after login"</title>
<link>http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14276</link>
<pubDate>Wed, 05 Mar 2008 15:33:04 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">14276@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I should note that mdawaffe has pointed out to me that apparently bbPress would do this previously if the user has referer's enabled in their browser. But since most &#34;personal firewalls&#34; block referers by default, you can't count on that behavior and this change will make it always work instead.&#60;/p&#62;
&#60;p&#62;0.8.4 will supposedly have this new ability by default...
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "here's a trick to redirect user back to topic after login"</title>
<link>http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14269</link>
<pubDate>Wed, 05 Mar 2008 00:39:45 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">14269@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Very nice... that was on my todo list to figure out.&#60;/p&#62;
&#60;p&#62;You rule. As usual.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "here's a trick to redirect user back to topic after login"</title>
<link>http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268</link>
<pubDate>Tue, 04 Mar 2008 22:18:11 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">14268@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I had not seen this posted before and I just (finally) figured it out so I thought I'd share.&#60;/p&#62;
&#60;p&#62;If you'd like to give the user a friendly redirect  back to the topic (or forum) they were at just before they logged in (instead of the front page) simply open the &#60;code&#62;login-form.php&#60;/code&#62; template in your theme and add this BEFORE the final &#60;code&#62;&#38;lt;/form&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;re&#38;quot; value=&#38;quot;&#38;lt;?php echo &#38;quot;http://&#38;quot;.$_SERVER[&#38;#39;HTTP_HOST&#38;#39;].$_SERVER[&#38;quot;REQUEST_URI&#38;quot;].&#38;#39;?&#38;#39;.$_SERVER[&#38;quot;QUERY_STRING&#38;quot;]; ?&#38;gt;&#38;quot; /&#38;gt;
&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;_wp_http_referer&#38;quot; value=&#38;quot;&#38;lt;?php echo  bb_get_option( &#38;#39;uri&#38;#39; ) ?&#38;gt;&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Should work on anything except maybe IIS.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
