Hola!
Que lástima enterarme tarde, acabo de montar un foro en mi blog http://www.alhaurintorre.com con phpBB.
Me ha llevado bastante trabajo y de haberlo sabido, seguro que lo hubiese intentado primero conWP.
Cuando me recupere de la experiencia lo intentaré con bbPress.
¡¡Suerte!!
i’m using
require_once(‘/absalout/path/’)
I tried that and it threw back a serious error. I might be a noob, but is there more defining that needs to be done? Inserting the code towards the bottom didn’t work. My installation works ok, but it doesn’t load wordpress at all, and if I uncomment the wp_bb line, it errors up as well.
Help!
The plugins are loaded everytime bbPress is loaded.
If you’re don’t want any code from your plugin to execute unless you’re in the admin, you could put something like this hack at the top of your “admin-only” plugins:
if ( false === strpos($_SERVER['REQUEST_URI'], '/bb-admin/') )
return;
But just loading the plugin file shouldn’t add too much overhead. You could do something a little nicer, if you weren’t worried about loading your plugin file:
function my_admin_only() {
if ( false === strpos($_SERVER['REQUEST_URI'], '/bb-admin/') )
return;
else load_my_plugin_stuff();
}
add_action( 'init', 'my_admin_only' );
Create a directory called my-plugins/
in bbPress’ root directory.
Into that add a new file called mod-write-topics.php
with the following code.
<?php
function mod_write_topics() {
global $bb_roles;
$bb_roles->role_objects['member']->remove_cap( 'write_topics' );
}
add_action( 'bb_got_roles', 'mod_write_topics' );
?>
I think that will work, but I haven’t tested it.
If you switched user tables after bbPress was already installed, the accounts in the old user tables won’t work.
You can log in with the accounts in the new user table, but none of those accounts will have administrator rights in bbPress.
You’ll have to manually add something to your database.
In WordPress’ usermeta table, add an entry that looks like:
user_id: #your user id on your blog#
meta_key: bb_capabilities (replace ‘bb_’ with bbPress’ table prefix)
meta_value: a:1:{s:9:”keymaster”;b:1;}
thanks.
this worked right out of the box.
FYI, when installing this you should, if you havnt already, copy the edit-form.php and post-form.php to “my-templates” before you edit them.
Hopefully we can find someone to help with a bbPress version of “comment quicktags”.
err now i can’t login with the admin u/p bbpress gave me
Hello,
Great idea !!
It would be great to have a system that allow WP comments to be handled by bbpress in way that would be transparent (for example the number of comment been displayed under the WP post) and even (let’s dream) the x first comments available under the WP post (like it’s the case currently), with a link “read more.. ” directing to the whole number of comments in bbpress.
I don’t know if this is realistic but such a system associating a blog script and a forum script would be really fantastic (currently blog handling of comment is really poor from a user point of view).
Luc
Luc
bb-emotions plugin
A friend of mine, Japanese bbPress user enjoy hacking plugin WP Grins port to bbPress.
So, he wants to add this bb-emotion here, but he’s not good at english, then I translate he says.
= = = =
ziped code:
http://prdownloads.sourceforge.jp/wppluginsj/22267/bbEmoticons-0.72.zip
- put
bb-emotions.php
to /my-plugins/
;
- put
smilies folder
into /bb-images/
;
- add
<?php bb_do_action('bb_grins'); ?>
to above the textarea in the each theme (edit-form.php, post-form.php);
That’s all, and does work!
I’m so happy if this will be your help 
= = = = =
Thank you.
For me, the most useful thing would be a little WP plugin that shows the same information that’s in the Latest Discussions section of the bbpress front page.
Nothing too fancy, just ordered by freshness, so I could pop something in my sidebar similar to the “recent comments” section I have on boakes.org.
If you’re getting that error when WP_BB is set, you’re probably not including wp-config.php correctly.
You do not need to load wp-config.php in order to integrate cookies or most anything else.
See https://bbpress.org/documentation/integration-with-wordpress/
and https://bbpress.org/documentation/faq/#integration-plugins
Thank mdawaffe! I have solved this problem. It looks working fine when I moved BBPress into a sub-directory of my WordPress.
garymill,
Login problem:
wp_home
and wp_siturl
will only work if the url for your forums is a “subdirectory” of the url for your WordPress blog. If that is not the case, you’ll need the more fine-grained control mentioned in the Cookie integration with WordPress Documentation
Installation problem:
on Installation, bbPress looks to see if there are any keymasters in the User Tables already. You’ll need to go to your usermeta table and delete the entry:
meta_key = $bb_table_prefix . ‘capabilities’ (example: ‘bb_capablities’)
meta_value = a:1:{s:9:”keymaster”;b:1;}
This part of the installation will have to change in the next version for several reasons. The difficulties you’re seeing is one of them.
No – WP_BB
only tells bbPress that you will be loading WordPress so that it knows not to try to load thingsn which will conflict with WordPress.
If bbPress is installed in a subdirectory of WordPress, put this in bbPress’ config,php
require_once(dirname(dirname(__FILE__)) . '/wp-config.php');
i am under the impression that there is a default theme with bbpress, mine is not loading, everything else is working. (Well, its installed and ic an add forums etc), but it looks like its not finding a .css file of anysort. any ideas?
evelardiez,
bbPress comes with such a script. Download the software, fill in the details of you database connection in config.php
, and when you first browse to your forum’s URL, you’ll be taken through the installation procedure.
See https://bbpress.org/documentation/installation/
bbPress does not have email notification. It sends email for a couple administrative things, but not when new content in posted. It does, however, produce RSS feeds all over the place.
That said, an email notification plugin would be a welcome.
Yea, I agree with lstelie.
WP use subversion to manage each localized file:
https://codex.wordpress.org/WordPress_in_Your_Language
http://svn.automattic.com/wordpress-i18n/
How do bbPress’ developers think about managing localized file?
great job man, just what I was looking for.
I second this request; bbPress is absolutely perfect, and I’d love to switch, but I have a six-year-old phpBB support forum filled with support topics for users to search through. What a shame it would be to lose all that info!
What exactly did not work?
I was wondering if this forum would be capable of housing the comments of my wordpress blog inside the forums. Maybe through some sort of plugin or maybe just an option in bbpress itself.
Anything info would be great.