Forum Replies Created
-
In reply to: Profile looks weird
You may adjust existing menus or use the buddypress menu.
In reply to: BuddyPress and Global Hide Admin ToolbarPlugin author stopped support on wp.org repo since a few weeks.
sLaNGjIs Team do not provide support on wordpress.org forum and reviews system!If you get an issue, you have to ask here now https://github.com/sLaNGjI
This is also the reason why nobody answered to your question on support….FYI, i found this in the plugin review ! You’ve nothing to loose to try that.
In plugin’s ReadMe, it’s stated that:
* Work on all WordPress version from 3.1+ to 4.2+
* Compatible with bbPress and BuddyPress (for front-end hide).BuddyPress settings has an option to show/hide the Toolbar to users, which is working properly since a while. I’m not aware of any toolbar trouble who should be resolved in BP’s core in regard of a third party plugin.
Conclusion: don’t use a plugin who has no decent support. Do it yourself or search another plugin. Sorry !
In reply to: Profile looks weirdOk, let’s try something different.
Add a file called functions.php to child root
/child/functions.php
Copy/paste this, including php tags<?php // enqueuing the child to parent - don't remove */ function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); /********************** CUSTOM STUFF **********************************/ // other custom function ?>Inside child’s BuddyPress folder, you can remove anything except CSS and JS folder.
In reply to: Profile looks weirdI tested successfully this method applied to Gardenia (free version) before posting it here. Retry. You can also ask the theme author.
In reply to: Database error after upgrade to WP4.3/BP2.3.3Hi @reggie3,
wp_bp_user_blogs_blogmetatable exist only on a multisite install. Unlike all WP tables while 4.3 update, BP tables structure where’nt modified to utf8mb4 during 2.3.3 update.Was the site still in network mode before the update ?
In reply to: Incorrect Member Profile URL in Notificationshi @tr1stessa,
unable to reproduce your issue.
Do you use a specific plugin for notification ?
Have you tested by using a twenty theme and all plugins deactivated except BP ?
Enable also wp_debug in wp-config and report here if you get some error.In reply to: custom profile fieldsare you sure you want to show a list of over 80 cities ? Have you ever scrolled such a long list on a mobile (usage 2014) ?
Please, read here:
https://buddypress.org/support/topic/list-of-countrystatecity/In reply to: Profile looks weirdGardenia is not BP ready.
Create first a child theme. Add a new folder to wp-content/thems/
wp-content/themes/gardenia-child/
Now add a new file and call it style.css
Copy this header comment into it (/* & */ included):/* Theme Name: Gardenia-child Description: child theme Version: 1.0 Author: XXX Template: gardenia */Save.
In that folder, add another one called
buddypressand another one in this folder calledcssGo to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/css/ and copy buddypress.css file into the css folder you created in the child theme.
In legacy/buddypress/ directory, is a js folder. Copy the whole folder into child’s buddypress directory.
End result should be:
/gardenia-child/
/gardenia-child/style.css/gardenia-child/buddypress/css/buddypress.css
/gardenia-child/buddypress/js/buddypress.js
/gardenia-child/buddypress/js/password-verify.jsGo to dashboard > Appearrance > Theme and activate Gardenia-child.
Done ! The theme shows BuddyPress properly.
In reply to: How to merge friends and followers to personalIn reply to: How do I refer to a member’s name in their profile?See here:
https://buddypress.org/support/topic/bp_field_has_data-show-message-when-empty-field/The snippet is checking for empty fileds. This is not what you want. Simply remove ! before $data, so it will check that
if $dataexist, do something. Exclamation point means “not”.Use
add_filter( 'bp_before_member_header_meta filter', 'your_function_name' );to add custom things to profile header and
add_filter ( 'bp_directory_members_item', 'your_function_name' );for members directory.One thing is sure: all buttons showing up on a default install of WP/BP using a Twenty theme.
I recommand you built a local site where you can test your customization before applying them to live site.
Use WAMPP or XAMPP or MAMPP and start with a clean WP/BP install + Twenty Fifteen, so you can see the buttons. Once ok, you test your original theme (not the child) as already told you by Shane.
In reply to: How to merge friends and followers to personalThis is already avaible, at least for friends. Not sure what you mean by Following, Favorites perhaps ?
When you’re on a profile activity tab, there is a pre-filtered sub-nav menu (aside the activity dropbox) containing by default: Personal – Mentions – Favorites – Friends – Groups
Each item leads to specified activity belonging to this profile.Merging all this, or part of it, to a same tab is not a good idea.
In reply to: Remove ratings and #item-header-contentratings and reviews button are not part of BuddyPress. Search in your plugins or theme.
CSS rules for something like#item-header-contentare generally added via style.css of a child-theme or via specific theme settings.In reply to: Restrict User to join BP Groups@sharmavishal,
read from here:
https://buddypress.org/support/topic/resolved-restricting-users-to-one-group/See if you can do something with 2nd plugin mentionned in topic. If not able, you have to ask for on Group Hierarchy support.
We only support BuddyPress here.
In reply to: Buddypress & BBPress SignatureThere is a way, if you use BBPress Signature. 😉 Modifying bbp_get_reply_content filter.
Here an example fetching 3 xprofile fields called Signature, Industry and Type. Change it to your need. Code goes into bp-custom.php or child theme functions.php
function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) { // Default arguments $defaults = array( 'separator' => '<hr />', 'before' => '<div class="bbp-reply-signature">', 'after' => '</div>' ); $r = wp_parse_args( $args, $defaults ); extract( $r ); // Verify topic id, get author id and potential signature $reply_id = bbp_get_reply_id ( $reply_id ); $user_id = bbp_get_reply_author_id( $reply_id ); // Get fields data. Caution: name is case sensitive. if(function_exists('bbpress') ) { $signature = xprofile_get_field_data( 'Signature', $user_id ); $wowi = '<br>'. xprofile_get_field_data( 'Service', $user_id ); $wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id ); } else { $signature = bbp_get_user_signature ( $user_id ); } // If signature exists, adjust the content accordingly if ( !empty( $signature ) ) $content = $content . $separator . $before . $signature . $wowi . $wowt . $after; return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator ); } if ( !is_admin() ) { // remove the original BBPress filter remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 ); // add our custom filter add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 ); }May this help. 😉
In reply to: Buddypress xProfile Rich Text FieldxProfile Rich Text Field plugin related question have to be asked on the plugin support.
In reply to: Profile looks weirdHi @repterra,
if you use a child theme with 2015, please read here about the new (since 2.3) Companion Style Sheet:
is there an other setting ? No other setting in BP.
Deactivate the child and use original Fifteen while testing.
– no error message ? No JS error in console (browser tool) ?
A similar topic here, with other advice
https://buddypress.org/support/topic/private-message-button-only-appears-sometimes/In reply to: buddypress-activity-stream-hashtagsTry to ask on Github, from here:
https://github.com/hwdsbcommons/buddypress-activity-stream-hashtags/issuesSorry to ask this, but are Friend Connections and Private messaging enabled in BP settings ?
What happend when you deactivate all plugins ?
Hi @ctuxboy,
What have you done before the button disappeared ?
Activate wp_debug in wp-config.php and see if you get some error message.
You may also test with one of Twenty theme, to see i it comes up with a strict WP standard theme.
And also deactivate all plugins, except BP, and reactivate them one by one to eventually find a culprit.Control also your custom function if you added some in theme’s functions.php or bp-custom.php
And of course, you’re encouraged to update to BP 2.3.3 ! 😉
In reply to: Create Function When Favorite Button ClickedYou may also follow this similar topic
https://buddypress.org/support/topic/add-new-user-activity-on-button-click/In reply to: Create Function When Favorite Button ClickedYou didn’t explain what you want to do. What should Momentum and Milestone do ? Where are they living ? Are this activty types or CPT, something from a plugin ?
As is, your second snippet do nothing from within bp-custom. Function name is missing and eventually filter or action name also.
Insert your buttons by using the meta action filter which is avaible in entry.php
function bfchris() { echo 'Button test >'; ?> <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav bp-secondary-action" title="<?php esc_attr_e( 'Is Milestone?', 'buddypress' ); ?>"><?php _e( 'Is Milestone?', 'buddypress' ); ?></a> <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav bp-secondary-action" title="<?php esc_attr_e( ' Is Momentum Point?', 'buddypress' ); ?>"><?php _e( 'Is Momentum Point?', 'buddypress' ); ?></a> <?php } add_action( 'bp_activity_entry_meta' , 'bfchris' );Read from here for global information:
Here for an example:
https://buddypress.org/support/topic/cant-seem-to-get-bp-2-2s-post-types-activities-working/And here for what you have to do for your specific activities
Add custom filters to loops and enjoy them within your plugin
In reply to: The usage of BuddyPress logoYeah, great !