I installed the forum in a sub-domain, did place the rewrite code into the .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^forum.my-domain.com
RewriteRule (.*) http://www.forum.my-domain.com/$1 [R=301,L]
It redirects to http://www.forum.my-domain.com, but the login doesn’t work and brings me back to the bb-login.php page.
http://www.forum.my-domain.com/bb-login.php
What do I need to change in the code above to redirect to http://www.forum.my-domain.com and the login works?
That’s because there’s a bug in the plugin. Or rather the plugin was probably written for an earlier version of bbpress.
To fix the “redirect” issue, you need to edit avatar-upload.php and change line 7 from:
bb_auth(); // logged in?
to:
bb_auth( 'logged_in' ); // logged in?
Now it’s off to do more testing.
That’s because there’s a bug in the plugin. Or rather the plugin was probably written for an earlier version of bbpress.
To fix the “redirect” issue, you need to edit avatar-upload.php and change line 7 from:
bb_auth(); // logged in?
to:
bb_auth( 'logged_in' ); // logged in?
Now it’s off to do more testing.
Actually speaking PHP core function parse_url does generate a E_WARNING when the URL cannot be parsed. This happens if the server is running PHP < 5.3.3.
You really should turn off error reporting modifying bb-load.php line 25 (the error_reporting( E_ALL ^ E_NOTICE ); line).
After a quick (very quick) look at bbPress code it seems that they are using urlencode in urlencode_deep. I think that the right approach for the “re” GET variable is to use rawurlencode like it happens with “_wp_http_referer”.
Actually speaking PHP core function parse_url does generate a E_WARNING when the URL cannot be parsed. This happens if the server is running PHP < 5.3.3.
You really should turn off error reporting modifying bb-load.php line 25 (the error_reporting( E_ALL ^ E_NOTICE ); line).
After a quick (very quick) look at bbPress code it seems that they are using urlencode in urlencode_deep. I think that the right approach for the “re” GET variable is to use rawurlencode like it happens with “_wp_http_referer”.
Quick question, will the bbpress plugin come with a generic theme rather than using the twentyten theme? I’m asking this because my site is not based on the twentyten theme and having a generic theme with only the relevant code would be great.
Thank you again for all your hard work on this.
Thanks for the topic _ck_! 
@Rich @tieptoep @intimez
Thanks!
Thanks for the topic _ck_! 
@Rich @tieptoep @intimez
Thanks!
@Aung and @Adrienkb
Will have a look into those issues.
@Ramiuz
No demo yet, you can view the screenshot instead. You have to edit the options in functions.php (there aren’t many) and a sidebar is actually not needed in bbPress, so I removed it.
@Aung and @Adrienkb
Will have a look into those issues.
@Ramiuz
No demo yet, you can view the screenshot instead. You have to edit the options in functions.php (there aren’t many) and a sidebar is actually not needed in bbPress, so I removed it.
Great job Gautam Gupta!!!! Keep it up!!!
Great job Gautam Gupta!!!! Keep it up!!!
You are right, the registration form does not work for some reason. I’ll take a look into it this weekend since I’m in btw projects atm.
As for the bbPM plugin, I’m not sure why its breaking the layout just yet. I think its because of how the header.php and footer.php are coded. I’ll try to fix this, not sure how yet but I’ll be thinking about it.
You are right, the registration form does not work for some reason. I’ll take a look into it this weekend since I’m in btw projects atm.
As for the bbPM plugin, I’m not sure why its breaking the layout just yet. I think its because of how the header.php and footer.php are coded. I’ll try to fix this, not sure how yet but I’ll be thinking about it.
@Gautam
its only working now because i reuploaded the images as 25×25, if i upload them again at 200×200 they will appear as 200×200 eventough i specified 25×25.
The same code works perfectly on wordpress themes, the quick fix was to upload images in the exact size, not perfect solution but it works.
Perhaps someone else has an ideia on how to make it work without uploading images in the exact size?
I also wanted to stop the categories from displaying ‘0’ on my front page. I followed CK’s advice and edited my theme’s front-page.php file.
I changed
<?php forum_topics() ?>
to
<?php $cat_topics = get_forum_topics();
if ($cat_topics > 0) {
echo forum_topics();
}
else { echo ' '; }
?>
and
<?php forum_topics() ?>
to
<?php $cat_posts = get_forum_posts();
if ($cat_posts > 0) {
echo forum_posts();
}
else { echo ' '; }
?>
Makes sense. If you’re using it as a stand alone, you can continue to do so if you’re happy with it’s features as we’ll be continuing support for the 1.0/1.1 branches of code for the conceivable future. If you’d like to run the latest and greatest and have a need for WordPress integration, then the in-development plugin version is the way to go.
Makes sense. If you’re using it as a stand alone, you can continue to do so if you’re happy with it’s features as we’ll be continuing support for the 1.0/1.1 branches of code for the conceivable future. If you’d like to run the latest and greatest and have a need for WordPress integration, then the in-development plugin version is the way to go.