Forum Replies Created
-
Just wrap that define with code that tests if a user is a member of group.
In reply to: New to BuddyPress, question about notifications..I think the hook is xprofile_data_before_save
In reply to: New to BuddyPress, question about notifications..No plugin but you can hook into the profile fields save hook and send an email. Google a bit. Im sure this has been posted before
In reply to: Changing default Group tabClosing this as ticket has been submitted.
In reply to: [resolved] Change groups default tabonly include code in functions.php that relates to the active theme. Place bp custom code in a file bp-custom.php and place this file in wp-content/plugins/bp-custom.php
In reply to: [resolved] Change groups default tabdefine( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘forum’ );
In reply to: Add Custom Section To Profile SubnavClosing this as a duplicate post.
To use a file for the page content you do a locate template in the function instead of putting the actual code in the function.
Get the BuddyPress skeleton component plugin. It has commented code to show you how to create custom BuddyPress components. Though, you can utilize simple wordPress page templates to accomplish a page with custom content. If the content doesnt need to be initiated into the active components then a page will do.
Please refrain from posting multiple times with same support issue. I’ve answered you in your previous post.
In reply to: WHY IS BP CODEX WEBSITE DOWN???Its not down but has issues on certain browsers. Try another browser
In reply to: bp_has_members() function parametersif( bp_has_activities( 'type=popular') )No, functions.php should only be used for code that effects the theme layer. Use https://codex.buddypress.org/developer/extending-buddypress/bp-custom-php/
function my_new_setup_nav() {
bp_core_new_nav_item( array(
‘name’ => ‘Photo Uploads’,
‘slug’ => ‘photo-uploads’,
‘screen_function’ => ‘your-function-to-display-page’,
‘position’ => 55
) );
}
add_action( ‘bp_setup_nav’, ‘my_new_setup_nav’, 100 );function your-function-to-display-page() {
//code here that shows content when on the Photo Uploads page
}In reply to: getting post count via user IDtry
get_post_count_for_user( the_author_meta(‘ID’, $userid ) )
In reply to: forumsThe forums here would be sitewide. The group forums in BP are inside each group. Choosing is based on your site. Is it more about groups or is the site one central topic?
In reply to: Change Default Landing TabYou write a function to test if logged in user is displayed user.
if ( bp_loggedin_user_id() == bp_displayed_user_id() ) {
define(“BP_DEFAULT_COMPONENT”,”profile”);
}
In reply to: User set password not workingFirst turn off any connect plugins.
In reply to: SocialGo vs. BuddyPressYou have been answered by @r-a-y in your other post. Closing this thread. Please refrain from posting multiple times with same topics. Also it’s bad forum etiquite to bump topics that are this old.
You need a BuddyPress compatible theme or to use the BuddyPress template pack plugin to convert your theme to a BuddyPress theme. https://codex.buddypress.org/legacy/
In reply to: creating buddypress as uch twitterYes, I created an example to show how you can create a twitter type status update only site. http://status.taptappress.com
Also there is a theme focused ona twitter like experience http://buddypress-themers.github.com/status
In reply to: BuddyMobile showing in desktop verionYou need to name is the same as what is in your desktop theme folder.
https://codex.wordpress.org/Pages#Page_Templates
Post some code you are using so we can see what you are trying to do
In reply to: Buddypress Themes MissingIn reply to: Buddypress Themes MissingYou can find BuddyPress themes on the WordPress.org repo by using the search feature and choose the buddypress search filter
If they do not show in the members list then they have not activated and logged in yet.