I’ve made my first attempt ever at theme-building by trying to port the Navigation theme for WordPress over to bbPress. You can see it in action on my test setup:
http://open-dialogue.com/bbpress
I’m not entirely happy with the way the forum tables display. It looks ok on a 1024×768 resolution, but they mass to the left a bit too much for my liking on higher resolutions (I use 1280×1024). I’m at a bit of a loss, though, to know how to stretch them out enough to fill out the extra white space to the right. I’d be open for suggestions on how to tweak the stylesheet further.
I’m also not real crazy about the login form location, but I’m not sure of a better place to put it.
Everything else seems to look and operate alright. Any suggestions and tips would be greatly appreciated. I’m still figuring out some the latest nuances in stylesheeting (it’s been a few years since I’ve done much site design).
It looks nice and clean, although, I notice in your own forum it doesn’t currently validate. Once you get that all happy, don’t forget to validate the css too.
having problems getting this to worked… because of mods, applying the patch by hand… so its probably me but really stumped…
after doing the changes, had an error, so double checked everything… still no dice… so I decided to bite the bullet and do it the patch way… as luck would have it my host doesnt seem to allow patch to work – diff issue I will take up with him…
anyways, started from a clean 0.8 install and applied the patch by hand again… end up getting the same error again… double checked and everything looks good…
Here’s the error:
Fatal error: Cannot redeclare get_categories() (previously declared in /xxxxxx/wp-includes/category.php:14) in /xxxxxx/forums/bb-includes/functions.php on line 3
oh man… AAARGGH… as I sit here typing this in, it just hit me what is wrong and why I wasted time into the wee hours trying to solve it…
has anyone tried this category patch in a bbpress integrated with wordpress?? it seems the category functions are clashing between the two…
geez… I dont know how many times I read that last night and never noticed that… another reason why you do work real late at night 😉 helps if you can read too 😛
any thoughts on this working with a bbpress/wordpress integrated situation?
…like in WordPress? The additional use of “template” will tend to divide and confuse, no?
Like how, across software, plugins are either “mods”, “modules”, “extensions” or “addons”.
Now’s the time! We can still consolidate the concept into one term.
I’m splitting hairs, I know . bbPress is wonderful. Thanks so much to the developers. I’m a phpBB veteran (admin), and bbPress is so nice I want to cry.
My guess is that the email in the config.php is used for setup only. Afterward, I changed mine in my profile and it gets updated in my WordPress user table. I changed the email address in my WordPress user table, and it’s changed in the profile in bbPress. None of those changes affected the setting in config.php. I requested a new password with the forgotten password link, for admin, and it went to the email address in the user profile, not the one in config.php.
I am pretty sure the email that is used on an ongoing basis is the one in the profile, and the one in config.php is used for setup only.
That’s my best guess. For consistency, I think I would update both, even if only so that when you do an upgrade in the future, the one in config.php is still accurate.
No problem! Good to here!
Trent
I believe I defined the WP information post installation, so I deleted the bbPress DB, created a new one, went through the 1 step install and still no go. None of the WP users show up in the bbPress user list and I still cannot log in with to WP with the bbPress users nor log into bbPress with the WP users. When I look at my bbPress DB, I have the following tables:
bb_forums
bb_posts
bb_tagged
bb_tags
bb_topicmeta
bb_topics
wp_usermeta
wp_users
As soon as I saw the DB structure, I realized that I needed to specify my WP database, and not create a new one for bbPress for this to work. Once I put in my WP DB information at the top of the config.php file, all worked! Thanks for your prompt response.
Did you install bbPress before or after having that information in your config.php? Did you see the WP users in the install process when you installed?
Trent
Hello. I have a WordPress installation (2.1) at / and then the bbPress installation (0. at /forums/. I have followed the instructions: https://bbpress.org/documentation/integration-with-wordpress/ and still no go. The WordPress integration plugin is installed and activated in my WP install and I have defined the bbPress tables (bb_) prefix correctly in the plugin options.
I have defined the options:
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://test.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://test.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’
in my config.php file, but do I need to add anything else? Right now, my WordPress users cannot log into the bbPress install, and the bbPress users cannot log into the WordPress install. Any help would be creatly appreciated.
any luck with a bbpress -> wordpress script guys?
hey Lingmeister
i used this:
http://www.iteisa.com/phpbb2bbpress/
https://bbpress.org/forums/topic/402?replies=27#post-2126
what is the problem you are having?
I had problems initially – something to do with PHP 5 or something – check that link above
good luck!
AT
Trent,
First of all, thanks for all your help with getting this all straightened out. I’ve gotten a lot done thanks to your help alone.
As for the 1 header approach, maybe I am creating a “complexity by simplicity” approach, and if what you are saying is correct, then I’m probably better just making the wp side have a wp header, and the bb side have a bb header. I guess I just thought in the long run it would be simpler and more effective to have one-size-fits-all header with the necessary bb code and wp code being selected only when it was needed. That was before now, when I just assumed that since you could call wp code in bbpress, that you could also just as easily call bb code in wordpress.
So, I will create a second, separate header file for bbpress, and I will see where that takes me in this process. Thanks for your help with this. I hope my reasoning at least makes sense now, even though it is probably faulty reasoning at that.
ron
I have tried reading the documentation & other forum threads over & over again, but i could not get through the complete installation of bbpress.
As stated, through my ftp client, I draged & dropped config-sample.php from my computer to config.php in my remote server.
I then also uploaded complete bbpress at /var/www/html/blog/ ( remote site ).
The next step suggests to load bb-admin/install.php in the browser & do what it says.
Now, this is what, i am not understanding. Loading this url leads to a google page listing.
I have opened a few links there; but, that has been of no use.
I am reletively new to the wordpress environment ; but, apt direction will definitely get me out of this fix.
Sir, I would be obliged to get your support.
Thanks & Regards,
Madhuri
There’s been some discussion of integrating WordPress, bbPress and MediaWiki before (“MediaWiki, bbPress, and WordPress integration” from spencerp and “Wiki Integration: WordPress & bbPress” from XXP), but this goes beyond authorization, because once users can log into forums, blogs and wikis with the same login, they naturally assume they can start mixing the wikitext they use on the wiki with forum posts and blog comments.
Zechs’ MediaWiki Markup for WordPress does precisely that–for WordPress. It seems to be working all right, but it’s not one of the plugins that magically works in bbPress just by dropping it in. I tried that. The general lack of documentation yet on writing plugins for bbPress does not mix well with the lack of documentation for this plugin, written by a fellow who seems to live a few blocks away from me, but for whom English is a second language.
So, given that I’m obviously not the only person trying to get MediaWiki and the *Presses to play nice, perhaps someone would be willing to point me in the right direction of where I’d get started getting this plugin to work for bbPress as nicely as it does for WordPress?
Welcome to bbPress! The first place I would start would be to look over the bbPress documentation because that has the information needed for installation, customization, integration with wordpress and all about themes!
After you get going, if you have questions along the way, do a search in the forums for similar problems that you are having and if you can’t figure out what to do, then go ahead a post a question back in the forums and we can try and help you out!
Trent
Akismet puts every post by me, the logged-in keymaster, into the spam queue.
Is there something I can do to prevent this? Could it have something to do with being integrated with WordPress?
I’m using bbPress 0.8 (although it did it with previous versions too).
Hi,
bbPress 0.80 is really nice, thank you.
Turkish version of bbPress 0.80 is ready, we have a bbPress page on WordPress Türkiye.
Downloads and docs:
bbPress Turkish version 0.80 (whole package)
bbPress Turkish .mo file
bbPress Turkish .po file
Documentation
We all know that the AutoMattic guys use their own stuff, but after each site has been skinned with all their CSS magic, sometimes it’s hard to see… I thought we should savour the moment the wordpress.org forums ran with the default bbpress theme
Hi Ateale,
Which script did you use cos the one i found to convert it did not work for me?
thanks.
Well, in this case I am calling the header file from wordpress on the bbpress pages. The only problem is that I have things in the bbpress header like
bb_is_user_logged_in()
and
is_topic()
which create tons of problems when I put that code in the wp header file. I was able to load wp when bbpress loads, but it seems like the opposite would also be useful, to register bbpress when wp loads. I suppose through reverse engineering, I could figure that out on my own?! Otherwise, I would like to just be able to tell the page, “Hey, are you wordpress, then load this…otherwise, don’t load it. And if your BBPress, then load this, otherwise don’t load it”.
Currently I am also trying to specify which stylesheets to load. If it’s wp, I want the wp stylesheet, and if it’s bb, I want the bb stylesheet, and I don’t want the conflicts when both load.
1 – Does this make sense?
B – Is there a solution? and
4 – Am I overlooking a more obvious solution?
Ron
What kind of content are you trying to distinguish between? Theme content or actual content? With wordpress being a blog and bbPress a forum, the content itself would be different. I guess I don’t quite understand exactly what you are trying to do. Could you explain to me like I am 5 years old (my wife says I act that old anyways
Trent
Ok, I am trying to serve up content based on whether a user is on the WP side of my site, or on the BB side. Trent, you helped me with this earlier, but you helped me find a much more common sense solution to the problem in that situation.
Here’s what I’m wondering: Is there any way to say “if bbpress” then do this, or “if wordpress” then do this? I can’t seem to find the code I need to tell wordpress AND bbpress to both understand and accept this discrimination. Thanks
Ron
It seems goofy to be discussing WP on a bbPress forum, but this is important for theme integration between the 2. Here is my login form in my sidebar (well ex sidebar as I use wordpress.com now). I use a conditional to welcome the user or display the login form.
<li id="login">
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
<label for="s"><?php _e('Login:'); ?></label>
<ul>
<li>
<form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post">
<div><label><?php _e('Login') ?>:<br /><input type="text" name="log" id="log" value="" size="15" tabindex="7" /></label><br />
<label><?php _e('Password') ?>:<br /> <input type="password" name="pwd" id="pwd" value="" size="15" tabindex="8" /></label><br />
<input type="hidden" name="rememberme" value="forever" />
<input type="submit" name="submit" value="<?php _e('Login'); ?> »" tabindex="9" /><br />
<?php wp_register('', ''); ?>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/></div>
</form></li>
<li><script type="text/javascript">slvBanner();</script></li></ul>
<?php
else:
?>
<label for="s">Welcome <?php echo $user_identity; ?>!</label>
<ul>
<?php wp_register(); ?>
<li><a href="<?php echo get_settings('siteurl') . '/wp-login.php?action=logout&redirect_to=' . $_SERVER['REQUEST_URI']; ?>"><?php _e('Logout'); ?></a></li>
</ul>
<?php
endif;
?>
</li>
Trent