(I cross posted this in the WP Support forums)
Hi,
Last night I did my first install of WordPress with a little help from the nice people hanging out in the Installation Forum – thanks again everybody. BTW, it took me a long time to do as I’m very new to mysql, php, ect.
Today, I’d like to add a forum. I’m very worried about screwing up my database or having to tinker with too many files. I’d like to add it now because I’ve yet to start customizing my site (WP is my main page BTW)and figure I should get all the things I want in there first, then go to work adding content ect.
I’ve read (or at least looked at the headlines for the first 100 post in these forums related to forums plugin).
So, here’s my question:I want a forum that will have about 10 or so categories listed under about five different cities. For instance: Chicago Jobs, Housing, For Sale, Events, ect.
Of course I want people only to log in once and I understand that bbPress and some plugins can do that.
It doesn’t have to be fancy or anything.
So, as a newb to using databases and php, should I choose a stand-alone like bbPress or a plugin I just upload to Wp?
I’m asking you assuming you are much more experienced with these things than I and will know which is better for someone at my level.
Thanks for reading this long post
There is a plugin that you can find over at https://bbpress.org/plugins/ but I just use one of the RSS widgets for wordpress and then use your bbPress forum RSS feed to do it.
Trent
I want to know if there is a way to display the titles of forum topics in WordPress with a link to the thread so that visitors to the front page will be able to see if there is something new on the forum without having to check it.
Yo!
What you could do is make bbsync look at your custom data, create the tables and hang them onto the post it puts into bbpress. However, there’s a better way IMO.
Every synced topic has the attribute wp_post, giving the id of the wordpress post. Since you probably run wp when you run bb (if you’re fully integrated), you can do (something like …) this in your bbpress template:
if( isset( $topic->wp_post ) ) {
$wp_post = get_postdata( $topic->wp_post );
if( isset( $wp_post->custom attribute you're interested in ) ) {
// some code to output a table into your template here
}
}
Much more interestingly, you could probably make that into a plugin so you can switch this behaviour on and off, and probably reuse it somewhere too. Could be very neat.
It’s feasible to replicate the functionality to want, but the best way would be to write a seperate plugin that only relies on bbsync for one thing: providing the ID of the wordpress post you’re interested in.
[As a general note: every wordpress post in wordpress has the attribute bb_topic too, giving the topic id for bbpress.]
Are the two fully integrated? Just users or functions as well?
With MU 1.2.4/bbpress 0.8.3 I am able to put this in the end of the wp-config.php file just fine.
// Include bbPress functions
define('WP_BB', true); // Avoid duplicate functions
require_once( ABSPATH . '../forums/bb-load.php');
With MU 1.3/bbpress 0.8.3 having that yields a Cannot redeclare update_user_status error.
Hey fel…
Basically the way I use it right now is I have about a dozen custom fields that I’ve created and I use these to put certain data into a table format in my posts. I have the custom fields hard coded into my my wordpress templates inside the loop section. If on a certain post I need to put data into this table format I fill out the custom field section on the Write Post screen when I’m writing the post. Then of course when I publish the post the custom fields that I’ve filled out show up in the table format in my post. I hope that makes sense…
Basically I guess what I need to know is if there is a way for me to hard code the custom field tags into the bbsync.php file so that it would pull those from the word press post and if so where I would put them in the bbsync.php file. I guess I don’t really need to use the plugin I told you about in my earlier post. If I could just put the custom field tags into the bbysync file and have them pull in that would be great.
Anyway, I hope that makes sense… Thanks for your help!
Over my head …. hmmm … any idea what actions to hook into or import from WordPress? I guess WP does this of course every time a new post is made…
Write a plugin to do it. There’s some actions you can hook into. Writing bb plugins is like writing wp plugins: https://codex.wordpress.org/Writing_a_Plugin
However the actions are different. Look for the actions on http://bbpulp.org/wiki/API/actions .
Hi fel64…
Wow, thanks for the quick reply! I use the Get Custom Field Values plugin in WordPress and this allows me to pull in custom fields that I’ve set up in my posts. I typically use this if a post is going to have some information that needs to be laid out in a format thats a little different than my regular post format. I’m not sure how these custom field values could be pulled into bbpress. Here’s the link to the Custom Field Values plugin if that helps:
Plugin: Get Custom Field Values
Thanks for looking…
One other thing that I noticed is that I have some Custom Fields that I use in my WordPress posts. These custom fields don’t show up on the bbPress posts that bbSync is making. Is there a way for me to add these Custom Fields to the bbPress posts?
Thanks…
For some reason I can’t activate this plugin in WordPress version 2.3.1. Any ideas?
There is absolutely a solution for it: fel64 explained it above. bbPress is not a forum plugin for WordPress, it’s standalone forum software. It’s configurable enough that you can use the same login and password from WordPress, you can create a link to it from you WordPress installation, and you can style it to look just like a WordPress page. You can even use bbPress functions in WordPress, and vice versa. The thing is, you have to do some work. But at least it’s possible to make it look like your WordPress site. Try that with phpBB or some other forum software.
If you look around these forums you will see many examples of installations where the bbPress installation is formatted to look exactly like the WordPress blog.
https://bbpress.org/forums/topic/strut-your-bbpress
https://bbpress.org/forums/forum/pimp-your-press
Hello,
There is really no solution for that ?
It’s a pitty to have a WP companion forum and been unable to really use it….
On my new site http://www.SportSayer.com , you can check out what I did. I send all logins and profile views to bbpress’s version, the user never (hopefully) sees the wordpress login page or wordpress plugin page. I like how bbpress is more integrated into the site rather than wordpress’s which is a different template.
Check it out: http://www.SportSayer.com
I just finished this new site of mine. Need to get the Forums going so if any of you would like to participate, that would be awesome.
I have them working together at my new site: http://www.SportSayer.com
Not a bad idea for the wordpress integration plugin… redirect the results of user_profile_link to the wordpress page.
You can’t install in such a way that ‘Forum’ will be automagically listed under your pages and appear in your WP theme.
However, you can install so that it uses the same user database. You can also add ‘Forum’, say, to your pages list and have it redirect to the actual forum (using a WP Page redirection plugin). You can also make the theme such on bb that it looks just like your wp theme, or use the wp header – trickier, but fairly well documented around here.
Is bbPress 0.8.3 compatible with WP 2.3.1 ?
thanks!
Hello,
I have a wordpress “blog” that I’m using for my website, http://www.discoultimate.com and I would like install bbpress on a seperate page so people can communicate. Is there a way to install bbpress almost like its just another page in wordpress? bbPress sounds great and I’m excited to use it but I’m just not sure how to impliment it on and already existing wordpress blog.
Any help or advice is appreciated,
Dan
i call it like this:
if ( !defined('BBDB_NAME') )
require_once(ABSPATH.'forum/bb-load.php');
the problem started after the integration of wordpress and bbpress…so i don’t know what the problem ist.
mdawaffe do you have a idea how i can fix this?
i have one more problem…i can’t add links to my posts…when i post a link in the entry it shows only <a>test</a>…any idea?
jaithn
i’m running now bbpress.83 and wpmu 1.3…
I installed wordpress without problem for two different blogs, but cannot get bbpress to install. I’ve spent a few hours trying out things this past week with no success. The patch by mdawaffe fixes my error messages related to mysql_get_server_info, however I still get some other strange messages:
Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-includes/db-mysqli.php:473) in /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-admin/install.php on line 10
Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-includes/db-mysqli.php:473) in /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-includes/functions.php on line 1898
Can anyone help me with this? I just set up a WordPress blog for a new product we’re distributing, and would like a forum in conjunction with it, so bbPress would be perfect.
If I can’t set up bbPress right now because the code is buggy, does anyone have suggestions for other forum software? I would even be ok with temporarily using a different forum setup, then porting it over to bbPress later (if that’s straightforward???).
Thanks in advance for any help or advice. I’m a knowledgeable computer consultant, but pretty inexperienced in blogs/forums. I can follow the conversation about patching the php files, and did so using standard web authoring tools. However, I’m not interested in becoming an expert on code versions or using diff tools. I just want a forum software that works well with my new blog for the benefit of our clients, with a minimum of fuss.
Normally, bbPress is not this bad. A couple bugs were introduced which create problems on some systems. My install from a year ago was no where near this hard, but I checked out the new code and if I installed it I would have had this same trouble.
I think the line 80 being referenced is line 80 of /bb-includes/db-mysqli.php
https://trac.bbpress.org/browser/trunk/bb-includes/db-mysqli.php#L80
I think there are 3 possible workarounds:
1. You can try overwriting /bb-includes/db-mysqli.php with /bb-includes/db.php
2. You can manually modify line 80 of /bb-includes/db-mysqli.php
3. You can apply the 745c.diff patch attached to trac ticket 745
4. Wait for mdawaffe to fix it permanently.
I guess a 5th option is to move on to other forum software. I hope you don’t do that. bbPress is nice when it works (which is 99.9% of the time.)
Thanks again chrishajer,
Yeah I’m running windows so I have no idea what the equivalent would be.
mdawaffe keeps talking about “line 80”, changing “line 80”. But I don’t know, line 80 of what? lol.
Man I had no idea that installing bbpress was going to be so difficult, installing wordpress itself was not bad at all.