Search Results for 'buddypress'
-
AuthorSearch Results
-
November 16, 2011 at 5:06 pm #124539
saule
Member@charlesponraj did you get this to work finally? It didn’t work for me too
November 16, 2011 at 5:04 pm #124538chr313
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.
November 16, 2011 at 4:37 pm #124534In reply to: Cant get 1.5 site wide forum to work.
@mercime
ParticipantNovember 16, 2011 at 4:19 pm #124532In reply to: How to edit the Buddypress default theme navigation?
aces
Participantin the bp-default header ( should be line 46 – 48 )
`false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>`
replace it in your child theme with something like
`<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => false ) );
}
?>`
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…
November 16, 2011 at 3:55 pm #124530In reply to: How to edit the Buddypress default theme navigation?
dude
Memberso 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’ ) ); ?>
November 16, 2011 at 3:53 pm #124529aces
ParticipantCan you check your server log for php or other errors?
ie9 developer tools ‘console’ also shows a lot of errors on that particular page…..
November 16, 2011 at 3:34 pm #124526manureloaded
MemberNovember 16, 2011 at 3:04 pm #124523In reply to: Display age on profile page
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 377Line 377 is this – $diff= $current_date_time->diff($dob);//returns DateInterval object
Any idea how to correct that?
Thanks.November 16, 2011 at 12:48 pm #124519In reply to: Show favourite count after each activity?
ankurm
Member@liesl1698 paste it in your theme’s functions.php
November 16, 2011 at 12:47 pm #124518In reply to: Show favourite count after each activity?
November 16, 2011 at 12:11 pm #124515In reply to: Multisite Install
antonyw
Memberhere, have a look at this:
November 16, 2011 at 8:33 am #124505meg@info
ParticipantLook 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’ ) ?>November 16, 2011 at 8:12 am #124504modemlooper
Moderatorheader.php contains the header code. wp-content/plugins/buddypress/themes/bp-default
November 16, 2011 at 6:45 am #124501In reply to: Favorites not working – Page not Found error
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)???
November 16, 2011 at 3:33 am #124499kkradel
ParticipantThe 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?
November 16, 2011 at 3:32 am #124498In reply to: Creating a Group – getting a blank page
November 16, 2011 at 2:01 am #124496In reply to: Register page not working?
r-a-y
KeymasterDid you enable registration?
https://codex.buddypress.org/troubleshooting/frequently-asked-questions/#registerNovember 16, 2011 at 12:47 am #124494In reply to: Register or Login To Buddypress Using Google+
intimez
ParticipantThank 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?
November 16, 2011 at 12:42 am #124493In reply to: Register or Login To Buddypress Using Google+
rich
MemberWP Google+ Connect
November 15, 2011 at 11:36 pm #124492chr313
MemberThanks @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
November 15, 2011 at 10:43 pm #124489In reply to: Number of members on your Buddypress installation?
Paul Wong-Gibbs
KeymasterThis site has 66,085 members currently. At my day job, I work on http://my.telegraph.co.uk/ which has 93,544 members currently.
November 15, 2011 at 10:39 pm #124488In reply to: Enable Image Uploads in Update Comments
Paul Wong-Gibbs
KeymasterThis must be part of your custom theme; it’s not part of BuddyPress core.
November 15, 2011 at 10:35 pm #124487In reply to: [Resolved] Steps for theme compatibility not working
@mercime
ParticipantCool, 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.
November 15, 2011 at 8:53 pm #124480In reply to: How to edit the Buddypress default theme navigation?
dude
Memberthe 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?
November 15, 2011 at 8:28 pm #124479In reply to: How to edit the Buddypress default theme navigation?
aces
ParticipantI’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.
-
AuthorSearch Results
