Yeah, I tried changing the width for secondary, but all that did was make the sidebar smaller. the line was still stretched across the whole page…
Works great vilimaunula! I really love Dans/Vili avatar thingy
It’s a nice solution.
Sorry for the confusion. 
It’s a WordPress plugin. And no, you don’t need to install any avatar-upload thing, or indeed any other extra plugin to get this to work.
The function works both on WordPress and bbPress, but since it is a WordPress plugin (and thus a WordPress function) you will need to make WordPress functions available to bbPress. This is covered in the Integration with WordPress page in the bbPress documentation (see the last section, “Functions”).
I hope this clears things up a little.
I have my wordpress install as the root of my website and then there is a folder beneath that for ‘forums’.
So, my directory structure looks like this:
/var/www/wp-config.php
/var/www/forums/config.php
In the bbpress config.php I have these (relevant) lines:
$bb->path = '/forums/';
$bb->wp_home = 'http://www.website.com';
$bb->wp_siteurl = 'http://www.website.com';
For yours, since you have WordPress at wp_01, you would have something like this:
/var/www/index.html <---- your website home, not WP home
/var/www/wp_01/wp-config.php
/var/www/wp_01/forums/config.php
your config.php:
$bb->path = '/wp_01/forums/';
$bb->wp_home = 'http://www.intar.org/wp_01';
$bb->wp_siteurl = 'http://www.intar.org/wp_01';
HTH
Chris
Ok, this time I deleted all the Media Wiki tables from the database, then reinstalled Media Wiki. This time, I didn’t use a prefix for the table names.
I uploaded Authpress.php and added the code to Localsettings.php.
Now when I try to login, I get these errors:
Warning: Compilation failed: characters with values > 255 are not yet supported in classes at offset 33 in /web/abc/abc/citizenkeith.com/forums/wiki/includes/User.php on line 224
Fatal error: Call to a member function on a non-object in /web/abc/abc/citizenkeith.com/forums/wiki/includes/SpecialUserlogin.php on line 320
I’m having a hard time figuring out the bbpress install — have failed and just pulled it all down again — so, starting from the beginning: My WordPress blog is at http://www.intar.org/wp_01 — where should I install the bbPress files? Also, should I have a directory called “forums,” and if so, where should that go?
Thanks!
If this is the case, how does it work with bbpress?
Do I need to install the avatar-upload thing as well? I am confused….
Thanks for the help so far.
Vili said it was a WP plugin.
No reason to delete the db! You can always use something like PHPmyAdmin to change entries. The relevant settings should be in wp_options
.
This was directly after you were in WP Admin > Options > General and changed only WordPress Address and Blog Address? You’d need to change back the options named “siteurl” and “home” respectively. Change them back to IP and see if the problem disappears.
Installed it as a bbpress plugin and now:
Parse error: parse error, unexpected $ in /homepages/27/d120217802/htdocs/forums/my-plugins/bb-avatar.php on line 192
And what needs to be installed? The above as a bbpress plugin, then use Dan’s (also installed) as per usual?
Hello,
I have bbpress and wordpress installed together and they were playing nicely. I change the domain info in the config files and the WP admin to the domain name from IP as the DNS switch went through and suddenly (I say “suddenly” but I’m sure I screwed something up), I get the following errors when I try to login to WP:
Warning: Cannot modify header information – headers already sent by (output started at /home/payingfo/public_html/Wordpress/wp-config.php:22) in /home/payingfo/public_html/Wordpress/wp-login.php on line 12
Warning: Cannot modify header information – headers already sent by (output started at /home/payingfo/public_html/Wordpress/wp-config.php:22) in /home/payingfo/public_html/Wordpress/wp-includes/pluggable.php on line 275
I also get this error when I try to pull up BBPress:
Fatal error: Call to undefined function: load_default_textdomain() in /home/payingfo/public_html/wordpress/discussion/bb-settings.php on line 143
I checked for white space. Anyone have any suggestions before I scrap this and start on another install? I’ve built out quite a few posts and pages and am not looking forward to deleting the db.
Thanks.
Sarah
daddy, you will need to use the “Vili’s avatar thingy” code that I posted above, and then just use the same function as with WordPress:
<?php if(function_exists('cmd_show_avatar')){ cmd_show_avatar(); } ?>
Hey this is cool. But, what tags does one put in the bbpress template to get the avatar from Dan’s Avatar thing to show up? Or do I have to have the bbpress avatar upload plugin installed and add it via this?
I would personally just copy the bbPress CSS over to the WordPress one, so as to keep it all in one place. If you want to integrate the two, why then have more than one CSS file?
One admin dashboard, it’s as simple as a plugin etc , etc.
There are lots of good little reasons for this plugin. Not everybody wants the complexity of a wordpress blog for their main site entrance. And in my case I already have another wordpress blog integrated into my forums. In the case of those who just want a forum site, this plugin will make things more ‘inviting’ to the casual visitor.
h2.postform
is in /bb-templates/k2/style.css, line 194. It’s stretched like that because it by default takes up the whole width of the parent element, which is Secondary
. It is more effective to set the width for Secondary
than for the child elements, because the Secondary
width will automatically control all the child elements too. 
Firebug is an invaluable HTML, CSS and JS debugger.
Almost there… one quick question, do you know which part of the stylesheet controls the ‘reply’ line?
It’s stretched across the whole page, unlike the rest…
http://forums.bozzysworld.com/topic/6?replies=1
It is possible but I don’t know of any plugins to do it. You can probably do it yourself fairly easily though
. You need to make a WordPress plugin that will call the data and display it. You can get the data by using something like
global $wpdb;
$latestusers = $wpdb->get_results("MySQL query");
but the wordpress wpdb reference and plugin writing reference will be of more help.
Hi .
I am not sure whether any plugin is available for this .
I have integrated wordpress and BBpress and in my wordpress blog i want to have a page which should show the lastest users who have registered in my forum along with their avatar if available. Is it possible .
More or less like we have contact me plugin for wordpress , is there any plugin to display the users ..
Thanks and regards
blog : http://www.tecfre.com
forum ( under testing) : http://www.tecfre.com/forum
follow-up post deleted. please ignore.
my “seemless integration” is coming along quite nicely. but a have a question:
**obviously when I get my wp header from my bb frontpage.php, I also get the wp stylesheet. would it be better to put a check in the header to see if a bbpress page is being served and disable the wp css, as you mentioned? If so, should I then copy-paste the important stuff from the wp css into the bb css to make the layout uniform?
Thanks for the help.
faB
Isn’t it so that WordPress itself can function like a portal?
Got a problem on my hands. I’m trying to simplify a lot of things by require’ing bb-load.php and then using the bb API. However bbdb loads with a fatal error if I do this when wordpress has fully loaded, but it works perfectly fine if I require bb-load when the plugin is run.
What I mean is require( 'path/to/bb-load.php' )
works fine if placed anywhere inside the main code of the plugin. If I call it using the wp hook init
it no longer works, nor does calling it by other hooks (that I’ve tried) or through function calls in templates and the like.
I went through wp-settings.php
and require’d bb-load systematically until I found that it only worked once wordpress had loaded general-template.php
(line 153). It worked from any point onwards, including after do_action('init');
(which I don’t understand at all). Using the init
hook in my plugin to require it does not work.
I suspect this means that the init
hook in wordpress maybe does something or other, then loads plugins, then does something else that stops bb being included, then runs any other funtions registered with the init hook – but my wp mojo is not impressive. I tested this with all other plugins deactivated.
The output if bb-load is required too late in the code:
Fatal error: Call to a member function get_row() on a non-object in
xampphtdocsforumsbb-includesfunctions.php on line 1224
That makes me think bbdb is not created, but I can’t see why it wouldn’t be.
Can someone help me with this please? I’d much rather use the API than duplicate functions.