Search Results for 'buddypress'
-
AuthorSearch Results
-
August 5, 2009 at 8:29 am #50627
marcaurel75
ParticipantDoing more research I found the following thread in the wp-forum:
https://wordpress.org/support/topic/273413?replies=2:
—-
Mippe: P2 brokes äÄ öÖ åÅ letters when editing. That pretty much sums it all up.
noel (Administrator): We’re aware of the issue and will fixing this in the next release.
But I am still unsure: This problem then occurs only with WordPress MU?
August 5, 2009 at 8:24 am #50625marcaurel75
ParticipantI deactivated the BP-plugin. Problem remains. So it’s probably an issue with WordPress MU and the P2-theme?!
August 5, 2009 at 7:39 am #50624In reply to: External Blogs
Paul Wong-Gibbs
KeymasterYou can view the roadmap at https://buddypress.org/about/roadmap and find for yourself. As Jeff Sayre posted a couple of months back, if you have a question for Nicola, send him a message on this site.
This post would be two or three months old and out-of-date if it hadn’t kept being bumped by people asking “is it out yet?”. I am tempted to close this thread.
August 5, 2009 at 7:35 am #50623Paul Wong-Gibbs
KeymasterTry removing or disabling BuddyPress. Does this problem still occur on WordPress MU?
August 5, 2009 at 5:18 am #50618In reply to: Make width fixed to 900px?
Mike
Participantyep, you can with some css. the parts you wanna tweak are #header and #main, if i remember correctly. you can also download the Avenue K9 theme from this page https://buddypress.org/extend/themes/ to help you get started, which is optimized for those pesky 1024×768 screens.
August 5, 2009 at 4:38 am #50617mumbler
MemberThanks so do you change it in both? Can’t you have them all the same?
Also, I believe the css is changable via GUI or on the admin webpage can this be done or do I have to directly edit the css code by hand?
TIA!
August 4, 2009 at 10:55 pm #50609In reply to: How do I edit widgets?
Mohit Kumar
ParticipantRoscosys – Please be clear what you want to edit. You can definitely edit the slugs just read this
https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/
and the core hack is not advisable – it means we dont advise editing the widget file as it will be overridden when you upgrade.
August 4, 2009 at 7:54 pm #50603In reply to: Update status
belogical
Participantor you could download the latest trunk
August 4, 2009 at 7:27 pm #50600In reply to: Update status
Paul Wong-Gibbs
KeymasterThat’s a new feature coming in the next release of BuddyPress, which I believe to be coming in a couple of weeks.
August 4, 2009 at 5:25 pm #50597hatiro
ParticipantI’m having the same issue as described above in that when I add pages to the blog that buddypress is active on they are being highlighted as member pages in the navigation bar, even though according to the is_page rules the member page should only highlight when the BP_MEMBER_SLUG is identified. For some reason all .com/######/ are being highlighted as member pages (well those that are not main blog, groups or blogs anyway
…I will try and mess around with the bp_is_page vs is_page as r-a-y suggests. I also use dreamweaver for editing code but have never rewrite code on phph enabled so can’t see that as being the issue.
August 4, 2009 at 4:41 pm #50594In reply to: External Blogs
peterverkooijen
ParticipantWas this functionality now part of the roadmap for Buddypress? Did Andy or other Buddypress developers get Nicola Greco’s code?
I’ll bring this up on the WPMU forum as well.
August 4, 2009 at 4:34 pm #50593In reply to: How to get a section identifier in the body tag?
peterverkooijen
ParticipantThe default templates have body_class() in the body tag. The function body_class() is in post-template.php in the wp-includes folder:
function body_class( $class = '' ) {
// Separates classes with a single space, collates classes for body element
echo 'class="' . join( ' ', get_body_class( $class ) ) . '"';
}Function get_body_class() is in the same file:
/**
* Retrieve the classes for the body element as an array.
*
* @since 2.8.0
*
* @param string|array $class One or more classes to add to the class list.
* @return array Array of classes.
*/
function get_body_class( $class = '' ) {
global $wp_query, $wpdb, $current_user;
$classes = array();
if ( 'rtl' == get_bloginfo('text_direction') )
$classes[] = 'rtl';
if ( is_front_page() )
$classes[] = 'home';
if ( is_home() )
$classes[] = 'blog';
if ( is_archive() )
$classes[] = 'archive';
if ( is_date() )
$classes[] = 'date';
if ( is_search() )
$classes[] = 'search';
if ( is_paged() )
$classes[] = 'paged';
if ( is_attachment() )
$classes[] = 'attachment';
if ( is_404() )
$classes[] = 'error404';
if ( is_single() ) {
$wp_query->post = $wp_query->posts[0];
setup_postdata($wp_query->post);
$postID = $wp_query->post->ID;
$classes[] = 'single postid-' . $postID;
if ( is_attachment() ) {
$mime_type = get_post_mime_type();
$mime_prefix = array( 'application/', 'image/', 'text/', 'audio/', 'video/', 'music/' );
$classes[] = 'attachmentid-' . $postID;
$classes[] = 'attachment-' . str_replace($mime_prefix, '', $mime_type);
}
} elseif ( is_archive() ) {
if ( is_author() ) {
$author = $wp_query->get_queried_object();
$classes[] = 'author';
$classes[] = 'author-' . sanitize_html_class($author->user_nicename , $author->user_id);
} elseif ( is_category() ) {
$cat = $wp_query->get_queried_object();
$classes[] = 'category';
$classes[] = 'category-' . sanitize_html_class($cat->slug, $cat->cat_ID);
} elseif ( is_tag() ) {
$tags = $wp_query->get_queried_object();
$classes[] = 'tag';
$classes[] = 'tag-' . sanitize_html_class($tags->slug, $tags->term_id);
}
} elseif ( is_page() ) {
$classes[] = 'page';
$wp_query->post = $wp_query->posts[0];
setup_postdata($wp_query->post);
$pageID = $wp_query->post->ID;
$classes[] = 'page-id-' . $pageID;
if ( $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_parent = %d AND post_type = 'page' LIMIT 1", $pageID) ) )
$classes[] = 'page-parent';
if ( $wp_query->post->post_parent ) {
$classes[] = 'page-child';
$classes[] = 'parent-pageid-' . $wp_query->post->post_parent;
}
if ( is_page_template() ) {
$classes[] = 'page-template';
$classes[] = 'page-template-' . str_replace( '.php', '-php', get_post_meta( $pageID, '_wp_page_template', true ) );
}
} elseif ( is_search() ) {
if ( !empty($wp_query->posts) )
$classes[] = 'search-results';
else
$classes[] = 'search-no-results';
}
if ( is_user_logged_in() )
$classes[] = 'logged-in';
$page = $wp_query->get('page');
if ( !$page || $page < 2)
$page = $wp_query->get('paged');
if ( $page && $page > 1 ) {
$classes[] = 'paged-' . $page;
if ( is_single() )
$classes[] = 'single-paged-' . $page;
elseif ( is_page() )
$classes[] = 'page-paged-' . $page;
elseif ( is_category() )
$classes[] = 'category-paged-' . $page;
elseif ( is_tag() )
$classes[] = 'tag-paged-' . $page;
elseif ( is_date() )
$classes[] = 'date-paged-' . $page;
elseif ( is_author() )
$classes[] = 'author-paged-' . $page;
elseif ( is_search() )
$classes[] = 'search-paged-' . $page;
}
if ( !empty($class) ) {
if ( !is_array( $class ) )
$class = preg_split('#s+#', $class);
$classes = array_merge($classes, $class);
}
return apply_filters('body_class', $classes, $class);
}So I guess I could just add this to the code:
if ( bp_is_page( BP_MEMBERS_SLUG ) )
$classes[] = 'members';Etc.
Should I copy this function to functions.php in the template, perhaps rename it, and add the lines for ‘members’ and ‘groups’ etc.?
Or should I aim for a shorter function that only adds something to what this code generates? Would that be possible?
Trying the blunt approach first…
Edit: I’ve tried with that BP_MEMBERS_SLUG line added directly to post-template.php, with $bp in global, but nothing shows up in the body tag.

What am I missing? Is Buddypress bypassing post-template.php anyway? The only class is “directory”.
August 4, 2009 at 1:24 pm #50587plrk
Participantyou can put your changes in a custom.css file in the theme (the same folder as the style.css) file. that way your changes will not be lost when you upgrade the themes.
note that there are two theme folders, one for the home theme and one for the member theme.
August 4, 2009 at 12:31 pm #50585dakoo
Participantthat is because i have a very complex interface, where i want to display thumbnails for every post. 20 of them in rows of two etc… So i am not sure if i can change the properties of widgets to accommodate all this…
Can u confirm ?
August 4, 2009 at 12:26 pm #50584academatic
Participantwp-content>themes>bphome theme>style.css
August 4, 2009 at 12:21 pm #50580plrk
ParticipantWhy not use the widget?
August 4, 2009 at 10:51 am #50579In reply to: Public blog not visible on site
welshpixie
ParticipantUpdate –
It appears that this is a problem for any user who created their blog as ‘hidden’ and now want to change it to ‘public’ post-buddypress-install.
Their blog appears on the sitewide blog list, appears on the sitewide activity when they make a post, appears under their ‘recent posts’ tab from the profile as well as any comments on their blog under the ‘recent comments’ tab, but clicking ‘blog’ on their member profile still says ‘This user hasn’t created any public blogs yet’.
Help! Argh! >.<
August 4, 2009 at 7:19 am #50577In reply to: Disable Create Group and Create Group Blog
magznetwork
ParticipantI use BP 1.03 with WPMU 2.82.
I found GroupBlog plugin here and need to test it first.
https://buddypress.org/forums/topic/new-groupblog-plugin#post-19308
August 4, 2009 at 6:57 am #50575In reply to: Using buddypress Dashboard instead of WP's
Paul Wong-Gibbs
Keymastermarking this as resolved
August 4, 2009 at 5:10 am #50573In reply to: default theme colors
plrk
Participantbuddypress uses two themes – the home theme, which you have edited, and the member theme, which you can find in /wp-content/bp-themes/bpmember/.
August 4, 2009 at 2:17 am #50571Andy Peatling
KeymasterThis is a bug in WPMU with deactivation, it’ll be fixed in the next release.
August 3, 2009 at 11:31 pm #50570In reply to: Using buddypress Dashboard instead of WP's
arezki
ParticipantThanks folks. Glad to hear I did not miss that one.
August 3, 2009 at 10:25 pm #50569In reply to: Announcing: Events component
ajonesma
ParticipantI just uploaded the plugin and followed all the installation instructions and when I go to the events pages in my buddypress install it comes with a “Error Permission denied page” I have deleted and reinstalled this plugin a couple times, is there something else I should be doing?
August 3, 2009 at 7:08 pm #50564In reply to: Using buddypress Dashboard instead of WP's
plrk
ParticipantNaming the buddypress.org dashboard “Dashboard” was perhaps a mistake…
August 3, 2009 at 6:19 pm #50561In reply to: Using buddypress Dashboard instead of WP's
Paul Wong-Gibbs
KeymasterThere isn’t. The Dashboard on this site is a custom page, and is nothing to do with the WordPress admin backend.
-
AuthorSearch Results