BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 130
    giuseppe on in reply to: [Resolved] Edit profile tab #44294

    Hello Ravi,

    yes Listings tab is viewable to the NOT administrator user when is logged (as it should be) but also to everybody if you go his page (that he should not).

    https://amodio.live/membri/gojohnny/profile/

    Thank you for your support, it is very appreciated.

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130

    Hello,

    I need to have name and last name on both: member post AND haeder.

    Regarding member post I have added your code as snippet and it does not work: https://ibb.co/yWTdyh1 (but you can see that the last name (cognome) is on the header).
    This happens because the User Field “Cognome” is not in sync with wordpress as you can see here:
    https://ibb.co/hcVnP9W (it is indicated that is only “text” field NOT as “cognome” that put the field in sync with wordpress.

    If you put the User field on “cognome” it will sync the “cognome” (last name) in wordpress so we can have name and last name on buddypress member BUT it will disappear on header and from another research plugin. Here you can see the field “cognome”, but if you sync the User field it will disappear. https://ibb.co/whMFw86 .

    So, having name and last name BOTH on member post AND header is the problem, and the origin of the problem seems to have in the User Field. There is something that, when you Sync the “cognome” (last name) field in user field, you let it to be showed on member post (that is obvious because what is showing are the name and last name as registered in wordpress by bp) but at the same time the sync setting in the “cognome” user field HIDE the field to all the other plugin needed and to be showed on header with a snippet too.

    Why this happens? I don’t know.

    How could be fixed? I ask because fixing the sync issue seems to be the only way to have name and last name on BOTH member post and header.

    Many thanks,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130
    giuseppe on in reply to: [Resolved] Edit profile tab #44289

    Hello,

    thanks.

    The only difference I can see is that now tabs is before subtabs but settings are the same.

    Infact if you go on a member profile https://amodio.live/membri/gojohnny/ you can see that Listings tab is still there.

    Pls see image of menu: https://it.imgbb.com/

    Do I have to set other fields or tock to remove Listings tab for not profile owner?

    Thanks,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130

    Hello Ravi,

    thanks for your help.

    Sure. I explain better. Please consider that my scopes are 1. to have name and last name showed on the member posts and 2. have name and last name showed on header.

    When a new member register here http://www.amodio.live/registrazione (I put this link because it’s possible that the form counts something in this strange situation) only the name is on the post as you can see here:

    https://ibb.co/dpvGtB4

    Then I have two choices:

    1. A. I use the “cognome” (last name) field in sync inside the user field selecting the sync and B. I go to the Force plugin, push the buttom (it does not work with new member), update the existing member having the name and last name (but in this case the Wbcom plugin does not “see” for some reason the “cognome” (last name) and omit it on the header).

    or

    2. I do not sync the field “cognome” (last name) with wordpress, it is only a text field, so I have it as xfield with the Wbcom plugin but, of course, Force plugin does not see the last name and, even if you push the update, it does not work.

    Solution:

    1. I do sync “cognome” (last fields). 2. I use Force to have name and last name and 3. I use the snippet to fill the header but: 1. Clicking update on Force everyday is not the maximum and 2. the snippet to publish data on header is not working.

    I hope the scope and the issues are clearer now.

    Thanks for your help,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130
    giuseppe on in reply to: [Resolved] Edit profile tab #44285

    Hello,

    I have tried with your settings but it does not work for both removing Listings and changing label for Reviews.

    Important, they are both plugin.

    Manu thanks,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130
    giuseppe on in reply to: [Resolved] Edit profile tab #44284

    Similarly for “Reviews” the label is not changed in “Reviews_Recenti” nor the position goes to 3 (positioning works properly for the first and second label put in order with the plugin).

    These are settings:

    https://ibb.co/FwrBNbY

    https://ibb.co/KrNW9b5

    What do you suggest?

    Many thanks,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130
    giuseppe on in reply to: [Resolved] Edit profile tab #44281

    Hello,

    thanks for your email.

    I already followed instructions. I’d like to have the tab “Listings” visible only for owner prodile and administrator and these are settings:

    https://ibb.co/mC2VLZy

    https://ibb.co/PmqFZvQ

    Nothing in sub tag and other facoltative fields.

    The tab, that is from a plugin, is still there. Is there something else to do?

    Many thanks,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130
    giuseppe on in reply to: [Resolved] activity-privacy-for-buddypress #44279

    Hello Brajesh,

    thank you very much.

    Yes, it was the first translation so it’s clear now that I made some mess.
    I have updated credentials where needed to download updates.

    Thanks,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130

    Hello,

    I have deactivated Wbcom plugin that shows xfields on header because it show the last name (“cognome”) only if indicated as text and not as the last name (and in this case it’s not possible to have the full name on the post). Wbcom says that if the Xfield is visible in the plugin it should be visible, but it is not when is set correctly as last name.

    So I have tried with this code added as a snippet:

    function add_member_meta_data_profile() {
    $Provincia = bp_get_member_profile_data(‘field=Provincia’);
    $Cognome = bp_get_member_profile_data(‘field=Cognome’);
    $Categoria_negozio_o_impresa_locale = bp_get_member_profile_data(‘field=Categoria_negozio_o_impresa_locale’);
    $Mi_presento = bp_get_member_profile_data(‘field=Mi_presento’);
    $Situazione_sentimentale = bp_get_member_profile_data(‘field=Situazione_sentimentale’);

    echo ‘<p class=”mdetcenter”>’. ‘Provincia : ‘ . $Provincia . ‘</p>’;
    echo ‘<p class=”mdetcenter”>’. ‘Cognome : ‘ . $Cognome . ‘</p>’;
    echo ‘<p class=”mdetcenter”>’. ‘Categoria negozio o impresa locale : ‘ . $Categoria_negozio_o_impresa_locale . ‘</p>’;
    echo ‘<p class=”mdetcenter”>’. ‘Mi presento : ‘ . $Mi_presento . ‘</p>’;
    echo ‘<p class=”mdetcenter”>’. ‘Situazione sentimentale : ‘ . $Situazione_sentimentale . ‘</p>’;
    }
    add_action(‘bp_profile_header_meta’, ‘add_member_meta_data_profile’);

    but only Provincia is showed correctly.

    Very frustrating and not understandable.

    Any suggestion?

    Thank you,

    Giuseppe

  • Participant
    Level: Enlightened
    Posts: 130
    This reply has been marked as private.