Search Results for 'wordpress'
-
Search Results
-
Hi!
I’m using your plugin and I have a problem – when I open a member’s profile page, it takes at least 20 seconds to load. And while debugging, I found out that just this check of the bp_has_profile() function takes 18-19 seconds. I want to somehow speed up the page and the main problem is that.
Can you help me to solve it.
PHP: 7.4.33
Wordpress: 5.4.2
BuddyPress: 8.0.0Thanks in advance,
VahanHello everyone,
I am sure the problem is quite basic, but I can’t fix it. On my site, some users don’t have their email in extended profile, while there is in their wordpress profile. I want to take it from their wordpress profile and put it in their extended one.
I wrote this little piece of code to do so, that I run in the Code Snippet plugin of WordPress :function mettre_a_jour_tous_les_profils() { $users = get_users(); foreach ($users as $user) { $user_id = $user->ID; $user_data = get_userdata($user_id); $user_email = $user_data->user_email; $current_email = xprofile_get_field_data(204, $user_id); // Vérifier si l'email du profil étendu est vide if (empty($current_email)) { // Mettre à jour l'email du profil étendu avec l'email du profil WordPress xprofile_set_field_data(204, $user_id, $user_email); } } } mettre_a_jour_tous_les_profils();Here is the erro i get :
PHP Fatal error: Uncaught Error: Call to undefined function xprofile_get_field_data() in /homepages/14/d736706778/htdocs/IMABIO/wp-content/plugins/code-snippets/php/snippet-ops.php(575) : eval()'d code:9 Stack trace: #0 /homepages/14/d736706778/htdocs/IMABIO/wp-content/plugins/code-snippets/php/snippet-ops.php(575) : eval()'d code(32): mettre_a_jour_tous_les_profils() #1 /homepages/14/d736706778/htdocs/IMABIO/wp-content/plugins/code-snippets/php/snippet-ops.php(575): eval() #2 /homepages/14/d736706778/htdocs/IMABIO/wp-content/plugins/code-snippets/php/snippet-ops.php(656): Code_Snippets\execute_snippet() #3 /homepages/14/d736706778/htdocs/IMABIO/wp-includes/class-wp-hook.php(308): Code_Snippets\execute_active_snippets() #4 /homepages/14/d736706778/htdocs/IMABIO/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /homepages/14/d736706778/htdocs/IMABIO/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /homepages/14/d736706778/htdocs/IMABIO/wp-settings.php(486): do_action() #7 /homepages/14/d736706778/htdocs/IMABIO/wp-config.php(99): require_once('/homepages/14/d...') #8 /homepages/14/d736706778/htdocs/IMABIO/wp-load.php(50): require_once('/homepages/14/d...') #9 /homepages/14/d736706778/htdocs/IMABIO/wp-admin/admin-ajax.php(22): require_once('/homepages/14/d...') #10 {main} thrown in /homepages/14/d736706778/htdocs/IMABIO/wp-content/plugins/code-snippets/php/snippet-ops.php(575) : eval()'d code on line 9If some clever minds can tell me where am i wrong, it would definitely help me, thank you !
Hi,
I don’t understand the logic of requiring an email/username (text) field in Signup form, which will be shown near the default WordPress signup fields (including both email and username).
For a good UX sign up, I would require only a social login or email + password. I have dozens of BP xFields so the user should go and edit them after signup anyways.Can you please share some best practices to avoid unnecessary requirements for signup?
I tried to disable bp signup form completely but I haven’t found the plugin folder.WordPress 6.2.2
BuddyPress Version 11.2.0
Theme is Ocean WP
I have WP mail SMTP set up and working( I see test emails and get status emails from the site)
there is an invite new users email template available but when I send invite emails via
https://diceandmeeples.com/members/%5Busername}/invitations/ I see the invitation successful message but no Email arrives. I also have Email Log active however it does not register any emails.Any ideas?
Topic: Create new group not working
Hi,
I am new to Buddypress. After installing Buddypress. In setting->Buddypress-> Component I selected User group. When I click add new group it takes me to our website membership subscription page. I don’t know how it is taken and fix this.
Version:
Buddypress: 11.2.0
WordPress. 6.2.2Saving settings gives a “Sorry, you are not allowed to access this page” message.
Trying to set to Nouveau won’t save. It just keeps going back to Legacy. Totally not working anymore.Troubleshooting attempts included shutting down other plugins, turning on registration of new users and sites, deleting table data in phpMvAdmin, etc. Tried deleting the subsite and recreating it. tried switching up themes. Tried clearing the cache. All work using Superadmin accounts.
The rest of the multisite is working fine.No luck. Am I missing something that keeps it hopelessly broken, no matter how many times I try to wipe it and try again?
Backstory: On a multisite. Past experiments with Buddypress on this multisite. Problems emerged during attempts to set up a new site in the multisite using Buddypress.
Running WordPress 6.2.2. I have been trying to use BuddyPress version 11.2.0.I have been attempting to use the BuddyX theme. No custom modifications
Hi,
I have a Custom Post Type ‘golfs’ created with CPT UI.
I try to get the golfs comments (activated) in the Activites feed of BuddyPress without success…I put the code i found here ( https://codex.buddypress.org/plugindev/post-types-activities/ ) in my bp-custom.php file :
function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } // Don't forget to add the 'buddypress-activity' support! add_post_type_support( 'golfs', 'buddypress-activity' ); /** * Also don't forget to allow comments from the WordPress Edit Page screen * see this screencap https://cldup.com/nsl4TxBV_j.png */ bp_activity_set_post_type_tracking_args( 'golfs', array( 'action_id' => 'new_blog_page', 'bp_activity_admin_filter' => __( 'Published a new page', 'custom-textdomain' ), 'bp_activity_front_filter' => __( 'Page', 'custom-textdomain' ), 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'contexts' => array( 'activity', 'member' ), 'comment_action_id' => 'new_blog_page_comment', 'bp_activity_comments_admin_filter' => __( 'Commented a page', 'custom-textdomain' ), 'bp_activity_comments_front_filter' => __( 'Pages Comments', 'custom-textdomain' ), 'bp_activity_new_comment' => __( '%1$s commented on the <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_comment_ms' => __( '%1$s commented on the <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );New golfs are displayed in the activities feed but not the new comment.
Can anybody tell me what’s wrong ?
WP 6.2.2
BuddyPress 11.2.0
PHP 7.4Thank’s in advance
GilHello Everyone, I hope you all guys are doing good.
i want to make buddypress name field not required. I activated extended profile but still I don’t see any option to make the field optional.
I tried custom code for the field id ( field_1 ) but no success.
Any help?
Using WordPress and Buddypress with latest version.
Topic: Remove toolbar
I am using WordPress version: 6.2.2
I am using BuddyPress version: 11.2.0
My website is https://entertainerdrivers.com/
I installed Buddypress and set everything up via watching a WPtutorial video. After I set everything up I created a dummy account, to see how everything functioned on something other than my admin account. My issue is the toolbar at the top. Users can click on the wordpress icon, on the left side and get to my wordpress details. How do I not allow this? I have disabled all of the buddypress pages until I can sort this out.Topic: Invites not being sent
Hi,
I have a new site with a “Member” only chat. Since the chat isn’t open to the public, the invites aren’t being delivered. Invites only work when I select “anyone can register” in the general settings. This site is for people with a rare disease and don’t want their stories public. Can I have a closed chat AND have the ability for members to invite eachother to the new chat.I am using Buddypress 11.2.0
and WordPress 6.2I am not a programmer and need a simple solution.