Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Yes, It will.

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: How to make someone become featured members? #14500
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    You can already customize the message for user from the Settings->BuddyPress page(where you specify the limit).

    When we move the settings to BuddyDev dashboard, we will add the option for admin to be notified. It will be most probably anytime after BuddyPress 3.0.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] "Links xprofile" & NEW PLUGIN #14498

    Here is the code for that

    
    
    /**
     * Limit the allowed no. of characters for xprofile field.
     *
     * @param bool                   $validated is validated?
     * @param string|array           $values value(s).
     * @param BP_XProfile_Field_Type $field field object.
     *
     * @return bool
     */
    function buddydev_limit_xpfield_length( $validated, $values, $field ) {
    	$allowed_len = 0;
    
    	if ( $field instanceof BP_XProfile_Field_Type_Textarea ) {
    		$allowed_len = 500; // how many chars.
    	} elseif ( $field instanceof BP_XProfile_Field_Type_Textbox ) {
    		$allowed_len = 100; 
    	}
    
    	if ( $allowed_len ) {
    		$validated = strlen( $values ) < $allowed_len;
    	}
    
    	return $validated;
    }
    
    add_filter( 'bp_xprofile_field_type_is_valid', 'buddydev_limit_xpfield_length', 10, 3 );
    
    

    It will not show any specific error, just a generic error. Please make sure to specify the length in description.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Roles tied to storage limit #14497

    You are welcome. Marking it as resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Activity Updates #14496

    Hi Keith,
    The activity item privacy depends on gallery privacy.

    If you create a public gallery, the activity for it should be visible to everyone otherwise only the owner of the gallery can see it.

    If it is happening for public gallery, is there a chance that you are using any code/plugin to filter sitewide activity?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Activity Updates #14491

    Hi Keith,
    which version of MediaPress are you using?

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Roles tied to storage limit #14490

    Hi Sam,
    Thank you for the patience.

    Please upgrade to 1.0.1
    https://buddydev.com/plugins/mpp-flexible-storage-limit/

    It allows role based storage as well as individual user specific storage.

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] "Links xprofile" & NEW PLUGIN #14482

    Hi Julia,
    Please Request/feedback forum for suggesting plugins.

    Also, We do not suggest filtering urls as it will need regular expression and that is not good for performance.

    If you want to limit the length of data a user can enter, I can certainly provide code for that. Please let me know if that is what you need.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Activity Updates #14481

    Hi Keith,
    Yes, It should create the activity item for the new gallery. Only case where we don’t do it is for new wall galleries(automatic creation).

    Which version of BuddyPress/mediaPress are you using?

    Regards
    Brajesh