Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to inset avatar

Viewing 5 replies - 1 through 5 (of 5 total)
  • @chrishajer

    Participant

    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.

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

    @chrishajer

    Participant

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

    @chandersbs

    Member

    Thanks, this helped me a lot.

    @msr6

    Member
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar