Search Results for 'buddypress'
-
Search Results
-
Hi there,
Wordpress Version 4.5.3
Buddypress Version 2.6.2
Site: http://freshink.phIs there a way to make the “Profile” tab only visible to account owners and admins?
Thanks!
DennisHi,
I am writing some code related with buddypress profile page,and I want to display the user_nav_in in a separate page,the function bp_get_displayed_user_nav gives an error Invalid argument supplied for foreach() because the array $bp->members->nav->get_primary() does not have any values ,because the display_user->id is empty,
I tried to set up it with $bp->displayed_user->id=”ExampleId” but with no success,
Does any one have an idea?
Thank you,
Sincerely.
NabilI built a chat button and trying to hide it on my BP profile page (member-header.php) as “current loggedin user”, but want it to be visible when i check the profile page of other members.
I have been playing with these codes, but cant get it to work
<?php if ( bp_loggedin_user_id() == bp_displayed_user_id() ):?>

<?php endif; ?>Please help me
Hi!
I am adding Member Types to my site. I have over 4000 members and want to bulk assign member types to existing members.
The problem is; I have to assign different member types to male and female members. Male / Female is a BuddyPress xProfile field value. Is there any way to order /sort users in the back-end by an xProfile field value?

If not, is there any other work around? I am using latest WordPress, BuddyPress and BP Member Type Generator Plugin.
Thank you for the help
Hello,
After updating my site does not send email with activation link. I debug the new code and the function bp_get_email returns this error:
WP_Error Object
(
[errors] => Array
(
[missing_email] => Array
(
[0] => bp_get_email
))
[error_data] => Array
(
[missing_email] => Array
(
[0] => core-user-registration
[1] => Array
(
[no_found_rows] => 1
[numberposts] => 1
[post_status] => publish
[post_type] => bp-email
[suppress_filters] =>
[tax_query] => Array
(
[0] => Array
(
[field] => slug
[taxonomy] => bp-email-type
[terms] => core-user-registration
))
)
)
)
)
In admin panel I can see only buddypress email but I cannot see any terms for it
Please help me to resolve this problem
Thank you, Tiana
Hi all,
I’m kind of new to membership sites (e-commerce is more known to me) love buddypress. I have that installed on a current website but i’d like to add paid memberships and other options. Memberpress seems an excellent solution for what i need. I googled like a crazy person to try and find out if they actually work together and how i can set that up. Does anyone knows a guide on how to do this?
I made a lot of customisation in the profiles and really hope i can integrate that.
Thank you so much in advance for your response and effort to help me out. That is really appreciated.
I have a feed created but I am interested in editing the text of this current activity feed and also adding the featured image to the feed itself for the custom post type. Is there a simple way? I am very new to coding so a simple explanation would be much appreciated.
I am not sure at all where to start (as my current code stopped working) so this is the code I have in my bp-custom file to start the feed up but I do not know what else:
<?php add_post_type_support( ‘fb_url_submit’, ‘buddypress-activity’ ); ?>
Please help, thank you in advance!
Hi,
The registration email works just fine in English. The site is translated with WPML, the WPML settings say that BuddyPress Emails should be translated. I went to Emails -> All Emails and translated the “Activate Your Account” email, leaving the exact same formatting as the original one.
Now when a new user registers on the French site, it says to check for an email to activate but the email never gets sent. Even if I go in the back-end and resend the email I get no error message but the message doesn’t get sent.
What did I miss?
Thanks
Is there a plugin available or something similar (function) that will set a date to purge data from the activity stream automatically.
For example, say you set it for 6 months and then for all of the buddypress members, anything they have posted on their “wall” that is older than 6 months would be purged.
Any suggestions on how to manage/control the growth of the database?
Thanks
Topic: Change profile photo
Hi,
if I want to change my profile photo by:
Hi Tristan -> profile -> change profile photo
I get the 404 not found page.
“Sorry, but nothing matched your search terms. Please try again with some different keywords. ”
Related URL: http://intranet/members/tristan/profile/change-avatar/
I have deinstalled the buddypress plugin, but that doesn’t work.
WordPress 4.5.3
Buddypress Version 2.6.2Hi,
I’m working on a wordpress website, and using Buddypress. I wanted to add posts notifications and it worked fine, except when I tried to filter them. First you need to know how I want to filter them.
– I’ve a profile field named ‘Field’ which is a dropdown list with 5 options.
– I have also 5 post categories with the exact names of the ‘Field’ values.
– When a post is added, If it has (e.g. A,B,C) categories I want a notification for every user who has his ‘Field’ value is equal to A,B or C.Here is my code:
foreach (users as $user) {
$acc_type = xprofile_get_field_data(‘Field’, $user->ID);
if (in_category($acc_type,$post_id)) {
bp_notifications_add_notification( array(
‘user_id’ => $user->ID,
‘item_id’ => $post_id,
‘component_name’ => ‘custom’,
‘component_action’ => ‘custom_action’,
‘date_notified’ => bp_core_current_time(),
‘is_new’ => 1,
) );
}}
Topic: Buddypress Front.php page
How to hide BuddyPress specific profile tabs from not logged in user
Hey Guys –
I have a project where its a social community site where all the members create the site content on their own. I have 2 profiles(roles) that all users will fall under (employer & employee). Then I have 3 membership levels for each role (FREE, Standard & Premium). The idea is to pair up these users by category and control the level of access/features they have based on account type. So direct messaging is available only to premium members, push notifications only available to premium members. The more features and ability to build out your profile is based on your membership type. I would obviously add membership plugin to restrict access and capability as well as ecommerce capability for checkout.
I know bbPress and BuddyPress are forums and social communities but will they integrate well into membership type communities where clients need to pay for additional access to social community and forum features?
If not, is there a premium application that handles these types of projects?
Thanks so much!
Topic: LearnPress BuddyPress Plugin
I’m currently working on setting up a multisite system and wanted to integrate LearnPress nd BuddyPress by using the LearnPress BuddyPress Plugin. However, something is not working properly and the LearnPress Profile is not reflecting the BuddyPress profile. The LearnPress is synced with the WordPress profile not the BuddyPress profile. I’ve searched on the web to find any information I could and found this article
https://wordpress.org/support/topic/what-type-of-change-it-will-show-in-profile-page?replies=6
It says there is a setting that I must click, but it’s not found. I was wondering if anyone knew of any known issues or any information about this situation. I’m pretty much stuck with where I am until I know something more. I have all the current versions of WP4.5.3 , BP2.6.2 , and LP1.0.8. and Plug in 1.0.
Hello,
I am trying to add a custom activity action and add it to the database after a form is submitted. The activity does not show on the activity stream and it is not added on the database.
I can’t figure out why. Here is my code below first I use the bp_activity_set_action and bp_activity_add inside the nen_register_activity_actions action as suggested on the documentation, I define the component id-s and callback but can’t figure out why the the activity is not registred and not added on the database.
Thank you to everyone for the help
add_action("gform_after_submission_79", "nen_update_date_time_treaty", 10, 2); function nen_update_date_time_treaty($entry, $form) { $user_id = get_current_user_id(); $treaty_date = date('Y/m/d'); $status = rgar( $entry, '4.1' ); // var_dump($status); if ($status == '1') { //global $bp; //get the current user link with First Name and last name // $buddypress_link = bp_core_get_userlink( bp_loggedin_user_id(), $no_anchor = false, $just_link = false ); // //post buddypress activity // bp_activity_post_update(array('content' =>"$buddypress_link has ratified the <a href='/ratify-new-earth-treaty' target='_blank' class='fancybox'>New Earth Treaty</a> ", 'user_id' => bp_loggedin_user_id())); function nen_register_activity_actions() { global $bp, $wp_query; $bp = buddypress(); /* arguments are : - 'component_id', 'component_action_type' to use in {$wpdb->prefix}bp_activity database - and 'caption' to display in the select boxes */ bp_activity_set_action( $bp->activity->id, 'nen_treaty_ratified', __( 'Ratified new earth treaty', 'buddypress' ), 'bp_activities_format_activity_action_left_group', __( 'Members Ratified', 'buddypress' ), array( 'activity', 'group', 'member', 'member_groups' ) ); //$activity_content = 'ACTIVITY CONTENT'; $this_user_profile_url = bp_core_get_user_domain($wp_user_id); $action_String = "<a href=\"". $this_user_profile_url ."\">@" . bp_core_get_username($wp_user_id)."</a> has just ratified the new earth treaty"; //add activity to the database bp_activity_add( array( 'user_id' => $wp_user_id, 'action' => $action_String, // 'content' => $activity_content, 'component' => 'nen_treaty_ratified_action', // 'primary_link' => '<a href="'.get_post_permalink($this_activity_id).'">' . $title . '</a>', 'type' => 'custom_activity_update', 'hide_sitewide' => false )); } add_action( 'bp_register_activity_actions', 'nen_register_activity_actions' ); update_user_meta($user_id, 'treaty_ratified', $status ); update_user_meta($user_id, 'treaty_timestamp', $treaty_date ); } else { delete_user_meta($user_id, 'treaty_timestamp'); } }Topic: Re-Tweet Activity
Hi,
I’m wondering if is there a plugin for re-tweeting buddypress activity?
I know there was some – but it’s not available anymore… I googled, looked at 100s of plugins and I couldn’t find anything.
Could you recommend any?
Thanks 🙂