I have set my config.php
$bb->domain = ‘http://kaespace.com’;
$bb->path = ‘/bbpress/’;
I thought this is right setting.
At my site I have a login form put in the header (generated by wordpress, with wordpress functions) that displays either the form for the user to login or the welcome text with the username etc.
The reason I don’t want to use wordpress own login function is because that forwards the user to their wordpress profile which they shouldn’t be using.
The problem I now encountered using the usernames_i18n_fix.php plugin is that wordpress doesn’t display the usernames properly. For the time being I’ve removed the username from the welcome text. But is there any way to make this work through wordpress without including bbpress every time wp loads?
Is it possible somehow to redirect the user to the page they logged in from instead of sending them back to the forum main page?
To echo the username I use
<?php $user = wp_get_current_user(); echo $user->display_name; ?>
I just installed bbPress for the first time, and I’ve noticed a certain oddity that was incredibly frustrating until I figured out what was going on. The first thing I did after installing was make a bunch of test posts. But after only a couple, the posts stopped showing up. They’d appear in yellow after I posted them, and then, when I went back to the homepage, I couldn’t find them again.
Now, I think I’ve figured out what happened. My guess is that bbPress doesn’t like it when one user posts too many times consecutively. (Registering a new user and posting under that account did work.) But those posts don’t appear in the control panel under the Content tab. The only place I can find them is in the Dashboard, under “Recently Moderated.” And the only way to make them display seems to be to click into the individual post, scroll to the bottom and click “undelete,” even though, confusingly, there’s also a “delete” link higher up on the page.
I suppose I’m OK with this, but I just wanted to come here and confirm: Is this proper behavior? Am I missing something? What’s the post limit? Is there any way to turn it off, even if just for admins? I suspect on this forum there might end up being one or two users making a bunch of consecutive posts, and I’m all right with that. Can I at least get e-mail notification when something is moderated, and can it show up somewhere in the control panel? Plugins, perhaps?
A lot of questions, I know. Sorry, but this was really throwing me off.
Ah, yes, the empty delimiter was due to no table prefix. Fixed with this ticket which made it into version 1.0.
https://trac.bbpress.org/ticket/617
The ‘cannot modify header information’ fix still applies. Two separate issues.
Thanks a lot Sam!
Another problem I have is that the bb Post plugin doesn’t automatically add a slug. I tried addressing this but couldn’t make it work. The function bbpress_bb_new_topic is responsible for adding the topic to bb.
function bbpress_bb_new_topic( $title, $forum, $author, $author_name, $now ) { // making new topic in bbPress
global $wpdb ,$otherdb;
$bb_table_prefix = bbpress_getoption('bb_prefix');
if ( $forum && $title ) {
if (bbpress_getoption('bb_other_base') === "no") {
$wpdb->query("INSERT INTO <code>". $bb_table_prefix ."topics</code> (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id ) VALUES ('$title', $author, '$author_name', $author, '$author_name', '$now', '$now', $forum)");
$topic_id = $wpdb->insert_id;
$wpdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET topics = topics + 1 WHERE forum_id = $forum");
$wpdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET posts = posts + 1 WHERE forum_id = $forum");
} else {
$otherdb->query("INSERT INTO <code>". $bb_table_prefix ."topics</code> (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id, topic_slug) VALUES ('$title', $author, '$author_name', $author, '$author_name', '$now', '$now', $forum, $feltopic_slug)");
$topic_id = $otherdb->insert_id;
$otherdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET topics = topics + 1 WHERE forum_id = $forum");
$otherdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET posts = posts + 1 WHERE forum_id = $forum");
}
return $topic_id;
} else {
return false;
}
}
What needs to be done? I need to change the INSERT INTO statement, by adding the column name to the list of columns and the variable I want to insert for that to the list of variables?
I’ve just written a fix, I’ll add a ticket for it.
Edit: ticket added with patch…
https://trac.bbpress.org/ticket/638
fel64: I kind of knew this was going to be an issue, but never addressed it. I figured people would work out what to do (as you have). I guess it’s worth a ticket, if you add the ticket to the bbpress trac, I’ll patch it.
I just setup my new forum.
Everything works fine, but the forum didn’t ready the CSS file.
This is how it loos now.
http://kaespace.com/bbpress/
I try to search the simlar topic in here and put the plugin but still didn’t work.
Can anyone tell me what’s go wrong? thx
Maybe one of these threads will help?
https://bbpress.org/forums/topic/895?replies=11
https://bbpress.org/forums/topic/988?replies=4
https://bbpress.org/forums/topic/816?replies=13
I don’t think I have seen a definitive answer to why this happens or how to fix it, so the best I can do is point you to some threads that sounded similar to me.
IE can figure out what to do with the backslash in the path, but Firefox does not, which is why it works in IE but not FF.
A bozo user should have all its posts “bozoed” ?
I also have this bozo “1” field but I tried from another computer, without logging me, and my posts appears…
everything sounds strange is that bug.
Yup, I was browsing the actual files of the forums and found the statistics page. The category patch is found here in the Trac:
https://trac.bbpress.org/ticket/520
I followed the discussion in “Updated to Desmond But Theme Not Working”, however the proposed solutions are not working for me.
I have a IIS 6.0, windows 2003 server, MySQL 5.x and PHP 5.0 installation. Both directories “my-templates/” and “my-plungins/” are in the bbpress root. The “patch-to-URL.php” plugin is inside the “my-plugins” folder.
When looking at the source code in Firefox 2.0 I get
“<link rel=”stylesheet” href=”http://129.82.32.135forums/my-templates/kakumei/style.css” type=”text/css” />” (notice the “” before forums) and inside the admin section for the forum the themes previews are not visible, tough their names and the options to select are present.
However when using IE 7.0 the source code I get
“<link rel=”stylesheet” href=”http://129.82.32.135/forums/bb-admin/style.css” type=”text/css” />” and the themes previews are visible.
Any ideas how to fix this errors. Thanks.
I’m running the latest bbpress.
Here is the forum radioavivamiento.com/foro/
The problem is I cannot post to the forum. I got this additional warning after trying to post.
Warning: Cannot modify header information – headers already sent by (output started at /home/dirxxx/public_html/foro/bb-includes/functions.php:664) in /home/dirxxx/public_html/foro/bb-includes/pluggable.php on line 166
HParticipant
It’s possible, but I think it’s difficult (much work).
What about making a template which looks the same as your XHTML document? (Featuring the same menus, navigation system etc. as your XHTML document). Then the bbPress forum looks like it’s integrated without being so.
thanks for the hack vincent, I’m glad to see you got it integrated into bbpress. I’m using your hack myself
Warnings in PHP are just that: warnings. They don’t prevent things from working. You should not show warnings on a production site.
http://www.php.net/error-reporting
So, the problems you are having are likely NOT due to those warnings. What are the problems you have with the forum, aside from and ignoring those warnings? Maybe you have a bozo problem (where your posts don’t show up.)
What can’t you do on your forum? What version of bbPress are you using?
–Chris
Hi, i’ve downloaded bbPress because i’m a lover of WordPress amb because i like bbPress very much. But now i’im in a big trouble.
I want to integrate bbPress in an standard XHTML website with any line of WordPress code, and so i need to know how i can integrate it from the beggining of the process.
Now i’ve just installed bbPress in a url rute like /mydomain.com/bbpress but i need to be shown in a basic xthml document, like mydomain.com/phorum.php
How can i do this?
I think it’s possible, but can you help me?
Regards guys from Mediterranean sea. 
I’m waiting a good response form you as soon as you can, thanks guys.
Of, thank you guys for reply…
@Trent
I’m sorry, maybe I did not explained myself clearly:
I appreciate the thing that developers like the accessibility given by ajax, and are using this in their application, but the point was to leave the core functions that are for displaying content (like wp_list_pages(); for example in wordpress) outside of ajax.
You’re right wordpress uses ajax in the core but the templating part and the content is not affected at all (only the admin CP). This way we have ajax but only where it is really necessary.
Sorry for bugging, I do understand that my problem is not the #1 priority of the project team but I was thinking maybe there is any solution, thats why I reported that. Sorry …
@Null
Maybe the problem was in the marketing. bbPress was from the start advertised as perfectly compatible and easy to be integrated with WordPress. That is a great advantage, because WordPress is already one of the most usable publishing platform on the web, and people like everything that comes with it – as a result they took bbPress as an another plugin for giant. =]
And everytime a visitor writes a comment in that wordpress posts, it will appear as a post in that bbpress forum? (and vice versa)
Unfortunately that bb Post plugin only toasts your bagels but doesn’t put anything on them. It’ll send WP blogposts as new topics on your forum, but comments/replies aren’t integrated. Someday.
http://am-fem.com/candy/
A small, 18+ forum community for my online friends
. I belong to alot of forums and wanted to run one of my own that was 18+ and more low-key then the typical XMB, SMF and PHPbb forums out there. I wanted a script that could have as little or as much as I wanted through plugins without all the un-necesary bloat and bbPress does that for me
!
I’m using my own modified theme off of Kakumei.
Plugins include:
– Allow Images
– Avatars
– Memberlist
– Post Count
– BBCode
– Forum Restriction
– Onlinelist
– Since Last Visit
– User Time Zones
– Category Patch
A few more plugins and the forum will be exactly what I’m looking for.
on 2diabolos.com, everything is working fine. And actually, my wordpress plugin allow me to make what you propose (cookie_domaine = ‘.2diabolos.com’ and cookie_path = “/” for wordpress and bbPress)
But on “localhost” (my computer), cookie_domain = “false” and cookie_path = “/” works fine for the front-page, but not for topic pages … that’s not normal (to my opinion). But perhaps someone have an explanation ….
Thanks. I will try this and let you guys know how it turns out.
The bbPress post plugin? The one that makes a new topic for every blogpost? That also integrates comments/replies?! How? I’ve got that plugin and I’d love it if I could figure out how to do it!