BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #44846

    Oh I think I see your point, but .PDF files draw the same error. Regarding the server, I never tried implementing this feature until now on the Upcloud server.

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #44845

    1. I have not implemented any custom code. The exact same warning also shows when loading.jpg files. A few months ago we moved from Cloudways to our own Upcloud VPS managed via GridPane.

    2. Separately, the video link feature does not seem to support Loom videos. Is there anything we can do about that?

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42960

    Hi Brajesh,

    Thank you for your explanation. I understand the meaning of what you’re saying.

    It seems that I might be better off switching to a theme that is coded properly, and that runs on BuddyPress and BBPress directly instead the BuddyBoss forks.

    What do you think? If you were recommending a tech and theme stack for someone starting fresh, what would advise?

    Mark

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42947

    Hi Ravi,

    While I understand your instructions, I am not skilled at modifying themes. Is this something I can request as custom service from BuddyDev?

    Also, the BuddyBoss theme does include bbp-topic-permalink. Is there a way to run a code snippet on that instead of bbp-topic-title rather than modifying the theme template?

    I am concerned that modifying the theme template in the child theme will prevent future theme updates from being applied to that template. Is this a valid concern?

    Thank you again,

    Mark

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42919

    Another associate provided me with the following snippet:

    add_action( 'bbp_theme_after_topic_title', function() {
      bbp_topic_excerpt();
    });

    This worked with the default WordPress theme, but failed with the BuddyBoss theme. I looked at the DOM. It seems the BuddyBoss theme doesn’t include bbp-topic-title.

    Topic excerpts are vital for my business model. What do you suggest I do to resolve this issue?

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42877

    BuddyBoss reports that “by default, the option to add excerpts to the forum page is not available on the platform.”

    What is the right path forward? Should I abandon the BuddyBoss platform for a better tech stack? Or would a fix or plugin be better?

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42876

    I’m happy to report that AutomatorWP added a new trigger based on updating user_nicename that solved my concern.

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42659

    Sorry – tested another way, your code works fine! Thank you!

  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42658

    I tried the following. As far as I can tell, this is not executing when a logged-in user updates via the interface provided by the plugin. I copied all the code underneath $user_id from a prior snippet I wrote that worked fine.

    Any thoughts??

    
    add_action( 'bp_username_changed', function ( $new_username, $data, $user ) {
    
            $user_id = $user->ID;
      
    	    // Send ID to AutomatorWP trigger
    		$url = 'https://XXXXXX';   
    		$response = wp_remote_post( $url, array(
    			'method'      => 'POST',
    			'timeout'     => 45,
    			'redirection' => 5,
    			'httpversion' => '1.0',
    			'blocking'    => true,
    			'headers'     => array(),
    			'body'        => array(
    			  'ID' 	      => $user_id
    			 ),
    			'cookies'     => array()
    		  )
    		);		  
    
    }, 10, 3 );
    
    
  • Participant
    Level: Enlightened
    Posts: 26
    Mark Winstein on #42643

    Hi Brajesh,

    1) The update sounds great. Is this available via the github? When will I be able to update my site with it?

    2) If you could provide a code snippet that only returns the User ID number after the plugin updates that user’s Username, I can securely handle the rest of the coding myself.

    Thanks again,
    Mark