Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 30 total)

  • jcfromkc
    Participant

    @jcfromkc

    I would like to see this as well.


    jcfromkc
    Participant

    @jcfromkc

    Look in /js/buddypress.js.

    Line 1940.


    jcfromkc
    Participant

    @jcfromkc

    Try the WP Mail SMTP plugin to see if that helps.

    WP Mail SMTP by WPForms


    jcfromkc
    Participant

    @jcfromkc

    Wise Chat works with BP.

    Wise Chat


    jcfromkc
    Participant

    @jcfromkc

    Adding $phpmailer_is_6_0 = true; to Line 57 fixed my issue.

    THANK YOU!!!


    jcfromkc
    Participant

    @jcfromkc

    Did you ever find an answer to this? If so, can you please share your custom filter to serve as an example for others? Thx


    jcfromkc
    Participant

    @jcfromkc

    I’m looking for a solution to this as well. Can someone please point us in the right direction to create a custom filter that can change/customize the time/date format? Helping with this topic would also help with the Notifications and Message page time format issues that others are having as well. Thx


    jcfromkc
    Participant

    @jcfromkc


    jcfromkc
    Participant

    @jcfromkc

    Can you please post your code for this? I’m struggling with this issue right now.

    Thx, JC>


    jcfromkc
    Participant

    @jcfromkc

    Still no joy.


    jcfromkc
    Participant

    @jcfromkc

    This does not work.


    jcfromkc
    Participant

    @jcfromkc

    I found the solution.

    I created a new file called refresh-page.js and used the following code.

    jQuery(window).load(function() {
                   bp.CoverImage.Attachment.on( 'change:url', function( data ) {
                    window.location.replace("http://mywebsite.com/me/profile/change-cover-image/");
                   } );
                   });
    

    This refreshes the Cover Image page after uploading a new image!!


    jcfromkc
    Participant

    @jcfromkc

    I’m looking for a solution to this as well.


    jcfromkc
    Participant

    @jcfromkc

    I need this as well.


    jcfromkc
    Participant

    @jcfromkc

    Love these responses.


    jcfromkc
    Participant

    @jcfromkc

    Did you ever figure this out?


    jcfromkc
    Participant

    @jcfromkc

    Now I’m looking for a way to turn my new [Read More] text into a hyperlink.


    jcfromkc
    Participant

    @jcfromkc

    […] is the same thing as typing […]


    jcfromkc
    Participant

    @jcfromkc

    After 6 months of searching I finally got it!!!!

    Plugins > BuddyPress > BP-Core > BP-Core-Template.php

    Line 875

    'ending' => __( ' […]', 'buddypress' ),

    Change […] to whatever you like, and then create a new blog post. The new blog post will include the updated text you just entered. Hells yeah!


    jcfromkc
    Participant

    @jcfromkc

    Bump < Slump


    jcfromkc
    Participant

    @jcfromkc

    I still need help with this. ????


    jcfromkc
    Participant

    @jcfromkc

    Thanks for commenting. I’m using the correct field_id. I just created a new field, it was given the id of 54. When I try the following code it doesn’t work.

    function swiss_target_blank( $field_value, $field_type, $field_id ){
    	
    	if( $field_id == 54 ) { // get the field_id from edit field url in wp-admin
    
    		$field_value = str_replace('" rel="nofollow">', 'rel="nofollow" target="_blank"', $field_value);
    	}
    
    	return $field_value;
    }
    add_filter('bp_get_the_profile_field_value', 'swiss_target_blank', 11, 3);

    I tried this code in my functions.php and bp-custom.php, neither work.

    Line 176 – /plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-url.php

    It seems like the way you’re suppose to target rel=”nofollow” has changed or something.

    I’m still working on this.


    jcfromkc
    Participant

    @jcfromkc

    Does anyone know how to target the Thumbnail (Featured Image) for blogs posts that appear on the Activity Stream?

    I’m using the following code on all other pages.

    <?php if( get_the_post_thumbnail() ) : ?>            
        <a href="<?php the_permalink(); ?>">
           <div class="single-img-container">
    <?php the_post_thumbnail('category-thumb'); ?>
           </div>
       </a> 

    I can’t seem to find where get_the_post_thumbnail() is being called into action by the Activity Stream.


    jcfromkc
    Participant

    @jcfromkc

    I’m actually trying to hide the DIV and the empty Profile Field within the DIV. I’ve come up with this so far. I’ve created a file called hide-empty-profile-fields.js and enqueued the script.

    $(document).ready(function() {
         str = $('div.profile-page-location').text();
       if($.trim(str) === "") {
         $('div.profile-page-location').hide();
       }   
         str = $('div.profile-page-status').text();
       if($.trim(str) === "") {
         $('div.profile-page-status').hide();
       }  
        str = $('div.profile-page-zodiac').text();
       if($.trim(str) === "") {
         $('div.profile-page-zodiac').hide();
       }
        str = $('div.profile-page-occupation').text();
       if($.trim(str) === "") {
         $('div.profile-page-occupation').hide();
       } 
        str = $('div.profile-page-website').text();
       if($.trim(str) === "") {
         $('div.profile-page-website').hide();
       }
       
    });

    It works, but it’s not optimal. Using this method, the empty fields do not become hidden until the page is fully loaded. This causes a weird shift to occur upon page load.

    Still working on this.


    jcfromkc
    Participant

    @jcfromkc

Viewing 25 replies - 1 through 25 (of 30 total)
Skip to toolbar