Hey guys,
I’ve almost finished installing my bbpress on http://www.stereopoly.de/forum but there’s one thing doing wrong: The permalinks. I want to use pretty permalinks, but obviously my server does not support the easy .htaccess thingy (Multi Views).. Thus I have to run http://www.stereopoly.de/forum/bb-admin/rewrite-rules.php right? But if i do so, I will get to the homepage (stereopoly.de/forum)
Any idea, how to solve this problem?
sorry for my bad english, i’m just german 
cheers
It looks like all the files were not uploaded properly. For example, the stylesheet is missing:
http://www.redsunday.net/forums/bb-templates/kakumei/style.css
Or possibly, you have pretty permalinks or slugs turned on, and they’re not supported by your host (very common with GoDaddy and Dreamhost, I think.) Modify this line in your config.php from 'slugs' or true to false like this:
$bb->mod_rewrite = false;
If all the files were uploaded properly, I would guess this is your problem.
I’m trying to use the same database and tables for wordpress and bbpress but they don’t merge painlessly.
I set the table prefix in bbpress’s config to wp_ and set the database to be the same as wordpress’s. I also set the wp_prefix in bbpress’s config.
Then I tried to start bbpress but it threw a bunch of exceptions and now it will not save new posts. Can anyone help me?
I enclose it’s exceptions
Now we’re going to create the database tables and fill them with some default data.
bbPress database error: [Incorrect table definition; there can be only one auto column and it must be defined as a key]
ALTER TABLE wp_posts ADD COLUMN post_id bigint(20) NOT NULL auto_increment
bbPress database error: [Key column 'post_id' doesn't exist in table]
ALTER TABLE wp_posts ADD PRIMARY KEY (post_id)
bbPress database error: [The used table type doesn't support FULLTEXT indexes]
ALTER TABLE wp_posts ADD FULLTEXT KEY post_text (post_text)
1. Created table wp_forums
2. Created table wp_topics
3. Created table wp_topicmeta
4. Created table wp_tags
5. Created table wp_tagged
6. Changed default value of wp_posts.post_status from publish to 0
7. Added column wp_posts.post_id
8. Added column wp_posts.forum_id
9. Added column wp_posts.topic_id
10. Added column wp_posts.poster_id
11. Added column wp_posts.post_text
12. Added column wp_posts.post_time
13. Added column wp_posts.poster_ip
14. Added index wp_posts FULLTEXT KEY post_text (post_text)
15. Added index wp_users UNIQUE KEY user_login (user_login)
bbPress database error: [Field 'post_content' doesn't have a default value]
INSERT INTO wp_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES ('1', '1', '1', '
First Post! w00t.
','2008-02-22 15:10:39', '127.0.0.1', '0', 1)
bbPress database error: [Unknown column 'post_id' in 'field list']
SELECT post_id, poster_id FROM wp_posts WHERE topic_id = 1 AND post_status = 0 ORDER BY post_time
bbPress database error: [Unknown column 'post_id' in 'where clause']
SELECT * FROM wp_posts WHERE post_id = 0
Finished!
Eek. Well, I’ll keep it on Yahoo for a little bit longer while I finish my attempts at utilizing WordPress to drive the new site design. Then I’ll see about launching it on another server. It’s bizarre to me that yahoo can’t do that, especially seeing that wordpress is an option on the backend server. I appreciate all the help!
*Wait, I didn’t catch the setting the dang line of code to false. It looks like we’re rolling. Just in time for me to be exhausted. Thanks for everything, guys.
Don’t use permalinks. Find the mod_rewrite line (line 27 in mine) in your config.php and change it to look like this:
$bb->mod_rewrite = false;
That will turn off the permalinks and all the links will work again.
No, it is JUST .htaccess – the . indicates it’s a hidden file, and there is no file extension. The Apache webserver looks for that file for direction on some hosts.
i like the way u think 
ill try your plugin and post feedback.
Sure thing… Right now I use a different database, but I’m going to change it to work with users_meta. Nothing hard. I’ll send you a message when I do
>> are u sure _ck_ ?
>> how about the hired Chinese ? 
That gives me a great idea to spell the numbers out as words in captcha-like graphics, which would be an interesting variation for non-english speakers.
are u sure _ck_ ?
how about the hired Chinese ?
Correction its not the plugin’s fault its when i call the bbpress/functions api from wp-config coz i want to use them in the wp site :
if ( !defined('BBDB_NAME') )
require_once(ABSPATH.'community/bb-load.php');
also i get a bozo.php related error :
Error:
Warning: Missing argument 2 for bb_bozo_pre_post_status() in /home/xxxx/xxxx/xxxx/community/bb-includes/bozo.php on line 173
I think they are all come from upgrading to WP 2.3.3 …
if anyone can help it will be cool
tnx
I have exactly the same problem the wp plugin “bbPress Integration” causing it somehow when i disable it wp editing works as normal when i enable it i get slashes “” everywhere when i edit post / comment / theme from wp administration all plugins / bbpress / wp are the latests versions…
also my server php.ini config are:
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
can anyone help?
Also, when I install any plugin I get this and a blank page:
Warning: Invalid argument supplied for foreach() in /path/to/forum/bb-settings.php on line 294
Warning: Invalid argument supplied for foreach() in /path/to/forum/bb-admin/plugins.php on line 7
Well I used the current trunk version of WP, and 1075 of BB, installation went fine (nice new installer helped integration along nicely). Thanks for the help!
But, I am getting an error at the top of each page in bbPress:
Warning: Invalid argument supplied for foreach() in /home/path/to/forum/bb-settings.php on line 294
(Path to bb-settings.php removed)
Is this a known issue? What could I do to resolve it?
That may have come across wrong…. The posts don’t matter because I am using your plugin, and that feature is already working for me.
However I feel two profile pages is a bit confusing for users. Do you think a link in the wp profile page would suffice since its rather difficult to have only one profile page?
The throttle is right in each user’s profile page.
It’s based on username.
If you want to tinker with increasing it, try this plugin I whipped up to avoid core hacks:
function post_regulation($text) {
global $bb_current_user;
$wait=45; // seconds between posts
if (isset($bb_current_user->data->last_posted) && time() < ($bb_current_user->data->last_posted + $wait) && !bb_current_user_can('throttle'))
bb_die(__('Slow down; you are posting too often.'));
if (strlen(trim($text))<10)
bb_die(__('Your post is too short, please say something meaningful!'));
if (strlen($text)>2500)
bb_die(__('Your post is too long!'));
return $text;
}
add_filter('pre_post', 'post_regulation');
In theory it would be possible to hack that further to regulate based on IP by doing a mysql query for the last post time that has the current user’s IP.
Yes, thanks. vbulletin is actually who I found. Their base forums and blog with a month of phone support was what I quoted above ~~~ the blog is an add-on. However, I found that one of their members created a hack that SEEMS TO BE a ‘click to install’ type thing andwill integrate with wordpress ~~~ so I may only have to rework my forums template. Also, their base template has everything I want for now, except a blog. I never was trying to build any massive forum structure ~ just good working forums that people could upload their pics to and PM each other and that gave each user a title based on number of posts 
I was just surprised, given that several people here don’tmind taking very small donations that no one wanted to make a couple of hundred to help. No issues though. I’ll do as you suggested and go buy the vBulletin.
If you make it too easy then everyone will have one, and what will happen then? 
Before long it will be possible to talk to bbpress instead of type….
I am beginning to test some code I have written to pre-configure a CPANEL based website to auto-install bbPress. Barring any extreme problems (or unforseen events in my life) I should have an early beta to test by the weekend.
It will only require a few simple inputs such as your username and password (same as you’d use on FTP or cpanel access) and from there it will do everything – create the database and tables, download bbPress, install it and take you to it’s configuration options.
It may be possible to eventually get it working with other types of hosts. I plan to investigate doing it on dreamhost and perhaps a couple of the other most popular hosts.
Looks like a lot of trouble to fix in the future. I never had any problems with bbPress, but that’s probably because there aren’t a lot of users active
I guess you’re working on it now because there are syntax errors and no site visible.
Hopefully you’re working with your own template, not the default one. If that’s the case, just use the default template until you figure out what change caused the problem.
If you are working on the default template, then I would just install a new copy of it and start over with your modifications, this time in a template of your own name.
The create your own template, create a my-templates folder at the same level as bb-templates, then in there create a folder that will be for your template (call it dogs or something.) Then copy over all the files from the kakumei template into this new dog folder, and then open the style.css file in this folder and make the appropriate changes there to give this theme a new name. Then, select it in your admin panel. Right now, it will look just like the stock theme, but you can make changes here instead of in the stock theme, and if something goes wrong, you can just select the stock theme and fix the problems in the new theme.
OK ~~~ This is one of the many issues I have going on because I don’t understand php. I THINK it happened when I was trying to align my blog name to the right and the rest of my page to the left, but I’m not sure ~~ I’ve also done a lot of copying and pasting of code snippets, so I may have done it then.
My login form one the header is leading from right to left instead of left to right as you can see on this page ( http://deesdogcare.com/DogBlog/dogdays/topic.php?id=3 ). It’s definitely a global setting because it’s that way on every page.
Any bright ideas?
I’m not surprised . . . I know so little about php that trying to use code snippets and paste them into my pages, the deleting them if it didn’t work is creating havoc for me. The code you left in the paste bin fixed my problem! 
This is whyI made the offer I did last night ~~~ I feel bad always having to have you do more than you would have to for someone who is well-versed in the language and design of the forums ~~~ and there are a lot of issues that I don’t know how to resolve. If I post them all, I’m going to bust the boards! LOL
Thanks for the code, _ck_!!!! Now my subforums are showing when I click the main forum from my front page 
D
Somehow you removed the sub-forum code from your theme.
Here’s a guess at the correctly inserted code:
http://pastebin.com/m33722e18
I don’t know whether I did it or if it was in the template I modified, but posting a topic in the main Dog Breed Forum didn’t correct the issue. I posted my forum.php code in the pastebin:
http://pastebin.com/m61cf1802
Thanks,_ck_ ~ I only hope that I understand php and bbpress forums as well as you do one day!
D