Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,151 through 2,175 (of 31,071 total)
  • Author
    Search Results
  • #303187
    cammac1
    Participant

    Hi,
    I’m using BuddyPress and the result that I’d like to reach is modifying a field in the user profile page (http://yourSite/members/userName). So far I’ve found bp_after_profile_content and bp_before_profile_content but what I want is affecting one field inside the profile_fields_content. I’m not using any custom field and I can’t find a solution. Does any of you have any idea? I’m in function.php of a child theme and my function so far is this one:

    function get_member_field_test($data){
    $data = bp_get_member_profile_data( ‘field=lname’ );
    if ( strlen($data) > 3){
    $data = substr($data,0, 3).’…’;
    return $data;
    }
    }add_action(‘bp_before_profile_content’,’get_member_field_test’);

    thanks in advance

    #303174
    p3ntagon
    Participant

    Hello,

    i am using latest versions of WP, Theme, Plugin…

    PROBLEM: My activity stream is extremely slow and lagging. How or Where can i set a limit to the content of the stream like “Load more” etc.? I cant find it.

    Link to my activity stream

    Thanks for help!

    #303151
    Venutius
    Moderator

    I think the first thing to check is that it’s still the BuddyPress registration page. Your theme may have overloaded it and that might be the issue.

    shanebp
    Moderator

    The /sites page was designated in the BuddyPress settings …

    You mean ‘Sites’ was listed as a directory on the BP settings page?
    Or that a page called ‘sites’ was assigned to something? If so, what?

    If you want to change BP templates, you need to overload them.
    You cannot use another templating system, such as oxygen.

    #303146
    mrjanvier
    Participant

    Dear,

    I noticed I had a problem 2 sites. When i created a Group in buddypress i noticed there was a button rss feeds. I clicked on it and it gave a red page with:
    This page contains the following errors on line 6 at column6: XML declaration allowed onley at the start of the document. Below is rendering of the page up the First error.

    When I used controle U , I see indeed there is a white space and the code start at the 6th line with
    <?xml version=”1.0″ encoding=”UTF-8″?>
    I have this problem in 2 of my site. I don’t know how the problem was created. I deactivated all the plugins, I changed my generatepress theme with 2017 theme. I used the plugin: Fix my Feed rss repaire on 1 of my site. When i actived and go to Group –> RSS –> I see somethings new. I some codes with as title: THIS XML file does not appear to have any style information associated wit hit. The document tree is show below.

    Searching a bit around i found that it could be that my function.php has a white line problem. I didn’t find any, but to be shure i changed it back to the original.

    Does anyone know what went wrong with RSS in buddypress groups and how could i fix this for 2 of my sites?

    thank you?
    nice day

    #303142
    Venutius
    Moderator

    Ah got you. Looks like something is blocking that page. I’d try the following in the first instance:

    1. Check you have member profiles enabled in Settings>>BuddyPress you should have but it’s an easy check.

    2. Re-save your permalinks, making sure you are not using the default (top) setting.

    3. Deactivate all other plugins apart from BuddyPress and check to see if it works.

    4. Try using a default theme such as 2017.

    One of those steps should identify the problem.

    faris2022
    Participant

    WordPress 5.1
    BuddyPress version 4.2.0

    I created my WordPress website using a premier theme called WPLMS. I translated most of the website plugins by loco translation but I am facing issue with BuddyPress plugin, it is not translating the registration page and other related pages such as activating the account and so on… even though I manually translated the required texts into Arabic, I can see that it only works with the profile account page. And since it translating the login form which is part of BuddyPress plugin, I think there is an issue somewhere in BuddyPress. wish someone gets me to the right solution. thanks in advance

    #303087
    shanebp
    Moderator

    @denniscabasal

    I cannot duplicate your issue.

    Your OP shows a screenshot that indicates a lot of customization of a member profile.
    In order to narrow down the source of your issue – have you tried removing those customizations?
    It could be that the customizations have not been updated to work with BP 4+ .

    Have you tried switching to a WP theme like 2017 to see if the issue persists?
    Have you tried deactivating other plugins to see if the issue persists ?

    Unless your issues can duplicated on a basic install of the latest versions of WP and BP, it very doubtful that a solution will posted in these forums.

    #303069
    shanebp
    Moderator

    Have you tried using the filter hooks to write functions that bypass the blacklist and moderation checks? You can find the hooks in this file: buddypress\bp-core\bp-core-moderation.php

    For example, this could go in your theme > functions.php or in bp-custom.php :

    function bp_bypass_checks( $flag, $user_id, $title, $content ) {
    	return true;	
    }
    add_filter( 'bp_bypass_check_for_blacklist', 'bp_bypass_checks', 1, 4 );
    add_filter( 'bp_bypass_check_for_moderation', 'bp_bypass_checks', 1, 4 );
    #303066
    FTLRalph
    Participant

    It does look like it’s a bp-legacy thing.

    I’m no JavaScript guy but in the js file included in default bp-legacy themes there appears to be this code which is the only place I can force it to cancel the form submission, but I’d need to detect something is wrong here in the JavaScript first.

    This is the relevant section of the buddypress-activity.js file:

    // Submitting comments and replies
    if ( 'ac_form_submit' === target.prop( 'name' ) ) {
    	var comment_content, comment_data;
    
    	form = target.closest( 'form' );
    	item_id = activity_id;
    
    	// Stop event propagation
    	event.preventDefault();
    
    	if ( target.closest( 'li' ).data( 'bp-activity-comment-id' ) ) {
    		item_id    = target.closest( 'li' ).data( 'bp-activity-comment-id' );
    	}
    
    	comment_content = $( form ).find( 'textarea' ).first();
    
    	target.addClass( 'loading' ).prop( 'disabled', true );
    	comment_content.addClass( 'loading' ).prop( 'disabled', true );
    
    	comment_data = {
    		action                        : 'new_activity_comment',
    		_wpnonce_new_activity_comment : $( '#_wpnonce_new_activity_comment' ).val(),
    		comment_id                    : item_id,
    		form_id                       : activity_id,
    		content                       : comment_content.val()
    	};
    
    	// Add the Akismet nonce if it exists
    	if ( $( '#_bp_as_nonce_' + activity_id ).val() ) {
    		comment_data['_bp_as_nonce_' + activity_id] = $( '#_bp_as_nonce_' + activity_id ).val();
    	}
    
    	parent.ajax( comment_data, 'activity' ).done( function( response ) {
    		target.removeClass( 'loading' );
    		comment_content.removeClass( 'loading' );
    		$( '.acomment-reply' ).attr( 'aria-expanded', 'false' );
    		// etc...
    #303040
    Fierce God
    Participant

    Is there a code i can get or does anyone know how i can make my profile pages full width…..even on a force way

    My Theme doesn’t have this option on the customizer, nor when i go to edit the page

    here is a link to my profile, My Profile

    See how it looks like it doesn’t expand the width of the blk background?

    Oh, i’m the site owner and dev………but i don’t like messing with my files or stuff

    is there something i can do in the customizer “add css” section?

    #303007
    shanebp
    Moderator

    Please use the code button when posting code.

    I cannot duplicate your issue using WP 5.0.3 and BP 4.2.0

    Have you tried switching themes and deactivating other plugins to see if that clears the error ?

    Afaik – auto-suggestions are not used by default in a group > members > search
    Do you have some custom code that is calling wp_ajax_bp_get_suggestions ?

    Venutius
    Moderator

    The first question is if you have overloaded any template files? These would be located in themes/your-child-theme/buddypress

    If you have files in directories in there then switching the BP Theme could cause errors.

    If not then it’s worth switching to Legacy just to see if it works. However that’s not really solving the issue and if you are getting JS errors the same errors could stop the Legacy theme from working too.

    Nouveau is the latest BP Theme ans it came with extra customisation options in Customizer but if you have not used these then there’s very little difference between the two theme views.

    Might be worth letting me know what those error are so I can advise further. The other option would be to deactivate all of your other plugins and see if that fixes the problem but it’s a bit longwinded if you have some errors – better to address those first.

    Venutius
    Moderator

    That’s interesting, with the LEgacy theme you have to enter the name without the @ but with Nouveau you have to enter the @ for the autocomplete to work. But either way on my test system both autocompletes work.

    If you right click on the page, select Inspect Element and choose Console are you seeing any JavaScript errors?

    #302972
    JanDieckmann
    Participant

    Hello and sorry for bringing up again this old topic, but now it can be closed and considered resolved. After some month of ignoring that issue I came back to take care for the concerned website and still had the same problem.

    I saw that the related ticket is closed and marked as fixed. And I can acknowledge that the group pages are showing up on other installations, but on this particular site it consisted.

    So I tried again with changing the theme, deactivating all plugins, reinstalling buddypress and so on without success to finally figure out that it has had something to do with my bp-custom.php. After deleting it, it works, the group pages are shown again. I created a new bp-custom.php copied the content from the old one and it still works. Don’t know what happened or where might be an unnoticed character.

    Thanks for taking care, developing and maintaining Buddypress!

    #302926
    FTLRalph
    Participant

    I’m using 3.2.0 BP plugin with just a CSS-modified bp-default theme. It definitely fades out the comment and replaces it with basically a “nah son” message with no way to go back.

    k

    I don’t *think* the theme has anything to do with this, as it’s all form-related stuff that has its origins in the plugin files.

    Where would be the best place/function to look to see how comments get pre-processed before submitting the form?

    #302886
    Varun Dubey
    Participant

    @madhall If you want that activity should not be created at all even at the database.
    You can try following inside child theme functions.php

    function wb_exclude_activity_types_from_recording( &$activity ) {
    
        $excluded_types = array( 'joined_group', 'updated_profile'.'friendship_created' );
     
        if ( empty( $activity->id ) && in_array( $activity->type , $excluded_types ) ) {
            $activity->type = '';
        }
     
    }
    add_action( 'bp_activity_before_save', 'wb_exclude_activity_types_from_recording' );

    As per the Activity Filter plugin, it only hides them with bp_ajax_querystring, all activity type still get recorded inside the database. You can also check it’s live working here https://www.youtube.com/watch?v=fTwzSN1y61o

    shanebp
    Moderator

    Hmmm… The OP was for default alphabetical listings for group members.

    In that case, rather than the members-loop template, the template to overload is this ( assuming you are using the Legacy template pack ):
    buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php

    And the change would be:
    <?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) . '&type=alphabetical' ) ) : ?>

    So try overloading that template and make sure you adjust the placement of that template in your child theme.

    mocreate
    Participant

    @Venutius Just to make sure I have everything accounted for, I wanted to conifrm this should be the correct placement of members-loop.php — see screenshot for directory structure.

    https://www.dropbox.com/s/cc6bqqrcxtvljmm/theme-override-placement.png?dl=0

    Venutius
    Moderator

    If your theme is overloading that page then yes the changes you make might not have any effect. Your best bet is to contact the theme author and see if that’s the case then ask them how to overload that.

    mocreate
    Participant

    @Venutius or it could be conflicting with my theme — do you know of any plugins that might accomplish this — premium or otherwise, as an alternate way to solve?

    #302845
    Freddy Wong
    Participant

    You can use specially designed WordPress theme, I think the solution already exist.

    #302829
    Venutius
    Moderator

    The BP Nouveau I was referring to, it’s the BP Theme, you can check which one you are using in Settings>BuddyPress>Options, it’s either Legacy or Nouveau

    #302821
    missbrimichelle
    Participant

    I’ve also just tried changing the theme to WP 2017. Same issue… I have no idea what else could be wrong. Is there anything else I can do ?

    #302820
    missbrimichelle
    Participant

    @shanebp Thank you. I’e tried that as well. I’m currently using the themify ultra theme. I tried doing this on another site of mine that I’ve not yet updated to the new Buddypress using same theme and updated WP. It works on this site. Could it be a bug with the buddypress update? Is there a way for me to download the previous version of buddypress?

Viewing 25 results - 2,151 through 2,175 (of 31,071 total)
Skip to toolbar