Search Results for 'buddypress'
-
AuthorSearch Results
-
February 17, 2014 at 10:25 pm #178571
Ben Hansen
Participantthis link might help you understand how the two work together:
multisite is just activated by a setting in your wordpress config file it can be done before or after buddypress but if you are starting from scratch id probably do the multisite first, then add any plugins.
February 17, 2014 at 8:57 pm #178567In reply to: Custom profile properties
shanebp
ModeratorCopy it to your theme or child-theme
See ‘Overloading Template Compatibility theme files’ here:
February 17, 2014 at 8:44 pm #178565In reply to: Custom profile properties
shanebp
ModeratorThe easiest path is just to add a conditional to an override of this template:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\edit.phpThe name field is, I believe, always:
input type="text" name="field_1" id="field_1"So in the template, change this:
if ( 'textbox' == bp_get_the_profile_field_type() )to:
if ( 'textbox' == bp_get_the_profile_field_type() && 'field_1' != bp_get_the_profile_field_input_name() )and add an ‘else’ to just show the name value – bp_the_profile_field_edit_value()
February 17, 2014 at 7:54 pm #178561brinkingyellows
Participant@focallocal I saw that your site is running 1.9.2 now. What was it that you did to get the update working?
I tried to update to 1.9.2 and I am still getting the same result. No content on the User and Group pages. I was hoping that with the 1.9.2 version they may have fixed any sort of little issues that remove the pages of Buddypress altogether.
February 17, 2014 at 5:22 pm #178557In reply to: Root profiles deprecated in 1.9.2?
John James Jacoby
KeymasterRoot profiles are not deprecated, though we have some planned obsolescence for almost all of our global constants, moving them into functions with filters and/or options.
Our rewrite rules improvements for BuddyPress 2.0 will ideally enable any component to exist at a root level. At the time that code was written, it solved an immediate problem for us, but going forward this feature should not be exclusive to profiles.
February 17, 2014 at 4:43 pm #178553In reply to: Activate and Register pages are missing
SubstreamAI
ParticipantUpdate: As a test I tried the MesoColumn theme which is well rated and supposed to be BuddyPress compatible. It made no difference, I cannot get the 2 pages created.
February 17, 2014 at 3:32 pm #178544shanebp
ModeratorIn your theme dir, create an over-ride of this file.
buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.phpHow to over-ride a BP template
In the over-ride, remove this code:
<div class="action"> <?php do_action( 'bp_directory_members_actions' ); ?> </div>February 17, 2014 at 2:13 pm #178535In reply to: BP multisite registration issues main & sub-sites
Ayman
ParticipantI have never tried to use “BuddyDev bp multinetwork” but as you described your problem it looks like it has something to do with “BuddyDev bp multinetwork” and not BuddyPress it self. To be more specific I think you should recheck your domain mapping settings.
February 17, 2014 at 9:41 am #178526snowflakesonal
ParticipantDirectly modifying bp_activity_filter_kses() function in bp-activity-filters.php with the following code isn’t helping either: style tag is still getting stripped from the activity stream. Before the last Buddypress upgrade, the same code was working.
$activity_allowedtags[‘div’] = array();
$activity_allowedtags[‘div’][‘style’] = array();
$activity_allowedtags[‘div’][‘style’][‘width’] = array();
$activity_allowedtags = apply_filters( ‘bp_activity_allowed_tags’, $activity_allowedtags );February 17, 2014 at 6:11 am #178523In reply to: Urgent – Website down!
alnasirkarim
ParticipantWhy does buddypress blank out my Dashboard?
February 17, 2014 at 2:19 am #178521aquapan
ParticipantOk either people can’t answer this question or it is being ignored and I have no idea why.
I may just have to skip using buddypress on my main network site if this can’t be answered : (
Disappointed.
February 16, 2014 at 6:35 pm #178516In reply to: Monitoring Registered User?
February 16, 2014 at 12:31 pm #178508Henry Wright
ModeratorHi @josswinn
Is this ticket related to your problem by any chance?
February 16, 2014 at 7:37 am #178500In reply to: Problem with Activity Stream Buddypress 1.9.2
Richie KS
Participantrecon re-save bp pages settings in wp-admin->settings->buddypress
February 16, 2014 at 7:32 am #178499In reply to: modify twentyfourteen theme for buddypress
Richie KS
Participantmake sure the path is correct for activity.php in child theme.
should be themes/twentyfourteen-child/activity/your-file-to-edit-taken-from-bp-default-theme.php
and addadd_theme_support('buddypress');to child theme functions.phpFebruary 15, 2014 at 5:53 pm #178481In reply to: Including post categories in the activity stream
ewebber
ParticipantI have now done this by adding:
if( $post->post_type == 'post' ) { $activity_action = sprintf( __( '%1$s added the post, %2$s in the categories %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', get_the_category_list( ', ', '', $post->ID ) ); }Into my filter for recording posts and custom post types
February 15, 2014 at 3:59 pm #178476Joss Winn
ParticipantFor the record, I’ve narrowed it down to the ‘Activity Streams’ component of BuddyPress. When this is disabled, the problem does not occur.
February 15, 2014 at 8:47 am #178441In reply to: Urgent – Website down!
Prince Abiola Ogundipe
Participantit seems the error is from activity privacy plugin. if you have access, login to your cpanel and rename : buddypress-activity-privacy To buddypress-activity-priv
that will deactive the plugin and you can take it further from there.
Naijaping
February 15, 2014 at 5:58 am #178438In reply to: Another Custom Post Type in Activity Stream
ewebber
ParticipantI just did something like this for cpt “business” and “event”, but removed mention of multisite:
// add custom post type business to the activity stream add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types',1,1 ); function activity_publish_custom_post_types( $post_types ) { $post_types[] = 'business'; $post_types[] = 'event'; return $post_types; } add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { global $bp; if( $post->post_type == 'business' ) { $activity_action = sprintf( __( '%1$s created a new business listing, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' ); } if( $post->post_type == 'event' ) { $activity_action = sprintf( __( '%1$s created a new event, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' ); } return $activity_action; }February 14, 2014 at 11:47 pm #178434In reply to: change the "term" avatar to "profile photo"
Henry Wright
ModeratorI’m 99.87% sure the change-avatar URL (slug) is hard coded. See this ticket for more info:
February 14, 2014 at 10:38 pm #178427In reply to: Buddypress Profiles feature request
somethingelse
Participanthi again… hoping for a tiny bit of direction…
i have an editor working… sort of… it doesn’t save… and i know it’s one little tiny bit i’m missing here… just not sure what.
here’s what i’ve got in my theme file in theme>buddypress>members>single>profile>edit.php
<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php wp_editor( $listing->bp_the_profile_field_input_name, 'listingeditor', $settings = array('textarea_name' => post_content) ); ?> <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea> <?php endif; ?>i realize it’s duplicating… that’s fine… what i need to know is…
what do i need to fix in
<?php wp_editor( $listing->bp_the_profile_field_input_name, 'listingeditor', $settings = array('textarea_name' => post_content) ); ?>to make it SAVE that data into my xprofile field which by default is this
<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>i will comment out the latter (or delete it entirely once i have it all working)
it has all stopped making sense…
many thanks in advance…
February 14, 2014 at 9:58 am #178386Jen
ParticipantHi I’m wanting to just hide member profile pages, but keep all other BuddyPress pages public. I tried this code in my bp-custom.php, but it doesn’t work. Any ideas?
/* Prevent logged out users from accessing bp profile pages */ function nonreg_visitor_redirect() { global $bp; if ( bp_is_profile_component() { if(!is_user_logged_in()) { //just a visitor and not logged in wp_redirect( get_option('siteurl') . '/register' ); } } } add_filter('get_header','nonreg_visitor_redirect',1);February 14, 2014 at 1:52 am #178374In reply to: Hyperlink HTML Appears on BP Member Page
spbilleaud
Participant*Custom Header – End –>
*
* </header><!– #masthead –>
*
* <div id=”main” class=”wrapper”>
* <div id=”primary” class=”site-content”>
* <div id=”content” role=”main”>
*
*
* <article id=”post-0″ class=”post-0 bp_members type-bp_members status-publish hentry” *itemscope itemtype=”http://schema.org/Article”>
* <header class=”entry-header”>
* *<h1 class=”entry-title” itemprop=”headline”>Susan</h1>
* </header>
*
* <div class=”entry-content” itemprop=”articleBody”>
* <div id=”buddypress”>
*
*
* <div id=”item-header” role=”complementary”>February 14, 2014 at 1:42 am #178371In reply to: Hyperlink HTML Appears on BP Member Page
spbilleaud
ParticipantMore information: in the source code, the faulty link appears here–
//Custom Header – End –>
//
// </header><!– #masthead –>
//
// <div id=”main” class=”wrapper”>
// <div id=”primary” class=”site-content”>
// <div id=”content” role=”main”>
//
//
// <article id=”post-0″ class=”post-0 bp_members type-bp_members status-publish hentry” //itemscope itemtype=”http://schema.org/Article”>
// <header class=”entry-header”>
// //<h1 class=”entry-title” itemprop=”headline”>Susan</h1>
// </header>
//
// <div class=”entry-content” itemprop=”articleBody”>
// <div id=”buddypress”>
//
//
// <div id=”item-header” role=”complementary”>February 13, 2014 at 9:16 pm #178357In reply to: WordPress in it's Own Directory for BP2.0?
bigtreesjoe
ParticipantSo, are the minimum system requirements changing for BuddyPress 2.0 to support “Giving WordPress Its Own Directory”?
-
AuthorSearch Results