Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • TheOfficialSeoGURU
    Participant

    @theofficialseoguru

    @danbp if you can help me resolve this I will pay you for your time… thanks!


    TheOfficialSeoGURU
    Participant

    @theofficialseoguru

    Hello, and thank you for your quick response.

    First I definitely agree Help Please – How To: in a how to topic of a help forum may be a little redundant but the reason I did that is because I wanted an individual that knew how to fix this to not over look the post because they thought I was informing others on how to add an avatar as there are tons of people asking similar questions, but each person needs it for a different use, for example forums or what not.

    Also as far as the php and avatar issue, once again you are correct. There are so far two areas I have found that I will need to display a user avatar. the user header and the search page for members of the site

    I was currently working on trying to get the user avatar inside the individual member header of the user that is viewing their own profile.

    I do know that I will need to also do the same thing for the user to view another individuals profile but I figured if I was given the exact php function for the bp_get_avatar and told where to put it in the default themes function I am using I would know what to look for when doing it for the other peoples profile avatar. I found the php code for grabbing and displaying avatars but I dont know what to do with it, or even if it is the right code.

    But there are multiple variations of the code in different function files found through out BP so I dont know what to paste where 🙂

    Sync Profiles: Yes I have synced the profiles in the bp settings
    Testing with twentytwelve: I have just added the following code

    <?php do_action( 'bp_before_member_header' ); ?>
    
    <div id="item-header-avatar">
    	<a href="<?php bp_displayed_user_link(); ?>">
    
    		<?php bp_displayed_user_avatar( 'type=full' ); ?>
    
    	</a>
    </div><!-- #item-header-avatar -->

    I added this code to the header.php and also single.php file and nothing was displayed

    the two codes you added are the two codes that I am looking to find out how to display where ever I need through out my theme 🙂 !!!

    For example the 1st one you provided is the main persons header and the second one is to display the “members” page where they show who is all online.

    So my question to you is, what code do I add to my functions page in order to paste those codes you provided anywhere I need to through out my theme?

    Thank you for your time!

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar