Hello,
I installed bbPress on wordpress 2.5.1. It went smoothly. I did not intergrate on install because I didn’t not have all the information to input (these instructions need to be explained better). Once installed I followed the instructions as per: http://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101.
On the last part where it asks about shared user table or some such (can’t look at it now) I entered WP_User. I think I was suppose to just enter WP_ (This needs explained better). Anyway now when I try to log on I get this message:
bbPress database error: [Table ‘hornymel_ss4949.WP_USERSusers’ doesn’t exist]
SELECT * FROM WP_USERSusers WHERE user_login = ‘384tlzxvu97’
However I cannot get in to change this value. How do I fix this?
True d’at. Although I think this may be what _ck_ was working on… I see the global declaration in there… I’ll try it…
Nope. All fora disappear. I’ll look into where this $forum_id comes from…I’m learning.
Huh. Setting $forum_parent=0; (or $forum_id = 0;) seems to do what I want. Hardcoding. Yuck.
@keymi: Chinese? I tried Kanji too…
@IPstenu: Yes, I had to apply the fix to get WP to work, that’s what tinkled the bell… Thanks for looking at it. I’ll throttle permissions down though… Do you use the the support forum mod? seeing as we’re both on the same patch level…
You mean not list them in the main list?
(not actually completely hide them)
The same approach should work in 1.0 as 0.9
I showed the exact code to do it in a topic around here somewhere.
Hiding subforms on your home page
https://bbpress.org/forums/topic/hiding-subforums-subforums-from-subforum-pages#post-17436
If you are integrated with wordpress, I believe you can mass edit users on that side (either natively or via plugin). With 1.0 using backpress, they will hopefully port over some of the user functions into the admin panel – ie. create new user and mass edit.
Keep in mind bbPress (and I don’t even thing WordPress) actually deletes users entirely from the db, it just disables them.
If you find a WP plugin that does what you want, it should be fairly straightforward to port to bbPress.
This would work for posts:
https://bbpress.org/plugins/topic/mass-edit/
I don’t know of anything similar for mass deleting users. You might just need to bite the bullet one time and delete them manually. I can’t log in to my site now to check if there is some type of “delete all checked” users function in the bbPress admin or not. I can’t recall.
Ah you have the exact situation I had made a note of in the back of my mind but had not made a fix for yet because I didn’t think it would be common – bb-attachments is like a page access for every image load because it loads bbPress. You have so many images, it’s trigging the “too fast” feature.
I haven’t addresses that yet. You can turn off the ban feature by setting these to zero:
$mini_track_options['ban_speed'] = 0;
$mini_track_options['ban_pages'] = 0;
@ctsttom – In order for a user that was registered in WordPress to have any authority in bbPress, they need to have the option ‘bb_capabilities’ in their user metadata. This does not have anything to do with the role maps in bbPress. Those role maps only affect users that are registered within bbPress that need to have capabilities inside WordPress. I think you are having the same problem that I had – you need to go the other direction. You need a default capability in bbPress for a new user registration in WPMU.
There are two ways to do this:
1) go to your bbPress admin panel, drill into each new user that was registered in WordPress, edit their profile, and assign them a ‘User Type’
2) use my shiny new WordPress plugin that creates a default capability of ‘member’ in bbPress for users that are registered in WordPress
https://bbpress.org/plugins/topic/wpmu-enable-bbpress-capabilities/
I would be interested in any feedback you have. There are two caveats to this plugin:
1) it does not handle any users registered in WordPress that existed before the plugin was activated, you’ll have to do that manually (but you get the idea and could handle this with a mass SQL)
2) there is no logic to determine which bbPress User Type to use, I just start with ‘member’ and assume that I’ll manually set admins/moderators, and further that everyone with a login should be able to post.
Let me know what you think!
I couldn’t seem to figure out why the most popular plugins list had no ranking of any kind. So I copy-pasted the 120 or so plugins, sorted by # of posts, and uploaded to google docs.
Here’s the list: http://spreadsheets.google.com/ccc?key=pO8geQM5HPJB5nWbjV1q4IA
Please, can some one help, this is still not working and no one seems to be helping I have no idea what to do or who to ask but here as its the bbpress code that is at fault.
Hi _ck_
The 503 error was happening after just loading one page a couple times in a row, or going from page one of this topic to the second page. The page where the problem was first observed is http://harrismarine.co.nz/bbpress/topic.php?id=9&page=2
You don’t need to load 100 pages in the session, or 50 pages in a minute. All you needed to do was load the first page of that topic, then try and access the second page. That’s where you typically got the 503. If you didn’t, simply F5 or CTRL-SHIFT-R would sometimes cause the 503.
It seems like something is being counted as a page access when it’s not. It’s as if loading the first page of that topic counts as 30 page views, then loading page two is another 25 or 30 and you get the 503.
There are lots of plugins installed. I thought at first that the bb-attachments plugin might be causing the problem since there are lots of embedded images in that topic. I know what *should* count as a page access, but it seems like some pages are being counted multiple times based on the content of that page.
If you need more debug info or logs to see what’s going on, please ask here. Right now both those throttling things are turned off (pages in a row in a certain time period and pages per session) and the forum seems to be working fine.
Hola, recien me inicio en bbpress v 9.0.2 y tengo un serio inconveniente al pretender usar el .mo. Si bien no encontré en ninguna parte el mo en español, encontre una en otro idioma dejando algunas lineas en ingles y otra en español con el poedit. Tras exportar al .mo : no funciona. Además enconté distintas instrucciones, a todas las probé sin éxito.
– en el bb_config, linea 4x=> define(‘BBLANG’, ‘es_ES’);
– el .mo dentro de la carpeta languajes, carpeta languajes dentro de carpetas:
bb-includes (como se indica en bb_config)
my-plugins (como recomienda el readme dentro de bb-plugins)
bb-plugins (lo encontré en algun foro y lo probe por si acaso anduviera )
Espero me puedan ayudar
Okay, I tried using the settings that the setCookieParams seems to be recommending.
PathcookiePath: /
Cookie domain: blank
Cookie hash: 84bdfc54a51c9a8b123e73fe41df39a3
No change in bbpress/blog behavior. When I use the bookmark to show cookie settings, they are unchanged since yesterday. It doesn’t appear the setCookieParams worked.
Another question, the 2Diabolos site has two setCookieParams on the page. Is there one that should be used over the other?
I found more info on the setCookieparam plug in.
http://www.2diabolos.com/blog/?s=cookie
What threw me was that the download given here is in an ‘upload’ subdirectory, but needs to be uploaded to the plugins folder and implement the usual way. It can then be accessed through the ‘settings.’ But, I’m still confused. The instructions here say that it can be used to check the cookie settings, but all I see is the ability to set the cookies. If I am to set them, should I just follow the suggestions given with the plugin?
Hello, I have the same probleme as csseur3. When I publish content with TinyMCE, markers re encoding like text and not as html…
The code produced is <p><b>exemple</b></p>
How can we fix that?
Thanks 4 help !
I did a search for native gravatar threads, and I got nothing. The ones I found were about gravatar plugins, which I don’t use.
I want to change the size and style of the gravatar that is native to bbpress. I have 0.9.0.2.
How do I do this?
hi guys,
very nice, but what does it actually mean in the end?
Is it possible to integrate wpmu 2.6.2 with bbpress 1.0-alpha-2 or not?
thanx
buzz
I guess I’ll try the phpBB3 -> phpBB2 -> bbPress method. Yikes!
I’ve checked and double checked all the steps to coodinating wp-config.php with bb-config.php but no-go. I can only log into bbpress if I’ve already logged into wp, but even then it doesn’t let me into the admin.
One possible area of confusion, I couldn’t figure out how to get the .zip file that would display cookies to work. How is it supposed to be implemented?
I got the bookmark cookie check to work, but it gave a number of different sets of numbers.
/r__utmc=162181740
__utma=162181740.1942902695.1222437978.1224615332.1224620799.21
__utmz=162181740.1222437978.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
__utmb=162181740
wordpress_test_cookie=WP+Cookie+check
Which string is relevant?
Ooops – please see my conversation with Donncha in the ticket above.
The short story: defining COOOKIEHASH as md5(get_option(‘site_url’)) will work for the main blog but not any other blogs if you are using VHOST (subdomains).
There is a fix/hack: calculate the md5 hash of your domain, and use that value to define COOKIEHASH.
define('COOKIEHASH', md5('http://yourdomain.com');
No subdomains, no trailing slashes, will work fine.
You can also get this value from bbPress speedup settings, found at Settings, WordPress Integration, and the bottom of the page.
$bb->authcookie = 'wordpress_biglonghashvalue';
$bb->secure_auth_cookie = 'wordpress_sec_biglonghashvalue';
$bb->logged_in_cookie = 'wordpress_logged_in_biglonghashvalue';
In your wp-settings.php,
define('COOKIEHASH', 'biglonghashvalue');
I’m about this close to making my new forums live. I’ve got WP 2.6 and bbPress alpha tied in together pretty well, but they recently announced the lockdown on 2.7, which means that may come out by years end.
Has anyone started testing with 2.7 yet? I’m not asking if I should not go forward and get my forums started, just wanted to know what kettle of worms I was opening
musnake –
One thing you could try, which seemed to get everything working for me. Copy the hashes/salts directly from your wp-config.php file and prefix each one with BB_. Might be excessive, but seems to work for me.
define('AUTH_KEY', 'blah');
define('SECURE_AUTH_KEY', 'blah');
define('SECURE_AUTH_SALT', 'blah');
define('LOGGED_IN_KEY', 'blah');
define('SECRET_KEY', 'blah');
define('SECRET_SALT', 'blah');
define('LOGGED_IN_SALT', 'blah');
becomes:
define('BB_AUTH_KEY', 'blah');
define('BB_SECURE_AUTH_KEY', 'blah');
define('BB_SECURE_AUTH_SALT', 'blah');
define('BB_LOGGED_IN_KEY', 'blah');
define('BB_SECRET_KEY', 'blah');
define('BB_SECRET_SALT', 'blah');
define('BB_LOGGED_IN_SALT', 'blah');
I just couldn’t get the descriptions in bbPress setup page to match all the keys in wp-config.php, so I copied them all over in a brute-force cop out. I am on a subdomain install, not folder, so this might not help.
musnake –
I think this must be a big source of the problem for MU and getting it to work with bbPress. And why some get integration to work (standalone) and other can’t (wpmu).
In the WP standalone install, it does indeed appear to be there (is that where you got the code above?).
In WPMU 2.6.2 (https://mu.wordpress.org/latest.zip) wp-settings.php, line 317:
// Used to guarantee unique hash cookies
$cookiehash = '';
/**
* Used to guarantee unique hash cookies
* @since 1.5
*/
define('COOKIEHASH', '' );
$wpdb->hide_errors();
if( defined( 'MUPLUGINDIR' ) == false )
define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );
if( is_dir( ABSPATH . MUPLUGINDIR ) ) {
if( $dh = opendir( ABSPATH . MUPLUGINDIR ) ) {
while( ( $plugin = readdir( $dh ) ) !== false ) {
if( substr( $plugin, -4 ) == '.php' ) {
include_once( ABSPATH . MUPLUGINDIR . '/' . $plugin );
}
}
}
}
Want to know the funny part? I actually debugged it instead of going to the source in WP standalone. At least I came to the same conclusion. This should probably be reported as an MU bug – I’ll let Donncha know.