BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi,
    I am sorry, I could not work on it. Please allow me to work on it tomorrow(it’s already 4:25AM here).

    It needs a few major changes. We escaped the data that’s why we are loosing the shortcode in the content(in display). I will have to look at other way to make sure the data is escaped(for security reasons to avoid any XSS attack) but the shortcodes are not lost.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: [Resolved] BP Simple Front End Post Form #3589

    Hi Leo,
    Thank you for confirming.

    We will update the BP Simple Front End post plugin in next 2 days(hopefully tomorrow) and will add this. we are also going to fix a few notices as you pointed earlier in the update.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Change Who's Online to Friend only #3586

    Hi Dandy,
    No problem.
    Please put this in your bp-custom.php

    
    
    function buddydev_change_no_online_text( $translated_text, $text, $domain ) {
    
    	if ( $text == 'There are no users currently online' ) {
    		$translated_text = 'Sorry, you don’t have any friends online';
    	}
    	return $translated_text;
    
    }
    add_filter( 'gettext', 'buddydev_change_no_online_text', 20, 3 );
    
    

    That should do it.

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: [Resolved] BP Simple Front End Post Form #3584

    Hi Leo & Ravi,
    Just correcting the things here.

    We had an issue in 1.2.7 that it was not using default values for custom fields. We had fixed that in 1.2.8 a few weeks ago. It seems you are still using 1.2.7. Please upgrade.

    PS: Thank you Ravi. Now, I can see the problem. Since the meta key was not getting stored, The forms were not displayed/used correctly on edit page.

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Change Who's Online to Friend only #3577

    Hi Dandy,
    Thank you for the update and kind words.
    Please do note that the above fix will be overridden in next version of BuddyPress. A better idea will be to filter the text using “gettext” filter.

    if you want me to post the code, please do let me know.

    Thank you
    Brajesh