Buddypress User Settings template location? [closed]
SOLVED …. The settings tab is rendered through the template members/single/plugins.php
SOLVED …. The settings tab is rendered through the template members/single/plugins.php
Unfortunately, it’s not really feasible, based on the current implementation of activity favorites in BuddyPress. BP stores this data in a piece of usermeta called ‘bp_favorite_activities’, which is an array of activity ids. That makes it easy and fast to pull up a list of a given member’s favorite activity items; but it makes it … Read more
I recommend (and use myself) XAMPP located here LINK, which will allow you to run a web-server on a machine of choice. Once you setup XAMPP, you would install WordPress or WordPress with Multisite (enabled) just like you would any other WordPress installation on a website host. You have full control over your server (run … Read more
That’s the same as the regular WordPress logout URL. So you can use the same filter: ‘logout_url’. Sample code, not tested: add_filter( ‘logout_url’, ‘wpse_56866_logout_url’ ); function wpse_56866_logout_url() { // set your URL here return ‘http://example.com’; }
It needs to be inside a div with id “content” in order to work (check the buddypress global.js file to see why!)
Use the following code, function custom_add_activity_tab() { ?> <li id=”custom-tab”> <a href=”https://wordpress.stackexchange.com/questions/60691/<?php echo site_url( BP_ACTIVITY_SLUG .”https://wordpress.stackexchange.com/” ) ?>” title=”<?php _e( ‘Tab.’, ‘buddypress’ ) ?>”> <?php printf( __( ‘tab’ , ‘buddypress’ ) ); ?> </a> </li> <?php } add_action( ‘bp_activity_type_tabs’, ‘custom_add_activity_tab’ ); Check it, Will work better
I don’t have a complete answer for you. But I can point out that you should use the filter hook provided in the function bp_blog_latest_post() So something like: add_filter(‘bp_get_blog_latest_post’, ‘your_function’, 1); function your_function( ) { global $blogs_template; $str = // build your string to include excerpt and thumbnail return $str; } I don’t recall if … Read more
Ok, I figured it out In BuddyPress installation guide, it says I needed to delete “Forums” WordPress page so I did. Turn out that “Forums” page held on to mywebsite.com/forums permalink although it was already trashed. So I went into phpMyAdmin and change the slug of the page to forums1 and guid to mywebsite.com/forums1 (I’m … Read more
The following plugin will make all WordPress users to appear on BuddyPress members directory. It doesn’t provide full migration of users, but it will update the last_activity user meta field that is used by BP to display users. This is a plugin code, so you need to create a new php file (eg. bp-add-users.php) and … Read more
After playing around with it a bit more, here’s what finally worked for me: global $bp; $thisblog = $current_blog->blog_id; $user_from_email = get_user_by(’email’, get_blog_option($thisblog, ‘admin_email’)); $user_id = $user_from_email->ID; $myfield = xprofile_get_field_data( ‘Counties Served’, $user_id, $multi_format=”comma” ); $data = xprofile_format_profile_field(‘checkbox’, $myfield); echo $data;