BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26302

    Hi Brajesh,
    I’ve sent you a message with the form you mentioned.

    Regards,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26279

    Hi Brajesh,
    Back from a good presentation. Thanks again for all your support.

    Now that the Label aka Badge plugin for Groups (Villages) seems to be to complicated to start with, we agreed to invent a numeric field for Village Rating (a village will start with zero points and is able to earn up to a maximum of 100 points for all these environmental things the invent).

    1. Is it possible for you to provide the code to have 1 numeric field per group (only in backend) and to show that number in Groups list (frontend of bp-nouveau)?

    2. Perfect would be if we are able to sort Groups in Groups list based on that numeric value (highest number first) with an additional entry in groups-order-by called «Rating»!

    Regards,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26258

    Hi Brajesh,
    I just found the solution in your reply to this post…

    https://buddydev.com/support/forums/topic/insert-a-value-into-my-new-xprofile-numeric-field/

    Regards,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26257

    Hi Brajesh,
    Thanks for your reply. It was an idea, not a request or «po». 😉

    Regards,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26252

    …I forgot the last point:

    – Option to show/hide the Groups text on «footer» of single group pages and Members text on «footer» of single member pages (every time last div of bp-wrap!)

    Thanks,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26247

    Hi Brajesh,
    The Download button on…

    https://buddydev.com/themes/community-builder/

    …leads to v1.1.6 – would you please post a link to Community Builder 2.0 beta 1…

    Thank you,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26245

    I try to explain: it’s only this part what needs to be extended:

    
    if ( $memberbio = xprofile_get_field_data( 'Kurzbiografie', bp_get_member_user_id() ) ) :
    		echo '<br/>';		
    		echo $memberbio;
    		echo '</div>';
    endif;
     

    The code has to check if that field is empty. If yes, it should return a space (as a “placeholder”), if it’s not empty then it should proceed the way the formula is now built. That’s all.

    Regards,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26244
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26237

    Hi Brajesh,
    Just tried but that’s not working. Seems I really need that space/nbsp if memberbio is empty.

    Would you please add that if/else for me to add it?

    Regards,
    Hans

  • Participant
    Level: Enlightened
    Posts: 134
    HansRuedi Keller on #26220

    Hi Brajesh,
    Got it. I’m very happy with your support. Thank you!

    Regards,
    Hans