Bavatars 0.4.1 plugin – avatar in post
-
Hello.
I am using Bavatars 0.4.1 plugin in bbpress 1.0.2.
Now, I am trying to get my avatar (or every user’s avatar for that matter) shown next to every post that I (or they) make.
I have tried using something of the
<?php avatarupload_display(get_post_author_id()); ?>
kind in my template’s post.php page, specifically in<div class="threadauthor">
section, but I don’t know the exact function that I am supposed to call there. I got the idea from another plugin (Avatar Upload), where it seemed to be working fine.This is the function in Avatar Upload plugin
<?php echo avatarupload_display($user->ID, $force_db); if ($config->use_thumbnail == 1) { echo " " . avatarupload_displaythumb($user->ID, $force_db) . "</p>";}?>
defined in avatar.php (from Avatar Upload plugin).Now, if I was to define the exact function in bavatars.php and call it in post.php, I guess it would work, but I cannot find my way round the Bavatars plugin.
Any ideas?
Thank you.
Regards,
Bob
- You must be logged in to reply to this topic.