Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Avatar of aburi
    Alex
    Participant

    @aburi

    issue solve. Max_Width had to be defined to a larger size. (It was defaulting to 450px).

    // Define the avatar sizes
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 60 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 60 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 350 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 350 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 723 );

    Avatar of aburi
    Alex
    Participant

    @aburi

    I tried copying these templates but the plugin doesn’t pick them up or any of my changes. It doesn’t even seem to use the templates in its own plugin directory, but rather extensions.php, to output the loop.

    Anyone have this issue?

    Avatar of aburi
    Alex
    Participant

    @aburi

    It appears to have something to do with the user id being set in bp_has_members() and passed on to the other functions.

    If the displayed member does have friend connections and a user id is set in the bp_has_members() loop, then that ID gets passed to the bp_get_member_profile_data() and xprofile_get_field_data() functions that I’m using to retrieve profile field values after the loop.

    Funny this is, that the admin account’s profile values are populating everyone’s profile who has friended the admin account.

    Seems the problem is becoming more clear but still unsure how to solve it…

    Avatar of aburi
    Alex
    Participant

    @aburi

    Update:

    'user_id' => bp_displayed_user_id(),

    This works so far, and doesn’t use the global $bp;

    Avatar of aburi
    Alex
    Participant

    @aburi

    Thanks Hugo, all makes sense….

    I’ll leave it that and mark as resolved!

    Avatar of aburi
    Alex
    Participant

    @aburi

    Thanks for the response, @hnla

    Indeed, that works; just wasn’t sure how to properly code inside a php bracket like that.

    I’m running the member’s profile loop in the sidebar of the single post page, so this would be outside the single post content loop. However, also in the side bar I use the function:

    bp_core_get_userlink( $post->post_author ) )

    and that does work, so somehow it’s getting the correct member ID outside the loop?

    If I wanted to use $post->post_author to get the ID, would it look like:

    if ( bp_has_profile( $post->post_author ) ) : ?

    Avatar of aburi
    Alex
    Participant

    @aburi

    This worked :)

    <?php if ( bp_has_profile( array( 'user_id' => $user_id ) ) ) : ?>

    Is this the best solution?

    Avatar of aburi
    Alex
    Participant

    @aburi

    Hi 4ella,

    With my issue, I was getting the white screens on the backend. I forget how I fixed it, but it turned out to be a problem with my plugins/theme files and not with the latest versions of WP or BP. I would disable all your plugins one by one and see if that helps. If you are running a development version of your site offline, trying doing a fresh intall of WP and BP and adding your plugins one by one in there to see which one causes the problem.

    Good luck!

    Avatar of aburi
    Alex
    Participant

    @aburi

    Thanks for everyone’s hard work on this. Really appreciate it…

    using BP 1.8 now, and I get a white screen every time I activate a plugin. I just refresh the /wp-admin page and the backend loads with the plugin activated, but just wondering why I get the white screen…

    *update – looks like it has to do with a nonce check, as anytime I save anything from the backed (or try to post a new bbPress topic) the word nonce shows up in the address bar and it doesn’t submit..

    Thanks,

    Alex

    Avatar of aburi
    Alex
    Participant

    @aburi

    Has anyone come up with a clear solution to this issue? It is a serious problem for people using WP/BP on commercial sites.

    It seems that the “BP Autologin on Activation” plugin works as posted above, but both users who posted about this plugin have had their accounts deleted, which is a bit worrisome as to the safety of the plugin.

    Avatar of aburi
    Alex
    Participant

    @aburi

    Thanks Mercime… going to read that now and let you know if it worked.

    Avatar of aburi
    Alex
    Participant

    @aburi

    anybody?

    Avatar of aburi
    Alex
    Participant

    @aburi

    @Andy Peatling

    Andy,

    where in my template files do I put that jQuery code to make it work ?

    Thanks

    Avatar of aburi
    Alex
    Participant

    @aburi

    @Dwenaus

    thanks for putting the effort in on this for all of us…

    I will definitely look forward to using it… I will have many groups so it will be essential to organize them.

    Avatar of aburi
    Alex
    Participant

    @aburi

    any help would be much appreciated …

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