Hi! After 3 hours of brute-force testing, I found a working configuration:
# BEGIN bbPress
Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
#handle admin stuff
RewriteRule ^bb-admin/.*$ - [L,QSA]
# handle the rest
RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
RewriteRule ^profile/?$ profile.php [L,QSA]
RewriteRule ^rss/?$ rss.php [L,QSA]
RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&topics=1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&topics=1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]
RewriteRule ^rss/view/([^/]+)/?$ rss.php?view=$1 [L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ tags.php [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]
# handle forums
RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # no '?' before the closing '$' this time: very important!
# handle topics
RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)/$ topic.php?id=$2 [L,QSA] # no '?' before the closing '$' this time: very important!
# handle non-existent pages
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [L]
</IfModule>
# END bbPress
I realized I was not upgraded to the latest version. I followed the instructions as identified on the site and got this:
An invalid configuration file was found at bb-config.php
The installation cannot continue.
Usually this is caused by one of the database connection settings being incorrect. Make sure that the specified user has appropriate permission to access the database.
Any insight? Thanks in advance!
A “Thesis page” is just like any other html/php/css WP page except that it uses Thesis Hooks, which is the framework Chris Pearson created to sit on top of WP and is far more efficient than the underlying WP code. It looks like this…
<?php
// Using hooks is absolutely the smartest, most bulletproof way to implement things like plugins,
// custom design elements, and ads. You can add your hook calls below, and they should take the
// following form:
// add_action('thesis_hook_name', 'function_name');
// The function you name above will run at the location of the specified hook. The example
// hook below demonstrates how you can insert Thesis' default recent posts widget above
// the content in Sidebar 1:
// add_action('thesis_hook_before_sidebar_1', 'thesis_widget_recent_posts');
/**
* function custom_bookmark_links() - outputs an HTML list of bookmarking links
* NOTE: This only works when called from inside the WordPress loop!
* SECOND NOTE: This is really just a sample function to show you how to use custom functions!
*
* @since 1.0
* @global object $post
*/
function custom_bookmark_links() {
global $post;
?>
<ul class="bookmark_links">
<li><a rel="nofollow">&title=<?php urlencode(the_title()); ?>" onclick="window.open('http://delicious.com/save?v=5&noui&jump=close&url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>', 'delicious', 'toolbar=no,width=550,height=550'); return false;" title="Bookmark this post on del.icio.us">Bookmark this article on Delicious</a></li>
<?php
}
Thesis is on one level, just an additional library of high level functions, and at another, its an incredibly easy way to design and manipulate your theme/template. The structure of the framework and the finished theme it provides also happen to be presented in a very SEO conscious way, which is obviously a big selling point.
What I would really like to see is a BBPress Template written for Thesis. Hmmm. I wonder. How hard can that be?
r2417 is the very latest trunk in the 1.0 series. Actually, Matt tagged it 1.1-alpha about 3 months ago. It’s essentially 1.0.2 with bug fixes, PLUS subscribe to topic and login-less posting added. Not much else. It’s probably as safe to run as 1.0.2 right now.
PubDirLtd, the issue you describe with missing thumbnails and missing CSS used to be caused by improper permissions on the my-templates folder (and my-plugins folder has the same problem, but is not causing this symptom for you.) The permissions should be 0755, not 0750. The directories used to get created with 750 permissions, but I thought a clean install of 1.1-alpha should create the directories with the proper permissions. Did you upgrade a 1.0.2 or older installation, or install the latest r2417 using SVN?
In any case, changing the permissions on the my-templates directory to 755 should take care of the missing thumbnails issue and other theme-related issues you’re having.
Actually, it is that one – 2417. I used the latest SVN version, which calls itself 1.1-alpha, unless that’s a mistake.
you can fix the plugin anonymous to make anonymous post sistem and anonymous post moderation
tested in my website and works with little fix
All values under the cookie section of /bb-admin/options-wordpress.php must be changed according to the WordPress values.
WordPress URL
Blog URL
Cookie salt “auth”
Cookie salt “secure auth”
Cookie salt “logged in”
also make sure to:
1) delete the old cookie before making your tests.
2) check values of bbPress Integration plugin (/wp-admin/options-general.php?page=bbpress-integration-admin)
3) change COOKIEPATH according to what the bbPress Integration plugin reports
Sorry I was trying to explain it without full explanation or linking to my test site.
I’m trying to imitate the buddypress default theme for bbpress. They have a button under title called Public Group. You can see an example here in blue. http://testbp.org/groups/testgroupp-1060610747/forum/topic/a-forum-topic/
I wanted to do the same in my bbpress theme that the button says Public Forum or Hidden Forum depending on what it is. Does this make sense now?
Perfect! Works like a charm!
Thanks gerikg.
I installed and activated, and it seemed to have just removed all of the latest discussions – the entire list!
I read that the default is 7 days and we’ve had new posts today. Am I doing something wrong?
Is there a way to limit the amount of latest discussion shown on the front page? There are currently 30 of them and I want to cut that number down to 10-15.
http://gmauthority.com/forum/
Long live bbPress!
I’m having this same issue in a test forum I’m running at the moment. Adding tags doesn’t refresh the page, consistently in certain topics. And when it does, the whole page reloads, rather than just the tag section via ajax…
This problem happens when using the default theme.
Any ideas? kirpi.it didn’t say how it was fixed!?
I want to organize my front-page.php to show where the topic is from.
example this thread.
Lastest Discussion
How to get Forum name from Topic? in Troubleshooting
I want to know how to get “Troubleshooting”
I’m assuming <?php forum_name(***topic ID HERE***); ?>
http://bbpress.org/plugins/topic/user-photo-for-bbpress/
Hi, I’m trying to display the avatar of the person who started the forum topic on the mainpage, in the place of the last posters name, in the latest discussions area.
I’ve tried using the way it displays in profiles
<?php if ( $avatar = bb_get_avatar( $member->ID ) ) : ?>
<div id=”useravatar”><?php echo $avatar; ?></div>
<?php unset($avatar); endif; ?>
It does not work. I’ve tried pulling it like in a post
<?php post_author_avatar_link(); ?>
Nothing. One more
<?php
if (function_exists(‘bb_get_photo’))
bb_get_photo($user->ID);
?>
No joy there either. I tried using this function
<img src=”<?php echo USERPHOTO_URL . $profileuser->userphoto_image_file . “?” . rand() ?>” alt=”<?php _e(“Full size image”, ‘user-photo’); ?>” />
and it almost does it…
http://localhost.wordpress.com/wp-content/uploads/userphoto/?29089
but as you can see it does not grab the users avatar, (1.jpg) although it’s pointing to the right place.
has anyone ever gotten avatars showing on the mainpage with the user photo plugin? I am aware other plugins exist for avatars but they do not suit my needs, apart from this one hickup, user photo is the best for wordpress/bbpress shared avatars. The guy who made it has long since left
Hi. For some reason, my deleted users keep reappearing. I keep deleting all users that have 0 posts and include .ru in their email address, and all of those exact users keep reappearing on the list. Any suggestions? I just loaded this plugin today, so I assume I have the latest version.
http://fakeplasticfish.com/discuss/ mA
I think it’s relatively safe to update to trunk. Trunk is probably less broken than 1.0.2 right now. I would perform a test installation to be sure everything still works the way you want, before upgrading a production site.
This site is using trunk, BTW.
If you begin using trunk, please post any problems to trac so they can be addressed. Thanks
gerikg, I just committed the patch to fix this. I believe bbpress.org is running trunk and it updates on some sort of schedule/cron, so that fix will be present here tomorrow probably. Could you test again tomorrow?
I don’t know when or how the code gets updated here, but I am seeing my changes here a day or two after committing to trac.
Thanks
I’m working on a little plugin that is a rework of Hidden Forums. It will allow the user to hide topics as well of forums. I will post the code after some testing.
Hi there,
The terms of service plugin is not available anymore when i try to download this.
See: http://bbpress.org/plugins/topic/terms-of-service/
Does anyone has this plugin and is this compatible with the latest version of BBpress?
from SAM
“A first attempt at getting WordPress 2.7 and bbPress 1.0 to play nice again is now in trunk [1862].
I’m specifically talking about “deep” integration, i.e. when you include WordPress inside bbPress to gain access to WordPress’ functions.
This will need a lot of testing, so please post any issues you have on the relevant Trac ticket, #972 (which will stay open until some more testing has occurred).
I recommend using the following code at the top of your bbPress bb-config.php file to include WordPress inside bbPress:
if ( !defined( ‘ABSPATH’ ) ) {
include_once( ‘/Full/Path/To/wp-load.php’ );
}
Note that this includes “wp-load.php” not “wp-config.php” or “wp-blog-header.php”. This avoids running WordPress’ template loader which presumably isn’t needed inside bbPress. Some implementations may want it though, so if you find you need it then give it a go and let us know how that goes.
Also note that all filters and actions set in WordPress whether default or added by plugins or themes are cleared out completely. That means that plugins and themes installed in WordPress cannot add filters or actions to bbPress at all. This may have some implications I’m not aware of yet.
Go nuts! “
After some more testing, i’ve managed to get it working exactly how I wanted. You’ll need to change it in front-page.php.
If you want the code, here it is: http://pastie.org/896738.txt.
Hope it works for anyone who wishes to use it.
edit: i mentioned that you need to replace forum.php with the above code, this was a mistake so you will need to revert the forum.php back to it’s original state and only change the front-page.php.
http://thekak.com/forums here is the test site. try to add a tag.