Hi guys is the same if i wannainsert a list of all products uploaded by author in my site woocommerce + buddypress. Every users (subscriber) can upload a new products, I wanna display in the user buddypress profile a list with a link of all products published by author. Is Possible? Can help me to solve this problem? Ty in advance!
Hi, u can help me in this?
i have a site woocommerce + buddypress. Every users (subscriber) can upload a new products, I wanna display in the user buddypress profile a list with a link of all products published by author. Is Possible? Ty in advance!
Thank you for your reply. Unfortunately my knowledge of php and wordpress APIs is not sufficient for this. I was hoping to have something to click on, or at least some code snippet.
Perhaps more people will find this feature useful, and someday it gets included in Buddypress.
I am trying to set up corporate buddypress site, and so far I have set up WordPress 3.6.1 with BuddyPress 1.8.1. I am using Active Directory Integration plugin for importing Active Directory users into WordPress. It also features the possibility to import AD attributes to WordPress user meta attributes, and I am successfully importing stuff like Job Title, Department, Phones etc. into WordPress user meta.
I would like to display those attributes automatically on users’ buddypress profile page. Is this a possibility? Thank you in advance.
just updated my last comment as you do have a choice to still follow older principles in building BP themes.
Okay sounds good. Thank you again!
So you couldn’t have been telling the theme to use sidebars on BP pages? It’s not BP aware, BP still works on the principle of a blank placeholder page with a name i.e ‘members’ but it renders that screen view via page.php if it doesn’t find other file names first (as outlined in the codex)
The template pack post is now outdated, don’t follow, you need to re-factor a file to handle BP screens, there are two codex articles currently dealing with theme compat use those for guidance, further ones may follow but will be generic in nature in that it’s difficult to give specific advice on a per theme basis.
Also be aware that all template pack plugin really did was copy over files to your theme and enqueue the scripts and styles, essentially it did very little from a developers point of view that they couldn’t do manually, you still have the option of copying files from bp-default theme to your child theme and sorting out the styles and scripts required in your own functions file, the templates then would be re-factored broadly along the lines that mercime outlined in that post, however we are trying to steer everyone towards theme compat as the norm now for either creating themes of creating child themes from parents.
To answer your P.S. question, no the theme is not BuddyPress ready. It’s a regular WordPress theme. I just really liked the way it looked for my website, and I was unable to find a BuddyPress enabled theme that fit the style I was looking for.
Thank you for the quick response! My apologies, I thought I read a comment by a moderator from a previous post that said not to follow the instructions about 1.7.1, but I was mistaken.
When you say to follow the 1.7 steps, I assume you mean the information contained in this codex: https://codex.buddypress.org/theme-development/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
If not, can you list the codex that contains this information, or can you recommend any other BuddyPress Codex you feel would help if I read?
The user “mercime” helped another user get BuddyPress to work on the theme I purchased, but it was using the BP Template Pack, which I know I cannot obtain anymore with BuddyPress 1.8.1. Those instructions were in this post https://buddypress.org/support/topic/resolved-problem-with-adjusting-code-to-fit-theme-modernize/
Thank you again for your help!
No the current theme compatibility documentation is up to date and doesn’t say don’t follow 1.7 steps. 1.7 introduced theme compat, 1.8 just extended the template hierarchy, you need to follow the steps outlined for creating child themes, creating a buddypress.php file based on page,php and then that buddypress file will need to updated to work correctly with your theme which sadly, as a lot of themeforest themes are is not compliant with the standard WP template system that BP works through.
So use those guides they should put you on the right lines and if this is client work then oughtn’t to be too hard to figure out.
P.S I note that you say told the theme that bp pages should have sidebars, so is this actually a BP ready /enabled theme ? If so and things aren’t working then you’re best of speaking to theme author or their support channels as they will no best how their theme is constructed and offer far better help.
I made a Register page with Buddypress so far so good.
But we invite members to become a member.
So the register link is online and available even for people how are not invited.
I think we cannot hide that page but is there a option that I can input a “activation key” what is needed for the complete the registration?
So I send the mail, send the one and only activation key, the member fill in the activation key and the registration is complete.
I hope you guys can help me out.
Regards,
Michael
Any suggestions on how to show data to right of member avatar in #buddypress div#item-header div#item-header-content?
I have custom user fields that I want to replace the user area with custom div that will have data-show=”” and data-server=”” tags info from user
how can i add custom profile fields with functions, filters and actions rather than adding them with buddypress backend options.
Sweet thanks! I gave your app 5 stars.
@cogden-1
Try this plugin I made. This only makes BuddyPress and bbPress private.
https://wordpress.org/plugins/private-bp-pages/
Also make sure you read the FAQ first:
https://wordpress.org/plugins/private-bp-pages/faq/
Make sure you clear the previous code out of bp-custom.php that you posted above!
weird (doesn’t let me edit my post to check the box for recieve email notifications for replies, so I had to post a reply to check the box
I have scoured the internet for help making Buddypress private and am having an intense difficulty with dependable advice. First off before we get into how this can work, I’d first like to ask why a private network is such a difficult thing to accomplish? Shouldn’t it be one of the simpliest things a social network can offer? Whats the deal? Anybuddy know? Thanks in advance. Very discouraging.
Ok so how on gods green earth do I make buddypress inaccessible to non logged in users?
I’m not much of a programer but I am using Filezilla so I can insert custom code. I tried a bit of code offered by @bphelp
/* Block BP Pages For Non-Logged In Visitors */
function bp_block_pages() {
global $bp;
if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
// add components to be blocked to non-logged in visitors
if(!is_user_logged_in()) {
wp_redirect( get_option(‘siteurl’) . ‘/register’ );
} // Change /register to the page you want non-logged in visitors directed to
}
}
add_filter(‘get_header’,’bp_block_pages’,1);
/* End BP Blocked Pages */
/* Remove RSS Feeds */
function bp_remove_feeds() {
remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
}
add_action(‘init’, ‘bp_remove_feeds’);
/* End Remove RSS Feeds */
but when I went to see if it was working i found my front page completely blank.
Here is my url http://www.starhearts.net/front-page
I added the code to bp-custom.php as dirrected.
Thanks so much!
C.ogden
Update: The themes author was kind enough to provide the code to add to display the buddypress page titles. Add:
<?php elseif ( function_exists('bp_is_page') && ( bp_is_page( BP_BLOGS_SLUG ) || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_ACTIVITY_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() || bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) ) : ?>
<h1><?php the_title(); ?></h1>
to functions.php just below where it has:
<?php if (is_page()) : ?>
<h1><?php the_title(); ?></h1>
@fitnessblogger when @azchipka says adjust the path in the plugin to achieve /author/username I assume that means just getting rid of /posts/? I’m not familiar with the plugin. @azchipka should be able to help with specifics.
If you just want to show posts on a BP profile then my code should work:
https://buddypress.org/support/topic/resolved-show-posts-written-by-user-on-profile/page/2/#post-172143
Alternatively the plugins I mentioned earlier by buddydev.com are brilliant.
hi all, would like to know how to make note buddypress entries created in custom posts, I added:
function movies_home( $query ) {
if ( is_home() )
$query->set( ‘post_type’, array( ‘post’, ‘movies’ ) );
return $query;
}
add_filter( ‘pre_get_posts’, ‘movies_home’ );
but does not work, also would like to know how to do to show me the entries created in the activities.
excuse my English but use a translator because I speak only Spanish, thanks
Thanks @henrywright-1
I did look at Buddyblog but didn’t know that a list of posts on profile comes standard. I actually don’t want my users to blog from their profile. I just want to show a list of blog posts on my member profiles. In any case I will check it out.
It seems a pity that the simple Posts in Profile plugin cannot be fixed. I posted on this subject 7 months ago and no one has been able to make it work. It also seems like a highly visible and critical piece to Buddypress WordPress integration. Anyone using WordPress and thinking of adding BP social networking features will want this.
Guess I will let it go!
@hughshields If you’re just getting started with PHP and prefer a plugin, try BuddyBlog – http://buddydev.com/plugins/buddyblog/ and Simple Front End Post http://buddydev.com/plugins/bp-simple-front-end-post/
You can let your members blog directly from their BuddyPress profile. A list of posts on profile comes as standard too.
After setting up bbPress and BuddyPress I keep having an weird user on my site. @user-firstnameuser-lastname keeps showing up in the member list. I have Are You Human as a form of spam protection but what gives? Is this a hacker or a issue with WordPress/Buddypress/bbpress?
The plugin by @azchipka called “TCH-BuddyPress-Posts-On-Profile” gets the job half way done and successfully creates a tab on the member profile, but it looks like there is a problem with the code when displaying member posts. Firstly it links to a new page and doesn not display posts within the tab on the member profile, and secondly it does not display any posts. Here is the code. anyone care to take a swing at fixing this:
// show feedback when 'Posts' tab is clicked
function bp_postsonprofile() {
add_action( 'bp_template_content', 'profile_screen_posts_show' );
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
}
function profile_screen_posts_show() {
$theuser = bp_displayed_user_id();
query_posts("author=$theuser" );
if ( have_posts() ) :
get_template_part( 'loop', 'archive' );
else: ?>
<div id="message" class="info">
<p><?php _e( 'Sorry, this user has not published any posts.', 'buddypress' ); ?></p>
</div><?php endif; ?> <?php
}
}
?>