Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 30,026 through 30,050 (of 94,565 total)
  • Author
    Search Results
  • #169411
    tpflorio
    Participant

    I am looking for a way to allow people to choose between two options when registering (Couple/Single) and then have custom profile fields for each on the profile types. If they choose COUPLE it will prompt for 2 names, etc. I have WP, Buddypress, and S2Member installed.

    #169409

    In reply to: BP Groups and Forums

    Faramarz
    Participant

    @hnla I think you are right, when I check my error log I get this error:

    [28-Jul-2013 22:51:11] PHP Fatal error: Using $this when not in object context in /public_html/wp-content/plugins/bbpress/includes/extend/buddypress/group.php on line 461

    How to submit a ticket to BP and report this bug for tracking?

    cappazushi
    Participant

    Can you tell me how to check the page validation? I have kinda figured out how to fix the issue, but the solution I found is neither elegant, and I’ve just discovered that it’s still occurring on other pages. I’d like to check out all of the errors and see what’s really going on.

    #169387
    StuartManning
    Participant

    I’m also on

    WordPress 3.6
    BuddyPress 1.8

    And I get:

    http://[website]/members/%5Buser%5D/profile/edit/group/1/

    And get a 404

    #169386
    StuartManning
    Participant

    I get the same issue when I install Current Version of Buddy Press 1.8 on a custom domain.

    #169383
    Ünsal Korkmaz
    Participant

    Yeah, have some links comes here and i see that trac ticket is not linking to latest result. Sorry if i did something wrong

    #169381
    Hugo Ashmore
    Participant

    think you covered that in your other thread!

    #169377
    Tori
    Participant

    @intimez I’m not using that plugin, but I did have the same issue.
    I hope you’ve fixed yours by now, but if not, here’s what I did:

    In the bp-activity-template.php file, edit this function

    function bp_get_activity_comment_name() {
    		global $activities_template;
    
    		if ( isset( $activities_template->activity->current_comment->user_nicename ) )
    			$name = apply_filters( 'bp_acomment_name', $activities_template->activity->current_comment->user_nicename, $activities_template->activity->current_comment );  // backward compatibility
    		else
    			$name = $activities_template->activity->current_comment->display_name;
    
    		return apply_filters( 'bp_activity_comment_name', $name );
    	}

    The last line is all you need to change. Basically, you’re changing “user_fullname” to “user_nicename”.
    I know it’s not ideal to edit bp files, but this is currently the only way I know how to display usernames in comments. Hope this helps someone!

    reggie3
    Participant

    WordPress 3.51 (soon to be 3.6); BuddyPress 1.8

    We have a central bank of photos for all of our users. These are to be used by a number of different applications (WordPress, Drupal, etc.) across the organization.

    We have written a script that will create Word/BuddyPress avatar images & thumbnails, hash the user’s id to create the filenames, move the images to the correct directories, etc. and all this works fine.

    We want to prevent users from uploading different avatars into Word/BuddyPress after the photos from the central bank have been created. Is there a way to do this other than hacking the code?

    If hacking the code is the only way, any suggestions as to which php scripts to modify, and/or how to do that?

    Thanks!

    #169374
    Ben Hansen
    Participant

    it’s more about how many people will be using your site at any given time if you have buddypress and especially if your theme is displaying buddypress info on most of your pages then you will almost certainly need vps to be happy with your load times.

    #169373
    Ünsal Korkmaz
    Participant

    Uhm, It seems, I forgot to update this topic.

    Here is theme:

    FirmaSite

    #169372
    shanebp
    Moderator

    So a member has to make a separate donation to see each new message trail?

    This will require the hiring of a buddypress developer to create a custom plugin.
    You can contact me via my profile info.

    kuching
    Participant

    I’m trying to make a BuddyPress plugin using these guidelines

    http://codex.buddypress.org/theme-compatibility/how-to-enjoy-bp-theme-compat-in-plugins/

    however, if I try to add a class that extends BP_Component WordPress will crash and return the error.

    I tried to load my plugin after BuddyPress using the following code:

    function bp_pop_load() {
    
        require_once( dirname( __FILE__ ) . '/bp_pop.php' );
    }
    add_action( 'bp_include', 'bp_pop_load' );

    but it doesn’t work

    if I wrap my whole plugin with a class_exists( ‘BP_Component’ ) conditional, nothing will happen (condition is false)

    How can I fix this?

    fiy, I’m just calling BP_Component like this:

    class BP_PostsOnProfile extends BP_Component {
      // my stuff... but error is thrown at the line above
    }
    #169370
    paddelboot
    Participant

    Hi,

    I am creating a function that hooks into the WordPress core hook ‘wp_insert_comment’ in a multisite environment. To my complete surprise, this function will not have the BuddyPress vars and functions available. Needless to say that I am depending on these functions.

    I am a bit lost – how is it possible that BuddyPress is not being initialized at this point?

    Paddelboot

    #169366
    Gaurav Makwana
    Participant

    Warning: substr() expects parameter 1 to be string, array given in /home/shinyobj/public_html/coachxo.com/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/shinyobj/public_html/coachxo.com/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/shinyobj/public_html/coachxo.com/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: Invalid argument supplied for foreach() in /home/shinyobj/public_html/coachxo.com/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: substr() expects parameter 1 to be string, array given in /home/shinyobj/public_html/coachxo.com/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/shinyobj/public_html/coachxo.com/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/shinyobj/public_html/coachxo.com/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Zanora
    Participant

    Thanks Alot Aces

    I just figured out things on Resort. Everything looks smoother.

    #169364
    Hope
    Participant

    Dears,

    What are the recommended server requirements in details (as software & hardware) to run Buddypress with 10000 users (knowing that this number will grow continuously).

    Thanks in advance

    #169363
    @mercime
    Participant
    #169358
    @mercime
    Participant

    @barronlau
    – localhost is XAMPP, WAMP, MAMP?
    – As for avatar in localhost, choose something other than the default mystery man for those without Gravatars.
    – If you installed BP subsite, did you follow instructions at https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/ ?
    – I suggest that you test BP install first using BP Default or Twenty Twelve/Thirteen theme.

    #169356
    Boone Gorges
    Keymaster

    The problem is, in essence, this: You are filtering for member type/role at the template level, *after* the query has already taken place. So: you run bp_has_members(). It returns 10 users that match the current params, which include the current page, the per_page number, and the dropdown filter (last active, alphabetical, etc). Then, inside of your template loop, you are only displaying a subset of those ten returned members – ie, those that match your s2member role.

    In order to make a custom directory *and* have your pagination work, you’ll need to modify the query *before* it happens. One relatively simple way to do this is to pass an include parameter to bp_has_members(), which would limit the query to users that meet your s2member criteria.

    Because we’re talking about custom user roles as assigned by s2member (and because user roles are stored in a way by WP that doesn’t allow this kind of query to be very efficient), this is going to be pretty tricky. This is totally untested, and probably not very fast at very large scale, but you could try something like the following:

    <?php 
    global $wpdb;
    $level3_user_ids = $wpdb->get_col( "SELECT user_id FROM {$wpdb->usermeta} WHERE meta_key = 'wp_capabilities' AND meta_value LIKE '%s2member_level3%'" );
    $level3_user_ids_param = implode( ',', $level3_user_ids );
    
    if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&page_arg=bapage&per_page=10&include=' . $level3_user_ids_param ) ) : ?>

    Then you will *not* need to do the level3 check inside the loop, because the 10 items returned will already be limited properly.

    Like I said, this is off the top of my head and may not work without further modification. You may have to do some more experimentation to get an accurate whitelist of user ids for each directory type. But, no matter how you do it, the above example should show you a good technique for limiting the bp_has_members() query to a subset of all users (which is the BuddyPress-related part of this puzzle – the other problem is related to s2member).

    #169355
    #169354
    erp_linkin
    Participant

    OK !! I think I understood why this is happening.
    Please correct me if my understanding is incorrect.

    Because I have enabled bbpress. So Buddypress uses bbpress plugin to provide forums functionality as opposed to its own forum. Now since bbpress is a plugin so the follow goes to plugins.php rather than buddypress’s own forum.php

    Correct ?

    #169353
    westwoodchristopher
    Participant

    Hi
    we are configuring a new buddypress installation and want to insert a process whereby the buddypress profile owner cannot view the first message in a new message trail until they have made a donation payment. (Outside of the bp environment the payment system will send an instant notification to the bp site when the donation has been made). So what we need to know is:

    a) how to insert a block on the profile owner opening up the first message in a new message trail (instead incorporating a message and link to the payment site).

    b) opening up the new message trail) once the payment notification has been received by the system. (The payment notification can be configured as required)

    Aside from this one area bp configuration does pretty much everything we need so its been developed without the need for php expertise (which we dont have).

    Many thanks in anticipation of any help.

    erp_linkin
    Participant

    Wordpress Version 3.6
    Buddpress Version 1.7.1 ( Yes I will upgrade )
    bbpress Vesrion 2.3.2

    —
    The Forums in Groups uses plugins-php (buddypress/bp-themes/bp-default/groups/single/plugins.php) instead of forum.php(buddypress/bp-themes/bp-default/groups/single/forum.php)

    Why is this happening and how do I rectify it instead.

    ( I have installed bbpress and each group is marked to have its own Forum )

    Please advice,

    Thank you.

    #169351
    bp-help
    Participant

    @parmkals
    As @ubernaut stated I would FTP BuddyPress because if you do not have access to the php.ini then you can not change it and it may hang when downloading and installing BP. If that is the case then just download BP to your hard drive extract it and FTP it to: your-site/wp-content/plugins on your server. You will need the credentials from the server to do this and that is something only you can acquire. I supplied a link that will hopefully help you get started if your not familiar with this process. Good luck!
    https://codex.wordpress.org/Using_FileZilla

Viewing 25 results - 30,026 through 30,050 (of 94,565 total)
Skip to toolbar