Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 66,251 through 66,275 (of 69,109 total)
  • Author
    Search Results
  • #42653

    Let me try and answer this diplomatically because this seems like spam without being spam to me…

    BuddyPress isn’t Facebook, and it really doesn’t have any intentions of trying to imitate it. That’s up to an audience of GPL contributors to try and mold and shape it into that, if they so choose.

    BuddyPress also has a test development site already, to flex its muscles and allow people to use it as they like. testbp.org.

    There are unlimited domains available, with unlimited hosting and bandwidth options. None of what you’re offering really has anything to do with BuddyPress other than using it for potential profit. Contributing a domain that specializes in spreading bad news isn’t any part of Automattic’s roadmap that I’ve seen, so don’t count on getting any hosting.

    If what you’re doing is offering a business opportunity to specific individuals, you should contact them privately and see if they’re interested.

    (I’m locking this for now. If any other staff feels like re-opening it for discussion, go for it. My gut tells me this isn’t what the forums here are for.)

    #42651
    nicolagreco
    Participant

    to add stuff under the buddyrpess menu in wp admin it’s not needed to keep your plugin in /plugins/buddypress :S

    look here from the bpdev-admin.php code

    add_menu_page(
    'BPDEV Admin',
    'BPDEV Admin',
    2,
    'bpdev-admin',
    'bpdev_admin_settings_page',
    BPDEV_PLUGINS_URL . '/bpdev-core/images/icon.png'
    );

    add_submenu_page(
    'bpdev-admin',
    'All Plugins',
    'All Plugins',
    1,
    'bpdev-plugins',
    'bpdev_admin_plugins'
    );

    so, the first create a new item, the second a new sub-item, you should create a subitem like that

    add_submenu_page(
    'buddypress', <== check this on the code
    'My Plugin',
    'My Plugin',
    1,<= Position
    'bpdev-plugins', <= Slug
    'bpdev_admin_plugins' <= callback
    );

    put it in a function and add_action( '_admin_menu', 'my_function_with_my_menus' )

    #42648

    This is the greatest challenge of all.

    Read the integration tutorial at this website.

    Read it again. Read it again. Read it again.

    Follow all steps, exactly.

    Use Firefox and check the cookies that are being placed when you login to BuddyPress. Chances are that you skipped a step somewhere, or that one of your cookies or plugins is out of alignment.

    It is possible and they can play nice together. :)

    #42646

    Here is what I would do… And what I do mostly on all of my BuddyPress installations…

    In your BuddyPress->General Settings, make the “Full Name field name” be called “Display Name” or in your case “First Name/Last Initial”

    That way, people know right away what you want shown there. You won’t need to baby sit them because it says right there what you want entered. Most people will follow suit, and the ones that don’t, what’s the diff?

    (Notice I use my middle name here on bp.org?) ;)

    Then, create extra fields for First Name and Last Name, for yourself to use. Make them visible if you’d like, or whatever.

    This way you’re not trying to create a crazy filter to micro manage anything.

    #42643
    Jeff Sayre
    Participant

    @Enlightenmental1-

    It seems like you’re on the right path!

    it’s BP-tos….?

    Just to let you know, the “bp” at the beginning of a plugin does not mean that it is an official, supported BuddyPress component. The same goes with the “wp”. Plugin developers can name their plugins whatever they want.

    That is what the TOS and Captcha developers did.

    #42638
    peterverkooijen
    Participant

    Does Welcome Pack have options to customize the activitation email (without messing up wpmu-functions.php) and insert the actual first name or full name of the new user in ‘Dear User’?

    I’ve asked about that here. Burtadsit said you were working on this.

    Apologies I haven’t even tried Welcome Pack yet. I’m in the middle of my day job. Shouldn’t even be here… :-

    #42636
    Jeff Sayre
    Participant

    Okay, not a new hook per se, but a new admin menu group (BuddyPress) to which you should be able to add additional submenu pages. It still uses the add_action call to a WPMU hook (admin_menu).

    Look at how its done in bp_core_add_admin_menu() in bp_core.php. Then, additional submenus under BuddyPress menu group are added in other BP components–like xprofile_add_admin_menu() in bp_xprofile.php.

    #42627
    Erwin Gerrits
    Participant

    Jeff, how do I add it to the BuddyPress menu in the backend? Are there new hooks?

    #42626
    Jeff Sayre
    Participant

    Actually, come to think of it, maybe you should keep it in plugins/buddypress/. That will make it easier to add it to the BuddyPress menu in the backend.

    #42625
    Jeff Sayre
    Participant

    @Erwin

    As Nicloa suggests, placing your plugin in plugins/bp-events/ makes sense. Also, perhaps you should consider adding it to the BuddyPress menu in WP admin.

    #42623
    nicolagreco
    Participant

    i really suggest you (for stats and user experience)

    to put it in plugins/bp-events/

    Then you should add some code to stop it working if bp is disabled,

    contact me if needed ( nicola at buddypressdev.org )

    #42621
    Wythagy
    Participant

    Okay I’m officially retarded and have been up way too long…

    all I had to do was replace the link using the $user variable they already provided…I didn’t need an ID# after all…

    For what it’s worth though if anyone would like to know, I now have WP-Forum working very smoothly along with BuddyPress :-) (again…not within group forums, only as a site wide forum).

    #42617
    Wythagy
    Participant

    By the way, just so you know what I am trying to do, there is a function within WP-Forums that calls a profile link using the variable $link:

    $link = "<a hre f='".$this->base_url."profile&amp;id=$user_id'
    title='".__("View profile", "wpforum")."'>$user</a>";

    I need to be able to change the content after the \”href\” in the $link variable so that the $user_id forwards to a the equivalent BuddyPress profile.

    #42618

    In reply to: BP-FBConnect Plugin

    2448027
    Inactive

    got it working it was my stupid php… so what exactly does this do ? when you post a blog on wpmu does it post it on fb as well?? and vice versa ?

    also isnt there anyway to take out users profile info … and put em into there buddypress if they have the same fields..?

    #42611
    Roger Coathup
    Participant

    @burt:

    I’ve written a plugin (essentially your logo replacement code), and put it in the mu-plugins directory, but it doesn’t seem to be getting invoked?

    Am I missing something obvious?

    My file is called 2l2r-plugins.php and sits in the mu-plugins directory:

    <?php

    /*

    Plugin Name: l2r adminbar logo

    Plugin URI: http://www.21inspired.com

    Description: replaces the adminbar logo

    Version: 1.0

    Author: Roger Coathup

    Author URI: http://www.21thoughts.com

    */

    function l2r_adminbar_logo() {

    global $bp;

    echo '<img id="admin-bar-logo" src="' . apply_filters( 'bp_admin_bar_logo_src', site_url( MUPLUGINDIR . '/2l2r/images/l2r_home.gif' ) ) . '" alt="' . apply_filters( 'bp_admin_bar_logo_alt_text', __( 'BuddyPress', 'buddypress' ) ) . '" />';

    }

    remove_action('bp-adminbar-logo','bp_adminbar_logo');

    add_action('bp-adminbar-logo','l2r_adminbar_logo');

    ?>

    #42608
    Wythagy
    Participant

    Okay so I just tried installing the absolute latest Trunk of BBPress with BuddyPress RC1, but when I try to activate the buddypress-enable.php file it says:

    Plugin file does not exist.

    Back to Modelrific Forums.

    #42606
    Wythagy
    Participant

    Question, will BuddyPress RC1 work for this, or do you have to be using the latest BuddyPress install via SVN?

    #42601
    Burt Adsit
    Participant

    This thread has an example of how to build a filter: https://buddypress.org/forums/topic.php?id=2146 for the user full name.

    https://codex.wordpress.org/Plugin_API for docs on wp actions and filters.

    You should really talk to DJPaul here on the forums. He has a plugin called Welcome Pack that assigns new users a default friend and default group. He also says that the next version of that plugin will have the ability to create a custom welcome message to the new user. Not sure if that’s a PM or an email. Suggest what you want to him. He’s working that kinda track.

    https://buddypress.org/developers/DJPaul/

    https://wordpress.org/extend/plugins/welcome-pack/

    #42599
    Burt Adsit
    Participant

    It sounds like your user integration is not right. Go over everything again step by step in the topic https://buddypress.org/forums/topic.php?id=471 again.

    Burt Adsit
    Participant

    Here’s two functions that change the way the admin bar displays user blogs.

    // sort array of blog objs by $blog->role according to the order of $blog_roles
    // roles not included in $blog_roles array will not be displayed
    function filter_blogs_by_role($blogs){
    global $bp, $blog_roles;

    $blog_roles[] = __( 'Admin', 'buddypress' );
    $blog_roles[] = __( 'Editor', 'buddypress' );
    $blog_roles[] = __( 'Author', 'buddypress' );
    $blog_roles[] = __( 'Contributor', 'buddypress' );
    $blog_roles[] = __( 'Subscriber', 'buddypress' );

    // get roles
    foreach ($blogs as $blog){
    $blog->role = get_blog_role_for_user( $bp->loggedin_user->id, $blog->userblog_id );
    }

    // eliminate roles not in $blog_roles
    foreach ($blogs as $key => $value){
    if (!in_array($value->role, $blog_roles))
    unset($blogs[$key]);
    }

    // sort by $blog_roles sequence if there are any left
    if ($blogs){
    usort($blogs, 'compare_roles');
    }

    return $blogs;
    }

    // i love php.net. stolen from php.net usort manual, user mkr at binarywerks dot dk's
    // contribution for priority list comparision function.
    function compare_roles($a, $b){
    global $blog_roles;

    foreach($blog_roles as $key => $value){
    if($a->role==$value){
    return 0;
    break;
    }

    if($b->role==$value){
    return 1;
    break;
    }
    }
    }

    You can put those two fns in your bp-custom.php file. The fn filter_blogs_by_role() does the work and the fn compare_roles() is just a helper fn.

    filter_blogs_by_role() takes the array of blog objects returned by the fn get_blogs_of_user() in the admin bar’s bp_adminbar_blogs_menu() fn. It first gets all the roles for the user’s blogs and then removes all of the roles that are not listed in the $blog_roles array. That way you can eliminate some roles such as ‘Subscriber’ if you want. Next it sorts the blogs by the sequence of roles defined in $blog_roles. However you list them in that array is how they will display in the admin menu.

    1) So, put those two fns in bp-custom.php

    2) Arrange the roles defined by $blog_roles in the fn filter_blogs_by_role() however you want the roles to appear in the menu

    3) Comment out the roles you do *not* want to appear in the menu

    4) Put the call to filter_blogs_by_role() on line 133 in bp-core-adminbar.php like this:

    if ( !$blogs = wp_cache_get( 'bp_blogs_of_user_' . $bp->loggedin_user->id, 'bp' ) ) {
    $blogs = get_blogs_of_user( $bp->loggedin_user->id );
    wp_cache_set( 'bp_blogs_of_user_' . $bp->loggedin_user->id, $blogs, 'bp' );
    }

    $blogs = filter_blogs_by_role($blogs);

    Just in case the forums trash the code I also stuck it here: http://pastie.org/445729

    #42583
    jfcarter
    Participant

    When I go into bbpress admin settings, there is no option to enable xmlrpc and pingbacks. Why and what should I do?

    1. So far, WPMU, BuddyPress and bbpress have installed.

    2. I can create forums in Groups on BP, but I can\’t see them on bbpress

    3. When I try to enter a post in the Group forum in BP, I get the red square and error message: “There was an error posting that topic.”

    4. Also, even if I’m logged in as admin in BP (which is mapped to Keymaster in bbpress), I still have to sign in again when I reach the bbpress forums.

    5. This leads me back to: xmlrpc and pingbacks (why are the checkboxes not visible?)

    Burt Adsit
    Participant

    You can pick and choose which bp components to install. If all you want is Friends and XProfile then only install those. You do not have to use the bp home theme at all. It’s optional. You can use whatever wp themes you like on your blogs.

    The member theme is not optional however. That’s what gives your users access to the profiles and friend functionality.

    #42577
    Wythagy
    Participant

    Go figure, I post this and I think I find it… buddypress-member > profiles > index.php

    #42575
    mStudios
    Participant

    yeah, I installed about 6+ times and made it work in the end, but don\’t know what the difference is to the 5 times before that. I was going to write down the exact steps I used but then it was so late and promptly forgotten the next day and now it\’s a week later and gosh, no way to exactly trace back… the only thing I remember was that I simplified and actually did LESS than some of the posts suggest. also, as with the alpha I was constantly getting \’table not found\’ error regarding the user table during install, so I ended up not going with 2 db\’s but added this one to the wpmu db – no more error during install and smooth sailing between the two (except that I still need to put the cookies in, as it will not remember as whom I\’m logged in or if at all when switching between buddypress and bbpress… as an admin and a regular user this can become tricky).

    not very helpful at this point (sorry about that), I know, and I dread the time that I will have to go through that setup again, but at least I made it work on this one :-)

    dainismichel
    Participant

    LOL!

    Wow, yes, I sure would be mega-thrilled if the theme from that JPG were released. Frankly, I don’t even want to launch my BuddyPress community without some kind of cohesive theme where blog owners don’t have to do any configuration.

    Is there anything similar or functional available now? Also, were my procedural posts just goofy, or could some of my suggestions work with minimal effort?

    –Dainis

Viewing 25 results - 66,251 through 66,275 (of 69,109 total)
Skip to toolbar