Thank you for the help. I tried the plug in proposed by Tren
and the solution at https://bbpress.org/forums/topic/988?replies=4#post-6373. Only Charly54’s solution worked (Thank you Charly54), but only partially. The solution works with the default theme (Kakumei). I downloaded Bloody Gray 1.1 by Aditya Naik, removed Tren’s patch-to-URL plugin, Kakumei still works, I can see the preview of “Bloody Gray” in the Admin/presentation page. Once “Bloody Gray” is selected as the theme Firefox 2.0 show nothing and no code. When looking at the same page in IE 7.0 I get `<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML><HEAD>
<META http-equiv=Content-Type content=”text/html; charset=utf-8″></HEAD>
<BODY></BODY></HTML>`
An empty page!. Thank you for you help, I will get another theme and try to understand what is happening, looks like many have struggle with this issue.
@kernow
Although bbpress does not want to become a bloated forum software, it would always evolve to enable capabilities to be added via plugins. As and when requests come in for features, it would be evaluated on the basis of whether it needs to be in a core or as a plugin – and if it needs to be a plugin, hooks will be provided for plugin developers to built *any* feature.
cheers!
It’d be better as a plugin for WordPress, with the obvious option not to activate it, and the opportunity to deactivate it without affecting the function of WordPress.
It’d share all the benefits of WP too.
Sounds like you’re getting bozo’d. Go to your profile, go to edit, and if the contents of the Bozo: field is “1” then you have a problem. Apply this patch: https://bbpress.org/forums/topic/822?replies=11, then go back to your profile > edit, change the bozo field to 0 and submit changes. You should then no longer have a problem.
You have to do it differently. To apply a css file, make a new folder in /bbpress/ called my-templates, open it, make a new folder for your “theme”, and put in your css file called style.css. Now go to the Admin Panel > Presentation and pick your theme.
Note that you can change the HTML output of files as well. If you do not have a file for a particular page (such as forum.php) bbpress will look for the default file (located in /bbpress/bb-templates/kakumei) and use that instead. If you wish to use a modified file, copy the default into your theme’s folder and change it there.
I found out that most people’s bbpress has this code in index.php
<link rel=”stylesheet” href=”http://yourdomain.com/style.css” type=”text/css” />
however my index.php shows
<link rel=”stylesheet” href=”style.css” type=”text/css” />
in the bbpress root there is no css file, so I think that’s why it didn;t work.
Can anyone told me how to fix it?
Right now I just dump my css file in the root so index can reads it.
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. =]