Deep Integration With bbPress
This is a follow up tutorial to the BBpress installation guide. It covers how to insert a single line of code into your bb-config.php file that will allow “deep” integration between your bbPress forum and WordPress site.
bbpress 1.03, PlatformBase 1.4.1, PlatformPro 1.5.2, Wordpress 3.21, PHP5.3.5 = does not work. I get a blank page.
I realize that this might be a stupid question, but I've been stumped for more than an hour and have already looked through both of these helpful videos on installing and deep integration of bbpress and wordpress.
My question is about the final line of code that you added in this video, including the absolute path to the blog header. I understand where to find that blog header folder, but I can't for the life of me figure out what is the absolute path to the blog header file.
When looking in my file manager, I see that the wp-blog-header.php file is located directly inside of the public_html folder (there are no sub-directories), so my first attempt at adding this line of code looked like this:
(I double checked the semi colons and quotations)
The message this generates is here:
Warning: require_once(/wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/hacksuni/public_html/forum/bb-config.php on line 65
Fatal error: require_once() [function.require]: Failed opening required '/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hacksuni/public_html/forum/bb-config.php on line 65
I know that I need a different absolute path but I honestly don't know how to find the right components. Do any kind souls have some advice for me?
An absolute path isn't necessarily a full path. In fact your fatal error gives you a great clue: /home/hacksuni/public_html/
So "/home/hacksuni/public_html/wp-blog-header.php" should be good if your Wordpress installation is at the root of "public_html".
Can you try to be helpful? It is easy for you to say "Get help from your host." Many hosts are not as helpful as you think. I, for one, cannot get help from my host.
The problem is that we have no way of knowing your absolute path address, since it's different for every host (and even for clients within hosts). :( We'd love to help you, but don't have access to your host or server to get any of the necessary information. Thus, all we can really do is refer you to the company that would have that information - your hosting service.
This is a great vid tut, but it would be nice if you explained either at the beginning or the end of the vid (or even on the page itself) what adding this line of code allows you to do. It's nice to have a one stop shop for any resources/answers your looking for.
Otherwise, great job!
Hi! Your video tutorial is good, but please consider re-doing it using a test site on the internet because when you use your local pc to show the tutorial, you're omitting key steps that some of us newbies don't understand such as absolute path - I cannot figure out what the absolute path is for the wp-blog-header.php file. Seems simple, to a pro YES! But if I were a pro I wouldn't be watching the tutorial. The other suggestion is to start this tutorial with a 30 second overview of what a "deep integration" even is - I'm just doing it because it's on here. NO clue as to why although I'll probably google and find out. Just sets the context of your tutorial by starting it that way. Hope this helps to improve your tutorials! Looking forward to many more from you guys.