bbPress Plugin Browser »

User Photo (1.1)

Download

Version: 1.1

Other Versions

Last Updated: 2008-9-20

Requires bbPress Version: 0.9.0.2 or higher

Compatible up to: 1.0 alpha

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3)

Your Rating

Author: Eduardo Graells


  1. Well, I couldn't figure it out... so I tried Avatar Upload and it seems to be working well. :)

    Posted: 2 years ago #
  2. dikkevandale

    Member

    I'm already using the plugin for WordPress and everything seems to work fine. Only on my BBpress included part of the site the user photo's doesn't show up.

    Now I also tried installing the plugin for BBpress but this doesn't work because the functions are already defines in WordPress.

    Fatal error: Cannot redeclare userphoto_profile_update() (previously declared in ***********/wp-content/plugins/user-photo/user-photo.php:316)

    How do I get the avatars get to work inside BBPress, I just can't install this plugin :/

    Posted: 2 years ago #
  3. Hi, I'd really like to get this working, and I feel SO close.

    I use User Photo for WordPress, and I have the paths set the same in both WP and BBpress, however, on BBpress, I am getting the red x/question mark where the photo should be. By right-clicking on this, I see that the path has my forum address IN FRONT of what the path should be.

    Anyone have any idea how to correct this?

    Posted: 2 years ago #
  4. Has anyone figured out how to display the user who started the posts avatar on the mainpage in place of the 'last posters' name?

    Posted: 2 years ago #
  5. joan3691

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Hey! I don't get this, I can't even get the upload box to be displayed. I put the following code at this position (within the stars):

    <?php bb_get_header(); ?>

    <div class="bbcrumb">"><?php bb_option('name'); ?> » "><?php echo get_user_display_name( $user_id ); ?> » <?php _e('Edit Profile'); ?></div>
    <h2 id="userlogin" role="main"><?php echo get_user_display_name( $user->ID ); ?> <small>(<?php echo get_user_name( $user->ID ); ?>)</small></h2>
    <form method="post" action="<?php profile_tab_link( $user->ID, 'edit', BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>">
    <fieldset>
    <legend><?php _e('Profile Info'); ?></legend>
    <?php bb_profile_data_form(); ?>
    </fieldset>

    //******************************************************
    <?php
    if (function_exists('userphoto_display_selector_fieldset'))
    userphoto_display_selector_fieldset($user->ID);
    ?>

    <?php
    if (function_exists('bb_get_photo'))
    bb_get_photo($id);
    ?>
    /******************************************************

    <?php if ( bb_current_user_can( 'edit_users' ) ) : ?>
    <fieldset>
    <legend><?php _e('Administration'); ?></legend>
    <?php bb_profile_admin_form(); ?>
    </fieldset>
    <?php endif; ?>

    <?php if ( bb_current_user_can( 'change_user_password', $user->ID ) ) : ?>
    <fieldset>
    <legend><?php _e('Password'); ?></legend>
    <p><?php _e('To change your password, enter a new password twice below:'); ?></p>
    <?php bb_profile_password_form(); ?>
    </fieldset>
    <?php endif; ?>
    <p class="submit right">
    <input type="submit" name="Submit" value="<?php echo esc_attr__( 'Update Profile »' ); ?>" />
    </p>
    </form>
    <form method="post" action="<?php profile_tab_link($user->ID, 'edit'); ?>">
    <p class="submit left">
    <?php bb_nonce_field( 'edit-profile_' . $user->ID ); ?>
    <?php user_delete_button(); ?>
    </p>
    </form>

    <?php bb_get_footer(); ?>

    Is it the right code? And is it at the right place?

    Posted: 2 years ago #
  6. What BB version are you using?

    Posted: 1 year ago #
  7. The latest version

    Posted: 1 year ago #
  8. I cannot activate the plugin. I have fatal error: Cannot redeclare userphoto_profile_update() (previously declared in /wp-content/plugins/user-photo/user-photo.php:316)

    Anyone can help to sort it out please?

    Posted: 1 year ago #
  9. since I've integrated with wp can I show user photo from bbpress without install this plugin? Thanks in advance.

    Posted: 1 year ago #

RSS feed for this topic

Add a Comment

You must log in to post.