Search Results for 'buddypress'
-
AuthorSearch Results
-
August 29, 2017 at 9:46 pm #267775
In reply to: bp-custom.php in folder?
Henry Wright
ModeratorHow are you trying to delete the buddypress folder?
August 29, 2017 at 7:36 pm #267772In reply to: bp-custom.php in folder?
Carsten Lund
Participantcopying the buddypress folder containing the members-loop.php to my child theme leaves my page blank.
And now the folder can’t be deleted from the child theme…“buddypress” could not be deleted, because an error (22126) occurred.
August 29, 2017 at 7:23 pm #267770In reply to: bp-custom.php in folder?
Carsten Lund
ParticipantI mean, the buddypress folder in bp-templates/bp-legacy
August 29, 2017 at 7:15 pm #267768In reply to: bp-custom.php in folder?
Carsten Lund
ParticipantCopy, and at the same time leave the original buddypress folder under plugins?
August 29, 2017 at 7:00 pm #267767In reply to: bp-custom.php in folder?
Henry Wright
ModeratorYou can find all of the templates in a buddypress folder here: bp-templates/bp-legacy.
Step 1. Copy the buddypress folder to your theme. You should then have something that looks like this: wp-content/themes/your-theme/buddypress
Step 2. Edit the files inside the buddypress folder.August 29, 2017 at 1:51 pm #267764In reply to: bp-custom.php in folder?
Carsten Lund
ParticipantThanks, I have read the page about Template Hierarchy, can see this is very complex, at least to me.
I looked to the buddypress directory which looks different:
wp-content > plugins < buddypress > bp-members > ?
members_loop.php does not exist, is this aam I in the wrong directory?
I have tried to ad a buddypress.php file to both my theme and child theme directory, but this will prevent my site from loading?
August 29, 2017 at 12:58 pm #267761In reply to: bp-custom.php in folder?
Henry Wright
ModeratorWhich template are you referring to in 1.?
Check out the Template Hierarchy article. The file you’d need to copy and then modify is buddypress/members/members-loop.php.
can both code snippets be placed either in functions.php or bp-custom.php?
2 can but 1 isn’t a code snippet (you’re copying and then modifying a file).
August 29, 2017 at 11:47 am #267760In reply to: bp-custom.php in folder?
Carsten Lund
ParticipantI am looking at the thread “Adding profile fields to members directory”
https://buddypress.org/support/topic/adding-profile-fields-to-members-directory/You wrote:
There’s 2 ways of doing this.
1. You could modify the members-loop template (see the BuddyPress Template Hierarchy for details on how that’s done). See here. You would just add bp_member_profile_data( ‘field=the field name here’ ); to the template.
2. Add this to your theme’s functions.php file:
function add_info_to_members_loop() {
echo bp_get_member_profile_data( ‘field=the field name here’ );
}
add_action( ‘bp_directory_members_item’, ‘add_info_to_members_loop’ );Which template are you referring to in 1.?
can both code snippets be placed either in functions.php or bp-custom.php?August 29, 2017 at 9:07 am #267750In reply to: The post has disappeared. Please help me.
mika69400
ParticipantHello,
I have the same problem as you. Here is my message:
It is incomprehensible that no solution is found …
August 29, 2017 at 9:02 am #267749In reply to: Error! User gets deleted from database
mika69400
ParticipantHello,
I have the same problem as you. Here is my message:
It is incomprehensible that no solution is found …
August 28, 2017 at 2:15 am #267725In reply to: Username URL
ezekielloves
ParticipantYes, fortunately BP does provide a one-line solution!
add_filter( 'bp_core_enable_root_profiles', '__return_true' );Thanks @modemlooper
https://buddypress.org/support/topic/dynamic-urls-for-buddypress-user-profiles-friends-etc/August 26, 2017 at 11:49 am #267715In reply to: registration page styling
Henry Wright
ModeratorYou can edit the layout of the registration page. buddypress/members/index-register.php is the template you’ll need to edit. See the Template Hierarchy article for more information.
August 25, 2017 at 2:56 pm #267710In reply to: registration page styling
ghosting4u
ParticipantI have the same problem with the registration page. It’s unusable … an absolutely embarrassment if you look at screen capture of the desktop layout:
https://image.prntscr.com/image/10859QPiSTaGvw7pDQg9hw.png
and the tablet layout:
https://image.prntscr.com/image/wGzGFTgOTDeq01OxaAbGbQ.png
I am running on Divi theme, and there is no way that I can use Divi theme to edit the layout of the registration page because it’s done at the backend of the BuddyPress plugin.
Is there a plugin out there that can resolve this ?
Regards.
August 25, 2017 at 1:20 pm #267708In reply to: How to hide / remove the General tab under Settings
lenasterg
ParticipantHi. I made a minor change in the code @danbp suggests (basically the $args[‘subnav_slug’] and now I believe it works as expected.
So I guess it’s not a BuddyPress bug.Please, try the following
function bpex_change_profile_settings_default_tab() { if( bp_is_active( 'xprofile' ) ) : $access = bp_core_can_edit_settings(); $slug = bp_get_settings_slug(); $args = array( 'parent_slug' => $slug, 'subnav_slug' => 'notifications', 'screen_function' => 'bp_settings_screen_notification', 'user_has_access' => $access ); bp_core_new_nav_default( $args ); endif; } add_action( 'bp_actions', 'bpex_change_profile_settings_default_tab' ); function bpex_remove_general_item_on_usermenu() { global $wp_admin_bar; if ( bp_use_wp_admin_bar() ) { $wp_admin_bar->remove_node( 'my-account-settings-general' ); } } add_action( 'wp_before_admin_bar_render', 'bpex_remove_general_item_on_usermenu' ); function bpex_remove_profile_settings_general_tab() { if( bp_is_active( 'xprofile' ) ) : bp_core_remove_subnav_item( 'settings', 'general' ); endif; } add_action( 'bp_actions', 'bpex_remove_profile_settings_general_tab' );August 24, 2017 at 12:56 pm #267692In reply to: There was a problem cropping your profile photo.
press786
ParticipantI am still facing this issue, even after giving all the permission & uploading an image with a small name.
Using
Buddypress 2.8.2
wordpress 4.7.5
Please provide a resolution to this, I want to have an upload avatar option in the register page.
I am using “Buddypress avatar upload ajax” plugin for this.August 23, 2017 at 10:14 pm #267685In reply to: Seeking Solution
shanebp
ModeratorbbPress is the only real option for forums.
Depending on what features you need, this may suffice: BuddyPress Simple Events
You can also get it here: PhiloPress – BuddyPress Simple Events
August 23, 2017 at 11:04 am #267667In reply to: error after message customization on activate.php
Henry Wright
ModeratorThe following code won’t cause the parse error:
<p><?php printf( __( 'Your account was activated successfully! You can now log in on the sidebar with the username and password you provided when you signed up.', 'your-theme-domain' ), wp_login_url( bp_get_root_domain() ) ); ?></p>Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /home/admin/public_html/wp-content/themes/Divi-Child/buddypress/members/activate.php on line 47
This is referring to an
elsestatement on line 47 of activate.php. What do you have on line 47?August 22, 2017 at 10:17 pm #267665PinkishHue
ParticipantThanks for sharing this link, very helpful 🙂
It’s perhaps been discussed before but it seems like this should be a default feature for Buddypress/bbpress, including notifications for subscribed forums AND topics within the alert.
I need this function for new replies on topics and unfortunately this plugin doesn’t do that.
I will keep looking.
August 22, 2017 at 8:26 pm #267661In reply to: How can I edit this page?
dhsllc
ParticipantI think you are referring to the message that appears after the registration page is submitted. If so, it’s not a different page or something you can turn-off anywhere (as far as I know). The message appears on register.php.
To modify it, you’ll want to make a copy of it, edit it then add it to your child theme: mytheme/buddypress/members/register.php
August 22, 2017 at 8:22 pm #267660In reply to: registration page styling
dhsllc
ParticipantI didn’t have a big problem with the look of the registration but the little cosmetic changes I made with handled with CSS. However, the message that appeared after the form was submitted, that needed work.
To customize it, I made a copy of register.php, modified the section where the message appeared and added this new directory in my child theme > mytheme/buddypress/members/register.php
Looks much better now. Hope this helps.
August 22, 2017 at 9:36 am #267655Peter Hardy-vanDoorn
ParticipantTry this plugin. It hasn’t been updated for 2 years, but it works perfectly for me.
Adds these options to the visibility options: ‘Admin’, ‘Everyone (Admin Editable)’ and ‘Only Me (Admin Editable)’
Hope that helps
August 22, 2017 at 9:21 am #267654In reply to: CSS causing cover image to disappear.
awpt
Participantanyone solved this problem? When I get the css file from buddypress plugin to the css folder in my theme it doesnt show it too.It saves the cover image because when I remove the file I can see it but the problem is when i make changes on the css file I can also see the changes.
Is there any required php file to integrate it in the correct mode?
A screensho from my theme the black background is from just a css command not an image.
https://s2.postimg.org/f8lwj34o9/Schermata_2017-08-22_alle_10.37.16.png
August 21, 2017 at 7:24 pm #267646In reply to: url > permalink
shanebp
ModeratorThis is the BuddyPress support site.
Try asking on the bbPress support site.August 20, 2017 at 11:23 am #267623In reply to: Custom Code
Abdullah Al Mamun
Participant@peter-hamilton Im using BuddyPress Xprofile Custom Fields Type plugin too.
August 20, 2017 at 11:07 am #267622In reply to: Custom Code
Abdullah Al Mamun
Participantbuddypress – bp-templates – bp-legacy – buddypress – members – single – settings.php?
Here inside i added:
<div class=”item-list-tabs no-ajax” id=”subnav” aria-label=”<?php esc_attr_e( ‘Member secondary navigation’, ‘buddypress’ ); ?>” role=”navigation”>
-
<?php if ( bp_core_can_edit_settings() ) : ?>
<?php bp_get_options_nav(); ?>
link text
<?php endif; ?></div>
But its not working.
-
AuthorSearch Results