bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

how to inset avatar

(4 posts)
  • Started 8 months ago by giveror
  • Latest reply from chrishajer
  • This topic is not resolved
  1. giveror
    Member

    I'm using plugin avatar upload .
    http://bbpress.org/forums/topic/plugin-avatar-upload

    I want to insert avatar under username .
    EX :
    [img]http://www.uppic.net/ic/ccats.gif[/img]

    where i must insert code.

    sorry if my english isn't good.Because I'm thai people.

    Posted 8 months ago #
  2. From the readme file:
    =================================
    3. To display an uploaded avatar, insert the following template function.

    a) On the user's profile page (profile.php template).

    <?php avatarupload_display($user->ID); ?>

    This grabs the avatar info file directly from the current user's profile information.

    b) On each user's forum posts (post.php template)

    <?php avatarupload_display(get_post_author_id()); ?>

    You can include the avatar anywhere else you like, just be sure to have the user's ID available.
    =================================

    You would insert one of those pieces of code in a template file wherever you want the avatar to appear. Try one and see how it works.

    Posted 8 months ago #
  3. emmegildo
    Member

    hi.. i have both avatar and avatar upload plugin..
    can i use both or do i need to uninstall 1 of them? because, when i try to upload an image for the avatar, an error msg appear saying
    --> The file could not be saved to the avatars/ folder.

    Posted 5 months ago #
  4. Sounds like a permissions problem on the avatars folder. What are the file permissions on that folder?

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.