Forums

Join
bbPress Support ForumsPluginshow to inset avatar

Info

how to inset avatar

  1. 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.

  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.

  3. 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.

  4. Sounds like a permissions problem on the avatars folder. What are the file permissions on that folder?

  5. Thanks, this helped me a lot.


  6. You must log in to post.