Search Results for 'buddypress'
-
AuthorSearch Results
-
January 26, 2016 at 8:43 am #249133
In reply to: where is edit this?
danbp
ParticipantDifferent message, but same answer as on your other topic:
https://buddypress.org/support/topic/where-is-edit-this-3/#post-249128Closing this one a duplicate.
January 26, 2016 at 8:37 am #249132danbp
ParticipantHi,
to modify the group directory sort order, you need a child-theme and a template overload of
groups/index.phpCopy this file from
bp-templates/bp-legacy/buddypress/groups/index.phpto child, to get the following path:
wp-content/themes/your-child-theme/buddypress/groups/index.phpIn this copy, modify the html of the selector you’ll find at line 82~86 so the alpha. sort is in first position instead of latest.
January 26, 2016 at 8:30 am #249130In reply to: Need some help with registration page
Slava Abakumov
ModeratorI don’t see my fix in the source code of the
/registerpage.
Does your theme have/members/or/buddypress/directory? If yes, please give me content of the file/members/register.phpor/buddypress/members/register.php.
If there is no such file, – give me the content of a file (and its name) where you put the code I gave you. You can use http://pastebin.com/ to post there code from file (and post here in a forum only links to those files from pastebin).January 26, 2016 at 8:16 am #249128In reply to: where is edit this?
danbp
ParticipantJanuary 26, 2016 at 4:40 am #249118In reply to: Registration Redirect in a Multisite
kalico
ParticipantHey, thanks for the advice, Brajesh! I actually intended for it to be network active — but I guess I need to be open to considering other alternatives. My multisite is for a single company. We were aiming to have users’ BuddyPress account dropdown information on the admin bar no matter what site they are on, and this setting (network active, but hosted in a secondary site) seems to have accomplished that (without making BuddyPress active in the primary site, which didn’t work for other reasons).
From your suggestion, and I correct in understanding that this behavior I’ve seen is indeed related to being network active, with a subsite root blog for BP defined?
January 26, 2016 at 1:39 am #249114In reply to: Setting up activated users with stored metadata
Xtremefaith
ParticipantStill working on this, I discovered something while debugging:
1) If I set my priority to 1 like so:
add_action('bp_core_activated_user', array( $this, 'setup_registration_metadata'), 1 );then in my
setup_registration_metadata()function I useadd_user_meta()to capture thefirst_name&last_namevalues at that point in time. Thankfully it makes an entry in the usermeta table with the expected value fromget_user_meta($user_id, 'first_name', true)2) Unfortunately, something else apparently is hooked afterwards (possibly a method from the “Enable BuddyPress to WordPress profile syncing”, which then overrides any value I had set for those fields so that in the end the WordPress fields are now incorrect or wiped.
It seems apparent to me that the “Enable BuddyPress to WordPress profile syncing” option is the culprit, but would that be a bug that the setting is grabbing the wrong values because even if I don’t hook into
bp_core_activated_userthe meta values that were successfully stored at registration are then wiped during activation? For example:- first_name becomes the username
- last_name is cleared completely
Setting the priority to 20 the results show that by that point the originally stored
meta_value(s) have already been wiped.January 25, 2016 at 9:24 pm #249110Slava Abakumov
ModeratorYou should definitely take a look at this ticket in BP trac – #6592.
It’s all about the future of emails in BuddyPress. Please test and provide your feedback there in a ticket. Thanks a lot!January 25, 2016 at 9:18 pm #249108In reply to: Creating a welcome page
Slava Abakumov
ModeratorIt’s nothing to do here with BuddyPress. Go to your membership plugin forum and ask there – they better know that plugin API and conditionals.
January 25, 2016 at 9:15 pm #249107In reply to: NOTHING FOUND FOR MEMBERS
Slava Abakumov
ModeratorCheck in
wp-adminarea yourSettings -> BuddyPress -> Pagessettings. All directories components should be associated with WP pages. WP pages should be published.January 25, 2016 at 9:13 pm #249106In reply to: Need some help with registration page
Slava Abakumov
ModeratorThe problem is with your theme.
The quickest fix is this:function the7_bp_register_fix(){ echo '<div style="clear:both"></div>'; } add_action('bp_custom_signup_steps', 'the7_bp_register_fix', 999999);Place this code into either bp-custom.php or functions.php of your (child) theme.
Ideally – contact your theme author and ask him/her/them to test the theme with BP.
January 25, 2016 at 9:09 am #249092In reply to: buddypress function reference
idowu
Participant@henrywright thank you for your response, but not so helpful. i need buddypress code reference; the list of buddypress functions. thank you
January 25, 2016 at 6:52 am #249090In reply to: buddypress function reference
Henry Wright
ModeratorThe closest you’ll find is the section for developers: https://codex.buddypress.org/context/developer/
January 25, 2016 at 5:57 am #249087In reply to: where is turn on forum & photo category?
Brajesh Singh
ParticipantDo you have bbPress plugin installed. If not, please install “bbPress” plugin and on its settings page, enable forums for BuddyPress. That will do it.
January 25, 2016 at 5:48 am #249085In reply to: Registration Redirect in a Multisite
Brajesh Singh
ParticipantIs your BuddyPress Network active? Deactivate and activate it only on the subsite. That should fix it.
January 24, 2016 at 11:50 pm #249079In reply to: Undefined index: position in Buddybar
ch1n3s3b0y
ParticipantThis is what I changed in functions.php. It was do to with adding subnav items, removing subnav items and renaming some of them:
/* BP Add subnavigation on profile */ add_action('bp_setup_nav', 'bp_profile_submenu_profile' ); function bp_profile_submenu_profile() { global $bp; if(!is_user_logged_in()) return ''; bp_core_new_subnav_item( array( 'name' => 'Seminar Bookings', 'slug' => 'seminar-bookings', 'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav['profile']['slug'] . '/' , 'parent_slug' => $bp->bp_nav['profile']['slug'], 'position' => 20, 'screen_function' => 'seminar_bookings' ) ); } function seminar_bookings() { add_action( 'bp_template_content', 'seminar_bookings_screen' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function seminar_bookings_screen() { locate_template( array( 'buddypress/members/single/profile/seminar-bookings.php' ), true ); } /* BP Remove unneeded subnav items */ function remove_bp_subnav_items() { global $bp; bp_core_remove_subnav_item('profile','change-avatar'); bp_core_remove_subnav_item('profile','change-cover-image'); } add_action( 'bp_setup_nav', 'remove_bp_subnav_items'); /* BP Rename subnav items */ function rename_bp_subnav_items(){ global $bp; $bp->bp_options_nav['profile']['edit']['name'] = 'Edit Profile'; $bp->bp_options_nav['profile']['public']['name'] = 'View Profile'; } add_action('bp_setup_nav', 'rename_bp_subnav_items', 201);The only time I had mentioned ‘position’ was when setting up a new subnav item.
January 24, 2016 at 2:16 pm #249061In reply to: Add option bp_get_options_nav on the profile page
ch1n3s3b0y
ParticipantUpdate: Figured it out. This post helped ALOT https://buddypress.org/support/topic/assigning-new-subnav-items/
January 24, 2016 at 10:17 am #249057In reply to: BB working great except Friends widget
arikg
Participant[Semi-resloved]
It appears that this is simply “how buddypress works”, the Friends widget only appears on the profile page.
However, I would still like this widget to appear on every post and page on the website. is that possible somehow?
mervinpearce
Participant*** Resolved ***
All I had to do is create a Register and Activate page under WordPress. As simple as that.Suggestion, can activation of BuddyPress Plugin not check for Register and Activate pages and if not found create default ones?
regards & thanks
January 23, 2016 at 2:13 pm #249038In reply to: Hide or delete tab Profile ( Base)
Hellbounds
Participant<?php /** * BuddyPress - Users Profile * * @package BuddyPress * @subpackage bp-default */ ?> <?php if ( bp_is_my_profile() ) : ?> <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <?php bp_get_options_nav(); ?> </ul> </div><!-- .item-list-tabs --> <?php endif; ?> <?php do_action( 'bp_before_profile_content' ); ?> <div class="profile"> <?php switch ( bp_current_action() ) : // Edit case 'edit' : bp_get_template_part( 'members/single/profile/edit' ); break; // Change Avatar case 'change-avatar' : bp_get_template_part( 'members/single/profile/change-avatar' ); break; // Change Cover Image case 'change-cover-image' : bp_get_template_part( 'members/single/profile/change-cover-image' ); break; // Compose case 'public' : // Display XProfile if ( bp_is_active( 'xprofile' ) ) bp_get_template_part( 'members/single/profile/profile-loop' ); // Display WordPress profile (fallback) else bp_get_template_part( 'members/single/profile/profile-wp' ); break; // Any other default : bp_get_template_part( 'members/single/plugins' ); break; endswitch; ?> </div><!-- .profile --> <?php do_action( 'bp_after_profile_content' ); ?>January 23, 2016 at 2:01 pm #249035In reply to: Hide or delete tab Profile ( Base)
Slava Abakumov
ModeratorTry
#buddypress .profile h5{display:none !important}January 23, 2016 at 1:01 pm #249031In reply to: Hide or delete tab Profile ( Base)
Hellbounds
Participantnot working ..
/* Theme Name: Sweetdate (shared on themelot.net) Description: More than a WordPress dating theme Author: SeventhQueen Author URI: http://themeforest.net/user/SeventhQueen Version: 2.9.2 Tags: dating, clean, responsive, creative, minimal, modern, landing page, social Text Domain: kleo_framework License: GNU General Public License License URI: license.txt */ @import url("assets/styles/app.css"); /* * DO NOT EDIT THIS FILE * * If you want to edit/add styles you need to enable the child theme and add your custom styles there. */ #buddypress .profile h4{display:none !important}January 23, 2016 at 12:59 pm #249030In reply to: Hide or delete tab Profile ( Base)
Slava Abakumov
Moderatorinto
style.cssof your theme. Also try this:
#buddypress .profile h4{display:none !important}January 23, 2016 at 12:41 pm #249029In reply to: Hide or delete tab Profile ( Base)
Hellbounds
Participantwhere add this
#buddypress .profile h4{display:none}style.css ? here i try but nothingJanuary 23, 2016 at 11:59 am #249024In reply to: Hide or delete tab Profile ( Base)
Hellbounds
ParticipantI dont have BuddyPress folder in template.
http://s10.postimg.org/9niz4ajq1/photo.jpg
I created the file folder and put all required and not disappear!
January 23, 2016 at 5:24 am #249023In reply to: Modify the activity loop
navinachettri
Participantwhy dont you try BuddyPress Activity Stream Bump to Top plugin
-
AuthorSearch Results