Search Results for 'buddypress'
-
Search Results
-
Hello,
I am trying to create 2 functionalities and i would like to ask for your help please.
1. Trying to get all users with WP_User_Query that have not been active for last 60 days
// Get the contributors and administrators who haven't logged in for 60 days $args = array( 'role__in' => array( 'contributor', 'administrator' ), 'meta_key' => 'last_activity', // this is a meta_key storing the last time the user was logged in by buddypress in 'Y-m-d H:i:s' format 'meta_query' => array( array( 'key' => 'last_activity', 'value' => date('Y-m-d H:i:s', strtotime( "-60 days" )), // what am i doing wrong? 'compare' => '<', 'type' => 'DATE' // Let WordPress know we're working with date ) ) ); $remind_users = new WP_User_Query( $args );-What am i doing wrong on the comparison?
2. Send en email notification to specific users when there is a sidewide notice on our website.
function important_notification() { $notification = '' . bp_get_message_notice_text( $notice->message ) . ''; $args = array( 'meta_key' => '_is_featured' ); $members = get_users( $args ); foreach( $members as $member ) { $user_id = $member->ID; $member_account = bp_core_get_user_domain( $user_id ); $first_name = $member->first_name; $email_subject = 'Important information'; $message = sprintf( 'Hello %1$s,' , $first_name ) . "<br><br>"; $message .= sprintf( 'We have an important information for you:' ) ."<br><br>"; $message .= sprintf( '<i>%1$s</i>' , $notification ) ."<br><br>"; $message .= sprintf( 'Please login <a href="%1$s" target="_blank">to your account</a> to remove the information if you want.' , $member_account ) ."<br><br>"; wp_mail( $member->user_email, $email_subject, $message ); } } add_action( 'xxxxxxxx', 'important_notification');-Will the
$notification = '' . bp_get_message_notice_text( $notice->message ) . '';get the message text of the sidewide notice?
-In which action could i hook this function in order to send an email when admin will publish a sidewide notification?
add_action( ‘xxxxxxxx’, ‘important_notification’);Thank you very much for your time.
Hi Team,
I am using BuddyPress v-7.1.0.
When I log out then on the activity page, Feed does not load. Even refresh also does not work.
Platform URLSharing a small screen recording too Screen recording.
Feed is having issues on normal browsers and on mobile too. Please help urgently. I am stuck.
Hi.
I get ‘Leave site?’ button keeps appearing when I enable Buddypress plugin (every other plugin is disabled) and partially enter a field, then nivigate away from that page.Is this normal – as it doesn’t happen with plain WordPress (ie no buddypress enabled) form filling and moving away?
Topic: Cannot create new Group
Cannot create new Group on https://novelnetwork.com
WordPress version: 5.7.1
BuddyPress version 7.3.0
other plugins (all latest versions) on this site include:
BP Custom
BP Profile Search
BP Simple Private
BP xProfile Location
BuddyPress Member Types Pro
BuddyPress Xprofile Custom Field Types
Paid Memberships Pro
Paid Memberships Pro – BuddyPress Add On
WooCommerce Product VendorsIssue:
Been running BuddyPress a few years on this site. Suddenly an issue when trying to create a new BP group – it just goes to the first screen (Details), I enter Group name and description, and when I click “Create group and continue” it just clears the form. This is a membership site, so you would need to be logged in to see the Groups page.Error log shows these errors:
#3 /home/novelnetwork/public_html/wp-content/plugins/buddypress/class-buddypress.php(522): require(‘/home/novelnetw…’)
#4 /home/novelnetwork/public_html/wp-content/plugins/buddypress/class-buddypress.php(125): BuddyPress->includes()
#5 /home/novelnetwork/public_html/wp-content/plugins/buddypress/bp-loader.php(46): BuddyPress::instance()
#6 /home/novelnetwork/public_html/wp-content/plugins/buddypress/bp-loader.php(90): buddypress()
#7 /home/novelnetwork/public_html/wp-settings. in /home/novelnetwork/public_html/wp-content/plugins/buddypress/cli/src/scaffold.php on line 19Any help would be appreciated!
I installed buddy press, followed the manuals and linked the registration and activation pages. When calling the link to the registration page, the page is properly displayed. After filling in the information and clicking on “Complete Sign Up”, the user just gets redirected to the landing page.
There is no new user created in the user in wordpress and also no confirmation email is sent. However, when creating a user in the administration console within wordpress, users can be created and also registration emails are sent to the user.
Any idea how to investigate this problem? All the tricks from other forum entries I have already tried (different themes, activate allow anyone to register etc).
Installation:
Wordpress 5.7.1
Theme: Twenty Seventeen Child Theme, but also ExS
BuddyPress: Version 7.3.0THANK YOU FOR YOUR HELP
Hi,
Is there any up-to-date method to attach a category or tag to group? (Admin or user-created?)
I’m just unpacking BuddyPress on my staging site, and I’m confused by the absence of this feature.
I’ve spent 6 months building a site with 000s of posts of carefully categorised content, and it seems I’m going to have to force users to search through multiple groups to find something relevant to them?
Any suggestions for (maintained) plugins I can try?
Hello, I use BuddyPress on my website, if the content protection (right click forbidden) is activated on my website, I have the problem that the send messages field is not selectable and you cannot write! Only when I briefly switch to another browser tab and then switch back to the messages tab is the cursor active in the write field and I can write messages until I call up this page the next time or reload the page, then it works again Not! It would be nice if you could help me!
Hi everyone!
I am totally new to buddy press and this board.
So far I am getting along great and set up my network already and am super happy with all the support here. But sometimes it is hard to find the right information in this sea of knowledge.
So far I liked the twetytwentyone theme all right and made a simple copy of it on my server so I don’t have to file with child-theme-issues. I got through to find the functions.php and started trying to add some code at the bottom of this document wich shoed some effects already.
So I would be delighted if someone could direct me to the right information for a few points:
– I want to get rid of the different tabs / the menu in the profiles but instead show just Picture and Name (as normal) and than a text (created a profile-tab for this already) and the list of friends below the text.
– I would love to assign user-profiles different categories so I could e.g. select “farmers” from the top menu and sho a list of all “farmers” (actually it would be nice to see the categories that apply in a profile, too. These categories would be predefined (unlike lets say an Instagram hashtag that I could create on my own). Could someone point me in a direction how to make this happen? This could also be something like a sing up question where one could check the boxes that apply…
Some informations on the why: I trie to help friends from an NGO here in Switzerland with an makeshift network to bridge some time until they can raise money for a developer who will take over (so pardon me as I have very limited knowledge). The network will showcase you as a person or organization (basically the same in terms of the website) and show links to other persons or organizations. It is not intended that people create posts and content beyond their initial profile wich should make it easier to start but sometime contradicts a bit the default of BuddyPress i think.
Thank you all very much for reading and helping and also letting me know if I move my question to a different part of this board.
/Leo
Does anyone know how to modify the API responses so that the Member List only displays a specific list of users?
For example, if I were wanting the member list to only include users with the user role “Subscriber,” how would I do that?
I know how to get this to work outside of the API-based system, but I’m using AppPresser which relies on BuddyPress API, and I’m wanting to stick with this.
Hi,
Wordpress version Version 5.6.3
BuddyPress plugin version: Version 7.3.0I’m getting the error “The Link You Followed Has Expired” page when I try to create a group.
The default url is <my-site-url>/groups/create/step/group-details/
While crating a new group the first step is the Details page where a title and a group description has to be provided. After entering the details and when I select the “Create group and Continue” button, it takes me to the group-setting page page(<my-site-url>/groups/create/step/group-settings/) which is blank and has two buttons, a “Back to previous step” button and a “Next step” button. But when I select the “Next step” button it loads a blank page with a text “The link you followed has expired.”, but it should actually take me to the group photo step/page. Can you please help me to resolve this as issue as it breaks the flow of group creation rpocess.
However when I navigate back to my group listing page, I’m able to find the newly create group.
Please let me know if you need any further informationTopic: TimeZone
Hi, I am using buddypress and i want to create a timezone field for user into register/sign up page,
can anyone please help me to create timezone field into registeration form?Hi
I wanted to create a filter for the activity admin table by date. I came across with this functionality http://hookr.io/filters/bp_get_activity_date_recorded/ but was unsuccessful to make it work. Is this possible? Any help would much be appreciated. ThanksTopic: Multisite – global settings?
Hi –
I never noticed this before until now – but wp multisite, the subsites are using default Buddypress settings and not settings mirrored from mainsite. However I need to disable certain options.
Is there a way to set buddypress global settings from the primary site without having to go to each subsite?
ie I don’t want notifications enabled
thanks
Topic: BuddyPress 8.0.0-beta1
Hi everyone,
Version 8.0.0-beta1 is ready for your tests! Thanks in advance for your help.
Topic: Change commenter link
Hello,
On my posts with comments, I noticed that the link for each commenter goes to the Buddypress member profile page. That’s not what I want. Instead, I want the commenter link to go to the WordPress author page. How do I do that?
Thanks,
Robert