Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,551 through 21,575 (of 68,969 total)
  • Author
    Search Results
  • #162396
    jaimebib
    Participant

    Hey Gianni, well I still need to find out how to customize the membership directory page to make twenty twelve work for me, if anyone knows I would appreciate if anyone could move me towards the right direction.

    #162394
    giannisff
    Participant

    If you don’t change anything, Twenty Twelve works perfect with Buddypress 1.7

    #162393
    jaimebib
    Participant

    Hi Hugo thanks for the reply! I had a specific buddy-press child theme previously. You are right after more research the sidebar issue seems to only happen on the membership directory page which is customized by including some key profile fields.

    Do you have any advice on how would I customize the membership directory page with 2012 and bp 1.7? I had previously just edited the members-loop.php but now it seems not to be working anymore?

    #162392
    Hugo Ashmore
    Participant

    And please explain what setup you had prior to switching, as it will help to understand what has gone wrong. As far as things go 2012 works fine  with 1.7.

    #162389
    r-a-y
    Keymaster

    @fanoop – Try reading this thread for more details and see if that fixes your problem:
    https://buddypress.org/support/topic/v1-7-no-avatars/

    #162386
    soundgeeks
    Participant

    David Cavins
    Keymaster

    Hi Modemlooper-

    My theme is a child theme of Twenty Twelve, so my style.css declares Template: twentytwelve.

    I followed your suggestion then took it a step farther and included slightly modified version of the js setup functions from the template pack in my `functions.php` file. I’ll post them here in case somebody else has the same problem I’m having:

    `function bp_support_theme_setup() {
    global $bp;

    // Load the default BuddyPress AJAX functions if it isn’t explicitly disabled or if it isn’t already included in a custom theme
    if ( ! function_exists( ‘bp_dtheme_ajax_querystring’ ) )
    require_once( BP_PLUGIN_DIR . ‘/bp-themes/bp-default/_inc/ajax.php’ );

    // Let’s tell BP that we support it!
    add_theme_support( ‘buddypress’ );

    if ( ! is_admin() ) {
    // Register buttons for the relevant component templates
    // Friends button
    if ( bp_is_active( ‘friends’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );

    // Activity button
    if ( bp_is_active( ‘activity’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );

    // Messages button
    if ( bp_is_active( ‘messages’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );

    // Group buttons
    if ( bp_is_active( ‘groups’ ) ) {
    add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
    add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
    add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
    }

    // Blog button
    if ( bp_is_active( ‘blogs’ ) )
    add_action( ‘bp_directory_blogs_actions’, ‘bp_blogs_visit_blog_button’ );
    }
    }
    add_action( ‘after_setup_theme’, ‘bp_support_theme_setup’, 11 );

    /**
    * Enqueues BuddyPress JS and related AJAX functions
    *
    * @since 1.2
    */
    function bp_support_enqueue_scripts() {

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ )
    );

    // BP 1.5+
    if ( version_compare( BP_VERSION, ‘1.3’, ‘>’ ) ) {
    // Bump this when changes are made to bust cache
    $version = ‘20120412’;

    $params[‘view’] = __( ‘View’, ‘buddypress’ );
    $params[‘mark_as_fav’] = __( ‘Favorite’, ‘buddypress’ );
    $params[‘remove_fav’] = __( ‘Remove Favorite’, ‘buddypress’ );
    }
    // BP 1.2.x
    else {
    $version = ‘20110729’;

    if ( bp_displayed_user_id() )
    $params[‘mention_explain’] = sprintf( __( “%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.”, ‘buddypress’ ), ‘@’ . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) );
    }

    // Enqueue the global JS – Ajax will not work without it
    wp_enqueue_script( ‘dtheme-ajax-js’, BP_PLUGIN_URL . ‘/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );

    // Localize the JS strings
    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_support_enqueue_scripts’ );
    `

    Which is identical to installing the template pack only for the JS, I think. Everything’s working as expected, so I think we can consider this problem resolved. Thanks for your attention, Hugo and Modemlooper.

    -David

    #162378
    r-a-y
    Keymaster

    @twistyfarmy – To disable notices, on your profile, navigate to “Messages > Notices” and disable them that way.

    BP 1.7 introduced universal theme compatibility, but it appears your theme already has BP support, but did not tell BP this.  This is a possible reason why you see the sitewide notice at the top.

    Follow the recommendation in this article:
    BP Theme Authors: make sure your theme registers 'buddypress' support

    #162377
    danbpfr
    Participant

    Thank you @bphelp

    modemlooper
    Moderator

    your-theme/_inc/ajax.php

    is your style.css still showing bp-default as Template:

    #162367

    In reply to: Feedback = small rant

    modemlooper
    Moderator

    Yes, your words exactly…

    “There are many free web products that are awesome – including all of those I just ranted about above. I’m not saying that the work being done here is not appreciated. I’m saying that I’m frustrated with the results I’m getting from this piecemeal approach to creating a website.”

    There ARE many free and great plugins but ranting about the things you can’t get is silly in comparison. You get a lot for free and when you you need that one more thing you will either have to get it by other means that I have stated above. BuddyPress will never be all things to everyone so you will always have to go piecemeal, as you say.

    I’m not being condescending, just stating the facts.

    #162363

    In reply to: Feedback = small rant

    WayneM1
    Participant

    I appreciate your response. I also appreciate that you personally have made a specific effort to help people find plugins that are up to date and work with BuddyPress – with your BuddyPlug plugin.

    However, your response is typical of what I’ve seen here before. It’s actually somewhat condescending – and that’s just as disappointing and frustrating as the reality of trying to get these products to work as hoped.

    The “It’s FREE!” response is lame. There are many free web products that are awesome – including all of those I just ranted about above. I’m not saying that the work being done here is not appreciated. I’m saying that I’m frustrated with the results I’m getting from this piecemeal approach to creating a website. If all of the pieces worked as advertised, integrated and up to date, I would be quite happy.

    I’m sorry that feedback – even in the form of a small rant – is so typically dismissed here. Based on all of what I have read in the forums here, I feel confident in saying that there are countless others who feel the same way as I do.

    Thanks so much for pointing out my options. Characterizing my post as useless is your prerogative. That’s too bad, as well.

    David Cavins
    Keymaster

    Hi Hugo-

    You just cleared something important up for me: The new file structure is not just a restructuring of where the files are, but also within the files themselves. (And the files in /buddypress/bp-templates/bp-legacy/buddypress/ are the new style. Are these the template files that theme compat uses, too?)

    Yes, I built this theme the old way, where you create a child theme of whatever (I used Twenty Twelve), then copied the templates and css over from bp-default into the child theme, then went to work. It’s not a child theme of bp-default (precisely, but more or less). The BP Template Pack took care of the JS with BP1.6.

    I’ve tried adding theme support and the js file, but as you mentioned earlier, it also needs ajax.php to do the work. (I don’t know how to make that happen.)

    Thanks,

    -David

    #162360
    bp-help
    Participant

    @chouf1
    Awesome work! Congratulations!

    Hugo Ashmore
    Participant

    Trying to make sense of what your process has been here as you shouldn’t be having issues.
    Going back up two posts if as you say you built originally for template pack or using template pack then when you tried to switch to 1.7 theme compat you should not have tried to move the existing folders/files into the theme compat folder structure, that will not work older bp-default templates and newer legacy ones are not the same new templates do not have head/footer elements.
    I think you need to continue on with BP as a child theme but probably with the add_theme_suport line added and then handle enqueueing / including the styles/js yourself.

    David Cavins
    Keymaster

    Hi Hugo-

    I came across this comment on trac that appeared to be in the wrong place but sounded similar to my problem: https://buddypress.trac.wordpress.org/ticket/4869#comment:17

    I’ve found that if I install Boone’s GitHub version of the template pack and only enable the JS file portion of it, it works (if my buddypress templates are back at the root of the theme, not in a buddypress folder).

    Is there a better way? (I’m also concerned that 1.7 is going to unexpectedly break a number of customized themes like mine.) What’s funny about this is that with 1.6 I used the template pack, then deactivated it while working with 1.7-beta, but it appears that I need it again.

    Thanks for your help,

    -David

    Unsal Korkmaz
    Participant

    This weeks question & answer:

    theme customize

    Question Summary: How to add custom css to all widgets?

    Solution: In our theme, you can target all widgets with article.widget. An example:

    article.widget {
    	background: #fff;
    	border-radius: 6px;
    	margin: 10px;
    	padding: 10px;
    	box-shadow: rgba(0,0,0,0.3) 0 1px 3px;
    }
    
    #162348
    valour
    Participant

    Found it – Buddypress Real names…

    David Cavins
    Keymaster

    Hi Hugo-

    Thanks for following up. The theme was built against BP1.6 & 1.7-beta, so the buddypress-related template folders (activity, blogs, groups, etc) were in the root of the theme. This resulted in the theme being rendered correctly, but, with BP1.7, the js support disappeared.

    I’ve moved the bp-related folders into a “buddypress” folder at the root of the theme (as described in your article: https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/). Moving the files causes the output to be garbled. For instance, on a single member’s profile page, a div#content is being created inside of the div#content provided in the main template `buddypress.js`, and, while the object-nav (activity, messages, etc) is being rendered, the header and the main content area aren’t being populated. Structurally, it’s like the entire buddypress output is being wrapped in the theme’s page template. But not completely, because the end of the file isn’t being rendered.

    As you can tell, I’m not exactly sure what’s going on. 🙂

    Thanks again for your advice,

    -David

    #162339
    danbpfr
    Participant

    Thank you @charise

    #162336
    charise
    Participant

    Nice!

    #162330
    anharmse
    Participant

    @bphelp

    thanks for your reaction! May I ask which forum you exactly mean? Is is one of the forums of buddypress? I cannot find any forum with this name.. or is it a different website?

    Thanks, Anne.

    #162328
    anharmse
    Participant

    @aces

    thanks for your reaction! Do you happen to have any idea how I can re-install buddypress? when I re-install (deactivate, remove, and then install again) the installation wizard won’t start again and I still see my ‘old’ settings and pages. I would like to re-install buddypress because it might not have been installed correcty, what means that re-installing perhaps could solve my problem.

    Thanks! Anne

    #162317

    In reply to: Ajaxifying buddypress

    Henry
    Member

    Activity comments currently use ajax. Perhaps you could take a look at how that works and use that as a starting point.

    #162309
    bp-help
    Participant

    @equinestaff
    I would contact the plugin author for this request since it deals with third party plugins and really has no bearing on the buddypress plugin.

Viewing 25 results - 21,551 through 21,575 (of 68,969 total)
Skip to toolbar