Ahhh, my bad. I thought that is what ”pretty’ permalinks did. Something to look forward to
(BTW, xdforum uses mod rewrite rules to make it work. It’s a wordpress forum plugin. Nifty, but I guess it depends on which features are more important to the end user right now )
none of the above helped with my situation. here’s my predicament:
i’ve got a full running WP. so i install bb in a directory inside WP’s means ROOT/ is WP and ROOT/bbpress is bb. bbpress worked fine when it was in it’s own database too. but when i edited the few lines… at the bottom of bbpress’ config.php, to direct to wordpress’ prefixes and urls (i also edited the top lines to direct to my wordpress database as well).
then it didn’t work… what went wrong>?
here’s a link to the thread i started abt it…
https://bbpress.org/forums/topic/98
first, i setup my bbPress, tested it… worked great! now i went to the config.php and changed the settings to point to my wordpress. my wordpress has in the root directory and mt bbpress was i a folder root/forums/ … for the configuration, i’m sure i did everything right. changed the wordpress prefix from false to wp_ then added in the urls of my wordpress as required. i then removed the // on the next line as the instructions said.
now i loaded the directory with bbpress… i expected to go thru the whole installation thing again but it failed. someone please help?
I believe there are several plugins for WordPress (and even a sidebar widget) that pull content from RSS feeds.
I’d use the widget since I don’t know the names of the plugins off the top of my head. I’m sure Google does, though
@ear1grey: Maybe I´ve got the plugin you want to have – some time ago I created a plugin like that for a bbpress+wordpress site which is no more online – I´ll search it on my HD and test it, and if it still works I´ll put it up for download…
larmir,
I had a similar thing happen to me on WordPress. Just about went nuts trying to figure it out, but I finally did. I would think that since bbpress is made by the same folks who did WordPress that you’re experiencing the same thing I did with WordPress. I’m guessing that when you created your database that you didn’t create it in UTF-8 format. If you check the installation documentation, see if it recommends UTF-8. Then, check to see what kind of encoding is on your database. If that is the problem, you can solve the problem fairly easily. Here’s a link to instructions that I wrote for fixing the problem in WordPress:
http://www.minc.info/?p=32
You should be able to do the same thing to fix it with bbpress. *NOTE* I haven’t tried this with bbpress so I can’t guarantee it will work.
Hope that helps,
Ben
Thank you.
So how easy would it be to pull the latest 10 threads onto my wordpress sidebar?
When I think of it, that makes total sense. WordPress was created before BBPress. So WordPress can’t “hold” BBPress. But BBPress has been programmed to “hold” WordPress.
I think someone was saying in another forum that WordPress is working towards “holding” BBPress.
Actually, I just tried to login to BBPress, and there appears to be a circular matter with logging into the dashboard.
wp/bbpress/wp/bbpress/wp/
So I guess I will have to re-install everything, starting with BBPress, then loadingWordPress into it, instead of what I have now.
You’re using WPmu, yes?
It’s a little different. See my response here: https://bbpress.org/forums/topic/77?replies=6
You could use the $bb->wp_home stuff, but you’ll have to also:
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
Since MU cookies are structured a little differently than WP cookies.
Try this.
Look at the cookie you have from you mu site. (In firefox: preferences -> privacy -> cookies -> view cookies then find the cookie in question. I’m sure there’s a way to do this in other browsers as well.)
I bet it looks like this:
Name: wordpressuser
Domain: example.com // or is it .example.com ?
Path: /
Send For: Any type of connection
And one for the password too:
Name: wordpresspass
Domain: example.com
Path: /
Send For: Any type of connection
If that is the case, in bbPress’ config.php set the following.
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
$bb->cookiedomain = ‘example.com’; // or .example.com if there was a . above
$bb->cookiepath = ‘/’;
If I’m wrong in my guess about the structure of yrour cookies, please post what they are (name, domain, path, send for only. Don’t post the content of the cookie).
A question for Atsutane or anyone else for that matter in the know!
You talked about the design being easy if a person loads the WordPress into BBPress. But what if I do the opposite, load BBPress into WordPress? Which is what I have done.
Is it easier or BETTER to integrate WordPress into BBPress, or BBPress into WordPress, both from a programming perspective and from a website design perspective?
huh. Still spews erros:
“bbPress database error: [Table ‘bbpress.wp_users’ doesn’t exist]”
So it’s still looking in the bbpress db instead of the MU one.
Fiddling with “// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.” doesn’t change things either.
If I comment out the define custom user table, it works without errors, but still doesn’t share user info. Weird.
Any hints or where I’ve overlooked thing? Something else to edit?
Also, I should mention I’m doing this on a local server.
I got this from the documentation,
“If you’ve installed bbPress into a subdirectory of your WordPress installation, define $bb->wp_home and $bb->wp_siteurl as your WordPress blog address and WordPress address, respectively. Both sites will now share the same cookies so that when you’re logged into one, you’re logged into the other.”
so why would’nt this work for me? probably something simple that i’m overlooking. But i do have those two variables set (in my case, they are both, http://exampledomain.com), and nothing!, i have to login to both systems.
They do share the same usertable, just not the session cookies.
Looks very good. I like the sports theme and especially the way you executed it in a simple but memorable manner. This approach perfectly matches the “simple but elegant” slogan of bbPress.
I am not as good as you are at coming up with a nice looking theme (plus mine is a business site, so slightly more serious topic), so I just modified the standard header and colors a bit. But I still like my new bbPress forum much better than my former YABB forum system. YABB was somewhat slow for me, but the biggest problem was that it was nearly ignored by every search engine. On the other hand, my WordPress blog is very well indexed by the main search engines and I am hoping that bbPress will have the same results.
thomas at innovatize dot com slash forum
Awesome, that worked! Thanks for the assist.
Try require_once('/path/to/wp-blog-header.php');
instead of wp-config.php.
What you’re trying to do should be done in bbPress’ config.php file, but you’re really close
Put your index.php back the way it was. In bbPress’ config.php file, put the following two lines right after the <?php
line.
require_once('/path/to/wp-blog-header.php');
define('WP_BB', true);
It seems you’ve found the correct path to use in you system: /home/myusername/public_html/blog/wp-blog-header.php
So it should now look like:
<?php
require_once('/home/myusername/public_html/blog/wp-blog-header.php');
define('WP_BB', true);
Then, copy your bb-templates/
directory to my-templates/
this is so you can modify the template files without editing the original ones; bbPress will use the files in that directory automatically instead of the original ones.
In my-templates/front-page.php
(and any of your other template iles), you can now call any WordPress template function, even get_header()
.
You should be able to use any bbPress functions you like in WordPress as long as you
require_once('path/to/bbpress/config.php');
When u load wordpress function inside bbpress. U already integrate both design point and database point. You only need to add WP template tags inside bbpress template.
Nope. Here is my index.php file from the bbpress directory. What am I doing wrong?
‘<?php
require(‘./bb-load.php’);
//the next two lines are my attempts to load it myself
require_once(‘/home/myusername/public_html/blog/wp-config.php/’);
require_once(‘/home/myusername/public_html/blog/wp-blog-header.php’);
$bb_db_override = false;
do_action( ‘bb_index.php_pre_db’, ” );
if ( isset($_GET) && ‘1’ == $_GET ) :
$forums = false;
elseif ( !$bb_db_override ) :
$forums = get_forums(); // Comment to hide forums
$topics = get_latest_topics();
$super_stickies = get_sticky_topics();
endif;
do_action( ‘bb_index.php’, ” );
if (file_exists( BBPATH . ‘my-templates/front-page.php’ ))
require( BBPATH . ‘my-templates/front-page.php’ );
else require( BBPATH . ‘bb-templates/front-page.php’ );
//then i tried the include header call to no avail so i tried this
<?php include (/home/myusername/public_html/blog . ‘/wp-blog-header.php’); ?>
?>
‘
Quick Version:
Is it feasible internally, to have a user post a comment to the forum and register at the same time?
Detail:
Something that’s been mentioned already by a regular reader of my blog is that he’d be far less inclined to leave a comment anywhere that he had to register first.
The BBPress registration process is mind-numbingly simple, but users first have to get over the two-step-hurdle of registering and then leaving their comment.
So it strikes me that, since the registration details are the same as you have to provide when blog-commenting some middle ground might be beneficial.
I imagine it working such that when the user submits their comment (topic) their confirmation message is along the lines of:
From here it becomes a small step to replace the wordpress comment mechanism with bbpress, which is somehting I’d like to do.