Avatar Upload in WordPress
-
Hi,
I was wondering how I could display the bbPress plugin, Avatar Upload, in WordPress. Software: bbPress 1.0.1, WordPress 2.8.1
I am using bbPress as the profile’s home so to speak since I’d rather not use WordPress’ Dashboard and want to display the avatar of the user on the home page.
I have done deep integration both ways by using this snippet of code in [wp/bb]-config.php
if ( !defined( ‘ABSPATH’ ) ) {
include_once( ‘/home/path/to/forums/[bb/wp]-load.php’ );
}
Then pasted this bit of code where I want the avatar.
<?php avatarupload_get_avatar(ID); ?>
However, as I expected it doesn’t work with the error
Fatal error: Call to undefined function avatarupload_display() in blah3 on line x
I tried adding <?php bb-head ?> and <?php if ( bb_is_profile() ) profile_menu(); ?> to the header but both result in an error
I am no programmer but I don’t think bbPress is being load correctly. Can anyone offer a solution or some advice?
- You must be logged in to reply to this topic.