Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 53,676 through 53,700 (of 94,553 total)
  • Author
    Search Results
  • #119862
    @mercime
    Participant

    Three cheers!

    #119861
    @mercime
    Participant

    @idahoannie @kkradel after installing BP Template Pack plugin, you need to go through the process including imposing your active WP theme’s HTML structure onto the BP template files transferred into your WP theme’s folder in server.

    https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
    https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    If you require further assistance:
    – open up your theme’s page.php file, select all and copy
    – go to pastebin.com and paste the code, click on submit button
    – copy the generated pastebin.com url and post here.

    Adam
    Member

    if I have three sites and I stated that buddypress is to be used on site id 2, how do I prevent the buddypress admin bar from showing on site 1 and 3?

    #24110
    Boone Gorges
    Keymaster
    #119851
    NKTricker
    Member

    1. Also latest version of WP, and BP. WordPress is installed in a sub directory.
    Everything was just installed today. So latest version on everything.
    No other plugins other than bbPress and Buddy Press installed.
    Using the standard Buddy Press theme. I notice that you can’t really create separate forum in the bbPress version installed in BuddyPress. Is the internal version limited in someway or something???
    Please help, and thanks in advance.

    #119850
    NKTricker
    Member

    Also, I don’t really like the bbPress forums at all. It seems very very limited and you can’t make forum categories with it. Is there anyway to get the BuddyPress forums working with phpbb? I tried the gateway plugin, but it corrupted my database and I couldn’t find the correct files to use with it.

    NKTricker
    Member

    So I installed word press, then installed bbPress, then installed BuddyPress, then went to set up the forum. I clicked to integrate it with the current bbPress forum. It ask for the bb-config.php file location. I have no idea which on it is refering to. I found on in the folder of
    public_html/community/wp-content/plugins/buddypress/bp-forums/bb-config.php
    I am not sure if that is the correct location. Should the bb-config/php file be located in the root directory? The BuddyPress folder? Or the separate bbPress folder? Where is it? Which one is it at?
    The uploader did accept the file path I gave it, but the forum doesn’t show. HaLLLLP!?!?! :/

    #119848

    In reply to: Profile rating system

    @christophg

    I’m glad to help! I’m sure some of my ideas are not the cleanest way to solve the problems, but they seem to work. And as it seems difficult to get answers to questions here sometimes, I try to help where I can.

    Let me know how things go after you get a chance to try them out. Ps. the code I pointed to in that link, if it is not clear- I used it to create an ‘if’ statement.

    Peace.

    sdls
    Member

    understood.. thanks again Boone!

    Boone Gorges
    Keymaster

    The functions are not new – the whole point of a framework like BuddyPress, from the beginning, has been so that you *don’t* have to reinvent the wheel :)

    I think that for your purposes you can use `xprofile_get_field_data()`. See bp-xprofile/bp-xprofile-functions.php.

    sdls
    Member

    thanks @boonebgorges !

    WOW searching through all these new functions will be time consuming at first, but I’m sure will make things better over the long term. are these new to BP 1.5?

    I’m so used to just using SQL to solve my problems these seems way complicated… (above my head and slightly to the left) So let’s say I just want to check for the whether a record exists, is it suggested that these BP functions should be used for all database communication?

    for example… this checks for the existence of the field in the first place

    `
    $sql4 = “SELECT *
    FROM wp_bp_xprofile_data XP
    WHERE XP.user_id = $iUserID”;
    $acheck_for_user_xprofile = $wpdb->get_col( $wpdb->prepare($sql4));
    if ($acheck_for_user_xprofile) {
    $check_for_user_xprofile_answer = “yes“;
    } else {
    $check_for_user_xprofile_answer = “no”;
    }
    `

    #24106
    laloma
    Participant

    Just upgrade to WP .3.2.1 and BP 1.2.9 and noted that set featured image is not working with buddypress default theme. When trying to edit a post or add a new one SET FEATURED IMAGE link not appear.

    I tested using Twenty Ten 1.2 theme and SET FEATURED IMAGE link appear by edit a post or add new one.

    How to fix this ?

    Boone Gorges
    Keymaster

    That’s what `xprofile_set_field_data()` is for.

    `xprofile_set_field_data( 1, $iallusersUserID, $nicename );`

    No need to use $wpdb!

    #119840
    lexayo
    Member

    hum… do you know how to follow @r-a-y about this plugin? is he working on this already?
    thank you all

    #119839

    In reply to: adding group fields

    4ella
    Participant

    @qrahaman yes , group fields are already working for us on that link and I got from @brajesh http://www.buddydev.com even better solution for group custom fields (maybe non paid members can’t see it) :
    http://buddydev.com/forums/topic/displaying-group-custom-fields-in-group-headerphp
    I didn’t have a time till now to check it out , but as soon as possible I can I will check it out and if I understood it well it should help us to display whatever we wish if group value is EMPTY.

    and as far as I know @slaffik have said that his plugin in future versions will work exactly as you’ve said (at least I wish it will work like that – you’ve perfectly described my wish how slaffik’s plugin should work.)

    #119831

    In reply to: Profile rating system

    christophg
    Member

    Hey @embergermedia,
    As usual your advise dose not disappoint! I’m in the process of moving and also the creation of s second business site so as soon as I can I’ll give you an update on how it all works out! Ill also continue to mull over your problem and see if I can help at all! Talk to you soon!

    sdls
    Member

    Thanks both for the feedback!… looking into xprofile_insert_field() in bp-xprofile/bp-xprofile-functions.php. This appears to be the function for adding a new profile field to the BP system.

    `function xprofile_insert_field( $args = ” ) {
    global $bp;

    extract( $args );

    /**
    * Possible parameters (pass as assoc array):
    * ‘field_id’
    * ‘field_group_id’
    * ‘parent_id’
    * ‘type’
    * ‘name’
    * ‘description’
    * ‘is_required’
    * ‘can_delete’
    * ‘field_order’
    * ‘order_by’
    * ‘is_default_option’
    * ‘option_order’
    */

    // Check we have the minimum details
    if ( !$field_group_id )
    return false;

    // Check this is a valid field type
    if ( !in_array( $type, (array) $bp->profile->field_types ) )
    return false;

    // Instantiate a new field object
    if ( $field_id )
    $field = new BP_XProfile_Field( $field_id );
    else
    $field = new BP_XProfile_Field;

    $field->group_id = $field_group_id;

    if ( !empty( $parent_id ) )
    $field->parent_id = $parent_id;

    if ( !empty( $type ) )
    $field->type = $type;

    if ( !empty( $name ) )
    $field->name = $name;

    if ( !empty( $description ) )
    $field->description = $description;

    if ( !empty( $is_required ) )
    $field->is_required = $is_required;

    if ( !empty( $can_delete ) )
    $field->can_delete = $can_delete;

    if ( !empty( $field_order ) )
    $field->field_order = $field_order;

    if ( !empty( $order_by ) )
    $field->order_by = $order_by;

    if ( !empty( $is_default_option ) )
    $field->is_default_option = $is_default_option;

    if ( !empty( $option_order ) )
    $field->option_order = $option_order;

    return $field->save();
    }
    `
    All I really need to do is add a little record into the existing “wp_bp_xprofile_data” table

    This below code works however it’s definately not Open source friendly or BP friendly

    `

    // grab this users nicename

    $user = get_userdata( $iallusersUserID );
    $nicename = $user->user_nicename;
    $last_udpated = date(‘Y-m-d H:i:s’);

    // create a new record in bp_xprofile_data and add the nicename

    $wpdb->insert(
    ‘wp_bp_xprofile_data’,
    array(
    ‘field_id’ => 1,
    ‘user_id’ => $iallusersUserID,
    ‘value’ => $nicename,
    ‘last_updated’ => $last_udpated
    ),
    array(
    ‘%d’,
    ‘%d’,
    ‘%s’,
    ‘%s’
    )
    );
    `

    Any thoughts? Thanks again!

    Paul Wong-Gibbs
    Keymaster

    We fixed this in BuddyPress 1.5

    Tom Lynch
    Participant

    Hey,

    I am seriously stuck with this one, so any help will be severely appreciated!

    I have a BuddyPress install, which I have created several times on different machines with the same results…

    Main site: http://gdnm.org – WPMS Installation – Subdomain setup

    BuddyPress site: http://network.gdnm.org – blog id #2

    I have setup my BuddyPress subdomain using BP_ROOT_BLOG correctly, and my WordPress install uses DOMAIN_CURRENT_SITE to set the root site, however both BuddyPress and WordPress seem to use siteurl() to get the current site which means that all registrations are relative to the BP_ROOT_BLOG not the DOMAIN_CURRENT_SITE url.

    This has the result that through wp-signup.php you get http://subdomain.gdnm.org and via BuddyPress you get http://subdomain.network.gdnm.org which is not what I want.

    Please help, I have literally tried everything even filtering the wpmu/bp_validate_blog_signup and it still doesn’t work, so desperate to fix this as on Monday 300-600 people signup and I don’t want to have to edit them all manually.

    Thanks

    Tom

    WP-CONFIG:

    define( ‘BP_ROOT_BLOG’, 2 );
    define( ‘BP_DISABLE_ADMIN_BAR’, true );
    define( ‘BP_MEMBERS_SLUG’, ‘directory’ );
    define( ‘BP_BLOGS_SLUG’, ‘sites’ );
    define( ‘BP_GROUPS_SLUG’, ‘groups’ );
    define( ‘BP_ENABLE_ROOT_PROFILES’, true );
    define( ‘BP_SILENCE_THEME_NOTICE’, true );
    define( ‘WP_ALLOW_MULTISITE’, true );
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, true );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘gdnm.org’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    Boone Gorges
    Keymaster

    +1 to using the `xprofile_` functions if you can.

    #119825

    In reply to: adding group fields

    Quint
    Participant

    @4ella, I believe this is post to which you are referring (near the bottom of the page): https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-add-fields-to-group-creation-with-group-extension-api-please-read/?topic_page=4&num=15

    It’s from modemlooper. And it’s a follow-on to modemlooper/jorges plugin. One has to go into the php file to add/modify fields but it solves the need. Plus, whatever html tags have been placed in the php file to organize the fields, one can just add IDs/Classes and style them in your child theme’s style.css. No need for inline styling.

    With that being said, @slaffik will your update allow for Group types and/or categories? For example, for a specific group type, the admin could create/apply a form containing fields specific to that Group type. With the application of categories/sub-categories, the user would be able to filter across an exhaustive list of Groups. I am looking forward to trying your updated plugin.

    #119823

    In reply to: adding group fields

    modemlooper
    Moderator

    Try using this http://github.com/modemlooper/buddypress-group-fields

    You have to edit the code your self to add fields. i’m going to develop it so it matched the profile fields editor that comes in default BP.

    #119822

    In reply to: Profile rating system

    Hey @christophg

    Sorry, I’ve been travelling a lot or work and haven’t had enough time to come back here!! Thanks for the info on Profile manager. I was half way through with my solution when I stumbled upon hers. It didn’t work for me, so I contacted her. After several iterations of the plugin it still didn’t work for me. I suspect there may be a plugin conflict, however, I have limited plugins running on my installation, and my community needs every one of them. So I continued to make refine the idea I sent to you.

    As for your question regarding using S2 to control who gets one of your pages created, I am not sure if it is possible. As it stands, S2’s hooks and filters only allow you to keep content sequestered depending on user level.

    One idea for you though is to allow a page to be created for every one who registers. Then, display the contents of that page as an iFrame on each users member profile page. Create a private group for the members who should have a rating. Then wrap the iframe in code that restricts the display of the iframe to only displayed members of that group. I do this very thing for my “Brands”.

    I believe this is the code I used to show only on my brands member pages:

    https://buddypress.org/community/groups/creating-extending/forum/topic/checking-if-a-user-is-in-a-group

    Let me know if you need more help!

    #119821
    tommyhoang
    Member

    HOLY SMOKES! i figured it out, the bp-custom.php file mustve been corrupted because i deleted and simply tried to replace the code. and now it works!!!

    thanks for all the help @mercime!!!!

    #119820
    tommyhoang
    Member

    @mercime, but it doesnt change the fact that my members are still autojoining the group when they reply to a post. the original code only disables the autojoin when starting a new topic.

Viewing 25 results - 53,676 through 53,700 (of 94,553 total)
Skip to toolbar