<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>bbPress Support Forums &#187; Tag: hack - Recent Posts</title>
		<link>http://bbpress.org/forums/tags/hack</link>
		<description>bbPress Support Forums &#187; Tag: hack - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 21:10:56 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/tags/hack" rel="self" type="application/rss+xml" />

		<item>
			<title>johnsona on "[bbpress 2.0] Changing Freshness to display the actual date"</title>
			<link>http://bbpress.org/forums/topic/bbpress-20-changing-freshness-to-display-the-actual-date#post-94274</link>
			<pubDate>Tue, 15 Nov 2011 07:11:10 +0000</pubDate>
			<dc:creator>johnsona</dc:creator>
			<guid isPermaLink="false">94274@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thinking to start new forum and testing it within my local server but found this modification trouble also, can anyone provide solution. </p>
<p>So my forum and site will go alive soon. thanks!
</p>]]></description>
					</item>
		<item>
			<title>miruru on "[bbpress 2.0] Changing Freshness to display the actual date"</title>
			<link>http://bbpress.org/forums/topic/bbpress-20-changing-freshness-to-display-the-actual-date#post-92916</link>
			<pubDate>Tue, 04 Oct 2011 09:15:04 +0000</pubDate>
			<dc:creator>miruru</dc:creator>
			<guid isPermaLink="false">92916@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thank you however this has not made any difference. </p>
<p>I am using the actual bbpress (2.0) plugin not the standalone and it still displays the 1970 date.  It doesn't matter what date format I use.  I have a feeling it made be due to the $post-&#62;post_id that is causing this.
</p>]]></description>
					</item>
		<item>
			<title>Themes Community on "[bbpress 2.0] Changing Freshness to display the actual date"</title>
			<link>http://bbpress.org/forums/topic/bbpress-20-changing-freshness-to-display-the-actual-date#post-92914</link>
			<pubDate>Tue, 04 Oct 2011 08:43:32 +0000</pubDate>
			<dc:creator>Themes Community</dc:creator>
			<guid isPermaLink="false">92914@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>If your php code work and displayed the date as "THU JAN 1970", it happen due php code 'D M Y'</p>
<p>You should refer this page <a href="http://php.net/manual/en/function.date.php" rel="nofollow">http://php.net/manual/en/function.date.php</a> to change code that will suit your display need.</p>
<p><code><br />
&#60;?php global $post;<br />
$lalaposttime = date( 'CHANGE THIS', strtotime( $post-&#62;post_id ) );<br />
echo $lalaposttime; ?&#62;<br />
</code>
</p>]]></description>
					</item>
		<item>
			<title>miruru on "[bbpress 2.0] Changing Freshness to display the actual date"</title>
			<link>http://bbpress.org/forums/topic/bbpress-20-changing-freshness-to-display-the-actual-date#post-92884</link>
			<pubDate>Mon, 03 Oct 2011 15:13:56 +0000</pubDate>
			<dc:creator>miruru</dc:creator>
			<guid isPermaLink="false">92884@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Most forum software displays the actual date for the freshness.  I have used the following code as an example:</p>
<p><code>&#60;?php global $post;<br />
$lalaposttime = date( 'D M Y', strtotime( $post-&#62;post_id ) );<br />
echo $lalaposttime; ?&#62;</code></p>
<p>This worked to a point, however it displays the date as "THU JAN 1970".</p>
<p>I assumes that it will be different for the bbpress plugin itself.</p>
<p>Could anyone help get me started with this?</p>
<p>Thanks in advance.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "bbPress Security"</title>
			<link>http://bbpress.org/forums/topic/bbpress-security#post-70625</link>
			<pubDate>Fri, 02 Jul 2010 05:37:47 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">70625@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Someone copied my plugin (they used ALL of my lines then added a few) but they defeated the entire purpose.</p>
<p>Their code only runs if there is an active user, if someone is not logged in and there is a loophole, the code would run unchallenged.</p>
<p>Plus they exclude admin, so if there is a hacked account, the code is also bypassed.</p>
<p>Here is my improved version of my original code</p>
<pre><code>if (strlen($_SERVER[&#039;REQUEST_URI&#039;])&#62;255 &#124;&#124;
preg_match(&#039;@(eval&#124;base64&#124;unescape)[^a-zA-Z0-9]@si&#039;,$_SERVER[&#039;REQUEST_URI&#039;]))
{
	header(&#039;HTTP/1.1 414 Request-URI Too Long&#039;);
	header(&#039;Status: 414 Request-URI Too Long&#039;);
	header(&#039;Connection: Close&#039;);
	exit;
}</code></pre>]]></description>
					</item>
		<item>
			<title>chrishajer on "bbPress Security"</title>
			<link>http://bbpress.org/forums/topic/bbpress-security#post-70622</link>
			<pubDate>Fri, 02 Jul 2010 04:44:45 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">70622@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I think it would probably work if you changed the user check to reflect bbPress users and not WordPress users and levels.</p>
<p>_ck_ posted something similar a while back on the WordPress.org trac site about blocking long query strings.  Maybe she will post here about this.</p>
<p><a href="http://ckon.wordpress.com/2008/11/11/simple-wordpress-and-bbpress-security-plugin-to-block-long-requests/" rel="nofollow">http://ckon.wordpress.com/2008/11/11/simple-wordpress-and-bbpress-security-plugin-to-block-long-requests/</a></p>
<p><a href="http://core.trac.wordpress.org/ticket/8152" rel="nofollow">http://core.trac.wordpress.org/ticket/8152</a>
</p>]]></description>
					</item>
		<item>
			<title>Pagal on "bbPress Security"</title>
			<link>http://bbpress.org/forums/topic/bbpress-security#post-70609</link>
			<pubDate>Fri, 02 Jul 2010 00:38:47 +0000</pubDate>
			<dc:creator>Pagal</dc:creator>
			<guid isPermaLink="false">70609@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Can I use this wp plugin for bbpress?</p>
<p>&#38;lt; ?php<br />
/*<br />
Plugin Name: Block Bad Queries<br />
Plugin URI: <a href="http://perishablepress.com/press/2009/12/22/protect-wordpress-against-malicious-url-requests/" rel="nofollow">http://perishablepress.com/press/2009/12/22/protect-wordpress-against-malicious-url-requests/</a><br />
Description: Protect WordPress Against Malicious URL Requests<br />
Author URI: <a href="http://perishablepress.com/" rel="nofollow">http://perishablepress.com/</a><br />
Author: Perishable Press<br />
Version: 1.0<br />
*/</p>
<p>global $user_ID; </p>
<p>if($user_ID) {<br />
  if(!current_user_can('level_10')) {<br />
    if (strlen($_SERVER['REQUEST_URI']) &#38;gt; 255 &#124;&#124;<br />
      strpos($_SERVER['REQUEST_URI'], "eval(") &#124;&#124;<br />
      strpos($_SERVER['REQUEST_URI'], "CONCAT") &#124;&#124;<br />
      strpos($_SERVER['REQUEST_URI'], "UNION+SELECT") &#124;&#124;<br />
      strpos($_SERVER['REQUEST_URI'], "base64")) {<br />
        @header("HTTP/1.1 414 Request-URI Too Long");<br />
	@header("Status: 414 Request-URI Too Long");<br />
	@header("Connection: Close");<br />
	@exit;<br />
    }<br />
  }<br />
}<br />
?&#38;gt;</p>
<p>And tell me how can I make my forums more secure?<br />
Nedd Tips and Tricks!!<br />
And did anyone make any security concern plugin for bbpress?</p>
<p>Thanks,<br />
Pagal
</p>]]></description>
					</item>
		<item>
			<title>ghettobsd on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69796</link>
			<pubDate>Sat, 12 Jun 2010 20:19:15 +0000</pubDate>
			<dc:creator>ghettobsd</dc:creator>
			<guid isPermaLink="false">69796@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Ok, I looked into it some more and it turns out that the reason magic_quotes_gpc is "evil" could be because it makes your server vulnerable to sql injections with malformed requests.</p>
<p>So, that's enough to not use that.</p>
<p>Thanks again Chrishajer.</p>
<p>You're always welcome at my place!
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69766</link>
			<pubDate>Sat, 12 Jun 2010 04:05:32 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">69766@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I saw that, but this post from sambauers led me to NOT recommend that:</p>
<p><a href="http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear#post-65803" rel="nofollow">http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear#post-65803</a></p>
<p>"magic_quotes_gpc should be off - always, it's evil."</p>
<p>So, if it does not work with magic quotes on, it's probably a bug somewhere, with the integration, and for that reason I prefer the plugin solution here:</p>
<p><a href="http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear#post-61089" rel="nofollow">http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear#post-61089</a></p>
<p>Not sure what's best as I've never been affected by the problem and therefore never tried to fix it.
</p>]]></description>
					</item>
		<item>
			<title>ghettobsd on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69764</link>
			<pubDate>Fri, 11 Jun 2010 23:09:21 +0000</pubDate>
			<dc:creator>ghettobsd</dc:creator>
			<guid isPermaLink="false">69764@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>This is what i found:</p>
<blockquote><p>
From: <a href="http://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes" rel="nofollow">http://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes</a></p>
<p>User: baptiste</p>
<p>Post: Easy fix (hack) in bb-includes/template-functions.php, update this function to look like this:</p>
<p>function get_post_text() {<br />
global $bb_post;<br />
return stripslashes($bb_post-&#38;gt;post_text);<br />
}</p>
<p>May be an artifact of the wordpress integration - not sure.</p>
</blockquote>
<p>The above did indeed work. But I still looked at the other posts and problems others had.</p>
<blockquote><p>
<a href="http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear" rel="nofollow">http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear</a></p>
<p>user: arpowers</p>
<p>ok, found the answer wooooooo!</p>
<p>The 'real' reason this wasn't working was....</p>
<p>'magic_quotes_gpc' is set to 'off' on my server (in php.ini)</p>
<p>All these other solutions are band-aids, my hunch is that making sure magic quotes is 'on' is the solution.</p>
<p>user: jackey</p>
<p>Putting "php_value magic_quotes_gpc 1" in my .htaccess file worked for me... for now.</p>
</blockquote>
<p>The above also worked. So instead of editing the bbpress code, i just modified the .htaccess file (added to it), that 1 line fixed it. So I will go with it untill I see a problem.</p>
<p>Worth noting, someone said that by changing the code as per baptiste's method could corrupt backups you make of sql. So, that was the reason I went with the .htaccess fix.</p>
<p>Thank you! </p>
<p>chrishajer: you are GhettoBSD Approved!
</p>]]></description>
					</item>
		<item>
			<title>ghettobsd on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69763</link>
			<pubDate>Fri, 11 Jun 2010 22:40:19 +0000</pubDate>
			<dc:creator>ghettobsd</dc:creator>
			<guid isPermaLink="false">69763@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thanks to zaerl this is what i did to code:<br />
<a href="http://pastebin.com/SAx377E4" rel="nofollow">http://pastebin.com/SAx377E4</a></p>
<p>So yeah that's not what is affecting this problem. I will look into the links you pasted.</p>
<p>Thank you very much!
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69761</link>
			<pubDate>Fri, 11 Jun 2010 22:26:11 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">69761@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>What is the hacking to get rid of the backtick quote problem?  I'm not sure what you were trying to solve there.  Was that  to fix the code and backtick problem?</p>
<p>The escaping of single quotes on integrated installations has been covered here before.</p>
<p><a href="http://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes" rel="nofollow">http://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes</a></p>
<p><a href="http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear" rel="nofollow">http://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear</a></p>
<p><a href="http://bbpress.org/forums/topic/slash-text-issue-in-10-alpha-6-have-searched" rel="nofollow">http://bbpress.org/forums/topic/slash-text-issue-in-10-alpha-6-have-searched</a></p>
<p>Sounds that that is your problem - escaping single quotes in an integrated installation.  The hacking you did is unrelated (I think.)  I confused backticks with quotation marks.</p>
<p>I don't think it's related to the keys at all.  They are not used that way when posting.  The worst that ever happened was that bbPress did not support the complex keys (with escaped characters) that WordPress did.  But that resulted in a 500 Internal Server Error.
</p>]]></description>
					</item>
		<item>
			<title>ghettobsd on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69754</link>
			<pubDate>Fri, 11 Jun 2010 20:21:00 +0000</pubDate>
			<dc:creator>ghettobsd</dc:creator>
			<guid isPermaLink="false">69754@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>yeah, separately it works.</p>
<p>It's not until integration.</p>
<p>But it's just so weird, why would a / be added in? Even with no modification to anything? I will try with separate auth keys and go from there.
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69752</link>
			<pubDate>Fri, 11 Jun 2010 19:28:22 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">69752@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Have you tried it without integration to see if that's causing it?
</p>]]></description>
					</item>
		<item>
			<title>ghettobsd on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69750</link>
			<pubDate>Fri, 11 Jun 2010 19:17:37 +0000</pubDate>
			<dc:creator>ghettobsd</dc:creator>
			<guid isPermaLink="false">69750@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Please see above! :P</p>
<p>I used a NEW (not related) db, i used both clean installs.</p>
<p>So basically, the problem is reproduced on the stock installs of wp,bb with integration on mysql. So nothing, not even the themes from before were used.</p>
<p>At first I thought it was because I changed the type of links (permlinks) and then did a stock install with no changes, but integration and it happened again.</p>
<p>I basically did many installs under different configurations/databases. And everything ended up the same every time.</p>
<p>I ruled out:<br />
- The theme being the problem.<br />
- The hacks ...<br />
- Perm link options ...<br />
- .htaccess ...<br />
- The database...</p>
<p>Maybe it has to do with the auth key info? That's the only obvious thing.</p>
<p>I do have wp and bb installed else where and integrated without the same problem.</p>
<p>I used a generator that also generated the salt, could that be it?
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69747</link>
			<pubDate>Fri, 11 Jun 2010 18:17:19 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">69747@http://bbpress.org/forums/</guid>
			<description><![CDATA[<blockquote><p>I did some hacking to get rid of the back tick to quote option</p></blockquote>
<p>I suspect this is your problem.  If you undo those hacks, does the problem go away?</p>
<p>If the hacking you did modified the entries in the database, and your fresh installations are still using that database, I suspect you will still see a problem.</p>
<p>What hacks did you do?
</p>]]></description>
					</item>
		<item>
			<title>ghettobsd on "In posts -&gt; / appears unexpectedly!"</title>
			<link>http://bbpress.org/forums/topic/in-posts-appears-unexpectedly#post-69719</link>
			<pubDate>Fri, 11 Jun 2010 05:26:22 +0000</pubDate>
			<dc:creator>ghettobsd</dc:creator>
			<guid isPermaLink="false">69719@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Ok, so both my blog and forum are set up properly and working fine.</p>
<p>I did some hacking to get rid of the back tick to quote option.</p>
<p>So I'm posting for the fist time "I'm" and it posts as "I/'m"</p>
<p>I try to find the problem and can't.</p>
<p>I end up making 3 db's total:<br />
db 1) Using what I have (results in /')<br />
db 2) Clean install, using only themes (results in /')<br />
db 3) Clean install, no themes, no hacks nothing, just integrated with cookies (results in /')</p>
<p>Any one have any idea what's going on?</p>
<p>Both are latest releases. Everything else works fine. Integration works etc etc</p>
<p>I created a new DB with clean installs of both wp and bb with the same results. Different user names, default themes etc. Nothing worked.</p>
<p>tia!
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-60572</link>
			<pubDate>Thu, 12 Nov 2009 08:54:47 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">60572@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>WP 2.8.5 + bbP 1.0.2 works fine for me. So the problem is setup specific.
</p>]]></description>
					</item>
		<item>
			<title>travis07 on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-60569</link>
			<pubDate>Wed, 11 Nov 2009 18:40:37 +0000</pubDate>
			<dc:creator>travis07</dc:creator>
			<guid isPermaLink="false">60569@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I am having the same issue.  I am running 1.0.2 sharing cookies with WP 2.8.5.  If a user is not logged in, and selects "add new", they are routed to my WP 404 screen.  Instead of using the hack above, I've done the following hack so that the redirect is maintained.  Note that it just strips the "http://" out of the redirect.  Hopefully a real fix can be put in place for this.</p>
<p>I've done some limited testing and this seems to work.</p>
<p>In functions.bb-template.php I created the following function:</p>
<p>function hackfixurl ($url){<br />
	$url= str_replace("http://", "", $url);<br />
	$url= str_replace($_SERVER["HTTP_HOST"], "", $url);<br />
	return $url;<br />
}</p>
<p>Then, on line 1590 of the same file, wrap the url with the new function like:</p>
<p>$url = bb_get_uri('bb-login.php', array('re' =&#62; hackfixurl($url)), BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS);</p>
<p>Regards--
</p>]]></description>
					</item>
		<item>
			<title>kirkpatrick on "Logout leads to a 404 (deep integration)"</title>
			<link>http://bbpress.org/forums/topic/logout-leads-to-a-404-deep-integration#post-59636</link>
			<pubDate>Fri, 16 Oct 2009 05:06:36 +0000</pubDate>
			<dc:creator>kirkpatrick</dc:creator>
			<guid isPermaLink="false">59636@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I have a deep integration of bbPress 1.0.2 and WordPress 2.8.4 at riogallinasschool.org, using a heavily modified Kakumei template.</p>
<p>Integration works well.  I only register users from WP. Logins work from either BBP or WP. WP users appear correctly to BBP (every user can log in from both WP and BBP)..</p>
<p>Logout from WP is fine regardless of where the login occurred (so, no cookie problems).</p>
<p>However, when logging out from BBP (using the Kakumei "Log out" link), the logout occurs (so cookies are working), but I am redirected to a 404. The logout link is bb-login.php?logout=1. I have found that, on the other hand, the link bb-login.php?logout=0 (as typed in) works just fine -- logs out, redirects back to page.</p>
<p>I have hacked a solution. I don't understand it (I haven't yet been able to follow the use of the GET variable logout to find where it's value is used anywhere). But in case anyone else has this problem, here's the hack.</p>
<p>The logout link is produced by the function call bb_logout_link(); in the template's logged-in.php file.</p>
<p>bb_logout_link is defined in bb-includes\functions.bb-template.php, and effectively calls bb_get_logout_link with the same arguments. In the latter function, around line 2737, the value logout=1 is hard-coded.</p>
<p>I have changed the code for bb_get_logout_link so (a) it defaults to logout=1 if logout is not specified in the call to bb_logout_link (thus the hack is non-destructive), but (b) the call bb_logout_link('logout=0'); overrides the default.</p>
<p>This produces the working link, so the "Log out" link works.</p>
<p>Here's the code<br />
Old line 2737 of bb-includes\functions.bb-template.php was</p>
<p><code>$query = array( &#39;logout&#39; =&#62; 1 );</code></p>
<p>I changed that to the following (which works because the args were "extract"ed, so $logout has a value from the call to bb_logout_link):</p>
<pre><code>if ( $logout==NULL ) $logout = 1;  // Defaults to &#39;logout=1&#39;
$query = array( &#39;logout&#39; =&#62; $logout );  //  Changed &#39;1&#39; to &#39;$logout&#39;</code></pre>
<p>Then in the template's logged-in.php, I added the argument to the call to bb_logout_link:</p>
<p><code>bb_logout_link(&#39;logout=0&#39;);</code></p>
<p>It works for me.</p>
<p>Has anyone else has had this problem? If not, I must have broken something somewhere else -- so I'd like to know.</p>
<p>Can anyone explain the bug, or explain where the value of logout is used? (I'll keep looking, and will post a followup if I find it, but I'm not expert at the subtleties of apply_filters, which appears to be the only possibility.)</p>
<p>Thanks.
</p>]]></description>
					</item>
		<item>
			<title>websydaisy on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-32088</link>
			<pubDate>Mon, 18 May 2009 00:47:01 +0000</pubDate>
			<dc:creator>websydaisy</dc:creator>
			<guid isPermaLink="false">32088@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Well, I totally can't figure it out. I took the ultimate cop-out hack and in front-page.php, I removed </p>
<p>&#60;?php new_topic(); ?&#62; </p>
<p>and replaced it with <a href="http://www.endsofearth.com/forum/?new=1">ADD NEW</a><br />
<code>&#60;a href=&#34;http://www.endsofearth.com/forum/?new=1&#34;&#62;ADD NEW&#60;/a&#62;</code></p>
<p>which works just fine, so I am happy with it.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31541</link>
			<pubDate>Sun, 17 May 2009 19:15:44 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">31541@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>You likely have something funky in a higher level htaccess file affecting your entire setup</p>
<p>Notice how this works:</p>
<p><a href="http://www.endsofearth.com/forum/bb-login.php?re=http%3A" rel="nofollow">http://www.endsofearth.com/forum/bb-login.php?re=http%3A</a></p>
<p>but this doesn't</p>
<p><a href="http://www.endsofearth.com/forum/bb-login.php?re=http%3A%2F" rel="nofollow">http://www.endsofearth.com/forum/bb-login.php?re=http%3A%2F</a>
</p>]]></description>
					</item>
		<item>
			<title>johnhiler on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31506</link>
			<pubDate>Sun, 17 May 2009 18:52:12 +0000</pubDate>
			<dc:creator>johnhiler</dc:creator>
			<guid isPermaLink="false">31506@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>What does your htaccess file look like?
</p>]]></description>
					</item>
		<item>
			<title>websydaisy on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31489</link>
			<pubDate>Sun, 17 May 2009 18:41:25 +0000</pubDate>
			<dc:creator>websydaisy</dc:creator>
			<guid isPermaLink="false">31489@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I just realized it is doing the same thing on another bbpress forum I installed last year. I know it used to work however. Ugh.
</p>]]></description>
					</item>
		<item>
			<title>websydaisy on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31488</link>
			<pubDate>Sun, 17 May 2009 18:24:56 +0000</pubDate>
			<dc:creator>websydaisy</dc:creator>
			<guid isPermaLink="false">31488@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>chrishajer, I installed bbpress 0.9.0.4 , and they are sharing a database, use the same login, etc.
</p>]]></description>
					</item>
		<item>
			<title>websydaisy on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31487</link>
			<pubDate>Sun, 17 May 2009 18:19:34 +0000</pubDate>
			<dc:creator>websydaisy</dc:creator>
			<guid isPermaLink="false">31487@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thanks, I gave that a shot, but sadly it did not  make any difference. I had turned on multiviews so I could use pretty permalinks, but changed it back to default and turned off multiviews, but I still get a 404.
</p>]]></description>
					</item>
		<item>
			<title>johnhiler on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31483</link>
			<pubDate>Sun, 17 May 2009 15:01:39 +0000</pubDate>
			<dc:creator>johnhiler</dc:creator>
			<guid isPermaLink="false">31483@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>When my users click the same link while signed out, they get sent to a similar link:<br />
<a href="http://boards.weddingbee.com/bb-login.php?re=http%3A%2F%2Fboards.weddingbee.com%2F%3Fnew%3D1" rel="nofollow">http://boards.weddingbee.com/bb-login.php?re=http%3A%2F%2Fboards.weddingbee.com%2F%3Fnew%3D1</a></p>
<p>So it looks like bbPress is sending users to the right place.  So I played around with your URL a bit:<br />
<a href="http://www.endsofearth.com/forum/bb-login.php?re=http://www.endsofearth.com/" rel="nofollow">http://www.endsofearth.com/forum/bb-login.php?re=http://www.endsofearth.com/</a></p>
<p>That didn't work either, so I stripped off the re= part completely:<br />
<a href="http://www.endsofearth.com/forum/bb-login.php" rel="nofollow">http://www.endsofearth.com/forum/bb-login.php</a></p>
<p>That worked... suggesting that the problem is with the re= part and your htaccess file.</p>
<p>Just when I was feeling clever, I did a quick Google search and ck had already figured it all out:<br />
<a href="http://bbpress.org/forums/topic/latest-discussions-add-new-link-problem-if-not-logged" rel="nofollow">http://bbpress.org/forums/topic/latest-discussions-add-new-link-problem-if-not-logged</a></p>
<p>Maybe try disabling MultiViews or checking your htaccess file?
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31482</link>
			<pubDate>Sun, 17 May 2009 14:45:15 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">31482@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Looks like you integrated with WordPress 2.7.1 - did you integrate the logins? What version of bbPress did you install?
</p>]]></description>
					</item>
		<item>
			<title>websydaisy on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31477</link>
			<pubDate>Sun, 17 May 2009 14:30:30 +0000</pubDate>
			<dc:creator>websydaisy</dc:creator>
			<guid isPermaLink="false">31477@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Nothing? No one? Dang I really need help with this. I can't find anything, and all appears to be set correctly. Everything else is working just perfectly, but this is a fairly important problem.
</p>]]></description>
					</item>
		<item>
			<title>websydaisy on "ADD NEW goes to 404 for logged out users"</title>
			<link>http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31419</link>
			<pubDate>Fri, 15 May 2009 03:51:22 +0000</pubDate>
			<dc:creator>websydaisy</dc:creator>
			<guid isPermaLink="false">31419@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p><a href="http://www.endsofearth.com/forum/" rel="nofollow">http://www.endsofearth.com/forum/</a></p>
<p>If you are logged in and click on ADD NEW, it works just fine. If you are not logged in, then instead of getting the message that they need to log in, it is putting up a 404. </p>
<p>It seems like whether you are logged in or not, it should just go to <a href="http://www.endsofearth.com/forum/?new=1" rel="nofollow">http://www.endsofearth.com/forum/?new=1</a>  . . .  if I go to that URL when I am not logged in, it gives me the appropriate message and link to log in. However instead it is attempting this for unlogged in users:</p>
<p><a href="http://www.endsofearth.com/forum/bb-login.php?re=http%3A%2F%2Fwww.endsofearth.com%2Fforum%2F%3Fnew%3D1" rel="nofollow">http://www.endsofearth.com/forum/bb-login.php?re=http%3A%2F%2Fwww.endsofearth.com%2Fforum%2F%3Fnew%3D1</a></p>
<p>which throws up the 404</p>
<p>I would appreciate any help. Thanks!
</p>]]></description>
					</item>

	</channel>
</rss>

