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: 25285
    Brajesh Singh on in reply to: [Resolved] Customize Login Page #12592

    Hi Shelley,
    Thank you.

    In that case, you may use this code in your bp-custom.php

    
    
    /**
     * Filter and translate the WordPress login text label.
     *
     * @param string $translation translation.
     * @param string $text original text.
     * @param string $domain text domain.
     *
     * @return string
     */
    function buddydev_filter_email_login_label( $translation, $text, $domain ) {
    	if ( 'Username or Email Address' === $text && 'default' == $domain ) {
    		$translation = 'Email Address';
    	}
    
    	return $translation;
    }
    add_filter( 'gettext', 'buddydev_filter_email_login_label',10, 3 );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Thank you Richard.

    I am glad it is working for you. I am still not sure what caused it specifically for you. Please do let me know if you ind the reason some day.

    Happy Holidays 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Audiomonk,
    I am sorry for the delayed reply.

    Can you please link me to a page on the site or a screenshot one more time. It should work automatically. There is no need to copy the file if it not overridden in the theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Junk,
    I am sorry for the delayed reply.

    Can you please tell me what is happening. The plugin is tested with BuddyPress 2.9.1 for local notifications.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Title of images breaks grid view #12586

    Hi Monsur,
    It is most probably a Word Wrap/Word break issue.

    In MediaPress we are using the following to force wrap title

    
    .mpp-item-title {
        word-wrap: break-word;
    }
    
    

    It is possible that there is a conflict in css.

    If you can link me to the page, I can assist with the proper css. If you don’t want to make the link public, Please mark the reply as private.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: [Resolved] Customize Login Page #12585

    Hi Shelly,
    The WordPress added this in 4.5 and you can change the label in two ways:-

    1. Translating WordPress
    2. Using code

    Do you want to disable login with username completely or just text? If your intention is to disable login with username, I will suggest looking at email login plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Julia,
    I am sorry but we are unable to assist you here.

    The javascript etc is coming from the WCFM plugin . That plugin will not work with BuddyPress profile pages whether you use the Tabs creator or not. It has nothing to do with the Tabs pro.

    Like I said earlier, WCFM needs to load their assets/js on the page where you are using the shortcode but they are not doing it.

    Please ask the developer of the plugin to help you load javascript and anything else. It’s not our plugin and I am not sure how many other issues it might have with the BuddyPress profile page.

    You will need to get the assistance from the WCFM developer. We won’t be able to do much due to the lack of familiarity with their plugin.

    They should be able to extend my above code to load the js file(The code shows how to load asset on the profile tab).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Richard,
    That is very strange. I am only seeing the thumbnails.

    You can still use css if you want

    
    table.media_lists td.column-media_id img{
      max-width: 200px;
    }
    
    

    It is still not the right solution. Is there any code that you are using or filering on MediaPress media?

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Ali,
    I will test and post. the pdf did work for me. I am trying to find oout more details and checking if we can use some other viewer.

    I will be reporting back today.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Audiomonk,
    Is there a chance that you have the activity template overridden.

    Can you please check if your theme has this file
    mediapress/default/buddypress/activity/entry.php

    If yes, we will need to update it slightly to reflect the new change.

    Thank you
    Brajesh