Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 21 replies - 26 through 46 (of 46 total)
  • @kookidooki

    Participant

    Hi Henry,

    I was talking about merging of files, because both websites have different databases. Merging of databases would be too risky and complicated I guess.

    By merging of websites users only have to login once.

    ThX!

    @kookidooki

    Participant

    Hi Modemlooper,

    You’re right; it’s theme related.
    But it didn’t happened before under the former BP version.
    I’m using the free BP theme Frisco for Buddypress.
    And every time when I hit the notification button it throws a double navigation bar.

    How do I fix this?

    Thanks!

    @kookidooki

    Participant

    Is there really nobody who can help me? 🙁

    I just made a fresh install with the latest version of WP and Buddypress and the above mentioned problems didn’t occur anymore. So it might be that upgrading Buddypress triggered these problems.

    My advice to others: if you’re running a stable Buddypress version do not upgrade!!!
    Unless BP find some kind of “patch” to prevent the issues.

    @kookidooki

    Participant

    Additional info: my server is running Linux and Apache.

    @kookidooki

    Participant

    The same problem occurs with BP User Profile Map.

    Is there someone here who can tell me how to fix this?

    @kookidooki

    Participant

    @Mercime:

    Thank you for your advice!

    I’ve followed your instructions but somehow it’s throwing a massive amount of weird and very confusing code errors.

    I had no other choice than to start from scratch: I’ve reinstalled WP and upgraded it to WPMU. Next step was re-installing Buddypress and my custom theme. Copied some customized files from the old blog to the new one. It’s still time-consuming.

    Buddypress should have the multi-user and blog options pre-installed. :-()

    Thanks,

    Kookidooki

    @kookidooki

    Participant

    @kookidooki

    Participant

    Hello modemlooper,

    I’ve just solved the problem. It’s working but don’t ask how. :-)

    Have you already found the solution to your BP Stalker plugin (see further on wordpress.org)?

    https://wordpress.org/support/topic/plugin-buddypress-stalker-warning-while-using-bp-s-11-with-bp-156?replies=2

    Regards,
    Kookidooki.

    @kookidooki

    Participant

    Problem resolved; plugin related problem. De-activated the plugin first, then upgraded Buddypress and finally re-activated the plugin. No more fatal errors.

    Admin, you can close this topic.

    @kookidooki

    Participant

    Thank you Roger et al.

    You / we can close this topic.

    Best regards,

    Kookidooki.

    @kookidooki

    Participant

    Hello Roger,

    I’ve used your code bp_get_member_profile_data, but it failed and found out that his code is the solution:
    `

    <a href="”>Url:

    `

    I know what you’re thinking: what a weird code …. but anyway it’s working. :-)

    @kookidooki

    Participant

    I’ve made a summary for others and as a reminder:

    This is the code you must add around line 30 in wp-content/plugins/buddypress/bp-themes/bp-default/members/single/member-header.php:
    `

    Location:
    Hobbies:

    <a href="”>Url:

    `

    And how do I make the url clickable?

    @kookidooki

    Participant

    Hello guys,

    It works!!!
    I’ve replaced in /single/members-header.php the code bp_profile_field_data() by bp_member_profile_data() and it works great!

    Thank you guys!!

    @kookidooki

    Participant

    Hello guys,

    Thank you for your help; I really appreciate that.

    In bp-members-template.php and bp_member_profile_data I’ve found this code at line 596-632:

    `function bp_member_profile_data( $args = ” ) {
    echo bp_get_member_profile_data( $args );
    }
    function bp_get_member_profile_data( $args = ” ) {
    global $bp, $members_template;

    if ( !bp_is_active( ‘xprofile’ ) )
    return false;

    // Declare local variables
    $data = false;
    $user_id = 0;

    // Guess at default $user_id
    if ( !empty( $members_template->member->id ) )
    $user_id = $members_template->member->id;
    elseif ( !empty( $bp->displayed_user->id ) )
    $user_id = $bp->displayed_user->id;

    $defaults = array(
    ‘field’ => false, // Field name
    ‘user_id’ => $user_id
    );

    $r = wp_parse_args( $args, $defaults );
    extract( $r, EXTR_SKIP );

    // Populate the user if it hasn’t been already.
    if ( empty( $members_template->member->profile_data ) && method_exists( ‘BP_XProfile_ProfileData’, ‘get_all_for_user’ ) )
    $members_template->member->profile_data = BP_XProfile_ProfileData::get_all_for_user( $user_id );

    // Get the field data if there is data to get
    if ( !empty( $members_template->member->profile_data ) )
    $data = xprofile_format_profile_field( $members_template->member->profile_data[$field], $members_template->member->profile_data[$field] );

    return apply_filters( ‘bp_get_member_profile_data’, $data );
    }`

    Is this the code you’re talking about and what should be modified?

    @kookidooki

    Participant

    Hello guys,

    I’ve found and added this code in member-header.php and it’s almost working:
    `

    Location: </span
    Hobbies:

    `

    The location is displayed correctly, but hobbies are displayed as”Hobbies: array”.
    I’ve checked profile field Hobbies; Field type= Multi select Box. This might be the problem if you use this option.

    1. How do I display the selected boxes?
    2. Do I have to copy the above mentioned code to the Frisco theme? If so where?

    @kookidooki

    Participant

    Hello guys,

    Yes I’m using the Frisco theme for Buddypress and I’m completely at lost :-)
    and I was not aware that the Frisco theme was a child-theme.

    I’m now figuring out how to add my created profile fields “Location” and “Hobbies” in the member’s header.

    @kookidooki

    Participant

    Hello Roger,

    Thank you, I’ve found the files!

    I’m not tech savvy….. Maybe you could help me with the following issue:

    I’ve created profile fields named “Location” and “Hobbies” in Buddypress>Profile Fields.
    How do I display these fields in the member’s header just below the name of a profile.
    Pls could you provide me the code and step-by-step instructions?

    Thx in advance,
    Kookidooki.

    @kookidooki

    Participant

    Hello Roger,

    What version of Buddypress are you using cause I couldn’t find the files member-header.php and bp-default theme.

    I’m using the latest version of Buddypress.

    Thx in advance,
    Kookidooki.

    @kookidooki

    Participant

    @Mercime: May I send you an email so you can take a look at my site?

    @kookidooki

    Participant

    @Mercime; you wrote: “Install and activate Frisco theme, that’s it…..”

    Have done that but it also changes the whole site. My site has 2 parts: a business- and a network section. The business section uses it’s own theme now and the network section the default Buddypress theme. I would like to replace this default BP-theme with Frisco; the business theme remains unaffected.
    Do I need to copy files from Frisco to BP-default? Which files need to be copied / transferred and to where?

    @kookidooki

    Participant
    Quote:
    WP Theme Repo has https://wordpress.org/extend/themes/frisco-for-buddypress which is child theme of BP-default theme

    @mercime:

    Yes you got the right theme!

    I really need help to replace my current Buddypress theme with the Frisco theme.

    Upgraded my site from a non-buddypress wordpress site to a Buddypress site, and I now I want to replace the default BP theme with the Frisco theme.

Viewing 21 replies - 26 through 46 (of 46 total)
Skip to toolbar