BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Donation feature for buddypress #40015

    Making it dynamic is tricky

    Can something similar to this code be used to determine a dynamic url then the username is the url can be picked by the [bp-shortcodes-profile context=display group_id=4] to determine the context of the profile data

     function hibuddy_get_send_public_message_url() {
     
        $user_id = hibuddy_get_context_user_id();
     
        if ( ! $user_id || $user_id == bp_loggedin_user_id() ) {
            return;
        }
     
        if ( bp_is_my_profile() || ! is_user_logged_in() ) {
            return false;
        }
    	
    	$username = bp_core_get_username( $user_id );
     
        return apply_filters( 'hibuddy_get_send_public_message_url', wp_nonce_url( site_url() . '/news-feed/?r=' . $username ) );
    } 

    Maybe $username of the recipient can be picked [bp-shortcodes-profile context=display group_id=4] so context=username from the url

    Thanks

  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Donation feature for buddypress #39992

    Thanks for the feedback
    1. Do I install the code as a plugin
    2. What is the shortcode text to be applied from the text below

     /**
    	 * Create shortcode
    	 */
    	private function setup() {
    		add_shortcode( 'bp-shortcodes-profile', array( $this, 'shortcode' ) );
    	} 
  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Donation feature for buddypress #39986

    Any feedback sir

    Thanks

  • Participant
    Level: Guru
    Posts: 885

    Gentle reminder

  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Donation feature for buddypress #39934

    The donate button can be displayed in three locations.

    1. Member profile header
    2. Members directory
    3. Blog post as (Send tip to Author)

    The donations would be peer to peer

    • This reply was modified 2 years, 8 months ago by Tosin.
  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Buddyblog category and tag adjustment #39920

    Thanks if possible making it a dropdown select input box would be ok in order to prevent users selecting multiple categories. Only one category should be selected.

  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Buddyblog category and tag adjustment #39897

    Hello,

    Gentle reminder you forgot to add this in the recent update. It would really improve mobile experience especially when using the medium editor.

    see image below while using the medium editor you can see how long the category list is.

    https://ibb.co/CmK99zm

    Thanks

  • Participant
    Level: Guru
    Posts: 885

    Hello Marcel,

    Please what line of code was changed

    Thanks

  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: Buddyblog confirm action for publishing #39851

    Thanks it worked but how do I add the message (Are your sure this information is accurate and safe for public’s interest)

    Thanks

  • Participant
    Level: Guru
    Posts: 885
    Tosin on in reply to: [Resolved] BuddyBlog Pro Medium Editor #39847

    Thanks brajesh

    The medium editor is awesome, but im still testing it

    Can you add word counter feature to the medium editor with settings option for:

    1. Set minimum number of words to publish the post.
    2. Set maximum number of words to publish the post

    SEE IMAGE https://ibb.co/dkDDPdd