Hey Guys.
I got the forum installed and all. Added the blurb above the config, added a .htaccess to bbpress/ root, and all the other steps suggested….
But can’t seem to get the links to work on the main page?
Was using firefox, switched to IE and the theme appears to work in IE not firefox…. that was one thing I noticed… not as important…
When I click to start a post, i get the forum, and when i post I get “The page isn’t redirecting properly” in Firefox, and in IE it tries to load forever.
Then wehn I go back to the main forum page…. there the new post is…
When I click on the post title or forum title, it tries to access in firefox, then i get the same error.
Now i’m testing all this on my local pc, using Xampp which is basically Apache as it’s server. I recently created a .htaccess file for my wordpress root, but it’s currently blank, does it need something? I’d like to get pretty permalinks working, but at the moment, that is the least of my worries.
Any assistance for this?
It is greatly appreciated!
Thank you!
Omar
oh yeah, look at that! I never heard of spotlight.
I really hacked it.
First I followed the instructions here…
https://bbpress.org/documentation/integration-with-wordpress/
I was surprised how easy it was. In seconds bbpress was installed and sharing the same user table as wpmu.
I never could get wpmu to run on top of bbpress. Evertime I tried wpmu would think I wanted to create a blog named boards instead of load the installation of bbpress in the directory called boards. (If anyone has a solution for that PLEASE point me in the right direction) So I “faked” it. I included the css file from my wpmu theme. Made some static changes to the header of bbpress just using HTML and there you have it!
That’s cool! For other people’s sake, could you explain (roughly?) how you managed to integrate bb with WPMU?
Also, completely unrelated, I notice that theme “Light” is very similar to “SpotLight”. Which is odd.
I changed all of the tops to:
<?php global $forumpage;
$forumpage = TRUE; ?>
<?php get_header(); ?>
but, I am still not getting any changes to the title.
hmm, what else could be wrong?
-Baldwin
<?php get_header(); ?>
<?php global $forumpage;
$forumpage = TRUE; ?>
…should be the other way around:
<?php global $forumpage;
$forumpage = TRUE; ?>
<?php get_header(); ?>
You need to set the $forumpage boolean before you call the header, or you won’t be able to use it there.
Alternatively, forget about $forumpage, and use a global boolean such as $bbdb that bbPress uses anyway, as suggested by fel64.
i have installed bbpress and the forum restriction plug in, but i can’t see the admin interface.
i put it in /my-plugins/ and have bbpress .81 with bugfix installed. no other plugins nor wordpress.
of course the display-name plugin is installed, too.
any ideas?
jaithn
AHHH
I’ve copied what you have above, and modified it slightly (to match my site), but I am not getting updated titles on topic pages like:
http://ppacp.org/forums/topic.php?id=1&page&replies=1
I’m assuming this has something to do with the templete files for bbpress, so I looked at the top of the files and it looks like this:
<?php get_header(); ?>
<?php global $forumpage;
$forumpage = TRUE; ?>
I changed all the files that had <?php bb_get_header(); ?>
from the “kakumei” folder.
Am I doing something wrong?
“confused”
-Baldwin
Perhaps someone can, but probably it’s unnecessary.
I think adding ads does make it commercial, but that’s pedantism. We could tell you how to fill out your config.php for you and the rest is veeeery likely plain sailing. Did you install your own wordpress?
Off the top of my head required info is the URL you want the forum at, if you want ugly URLs ( ?topic_id=59
), pretty (/topic/59
I think?) or awesome (/glorified-notebook-discussion-thread/
), the absolute path to your wordpress install, and your Akismet key (it’ll be in your wordpress wp-config.php
file). Database info you’ll be able to copy from wp-config
yourself plus it’s stupid to publish such a thing on a forum.
My header title tag reads like follows, I think you can modify it to fit your setup:
<title>
<?php if ($forumpage == TRUE) {
bb_title();
echo " :.: AKNI";
} else { ?>
<?php wp_title(' '); ?>
<?php if(wp_title(' ', false)) { echo ' :.: '; } else { echo "AKNI: "; } ?>
Akira Kurosawa News and Information
<?php if (is_utwtag()) { echo ': '; UTW_ShowCurrentTagSet('tagsettextonly'); } ?>
<? } ?>
</title>
The last condition with UTWTAG is for the Ultimate Tag Warrior plugin — remove it if you don’t use it.
To see how the title works across the site, I think it’s easiest if you just visit http://akirakurosawa.info/
I would like to know if someone can install and integrate BBpress with my WordPress site. I know that people install wordpress on non-commercial sites for free. My site is a blog for professionals, that I may ad some advertising just to pay for the site space. Can someone help me?
However I read (http://bbpress.org/forums/topic/1140?replies=28#post-7450 atomAstro wrote) that there were some problems with integrating it. Any suggestions? I don’t know much about php and the like. I know minimal html and most of that has been depracated (I assume).
I am good at following instructions though. As long as they are step by step
If you have the same code for the header then I think you need some conditional if statements in there to check if it’s wp or bb. This isn’t really straightfoward I’m afraid, but then I’m in the dark here (haven’t done it myself) so perhaps it is and I don’t know about it.
Also, is it possible to have a “forum” header? a header that would go beneth the wordpress header, but only appear on forum pages?
Thanks!
-Baldwin
It will be fine. From WordPress 2.0.4 to WP 2.2 there were no changes in the wp_users and wp_usermeta tables that would give you an issue using bbPress that I am aware of. I guess the easiest thing to do would be to install bbPress in a directory off WP and see how you make out following all the integration instructions. You can always move folders later by just changing the config.php to have the address that you eventually would like.
Trent
Things certainly seem to be quiet. I’m also guessing that mdawaffe is busy with WordPress work, I saw a few notes mentioning him in some of the recent WordPress commits.
I haven’t been doing much bbPress work recently either, I’ve been too busy on another open source project that is actually my full-time employment. I only have one outstanding ticket on the bbPress dev site without a patch attached (I don’t have commit access), and I have already developed a plugin for that. I only pick up tickets that interest me though, and none have come up recently that I have liked the looks of and thought I could commit time to.
I do plan to hit the bbpulp.org documentation site with a few more updates soon though.
Anouther stuipd question:
How do I make the title update to the appropriate page?
When in WordPress the title in the browsers “title bar” is updated with the title of the particular post. In bbPress this isn’t happening. I’m assuming this has to do with the header change, but this topic has the correct title in the titlebar, so there must be some way to fix it.
If Google didn’t exist I wouldn’t care…
-Baldwin
Thanks for comments guys, I was just wondering how are the things going in bbPress camp, by the way I suppose the paying attention to this project is growing day by day so I can wish you nothing but luck… Ooh, and thanks of course.
snakefoot, Thanks!
I fell kinda stupid, I moved this up to the top and now it works!
$bb->WP_BB = true;
require_once( '../wp-blog-header.php' );
It still dosn’t work with an absolute path, which means this meathod dosn’t work for subdomains.
Now that the header and footer work, I’ll follow the rest of vilimaunula’s steps to see if I can get this looking better…
Thanks for helping a nooob!
-Baldwin
Remember that the include of wp-blog-header.php should happen in the beginning of the config.php file.
Our TRAC development has come to a grinding halt, so I can assume that mdawaffe has been crazy busy on other Automattic projects and we went to the backburner! So10 and Sam might be working on things, but we haven’t had any commits in almost a month…..hopefully soon!
Trent
I changed my config file to this:
$bb->WP_BB = true;
require_once( '../wp-blog-header.php' );
and to this:
$bb->WP_BB = true;
if (file_exists('../wp-blog-header.php'))
require_once('../wp-blog-header.php');
else
if (file_exists('../../wp-blog-header.php'))
require_once('../../wp-blog-header.php');
and in either instance I still recieve this error:
Fatal error: Cannot redeclare is_serialized() (previously declared in /home/turner/public_html/ppacp/forums/bb-includes/wp-functions.php:976) in /home/turner/public_html/ppacp/wp-includes/functions.php on line 165
Thanks for the help!
-Baldwin
http://www.ppacp.org/forums/
Baldwin, looks like your second error is a good error because it’s loading! I believe that the problem is that WP and BB are not set up to synchronise. Have you got this in your config.php?
$bb->WP_BB = true;
require_once( '../wp-blog-header.php' );
This is probably a nasty hack, and I hope a better solution comes around soon:
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
else
if (file_exists(‘../../wp-blog-header.php’))
require_once(‘../../wp-blog-header.php’);
Fixed my wp-blog-header when in the root and when in bb-admin.
*Edit* Weird cannot seem to get the markup tags to work, why not use standard html tags like in wordpress instead of backticks (‘, ยด, `) too much confusion and none of them works.
I tryed just about everything, and I kept getting this error:
Warning: main(home/turner/public_html/ppacp/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/turner/public_html/ppacp/forums/config.php on line 62
Fatal error: main() [function.require]: Failed opening required ‘home/turner/public_html/ppacp/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/turner/public_html/ppacp/forums/config.php on line 62
So, I changed the location to this:
require_once('../wp-blog-header.php');
and now I get this error (something different, yay!):
Fatal error: Cannot redeclare is_serialized() (previously declared in /home/turner/public_html/ppacp/forums/bb-includes/wp-functions.php:976) in /home/turner/public_html/ppacp/wp-includes/functions.php on line 165
I’m not an expert, but I think the former worked, but that there’s something else wrong.
Thanks for your help!
-Baldwin
Yes! In many cases using a relative path is essential to the require
and include
functions.
Maybe it’s like this? You’ll know what I mean, anyway.
/home/turner/public_html/wordpress/wp-blog-header.php
Mine looks like this:
require_once('http://ppacp.org/wp-blog-header.php');
am I supposed to use a relative path?
Thank you,
-Baldwin