Search Results for 'wordpress'
-
Search Results
-
Topic: Display the group id PHP ?
Hello,
This is my problem, I use ACF PRO to create my own fields on my WordPress theme, for the member profiles part everything works with this code:
<?php /** * BuddyPress - Members Settings ( General ) * * @since 3.0.0 * @version 3.1.0 */ acf_form_head (); $author_id = bp_displayed_user_id(); ?><div class="col-lg-6"> <?php acf_form(array( 'id' => 'acf-formA', /* Groupe de champs ID utilisé */ 'field_groups' => array('663'), //CHANGE ID IN LIVE /* Quelle est la function meta utiliser en $ sur ID auteur ? */ 'post_id' => 'user_'.$author_id, /* Quel est le nom sur le bouton du button de sauvegarde */ 'submit_value' => __("SAUVEGARDER", 'acf'), /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */ 'updated_message' => __("Mise à jour réalisée", 'acf'), /* Button de submit de formulaire */ 'html_submit_button' => '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>', /* Le spinner de chargement */ 'html_submit_spinner' => '<span class="acf-spinner"></span>', 'form' => true, 'return' => '' )); add_action('acf/save_post', 'my_acf_save_post', 20); ?> </div>So far no problem to display then on the member’s profile page the information of the ACF field.
My Problem:
On the other hand, on the Groups part I can’t find how to attach the field to the ID group, that’s what I tried.In my edit-details.php (in group),My field works, I enter test in my acf form
it comes out in the echo “test” but on all the groups, I can’t associate this field with the group id.<?php /** * BP Nouveau Group's edit details template. * * @since 3.0.0 * @version 3.1.0 * @version 4.0.0 Removed 'Notify group members' checkbox in favor of hooked callback. */ acf_form_head (); $group_id = bp_displayed_user_id(); $group = new BP_Groups_Group( $group_id ); ?><?php echo get_field('test_group', 'group_'. $group_id); ?><?php acf_form(array( 'id' => 'acf-formA', /* Groupe de champs ID utilisé */ 'field_groups' => array('714'), //CHANGE ID IN LIVE /* Quelle est la function meta utiliser en $ sur ID auteur ? */ 'post_id' => 'group_'.$group_id, /* Quel est le nom sur le bouton du button de sauvegarde */ 'submit_value' => __("SAUVEGARDER", 'acf'), /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */ 'updated_message' => __("Mise à jour réalisée", 'acf'), /* Button de submit de formulaire */ 'html_submit_button' => '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>', /* Le spinner de chargement */ 'html_submit_spinner' => '<span class="acf-spinner"></span>', 'form' => true, 'return' => '' )); add_action('acf/save_post', 'my_acf_save_post', 20); ?>Thanks for your help !
demo : https://cryodev.fr/branch/build/alpha/groupes/le-groupe-a-demo/Hey, first post here,
I’m using a WordPress install with MemberPress to manage registrations.I then am using bbPress for a forum, and BuddyPress for Profiles, Messaging, etc.
When a new user registers, a very peculiar thing happens.

The WP Username and the BuddyPress name, stored in the
wp_bp_xprofile_datado not match.
In some cases, this also becomesimported_{username}.In the case where it the BuddyPress name becomes
imported_{username}it seems to be associated with bbPress, in this file /plugins/bbpress/includes/admin/converter.php, starting on line 970.However, I can’t seem to track down where seemingly random usernames are coming from, and WHY…
In the example image, if I were to search the database for
bobbytaylor5971the only instance of that string is in the one row inwp_bp_xprofile_data. Correct user_id, wrong value.I’ve been trying to figure this out for months, and so far, we’ve just been manually updating each new registered user.
Any thoughts on this issue?
Thanks for the help.
Topic: Hide “Modify” Button
Hello,
Can you help me for hiding the “Modify” button on a member page.
I Don’t want that my members can change their profile by themself because all fields are automaticly feed by an LDAP authentication.
Before updating my Woffice theme, i just have to comment some lines of this file :
/home/wordpress/wp-content/themes/woffice/buddypress/members/single/profile.php// Edit
//case ‘edit’ :
// bp_get_template_part( ‘members/single/profile/edit’ );
// break;
But now i Don’t find where i can hide this button for my suscribers.
Can you try to help me please ?
ThxI tried simply disabling the Friends feature from the settings, but I am using the BuddyBoss theme which requires the “friends” feature for messaging/writing on walls/ and several other functionalities. The best solution is to simply make everyone friends automatically. Does anyone know how to do this? Is there a plugin? Is there a code snippet I can insert?
It is a small community where everyone knows each other. Any and all help is much appreciated.
Wordpress 5.0.3
Buddypress 4.1.0WP v. 5.0.3
Directory
root
I did not upgrade from a previous version of WordPress.
WordPress was functioning properly before BuddyPress install.
BuddyPress v 4.1.0
No upgrade.
Other plug-ins: bbPress, bbPress WP Tweaks, Breadcrumb NavXT, BuddyPress, Column Shortcodes, Contact Form 7, Content Aware Sidebars, Mailchimp for WooCommerce (currently not set up), MetaSlider, N-Media WooCommerce PPOM, Shindiri Woo Shop Slider Lite, Widget Options, WooCommerce (currently not set up), WooCommerce Produce Carousel Slider, WooCommerce Services (currently not set up). All are up to date.
Wordpress theme is Vogue.
I’ve not modified the core files in any way that I’m aware of.
No custom functions that I’m aware of.
I do not know how to do .php coding.
I do not have any errors that I am aware of and could not run the check from the tutorial as it didn’t work. Again, do not know .php code.
Current website has been removed from online and is on a private server/localhost. This will change soon as the new site is finished.
Windows.
No BuddyPress theme chosen so maybe default theme selected?
No idea if I overloaded any buddypress template files.Posting above per the “When asking for support” sticky.
I have two problems. The first is that I don’t have a way for users to create groups using the BuddyPress groups system. I can only create groups manually by selecting “Groups” > “Add New” in the dashboard. I do not wish to cater to 100’s of requests for groups, and would like users to have freedom of creation. “Anyone can register” is selected. “User Groups” is selected.
As of right now, my site has a “Social” menu option with sub-menu of all the BuddyPress items. If I click on “Groups” in the sub-menu, I DO NOT get an option to create groups. However, if I click on the main menu “Social,” and look at the right side where my “Groups” widget is, I can click on groups, and get a new page that has a “Create New Group” option that allows anyone to create.
Ok, so why not just add the widget to all the BuddyPress pages? I did. They won’t load. The only way people can add groups is if they go through this widget. Which leads me to my second problem; I am not able to add that widget anywhere else on the website. It will not load on any other of the BuddyPress pages/sub-menu options. In fact, nothing will load.
This was the result of adding “Content Aware Sidebar” plug-in, because I was not able to get website widgets OFF BuddyPress pages even when selected to be off those specific pages. Now, I have removed my main-site widgets from BuddyPress pages, but can’t get BuddyPress widgets on BuddyPress pages. Boy, I hope that was clear.
If I remove “Content Aware Sidebar” (or deactivate it), everything goes back to the way it was. Main website widgets that I don’t want on BuddyPress pages will load on BuddyPress pages, but so will the BuddyPress widgets.
How do I get my BuddyPress widgets to load AND prevent my other widgets from loading on BuddyPress-only pages? Or can I manually insert a “Create Group” link inside the “Groups” page, preferably next to “Invitations” and “Memberships?”
I believe the problem lies with both the “Content Aware Sidebar” plugin and “Widget Options,” which is the one I used to be able to manually select pages. It worked perfectly until BuddyPress was installed. Now, I can’t get choices over BuddyPress-only widgets, but I can get widgets to load at will anywhere else on the site.
Topic: Redirect Register?
If the following is to redirect Registration from BP to WP, what would redirect from BP to [Peepso_Register] ? And exactly where would I put it?
(Any reason why nobody has developed options to turn everything on or off in BP since it is so integrated with other themes and plugins?)
/*disable registration bp */
function my_disable_bp_registration() {
remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );
remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ );
}
add_action( ‘bp_loaded’, ‘my_disable_bp_registration’ );add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”);
function firmasite_redirect_bp_signup_page($page ){
return bp_get_root_domain() . ‘/wp-login.php?action=register’;
}Version 4.1.0 BuddyPress
Version 5.0.3 WordPressTopic: profile fields in same line
Hi,
I am using BuddyPress v4.1.0 and WordPress v5.0.3I need to two different profile fields in the same line.
For instance I have a field that is called Instrument and other than is Level. In the profile it shows in two different lines
Instrument Guitar
Level Advance
What I need is to display both fields in the same line
Instrument Guitar Level AdvanceIs that possible?
Thank you
Topic: Move sub item
Hi
I would like to know if there is an easy solution to move a sub item from 1 parent to another ?
Example: My nav bar contains 2 itemsITEM 1
subitem 11 – subitem 12ITEM 2
subitem 21 – subitem 22 – subitem 23I want to move subitem 23 to ITEM 1 in order to get:
ITEM 1
subitem 11 – subitem 23 – subitem 12ITEM 2
subitem 21 – subitem 22Can I do with edit-
I am using:
WordPress 5.0.3 running Astrid theme
BuddyPress 4.1.0Thanks
FabriceTopic: Activation email not sent
Hi,
I have a fresh install of WordPress + Buddypress.
Wordpress : 5.0.3
BuddyPress : 4.1.0All wordpress email are working: manual user creation ….
Unfortunely, buddypress cannot send email activation when a user registers.Please, this issue is very critical because all stops now. Could someone help ?
Regards
Hi,
On this site https://smartprofin.wpengine.com/ I installed buddypress plugin but I don’t see Forum option.
I switched to Twenty Seventeen theme but not luck.
WordPress version: 4.9.9
BuddyPress version: 4.1.0Please help me out!
I support.
My problem is the follow.
I have a multisite installation with more than 30 subsites.
I developed the platform in and different domain for later to “export” to the final domain.
Buddypress groups were working fine before export.
During export, I use a search and replace plugin to change the URLs to the new URL.After the export when creating a new group, in the second step, wordpress craches and don´t let me chosse the group privacy settings.
My theme is woffice from Alkaweb and the problem pressist even whit the Twenty Seventeen.This issue started after the export of my site.
Can you please help me in this issue.
Best Regards.
Topic: Can I donate for Buddypress?
I would like to support this plugin, but I didnt find the way to make a donation for Buddypress. I have already donated for WordPress Foundation, but I prefer to do it for this plugin in particular plugin.
Thanks,
