Forum Replies Created
-
In reply to: Need Global Activity Stream
That is part of BP – usually here:
yoursite.com/activity/You may need to go to wp-admin > Settings > BuddyPress > Pages and assign a page to ‘Activity Streams’.
If you don’t have a Page with the slug ‘activity’, create one and leave it blank.In reply to: Hide page title on profile page onlyTry this in your theme/functions.php
function shanebp_the_title( $title, $id ) { if ( bp_is_user() ) if ( $title == bp_get_displayed_user_fullname() ) $title = ''; return $title; } add_filter( 'the_title', 'shanebp_the_title', 100, 2 );In reply to: Lost search functionIt’s not in members-loop.php.
It’s in this file:
buddypress\bp-templates\bp-legacy\buddypress\members\index.phpHave you tried any of the methods available via google search?
For example:How To Stop Search Engines From Indexing Specific Posts And Pages In WordPress
These forums are for BuddyPress.
Please contact me via the PhiloPress website.Have you considered WC Vendors Maps ?
In reply to: All Groups not showing in the DirectoryHave you momentarily changing to a theme like WP 2015?
To confirm that the issue is not related to your theme?You’ll need custom code for that.
For example: http://www.buddyboss.com/product/buddyboss-reply-by-email/In reply to: Order by custom field in member loopYou should use this approach:
https://codex.buddypress.org/plugindev/add-custom-filters-to-loops-and-enjoy-them-within-your-plugin/WP and BP will serialize, if necessary, any user_meta or xprofile data.
If you try to save a serialized array, it will treat it as a string and add slashes.Is
$field->namea serialized array? Dump it and find out.
Try some other values ( array, string, int ) and see howxprofile_set_field_datahandles it.In reply to: removing DELETE from activity streamAre you referring to the Delete button on an activity item?
If so, create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\activity\entry.php
And then remove this line:
<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>In reply to: Can’t see members in “members” pageYou should at least see yourself.
A member will not appear on the members page until they have logged in at least once.
If one or more of your members have logged in and still do not appear on the members page, then there may be an issue with your theme.
To find out, try switching momentarily to a WP theme like 2015.In reply to: Edit profil pageYou will find all those templates in the BP plugin in this directory:
buddypress\bp-templates\bp-legacy\buddypress\members\single\If you want to change a file, you should create a template overload.
In reply to: Securing User DashboardThis is a WP question, not specific to BP.
Try:
function seth_no_dashboard() { if ( is_admin() ) { if ( ! is_user_logged_in() ) { wp_safe_redirect( site_url() ); exit; } } } add_action( 'wp_ready', 'seth_no_dashboard' );<?php if ( ! bp_is_my_profile() : ?>You don’t need that plugin.
Instead, try this in your theme/functions.php or in bp_custom.php
function lisa_remove_xprofile_links() { remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); } add_action('bp_setup_globals', 'lisa_remove_xprofile_links');In reply to: Problem with cover in profile memberThere is info on this codex page about replacing the default cover css.
In reply to: Problem with cover in profile memberYou should ask the plugin author. Post your question on the support forum for BuddyPress Cover Photo.
If you are using BP v. 2.4 or greater, you don’t need that plugin – profile cover photos are part of BP.
You should set up a test site so that you can do a proper evaluation.
Answers:
1. The reg form will include any profile fields you place in the ‘Base’ profile group.
2. Each member has a page that includes profile editing.
3. All active members are shown on the ‘Members’ page. That page can include profile details.
In reply to: How to create new tabs in Groups?Use the Group Extension API. Bit of a learning curve, but powerful once you get it.
In reply to: Getting bp user infoHave you tried using
bp_loggedin_user_domain()?
It returns the full url.In reply to: New templates??There is a project re new templates. You can join the effort. More info…
In reply to: New templates??You can overload the BP templates in your theme. Read this…
Some sections do not use ajax. Changing them to ajax will be a huge task.
In reply to: Show member’s groups in members loopPut this in your theme/functions.php or in bp-custom.php
In reply to: Private Messaging Questions1. Yes – If a site admin, on your profile > Messages > Compose… [checkbox] This is a notice to all users.
2. Yes with https://wordpress.org/plugins/crowdmentions/
3. No
4. Yes – per user setting on whether they want such emails: Profile > Settings > Email