Re: Plugin: Avatar Upload
Ok sure. Though bare in mind this is probably a really crappy way of doing it, but hey, I don’t even know php, so give me some credit for trying hehe.
I deleted bb-avatar-upload.php from /my-plugins/ and put it in my wordpress plugins folder. Then at the top of the file I put:
include(‘/path/to/blog/forum/avatar_function.php’);
I created avatar_function.php myself and pasted in the contents of the bbpress config file. The reason I didn’t use the original file is because the follow was causing an error when logging in to the admin panel.
require_once(‘/path/to/blog/wp-blog-header.php’);
define(‘wp_bb’,true);
That’s basically it. I’ve checked about every page and everything is working fine, so i’ve no idea if there’s any potential problems doing this, but all I know is it works as far as i can tell.