Search Results for 'buddypress'
-
AuthorSearch Results
-
December 23, 2023 at 4:06 pm #332494
In reply to: Slugs with -2 after update
Mathieu Viet
ModeratorOk, I understand you don’t want to take the time to fix the issue. It’s really difficult to understand each other. Sorry to read my help is so annoying. If the table is not called
wp_posts, it’s probably due to the custom table prefix you defined into your wp_config.php file. The code I’ve shared is a filter, there’s no way for it to fail, but you managed to! I don’t know how you pasted it. You don’t seem to read what I’m advising you to do and you don’t reply in an understandable way. If you don’t want to fix the issue, I advise you to look into this support reply to see how to roll back to 11.4.0: https://buddypress.org/support/topic/buddypress-12-0-0/page/4/#post-332388I won’t annoy you anymore.
December 23, 2023 at 2:20 pm #332492In reply to: how to edit register page for buddypress?
Mathieu Viet
ModeratorHere’s a way to disable BuddyPress signup feature:
function disable_bp_signups() { add_filter( 'bp_get_signup_allowed', '__return_false' ); remove_filter( 'register_url', 'bp_get_signup_page' ); remove_action( 'bp_init', 'bp_core_wpsignup_redirect' ); remove_filter( 'wp_signup_location', 'bp_blogs_creation_location' ); remove_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1 ); } add_action( 'bp_include', 'disable_bp_signups' );December 23, 2023 at 2:18 pm #332491In reply to: How To Delete Register Page
Mathieu Viet
ModeratorHere’s a way to disable BuddyPress signup feature:
function disable_bp_signups() { add_filter( 'bp_get_signup_allowed', '__return_false' ); remove_filter( 'register_url', 'bp_get_signup_page' ); remove_action( 'bp_init', 'bp_core_wpsignup_redirect' ); remove_filter( 'wp_signup_location', 'bp_blogs_creation_location' ); remove_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1 ); } add_action( 'bp_include', 'disable_bp_signups' );December 23, 2023 at 1:15 pm #332490ingenxcomputers
ParticipantHave you had any luck
My buddypress site invitations are going straight to people’s email SPAM folders
Richard
0794 332 1470December 23, 2023 at 1:06 pm #332489In reply to: Slugs with -2 after update
Mathieu Viet
ModeratorHave you tried to temporarily add this code to the functions.php of your active theme?
remove_filter( 'wp_unique_post_slug', 'bp_core_set_unique_directory_page_slug', 10, 6 );And then did you go to the URLs tab of the BuddyPress settings and try to customize slugs again?
If so, using your tool to administrate your site’s database (eg: PHPMyAdmin), can you run this query:
SELECT id, post_type FROM wp_posts WHERE post_name LIKE "members%"December 23, 2023 at 12:44 pm #332488In reply to: Slugs with -2 after update
jaroslawistok
ParticipantI did under Tools:
Reset all BuddyPress slugs to default ones
I saved permalinks, there are no standard pages with this names
And still after saving slugs gets -2
December 23, 2023 at 12:28 pm #332486In reply to: Slugs with -2 after update
Mathieu Viet
ModeratorSo you’re using BP version 12.0 on a regular site (not a multisite config), you activated, then deactivated BP Classic because it was no more needed. And now when you go into the URLs tab of the BuddyPress settings and tries to customize slugs, it adds a
-2suffix.Is it happening when these slugs are default BuddyPress ones only (eg:
activity,members) or is it happening even with these slugs: ‘activites’, ‘membres’ for example?If it’s only happening with BuddyPress default slugs: check there are no regular WordPress pages using the BP slugs.
Then try to use the Reset Slugs BuddyPress tools from the WP Admin tools menu.
If it didn’t fixed the issue, try to temporarily add this code to the functions.php of your active theme:
remove_filter( 'wp_unique_post_slug', 'bp_core_set_unique_directory_page_slug', 10, 6 );Go to the URLs tab of the BuddyPress settings and try to customize slugs again.
Then remove the custom code you added to the functions.php of your active theme.
December 23, 2023 at 12:06 pm #332485In reply to: Slugs with -2 after update
jaroslawistok
ParticipantNot multi, widely activated, BP is a root
Do I have to have created standard empty pages? For now I haven’t
After saving permalinks still is coming members-2 ans s on in buddypress after saving
December 23, 2023 at 12:04 pm #332484In reply to: Error in buddypress code bp-menu bp-logout-nav
Mathieu Viet
ModeratorHi,
I just tested and I wasn’t able to reproduce, sorry. I don’t think it’s a BuddyPress problem. Have you tried to temporarily deactivate all plugins except BuddyPress to see if the issue was still there?
If so, maybe you can try to activate the BP Classic backwards compatibility plugin in case there’s a 3rd party BP plugin playing into this area.
December 23, 2023 at 11:23 am #332482In reply to: BuddyPress 12.0.0
Mathieu Viet
ModeratorSomething similar was reported earlier about the deprecation notice. I believe it’s due to a custom code or a theme:
See: https://buddypress.org/support/topic/buddypress-12-0-0/#post-332208
Which seems to help the reporter to fix it: https://buddypress.org/support/topic/buddypress-12-0-0/#post-332211About the main site being very slow, that’s weird. But I’ll check BP Classic with your specific config. You can try to see if only activating BP Classic on the subsite is making main site faster.
December 23, 2023 at 9:43 am #332478In reply to: BuddyPress 12.0.0
Mathieu Viet
ModeratorFor your info, I’ve started your config tests and I found a bug with slug customization:
https://buddypress.trac.wordpress.org/ticket/9048So I confirm there’s an issue. I’m working on it.
December 23, 2023 at 3:47 am #332470In reply to: Error in buddypress code bp-menu bp-logout-nav
Mathieu Viet
ModeratorHi @fasirathore
Thanks for your feedback, are you using BP version 12.0.0?
Can you check your error log file to see if something was traced in it?
What’s your WordPress set up ? Multisite or not ? If Multisite is BuddyPress activated on the network ?December 23, 2023 at 3:43 am #332469In reply to: Slugs with -2 after update
Mathieu Viet
ModeratorSorry to read about it. Can you tell me a bit more about your config?
– regular or Multisite WordPress ?
– if Multisite how BuddyPress is activated ? Network widely, on the main site or on a subsite ?
– If activated network widely, are you using the constant to set the BP root site to be a subsite instead of main one?December 23, 2023 at 3:35 am #332468In reply to: BuddyPress 12.0.0
Mathieu Viet
ModeratorThanks a lot
1. So there’s an issue with this specific config in BuddyPress. The repair tool, as run from the network admin where site ID is 1 is not checking the right BP root site. I’ll work on it asap. To be honest: we’ve tested a lot of configs, but I believe not the specific case where the BP root site is not the same than the network one. Sorry about it.
2. It looks like the fatal error is generated by the « onecommunity » theme. Moreover this theme or some 3rd party plugin(s) is(are) not ready for BP 12.0.0. I believe you need to activate the BP Classic Add-on network widely – like BuddyPress. (but let’s keep on debugging doing step 3 before 🙏)
3. Can you run this query:
SELECT id, post_type FROM wp_posts WHERE post_name LIKE "activity%"I feel the migrate routine wasn’t checking for the right site ID.4. Once you activated BP Classic, go to the Permalink setting of site 4 and simply save the permalink structure without changing the selected structure.
I need some time to fix this specific config for 12.0.0. I think it will be ok for the beginning of next year.
December 22, 2023 at 9:27 pm #332463In reply to: BuddyPress 12.0.0
perchenet
ParticipantThank you Mathieu
Critical error:
Notice: La fonction map_meta_cap a été appelée de façon incorrecte. Le type de publication buddypress n’est pas enregistré. Il n’est donc pas possible de vérifier de manière fiable que la permission « edit_post » correspond à ce type de publication. Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 4.4.0.) in /var/alternc/html/d/davduf/www/auposte.fr/wp-includes/functions.php on line 6031 Deprecated: La fonction bp_core_get_user_domain est obsolète depuis la version 12.0.0 ! Utilisez bp_members_get_user_url() à la place. in /var/alternc/html/d/davduf/www/auposte.fr/wp-includes/functions.php on line 6031 Deprecated: La fonction bp_core_get_user_domain est obsolète depuis la version 12.0.0 ! Utilisez bp_members_get_user_url() à la place. in /var/alternc/html/d/davduf/www/auposte.fr/wp-includes/functions.php on line 6031 Warning: require(/var/alternc/html/d/davduf/www/auposte.fr/wp-content/themes/onecommunity/inc/typography.php): failed to open stream: No such file or directory in /var/alternc/html/d/davduf/www/auposte.fr/wp-content/themes/newsblock/inc/filters.php on line 205 Fatal error: require(): Failed opening required '/var/alternc/html/d/davduf/www/auposte.fr/wp-content/themes/onecommunity/inc/typography.php' (include_path='/var/alternc/html/d/davduf/www/auposte.fr/wp-content/plugins/kirki/:/var/alternc/html/d/davduf/www/auposte.fr/wp-content/plugins/kirki/core:.:/usr/share/php') in /var/alternc/html/d/davduf/www/auposte.fr/wp-content/themes/newsblock/inc/filters.php on line 205 Il y a eu une erreur critique sur ce site.The Query:
SELECT id, post_type FROM wp_4_posts WHERE post_name LIKE "activity%"; +----+-----------+ | id | post_type | +----+-----------+ | 88 | page | +----+-----------+December 22, 2023 at 8:48 pm #332462fasirathore
ParticipantWhen I added “bp-menu bp-logout-nav” to my menu items in BuddyPress, clicking on any other BuddyPress menu item such as notifications, messages, or profiles would log me out of WordPress unexpectedly. After removing the “bp-menu bp-logout-nav” from the menu, I no longer experienced logging out when clicking on any menu component.
“bp-menu bp-logout-nav” is affecting other menu items of buddypress. How can I resolve it, I also have reinstalled buddypress plugin after deleting it but problem is still present.December 22, 2023 at 8:34 pm #332461Topic: Slugs with -2 after update
in group forum Installing BuddyPressjaroslawistok
ParticipantI had a problem with youzify and they sais I should bp classic.
Now they have update so I dont need it anymore.
Then they wrote it was because of buddypress update.
Now all is broken, links don’t work
Whan I try to set slung in eac one there is slug with -2
I tried with empty standard pages created or also without this pages (what is correctly?
I just can’t change this slungs to some without -2 after…
December 22, 2023 at 4:29 pm #332456In reply to: Undefined property: BP_Groups_Component
Ceraus
ParticipantFound that there is a conflict between Genealogical Tree Pro and buddypress when groups are enabled, still not sure what to do.
December 22, 2023 at 1:19 pm #332452In reply to: BuddyPress 12.0.0
Mathieu Viet
ModeratorBonjour David (@perchenet),
Merci pour ton merci ☺️.
I’ll do the rest in English in case someone faces the same issue 😉.
Depending on whether you activated the BP Classic backwards compatibility Add-on, BP Directories can be a regular WP page (BP Classic & BP < 12.0.0) or use a specific post type
BuddyPress(BP 12.0.0 & up without BP Classic). So to find into thewp_{site_id}_poststable the directory slug, you need to look at thepost_namefield.About slug conflict management what I’ve added into 12.0.0 is to make sure a
buddypresspost type’spost_namedoesn’t conflicts with one the existingpagepost type’s one because it’s immediately after the domain (I’d rather use a intermediate slug but that’s not the way BP was built in the first place…). If you get a-3suffix it should mean you have 3 other entries likeactivity,activity-1andactivity-2. If you’re not using BP Classic or if you activated it after upgrading to 12.0.0 it can be caused by a migrating task wrongly played more than once.What I would do in your case: go into the BP Repair tools and if available use the « Reset slugs » one. If you don’t see this repair tool it means you’re using BP Classic.
If the reset tool didn’t change anything or if BP Classic is active, I would check into thewp_{site_id}_optionthe value of thebp-pagesoption name, it’s a serialized array keyed by component name and containing the post IDs that are associated with a BP Directory. Thanks to this post IDs, I would only keep the corresponding post type and delete the other ones (or change the otherspost_namevalues).I’d be interested to reproduce the steps you did to face this situation. Was BP Classic activated on the same site that BuddyPress is activated on before the 12.0.0 upgrade? Was it activated after? Or maybe you haven’t activated it?
December 22, 2023 at 12:28 pm #332449In reply to: Viewing other profiles
alexhales123
ParticipantTo enable users to view other profiles on BuddyPress:
1. **Install and Activate BuddyPress:**
Make sure you have installed and activated the BuddyPress plugin on your WordPress site.2. **Check Privacy Settings:**
Ensure that users’ profile privacy settings allow their profiles to be viewed by others. Users can control this setting in their profile settings.3. **Activate Extended Profiles:**
Enable the “Extended Profiles” component in the BuddyPress settings to allow additional fields and information on user profiles.4. **Verify Theme Compatibility:**
Confirm that your WordPress theme is compatible with BuddyPress to ensure proper display of profile information.5. **Check User Roles:**
Verify that users attempting to view profiles have the necessary capabilities. By default, registered users should be able to view other registered users’ profiles.6. **Use BuddyPress Widgets/Shortcodes:**
Utilize BuddyPress widgets and shortcodes to display member directories and user lists. Refer to the BuddyPress documentation for guidance on implementing these features.7. **Review BuddyPress Documentation:**
Consult the official BuddyPress documentation for any specific settings or features related to profile viewing.By following these steps, you should enable users to view other profiles seamlessly on your BuddyPress-enabled WordPress site.
December 22, 2023 at 11:51 am #332447In reply to: BuddyPress 12.0.0
perchenet
ParticipantHello everyone, bonjour Mathieu
Bravo pour le travail !
Since the update in 12, I have a slug problem.
My BP is installed as a sub-site, according to the procedure described here https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/#b-network-wide-activation-buddypress-root-blog-in-secondary-site
Main site: auposte.fr
BP site: comico.auposte.frHowever, I can’t impose my slugs. WP refuses to overwrite the slugs and use the basic slugs. It always adds -3 (activity-3, members-3).
Example: https://www.auposte.fr/wp-admin/network/admin.php?page=bp-rewrites won’t register simple slugs (without the -3). I tried in English (groups, members): same defeat.
What I don’t understand is how BuddyPress generates different slugs (members, members, members-3) for the same thing?
Where are the slugs managed in the database since BP version 12? Can I modify them in the database directly?
Thanks/Merci mille fois Mathieu et l’équipe!
DavidDecember 22, 2023 at 9:11 am #332445In reply to: Group Creation glitch
finkle5527
ParticipantBased on my web search, it seems that you need to disable the Paid Memberships Pro plugin or configure it to allow free group creation. Alternatively, you can also use the BuddyPress Groups add-on for TutorLMS, which lets you create and manage groups without any payment issues.
December 22, 2023 at 8:23 am #332443In reply to: BuddyPress 12.0.0
priyam1234
ParticipantHello, I’m facing another issue. I am unable to set the location of “Better Messages” to “Show in BuddyPress profile.” I encountered a severe error. I’ve also tested it on the default theme, where I only activated BuddyPress and the Better Messages plugin. I’ve successfully set the Better Messages location to work with other pages. Please assist as soon as possible; it’s urgent.
December 21, 2023 at 10:53 pm #332441In reply to: v12 removed bbcode buttons on reply box
Mathieu Viet
ModeratorMaybe it’s due to this bug we’ll be fixing in 12.1.0
Can you test adding the following code to see if it’s fixing the issue into the functions.php file of your active theme for example:
add_filter( 'bp_enqueue_assets_in_bp_pages_only', '__return_false' );December 21, 2023 at 8:10 pm #332439In reply to: Unable to view other profiles
Mathieu Viet
ModeratorHi,
I advise you to download and activate the BP Classic backwards compatibility Add-on for 3rd party plugins not ready yet for version 12.0.0 of BuddyPress (bbPress is not currently ready for it, see: https://bbpress.trac.wordpress.org/ticket/3576)
-
AuthorSearch Results