Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 34,901 through 34,925 (of 68,920 total)
  • Author
    Search Results
  • saule
    Member

    @charlesponraj did you get this to work finally? It didn’t work for me too

    chr313
    Member

    @DJPaul I also found out that when I favorite a forum post it will not show up in my favorites under my profile. I think definitely bbpress isn’t connected correctly. If you find anything I would appreciate it.

    #124534
    @mercime
    Participant
    #124532
    aces
    Participant

    in the bp-default header ( should be line 46 – 48 )
    `

    `
    replace it in your child theme with something like
    `

    `
    as it is the last parameter, I don’t think false has a comma after it in this context….

    Make sure you back up before any edits in case something goes wrong!

    nb: to use code on buddypress.org put backticks ` (normally above tab key) before and after…

    #124530
    dude
    Member

    so to clarify: in my header.php (child theme) replace..

    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );

    with:

    <?php
    if ( is_user_logged_in() ) {
    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
    } else {
    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => false,
    }
    ?>

    I’ve just checked my header.php and it appears to be worded slightly differently actually..? for example:

    false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>

    aces
    Participant

    Can you check your server log for php or other errors?

    ie9 developer tools ‘console’ also shows a lot of errors on that particular page…..

    manureloaded
    Member

    @dude Yeah…i tried deactivating all the plugins…but it didnt worked…..

    @aces ….i increased the space limit…but it sometimes shows a blank page….

    #124523
    saule
    Member

    @SBrajesh I tried the codes you gave, but
    I got an error when put in echo:
    Fatal error: Call to undefined method DateTime::diff() in /home/dom/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php on line 377

    Line 377 is this – $diff= $current_date_time->diff($dob);//returns DateInterval object

    Any idea how to correct that?
    Thanks.

    #124519
    ankurm
    Member

    @liesl1698 paste it in your theme’s functions.php

    #124518
    ankurm
    Member

    thanks @ousep and @r-a-y :D

    #124515

    In reply to: Multisite Install

    antonyw
    Member
    meg@info
    Participant

    Look in header.php of your theme , the code in header.php is look like that

    Code:
    <?php
    /**
    * theme theme_name
    *
    * @package packagename
    * @subpackage subpackagename
    * @since my HTML 5 theme
    */
    ?>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8" />
    <meta http-equiv="content-type" content="<?php bloginfo(‘html_type’) ?>; charset=<?php bloginfo(‘charset’) ?>" />
    <title><?php bp_page_title() ?></title>
    <meta name="home" content="<?php bloginfo(‘url’) ?>" />
    <meta name="url" content="<?php bloginfo(‘wpurl’) ?>" />
    <?php do_action( ‘bp_head’ ) ?>

    <?php if ( function_exists( ‘bp_sitewide_activity_feed_link’ ) ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php _e(‘Site Wide Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
    <?php endif;?>

    <?php if ( function_exists( ‘bp_member_activity_feed_link’ ) && bp_is_member() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php bp_displayed_user_fullname() ?> | <?php _e( ‘Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
    <?php endif;?>

    <?php if ( function_exists( ‘bp_group_activity_feed_link’ ) && bp_is_group() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php bp_current_group_name() ?> | <?php _e( ‘Group Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
    <?php endif;?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> <?php _e( ‘Blog Posts RSS Feed’, ‘buddypress’ ) ?>" href="<?php bloginfo(‘rss2_url’);?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo(‘name’);?> <?php _e( ‘Blog Posts Atom Feed’, ‘buddypress’ ) ?>" href="<?php bloginfo(‘atom_url’);?>" />
    <link rel="pingback" href="<?php bloginfo(‘pingback_url’);?>" />
    <?php wp_head();?>
    </head>

    <body <?php body_class() ?> id="bp-default">
    <?php do_action( ‘bp_before_header’ ) ?>
    ..


    <:!– header content –>
    ….

    <?php do_action( ‘bp_after_header’ ) ?>
    <?php do_action( ‘bp_before_container’ ) ?>

    modemlooper
    Moderator

    header.php contains the header code. wp-content/plugins/buddypress/themes/bp-default

    #124501
    sam99077
    Member

    @mercime I´ve the same problem. I´m using single WP 3.2.1 and BP 1.5.1 (BP Template Pack + Followers Plugin). I always get a page not found error when I try to load my followers list, the activity of my followers (and the people I´m following). Problem is gone when I change to bp-default theme. Can you please help, what can I do to make it work with the theme I´m using (mymag)???

    kkradel
    Participant

    The images are blurry like an image is set to progressive and then it doesn’t fully load … Could there be a setting somewhere that is interfering with the image loading fully?

    #124498
    aces
    Participant
    #124496
    r-a-y
    Keymaster
    #124494
    intimez
    Participant

    Thank you for the suggestion @etivite

    Sorry I should have mentioned it in my original post. I tried WP Google+ Connect and it didn’t work for me. I posted my issue in that plugin group on wp but no responses so far.

    Do you know of alternatives?

    #124493
    rich
    Member

    WP Google+ Connect

    chr313
    Member

    Thanks @DJPaul for the reply, that’s what I thought as well that it worked right out of the box. I tested the groups with forums with another install I had and those would post on the activity stream. But neither install would show the blog mentions or blog comments.

    Thanks again :)

    #124489
    Paul Wong-Gibbs
    Keymaster

    This site has 66,085 members currently. At my day job, I work on http://my.telegraph.co.uk/ which has 93,544 members currently.

    #124488
    Paul Wong-Gibbs
    Keymaster

    This must be part of your custom theme; it’s not part of BuddyPress core.

    #124487
    @mercime
    Participant

    Cool, glad it worked out for you :-)

    Method 1 works all the time for all WP themes, while method 2 works for some WP themes depending on HTML structure.

    Method 2 in short, uses the WP functions available for themes. Look at /activity/index.php and you’ll see header(‘buddypress’), sidebar(‘buddypress’) and footer(‘buddypress’) in the template files. If there’s a header-buddypress.php, in the WP/BP theme folder, then the BP template file would use header-buddypress.php. If there’s none, then the BP template file would use header.php by default.

    TMA works with either method 1 or method 2. I gave the solution for method 2 because the HTML structure of TMA was suitable for that. Method 2 saves you from having to “fix alignment” for 16 BP template files again (which you have to do in method 1) when the BP Template Pack plugin is upgraded.

    #124480
    dude
    Member

    the mobile menu is just for the mobile version of the site via the buddypress mobile plugin
    I don’t want the mobile menu being ‘hidden’ from logged-out mobile users really, mainly desktop users.

    I’ve put some mods in the activity-loop etc for keeping activity updates, profiles and members, groups, and forum directories ‘garden-walled’ as such so may have that angle covered?

    #124479
    aces
    Participant

    I’m not sure what you mean – but according to https://codex.wordpress.org/Function_Reference/wp_nav_menu you could have ` ‘fallback_cb’ => false,`

    I don’t know how you are doing the mobile menu, but couldn’t you just have $current_user logged in and out mobile menus?

    If someone can guess the page such as activity, then just hiding the menu won’t stop them getting in anyway.

Viewing 25 results - 34,901 through 34,925 (of 68,920 total)
Skip to toolbar