Forum Replies Created
-
In reply to: Expected release of BP 1.7?
The theme compat is working but the template files are not all there. There most likely will be a few rc’s to work out bugs and get plugin and themes in order.
In reply to: Expected release of BP 1.7?Not for a few months, but that’s subjective because everyone works on BP in their free time.
In reply to: bp_activity_user_USERNAMEbp_core_get_username( bp_get_activity_user_id() )
In reply to: What plugins to I need?Make a teacher a group admin then they can approve users.
In reply to: Source codeGoogle how to hide WordPress there is information
In reply to: Source codeto hide plugins folder place a blank file index.html in /plugins/index.html. but there should be an html.php file that wordpress places there.
In reply to: What plugins to I need?All you would need is to create private groups and then users could request access. That’s the simplest route. You could also automate it by user role or even by using a profile field
Can you can post a code snippet so others that search can find info on this?
In reply to: Cant Get Buddy Press to Run LocallyUse regular mamp not the pro. Can’t remember exactly but I had similar issues
You have to pass id # of field a string wont work.
`$data = xprofile_get_field( 2, bp_displayed_user_id() );
print_r($data) ;`
This will not give you a members choice. It will only return the default visibility you set up in admin. to get a users visibility on a field you get from user meta.
`$user_visib = get_user_meta( bp_displayed_user_id(), bp_get_user_meta_key( ‘bp_xprofile_visibility_levels’ ), true );
print_r($user_visib) ;`
fixed in 2.0.3
Turn resend.php into a page template and place it in your theme folder. create a page and attach the page template to it
When you are not in a BuddyPress loop you can get BP content by using WP author id as it returns same id.
`$user_id = $bp->displayed_user->id;
$location = xprofile_get_field_data( ‘Location’, $user_id ) ;
echo ‘Location: ‘ . $location;if that doesnt work try getting the_author_ID(); or get_post_author_id();`
In reply to: Activity Stream Change…You should create a custom component. This may be out of your coding skill level but you can check out the BuddyPress skeleton component plugin for example code.
In reply to: Add Profile link to WP Custom Nav MenuPeople can create any plugin they want and even charge for plugins. However, its in bad taste to find any thread related and post links to a paid plugin. This is what is generally called spam.
I want to point out that I tried your plugin and while it may do as advertised, the method of overriding a template file is bad. You need to learn how BuddyPress creates the user menu. It’s not the same as WP menus. Overriding a template file that places a WP menu into that space is not a good strategy.
In reply to: [Resolved] Logout errordid you use the one click WordPress installer? If so, delete it all a install WordPress manually
In reply to: [Resolved] Logout errorAdd a plugin that causes logout problem then switch theme to BP-default. If problem goes away then frisco theme is causing error. It seems weird because logout is a WP function. BuddyPress doesn’t create it’s own logout.
In reply to: Create private membership site with BuddyPressYou are better off letting email go to user but remove the activation link. Create a function that hooks into member sign up to email you separately. I’m suggesting this because its better conversion for users to get the email.
`function email_admin_user_signup() {
//email admin code here
}
add_action(‘bp_core_signup_user’, ’email_admin_user_signup’);`In reply to: [Resolved] Print user id in profile pagebp_displayed_user_id()
All the template tags you can use: https://codex.buddypress.org/developer-docs/buddypress-template-tags/
In reply to: problem with BuddyMobile pluginCropper wont work until WP 3.5
In reply to: [Resolved] altering CSS to fit my site`#content {
margin-top: 40px;
}`I do, I’m actually developing a front end blog solution for BP, it wont be out for a few months. I busy working on Menus and Mobile. When that’s done then I’m working on the blog issue
In reply to: Check if is a specific profile screen.`if ( bp_is_current_component( ‘articles’ ) )`
if you are on a sub tab item like the edit profile screen you use action
`if ( bp_is_current_action( ‘edit’ ) )`