Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 88,401 through 88,425 (of 94,557 total)
  • Author
    Search Results
  • #47887
    2964399
    Inactive

    anyone ?

    Everything is working starting from forum integration. Posting from buddypress or bbpress. All post shows up in the group forum itself.

    Just that, new topic, post reply for group forums are not showing in sitewide activity ? How can i do ? :( . Please help me.

    And one more thing is, group wire supposed to be shown in the side wide activity as well ?

    I am using Buddy Press 1.0 , BBpress 1.0 Rc1

    #5515
    Boone Gorges
    Keymaster

    Just updated my Custom Profile Filters for Buddypress http://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/. Allows users to specify which phrases in their profiles should be linked to a site-wide search. Also gives admins the power to turn off the automatic linking of a given profile field, and to specify fields (like Twitter or FriendFeed) where the handle should redirect to the social networking profile page, rather than a BP search.

    #47881
    vito687
    Participant

    1. Which version of WPMU are you running?

    2.7 official not svn

    2. Did you install WPMU as a directory or subdomain install?

    directory

    3. If a directory install, is it in root or in a subdirectory?

    root

    4. Did you upgraded from a previous version of WPMU? If so, from which version?

    WordPress MU 2.7.1

    5. Was WPMU functioning properly before installing/upgrading BuddyPress?

    yes, still is

    6. Which version of BuddyPress (BP) are you running?

    1.0.1

    7. Did you upgraded from a previous version of BP? If so, from which version?

    1.0 and prior to that RC2

    8. Do you have any plugins other than BuddyPress installed and activated?

    Bp-TOS (terms of service) which is the only possible interference

    9. Are you using the standard BuddyPress themes or customized themes?

    standard Bp-theme only css edited

    10. If running bbPress, which version?

    latest

    11. Please provide a list of any errors in your server’s log files.

    none

    Problem is as stated in post above

    #5514
    dinhluong
    Participant

    On my install of BuddyPress, one of my blogs hides the admin bar when a certain theme is used (Diet Apple from http://www.sem-pros.com/search-engine-marketing/services/freewordpressthemes.htm). The admin bar comes back when I switch to another theme, and it works fine on all the other blogs (which have different themes).

    How is the admin bar called? I’d like to keep this theme if possible.

    #47878
    peterverkooijen
    Participant

    Thanks Jeff Sayre. Went with your solution of course. Less intrusive – my custom code hack already created this problem.

    I assume for the group and blog pictures it will be something similar…?

    dinhluong
    Participant

    When I try to use the “Compose Message” page, I get an error in the drop-down box of the “Send To” field that reads:

    Fatal error: Call to undefined function friends_search_friends() in (my URL)/wp-content/plugins/buddypress/bp-messages/bp-messages-ajax.php on line 33

    I think this is due to the fact that I’m running a private install of BuddyPress where everyone knows everyone else already so I turned off friends. Is there a way to either fix this or at least remove the error? Messages are still sent properly when I type in the full username manually, but the error message is scary/distracting to my non-technical users, and when they click on it, it replaces whatever was already in the text field with “
    “

    thebloghouse
    Participant

    Hi all

    Has anyone got any custom jQuery scripts playing nice with BuddyPress 1.0.1. and are you able to help a jQuery novice with something probably really easy?

    Basically when I have <?php wp_head(); ?> loading, any code I have in a custom.js file doesn’t seem to work.

    e.g something simple like the following that is meant to slide a login form in and out when you click the link doesn’t work:

    $(document).ready(function () {
    $('a.menu_class').click(function () {
    $('div#login-form').slideToggle('medium');
    });
    });

    I have found reference to the wp enqueue script and am wondering if I should be using the following syntax to load custom javascript in WordPress at page load instead?

    jQuery(document).ready(function($){

    I have tried the above systax instead but it still doesn’t work so I think I am missing something quite fundamental to do with BuddyPress and jQuery :(

    p.s Something like the end result I am trying to accomplish can be seen here

    #47877
    Jeff Sayre
    Participant

    Well, we have insufficient information about your setup. Please answer these questions.

    #47875
    Jeff Sayre
    Participant

    @Mattlay-

    As he has not been active on these forums for over a month, I doubt you’ll get a reply from Terryjsmith.

    But, to answer this question:

    I am curious if anyone knows if bbpress and BP are working to do this somehow by default. I am sure they are working on a lot of things but like I said this seems rather important from a users perspective.

    You should view theBuddyPress roadmap. You can see that for BP v1.1, better integration support is one of the goals.

    #47874
    Jeff Sayre
    Participant

    Dan, read this thread for some possible insight and ideas: https://buddypress.org/forums/topic.php?id=3173

    #5511
    tr33m4n
    Participant

    Hello there,

    I keep experiencing this error

    You do not have any BuddyPress themes installed.

    Please move “/wp-content/plugins/buddypress/bp-themes/” to “/wp-content/bp-themes/” and refresh this page. You can download more themes here.

    I have moved the bp-themes to the correct directory and all the permissions are correct. When clicking on ‘General Settings’ under the buddypress menu, the “Select theme to use for BuddyPress generated pages” drop down shows all the themes in my standard wordpress themes folder :s

    Any idea whats going on?

    Many thanks

    Dan

    #47868
    Jeff Sayre
    Participant

    @juanllamosas

    This thread is about Mike Pratt’s Featured Groups Widget. This allows site admins to select certain BP groups to feature. It has nothing to do with individual members.

    It sounds like you are talking about my Featured Member(s) Widget. If you are, you set a featured member by their unique ID, not by their username. When editing the widget’s parameters, it states “Member ID(s):” and “Separate member IDs by commas”.

    A member ID is the unique number automatically assigned to each user by WPMU upon registration. You can find each member’s unique member ID (also called userid), by logging into WPMU and clicking on “Site Admin > Users”. Then, hover your cursor of a given member’s username and look at the link text. you’ll see this in the url “user_id=”. You can also obtain a user’s unique ID by looking at the “ID” field in the wp_users table in WPMU’s MySQL DB.

    #47867
    Jeff Sayre
    Participant
    #47866
    rooseveltrp
    Participant

    Thanks for the information guys, really appreciate it.

    There’s still a little confusion in my head, lol :p.

    My blog is at domain.com.

    So, should I install WordPress Mu at domain.com or something like mu.domain.com, and then control the blog at domain.com from under mu.domain.com, and install buddypress under mu.domain.com?

    Is this how it’s supposed to be setup?

    #47865
    r-a-y
    Keymaster

    Sunday morning bump!

    Let me know if any of you need clarification with what I typed above.

    #47864
    r-a-y
    Keymaster

    Hey 21cdb,

    This is actually getting beyond the scope of the original post!

    I’m not sure what the $doing_admin_bar variable is; I’m assuming it’s a variable of BP’s that allows you to check if the admin bar is displayed or not.

    If that is the case, you can try this:

    function check_admin_bar() {
    global $bp;
    if($doing_admin_bar) add_action('wp_head', 'my_admin_bar_css', 1);
    else remove_action('wp_head', 'bp_core_admin_bar_css', 1);
    }
    add_action('plugins_loaded','check_admin_bar',99);

    Try that out, not sure if it will work though!

    —

    Re: Admin bar logo. Simple way is to not use the apply_filter! Just directly link to your logo!

    function my_adminlogo() {
    echo '<a href="/"><img src="LINK TO LOGO" alt="YOUR LOGO" /></a>';
    }

    function my_adminbar_logo() {
    //replace BP logo with your logo
    remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo');
    add_action( 'bp_adminbar_logo', 'my_adminlogo');
    }

    add_action( 'bp_adminbar_logo', 'my_adminbar_logo', 1);

    —

    To do more modifications, I highly recommend reading the codex article, “Modifying the Admin Bar” that Jeff linked to:

    https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/

    It contains mostly everything you need to know!

    #47859
    21cdb
    Participant

    Hey r-a-y,

    is it possible that you give me an example of this if-else statement?

    I also do have another question. I would like to change the admin_bar_logo.gif. I was thinking about using the following code:

    <?php
    function bp_adminbar_custom_logo() {
    global $bp;
    echo '<a>root_domain . '"><img id="admin-bar-logo" src="' . apply_filters( 'bp_admin_bar_logo_src', bloginfo('template_url') . /images/admin_bar_logo.gif . '" alt="' . apply_filters( 'bp_admin_bar_logo_alt_text', __( 'BuddyPress', 'buddypress' ) ) . '" /></a>';
    ?>

    However i have problems with bloginfo(‘template_url’) which isn’t working and i don’t get the mistake, if there is one?!

    #47858
    Paul Wong-Gibbs
    Keymaster

    The approach to take in a plugin is to hook into the various WP and BP actions and then reward achievements as and when appropriate. You need to record in the database which achievements have been obtained. And write the administration and user interfaces for BuddyPress as a custom component.

    I am myself working on an achievements plugin. I had hoped to release a test version today but I can’t promise that, it’s looking unlikely. But we shall see..

    #47855

    In reply to: Photo, not avatar

    Paul Wong-Gibbs
    Keymaster

    The trick would be to use a custom “translation” – this way when you upgrade, you won’t have to manually merge lots of files.

    See Customizing Labels, Messages, and URLs.

    Sandeep Ramamoorthy
    Participant

    Hello,

    after a long search in this forums,i learnt how to make the buddypress site components like members,groups not visible to non-logged in users.

    Thanks to Burt Adsit and Peterverkooijen.I learnt this from their thread http://buddypress.org/forums/topic.php?id=1651

    i started this thread to avoid confusions since there are a lot of codes and error messages in that thread.

    Ok….

    In short,create a file named bp-custom.php in the wp-content/mu-plugins folder.

    Then add this code in that file.

    <?php /* Plugin Name: bpRestrict - BuddyPress Plugin Plugin URI: http://code.ourcommoninterest.org/ Description: Restricts non-logged in users from certain areas Author: Burt Adsit Version: 0.1 Author URI: http://code.ourcommoninterest.org/ License: GNU GENERAL PUBLIC LICENSE 3.0 http://www.gnu.org/licenses/gpl.txt */ function js_restrict_access(){ global $bp, $bp_unfiltered_uri; if (!is_user_logged_in() && (BP_MEMBERS_SLUG == $bp_unfiltered_uri[0] || BP_GROUPS_SLUG == $bp->current_component || BP_BLOGS_SLUG == $bp->current_component)){ bp_core_redirect( get_option('home') . "/register?s=1" ); } } add_action( 'wp', 'js_restrict_access', 3 ); ?>

    Next,open the register.php file from wp-content/themes/bphome/

    After the <?php get_header(); ?> line,add this code

    <?php

    if($_REQUEST["s"]){?>

    <script type="text/javascript">

    jQuery(document).ready(function () {

    setTimeout(function(){ jQuery("#error").fadeOut("slow"); }, 6000);

    });

    </script>

    <div id="error" class="error">

    <h3>The page you were trying to access is for members only. Please login or register to continue.</h3>

    </div>

    <?php } ?>

    That’s it….

    now,the non-logged in users will be redirected to sign up page whenever they try to visit the members,blog or the groups…

    #5507
    allenweiss
    Participant

    Hi All

    I’m using BuddyPress for an organization where the users don’t like the name Avatar, but would rather have this changed to Photo. Is there a way to make this change on my site?

    Thanks

    #47850
    peterverkooijen
    Participant

    I’ve split the function as follows:

    function xprofile_add_signup_fields() {
    global $bp_xprofile_callback, $avatar_error, $avatar_error_msg;

    /* Fetch the fields needed for the signup form */
    $fields = BP_XProfile_Field::get_signup_fields();

    if ( $fields ) {
    ?>
    <div id="extra-form-fields">
    <?php
    for ( $i = 0; $i < count($fields); $i++ ) {
    if ( $bp_xprofile_callback[$i]['field_id'] == $fields[$i]->id && isset($bp_xprofile_callback[$i]['error_msg']) ) {
    $css_class = ' class="error"';
    } else {
    $css_class = '';
    }
    ?>
    <div class="extra-field">
    <?php if ( $css_class != '' ) { echo '<div class="error">' . $bp_xprofile_callback[$i]['error_msg'] . '</div>'; } ?>
    <?php echo $fields[$i]->get_edit_html($bp_xprofile_callback[$i]['value']); ?>
    </div>
    <?php
    $field_ids .= $fields[$i]->id . ",";
    }
    ?>
    </div>
    <input type="hidden" name="xprofile_ids" value="<?php echo attribute_escape( $field_ids ); ?>" />
    <?php
    }
    }
    add_action( 'signup_extra_fields', 'xprofile_add_signup_fields' );

    function xprofile_avatar_field() {
    global $bp_xprofile_callback, $avatar_error, $avatar_error_msg;

    if ( !(int) get_site_option( 'bp-disable-avatar-uploads' ) ) {
    ?>
    <div id="avatar-form-fields">
    <h3><?php _e('Profile Picture (Avatar)', 'buddypress'); ?></h3>
    <p id="avatar-help-text"><?php _e('You can upload an image from your computer to use as an avatar. This avatar will appear on your profile page.', 'buddypress'); ?></p>
    <?php
    if ( $avatar_error ) {
    $css_class = ' error';
    } else {
    $css_class = '';
    }
    ?>

    <div class="avatar-field<?php echo $css_class; ?>">
    <?php if ( $css_class != '' ) { echo '<div class="error">' . $avatar_error_msg . '</div>'; } ?>

    <label for="file"><?php _e( 'Select a file:', 'buddypress' ) ?></label>
    <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo get_site_option('fileupload_maxk') * 1024; ?>" />
    <input type="hidden" name="slick_avatars_action" value="upload" />
    <input type="hidden" name="action" value="slick_avatars" />
    <input type="file" name="file" id="file" />
    </div>
    <script type="text/javascript">
    jQuery(document).ready( function() {
    jQuery('form#setupform').attr( 'enctype', 'multipart/form-data' );
    jQuery('form#setupform').attr( 'encoding', 'multipart/form-data' );
    });
    </script>
    </div>
    <?php
    }
    }
    add_action( 'signup_avatar_field', 'xprofile_avatar_field' );

    Unfortunately it doesn’t work 100%. I was able to register a test user, but first name, last name and avatar were not stored.

    With the old combined function first name and last name were stored correctly, so I must have made a mistake in splitting them. Where?

    Comments + suggestions appreciated!

    #5503
    #47846
    Jeff Sayre
    Participant

    Do you have any plugins other than BuddyPress installed and activated. If so, you need to distill your environment down to the lowest common denominator: Use the default BP themes that come with v1.0.1 and deactivate all other plugins.

    What happens then? If you do not have any more issues, then you know it has something to do with your custom theme, one of the plugins, or some combination.

    You then start going back up the ladder one step at a time. Switch the default BP themes for your custom themes. Does the problem return? It not, then is has to do with your plugins. Activate one plugin at a time until the issue returns.

    Here’s a thread where Paul talks about a similar error message and plugins: https://buddypress.org/forums/topic.php?id=2802#post-15313

    Let us know how your testing goes.

Viewing 25 results - 88,401 through 88,425 (of 94,557 total)
Skip to toolbar