Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,451 through 17,475 (of 94,565 total)
  • Author
    Search Results
  • #246525
    paragbhagwat
    Participant

    Hello @danbp

    What would i do if i want to remove a tab? Please refer to my question

    https://buddypress.org/support/topic/hiding-groups-and-forums-from-members-page/

    Thanks,
    Parag

    #246517

    In reply to: Disqus Integration

    shanebp
    Moderator

    Is there a better looking bp comments plugin with some better styling?

    I’m not aware of any. You could adjust or add css to change the styling.

    …the bp activity stream will not pick up these comments.

    You’ll need to use bp_actvity_add() to do that.
    Your theme may have a hook you can use – ask them.

    #246514
    Charla
    Participant

    This has been asked before sometime ago here (5 years to be exact) https://buddypress.org/support/topic/change-filter-selection-box-for-activity-stream/ and so I’m following up on it since no one come back with any suggestions on it.

    I wish to turn the dropbox on the activity feed to checkboxes instead.

    Redgard
    Participant

    Hey,
    I’m looking for a wysiwyg editor for my gaming community’s website, I need a plugging supporting buddypress, bbpress and wordpress comments , like that our users could be less restricted.
    thanks,
    Red’

    #246507
    danbp
    Participant

    @gurusurfer,

    this need a template overload.

    Make first a child-theme.
    Copy notifications-loop.php from bp-templates/bp-legacy/buddypress/members/single/notifications/ to
    /child-theme/buddypress/members/single/notifications/notifications-loop.php

    At the begin of the file (line 1) copy/paste <?php bp_get_template_part( 'activity/post-form' ); ?>. Don’t remove php tags.

    Save. You’re done.

    #246506
    danbp
    Participant

    Please don’t double post. Topic closed.
    Conversation continue here:
    https://buddypress.org/support/topic/adding-whats-new-form-to-the-mentions-template/

    #246505
    vysakhnair
    Participant

    <select id=”activity-filter-by”>
    <option value=”-1″><?php _e( ‘— Everything —’, ‘buddypress’ ); ?></option>

    <?php bp_activity_show_filters(); ?>

    <?php do_action( ‘bp_activity_filter_options’ ); ?>

    </select>

    @venutius this is the code in that page I directly removed the Everything which is coming as the first option but now i want updates as the first option from where the function bp_activity_show_filters() is getting values from database or any of the files

    #246500
    danbp
    Participant

    Hi @ma3ry,

    unable to visit the indicated page due to redirection… BP’s xProfile text box contains are autolinked by default for the 5 first words.
    This is handy when you use a field called city for example. The city name is autolinked and let each user click on it to find other who may entered the same name.

    Of course, an about me box with a long description, which several autolinked words has less interrest. Fortunately, you can deactivate xprofile autolinking.
    Two options for this: all or selected.

    Here 3 snippets. The first can be used if you want to completely remove autolink from all field values.
    The second is a new filter to let you choose the field(s) you want to deactivate. This need two snippet. The first to rewrite a filter and the second to remove / replace the existing BP filter.

    Add the snippet to bp-custom.php.

    // remove any autolink from profile
    function remove_xprofile_links() {
    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    }
    add_action( 'bp_init', 'remove_xprofile_links' ); 
    
    // custom filter to selectively remove autolink
    function my_xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) {
    
        // Access the field you are going to display value.
        global $field;
    
        // In this array you write the ids (separated by comma) of the fields you want to hide the link.
        $excluded_field_ids = array(2);
    
        // If the id of this $field is in the array, we return the value only and not the link.
        if (in_array($field->id, $excluded_field_ids))
    	return $field_value;
    	
    	if ( 'datebox' == $field_type )
    	return $field_value;
    	
    	if ( !strpos( $field_value, ',' ) && ( count( explode( ' ', $field_value ) ) > 5 ) )
    	return $field_value;
    	
    	$values = explode( ',', $field_value );
    	
    	if ( !empty( $values ) ) {
    		foreach ( (array) $values as $value ) {
    			$value = trim( $value );
    			
    			// If the value is a URL, skip it and just make it clickable.
    			if ( preg_match( '@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', $value ) ) {
    				$new_values[] = make_clickable( $value );
    				
    				// Is not clickable
    			} else {
    				
    				// More than 5 spaces
    				if ( count( explode( ' ', $value ) ) > 5 ) {
    					$new_values[] = $value;
    					
    					// Less than 5 spaces
    				} else {
    					$search_url   = add_query_arg( array( 's' => urlencode( $value ) ), bp_get_members_directory_permalink() );
    					$new_values[] = '<a href="' . $search_url . '" rel="nofollow">' . $value . '</a>';
    				}
    			}
    		}
    		
    		$values = implode( ', ', $new_values );
    	}
    	
    	return $values;
    }
    
    /**
     * We remove the buddypress filter and add our custom filter.
     */
    function remove_xprofile_links() {
        // Remove the old filter.
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
        // Add your custom filter.
        add_filter( 'bp_get_the_profile_field_value', 'my_xprofile_filter_link_profile_data', 9, 2);
    }
    add_action('bp_setup_globals', 'remove_xprofile_links');
    pws2015
    Participant

    Hello,
    i use buddypress plugin Version 2.3.4
    I want restrict some users as admin account to not display in members page on frontend.
    How i can do this?

    #246498
    danbp
    Participant
    gwanghyeonan
    Participant

    Hello, I made up a site which users can upload their own posts.
    So, on the profile page, I want to have a page which shows all of their own posts.

    On activitiy tab, I can choose ‘posts’ category but if I click it even if I’ve posted posts, it doesn’t show any.

    Also want this post tab to contain custom post type’s posts.

    Right now I just have
    -activity
    -profile
    -notification
    -messages
    -freinds
    -groups
    -forums
    -media
    -settings

    I want add ‘posts’ tab. How to do it ? Thank you 🙂

    #246494
    @mercime
    Participant

    There is nothing on the page, where is the shortcode for the register page and activate page?

    There is no shortcode. If you enabled registration after you set up BuddyPress, then follow instructions at https://codex.buddypress.org/getting-started/register-and-activation-pages/
    After you do so, you’d need to log out first in order to “see” the Registration page.

    #246491
    @mercime
    Participant

    For example, I changed the background of the home page to black, the group page also went black.

    @jessicana That is the default behavior as BP adds rudimentary styles to the components in BP pages.
    BP injects BP classes in the <body> tag. View > Source or use FF/Chrome inspector and you’ll find numerous classes e.g. in a Group named “The Godfather”, you’ll find the following classes you can use for the single group home page or for the rest of the Groups component pages:
    <body class="single-item groups group-the-godfather group-home home buddypress ... etc.>
    so you can use e.g.

    body.buddypress {
    /* for all BP pages */
    }

    or

    body.groups {
    /* for all groups */
    }

    or

    body.group-home {
    /* for the single group's home page */
    }

    etc.

    #246487
    Henry Wright
    Moderator

    There’s 2 ways of doing this.

    1. You could modify the members-loop template (see the BuddyPress Template Hierarchy for details on how that’s done). See here. You would just add bp_member_profile_data( 'field=the field name here' ); to the template.

    2. Add this to your theme’s functions.php file:

    function add_info_to_members_loop() {
        echo bp_get_member_profile_data( 'field=the field name here' );
    }
    add_action( 'bp_directory_members_item', 'add_info_to_members_loop' );
    #246486
    Henry Wright
    Moderator

    You can’t do that currently. The only way to add an item to the activity stream is with bp_activity_add(). See the bp_activity_add() article for more details.

    #246484
    Antipole
    Participant

    Hi… I have a BP site with members’ directory here.

    I would much like to add to this directory list certain extra profile fields (not to the individual member’s entry).

    I have searched for a plugin without luck. I could attempt simple php mods if pointed in the right direction. I found this but it is some years old and I am not sure if it is the best place to start.

    Any help much appreciated.

    WordPress 4.3.1; BuddyPress 2.3.4; bbPress 2.5.8

    csblack
    Participant

    The users on my site can’t update their activity feeds. When a user comment is posted nothing shows up. However, when logged in as admin everything seems to work fine. Additionally, admin updates can be seen by users.

    The issue still occurs with the Twenty Fourteen theme.

    This occurred right after I installed one of two plugins which are no longer supported:

    Buddypress Activity Stream Extras

    Buddypress Block Activity Stream Types

    I have since deleted both plugins, to no avail. I also wiped everything off my server and restored a previous backup (which I think was archived before this issue occurred, but I’m not certain).

    Any suggestions? It seems that multiple people have had this issue as well, but I can’t find a solution.

    Thanks.

    #246481
    jtorral
    Participant

    So I partially fixed it but I think I need buddypress input for the following.

    Here is what I did

    I created a custom template from a copy of the page.php in the themes directory. Inside of that template was a call to comments_template(); which I removed from the custom template.

    I then changed the “Members” page to use the new template with a name of “No Comments”

    Now when I load http://jorgetorralba.com/members/ I get the desired affect without the comments and ping backs.

    However, if I go one level deeper and click on a user name such as

    http://jorgetorralba.com/members/cjtorralba/

    The comments reappear. Same on Activity page even after changing activity to use the new custom templates.

    Any idea ???

    #246480
    jtorral
    Participant

    I have an even bigger problem now. Comments wont show for anyone who is logged in after installing “disable comments”, then deleteing the plugin then restoring a db backup from last night. I know its not related to buddypress but I am racking my brains trying to figure out what happened.

    even a find for files modified does not show anything. only logged off users can see comments on post now arg !!!!

    r-a-y
    Keymaster

    Thanks for the report, @kalico.

    I’ve added a ticket for this here:
    https://buddypress.trac.wordpress.org/ticket/6719

    We’ll have a better error message for users for v2.5.0.

    jtorral
    Participant

    I have read most of the solutions offered and still cannot resolve my problem.

    I have latest version of wordpress and buddypress on my site http://www.jorgetorralba.com

    The frustrating problem is that I cannot stop all comments and trackbacks from showing on the members / profile page. It is very frustrating. I have tried even to disable comments by editing the member page settings and still no luck.

    http://jorgetorralba.com/members/

    Not to mention if my site was really large this could be a potential performance problem.

    Any advise would be greatly appreciated.

    Thanks

    JT

    shaherm
    Participant

    Please I Need Help If Someone Can Help Me solve this Prp

    <br /> <b>Warning</b>: strstr(): Empty needle in <b>/home/wwwsouq/public_html/helloegypt/wp-content/plugins/buddypress/bp-core/bp-core-filters.php</b> on line <b>781</b><br /> Egypt Chat Meet New Egyptian Friends Online Now |

    It Appears On Froums Memebers
    How I Can Make My Describtion Appear Normal
    This My Buddypress Link
    http://helloegypt.souqhurghada.com/

    Im Waiting fpr support
    Thank you In Advance

    #246470

    In reply to: Activity Stream

    erich199
    Participant

    @dhscratch

    I’m having a similar issue as you with the mentions .js file not loading.

    I also have an issue when I limit the number of items, the load more doesn’t work.

    https://buddypress.org/support/topic/move-activity-stream/

    nickharambee
    Participant

    Hi,

    I made some adjustments to the wp_users and wp_bp_groups_members tables in my database – removing some users manually, as we had a lot of spam users on our site. This is something that I have done in the past without any problem. None of these users had posted on the forum.

    This time though it has broken the link to my forum on Buddypress. I had one forum for my group called ‘general’. Now, for some reason I have three group forums called general and all of them have no topics listed on the admin page for forums, even though all of the topics can be seen in wp_bb_topics and all of the posts in wp_bb_posts.

    So, somehow the link has broken, and I am not sure how to fix this. I can post a new topic, and this shows in the database, but I still get the “Sorry, there were no forum topics found” message on the forum. When I enable WP_DEBUG I see the following errors:

    Warning: substr() expects parameter 1 to be string, array given in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776

    Warning: strpos() expects parameter 1 to be string, array given in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783

    Warning: explode() expects parameter 2 to be string, array given in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: Invalid argument supplied for foreach() in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Notice: Undefined variable: null_flag in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 811

    Notice: Undefined variable: not_null_flag in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 822

    Warning: substr() expects parameter 1 to be string, array given in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776

    Warning: strpos() expects parameter 1 to be string, array given in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783

    Warning: explode() expects parameter 2 to be string, array given in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: Invalid argument supplied for foreach() in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Notice: Undefined variable: null_flag in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 811

    Notice: Undefined variable: not_null_flag in /home/admin/domains/soteriabrighton.co.uk/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 822

    I would be very grateful for any help in fixing this.

    Thanks,

    Nick

    #246463
    mrgoldfinder23
    Participant

    How do people register on buddypress 2.3.4? There is nothing on the page, where is the shortcode for the register page and activate page???????? May be an idea to put them in with the plug in. Saves days of waiting here

Viewing 25 results - 17,451 through 17,475 (of 94,565 total)
Skip to toolbar