Blog Battle Royale III Champion

Blog Battle Royale II Champion

Blog Battle Royale I Champion

Hacking bbPress

Filed Under: Web Development | Thursday, 18 October 2007

I’m still not sure what the problem is with BBPress. The problem that was causing me to not feel the love with BBPress last night. So I hacked it. (Well, if commenting out some code can be called hacking.)

You may remember that my problem last night involved a fatal error:

Fatal error: Call to undefined function: __() in /home/2816/domains/ridetoremedy.com/html/community/bb-includes/default-filters.php on line 81

So this morning after being very pissed off because I had wanted to work on my community at Ride to Remedy.

So I took things into my own hands. I opened up bb-includes/default-filters.php, I went to line 81 and I found this:

bb_register_view(’no-replies’, __(’Topics with no replies’), array(’post_count’=>1));

Then I had to hack Windows XP so that windows search could look for “bb_register_view” because there’s a search bug in windows xp and it won’t search files with extensions that it’s not familiar with, i.e. php.

Then after searching I discovered that there were 3 files that contained “bb_register_view” and that they were all on my server:
default-filters.php
functions.php
template-functions.php

So because I couldn’t figure out the problem, and the peeps over at the bbPress support forums were slower to respond than I liked, I commented out the lines and BAM! I now have bbPress running on Ride to Remedy.

No Comments

No comments yet.

Leave a comment

RSS feed for comments on this post.