Search Results for 'buddypress'
-
Search Results
-
Topic: Site Wide Activity
Hi All
I am a little bit confused and I think I might be reading something wrong.
I am trying to work out how to activate site wide activity. I am reading the instructions on this page:
but I cannot work it out.
Sorry – can someone help please?
RichHi!
I’m having some hard time with the following:
I want to place my profile avatar (item-header-avatar) from the header to the left from my item-nav and eventually delete the header section.
I’m editing the member-header.php file through my child-theme ( using Kleo-theme ). I thought it would be as easy as copying the div from item-header-avatar and pasting it after <ul class=”responsive-tabs”> but after loading the webpage it does not work.
So my code looks like this:
<?php/**
* Fires after the display of a member's header.
*
* @since 1.2.0
*/
do_action( 'bp_after_member_header' ); ?><?php if ( sq_option( 'bp_nav_overlay', 0 ) == 1 ) : ?>
<div id="item-nav">
<div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Member primary navigation', 'buddypress' ); ?>" role="navigation">
<ul class="responsive-tabs">
<div id="item-header-avatar" class="rounded">
"><?php bp_displayed_user_avatar( 'type=full' ); ?>
<?php do_action('bp_member_online_status', bp_displayed_user_id()); ?>
</div><!-- #item-header-avatar --><?php bp_get_displayed_user_nav(); ?>
<?php
/**
* Fires after the display of member options navigation.
*
* @since 1.2.4
*/
do_action( 'bp_member_options_nav' ); ?></div>
</div>
<!-- #item-nav -->
<?php endif; ?>
Thankyou!!
Topic: Two membership directory
Hi,
I need to create two membership directory with different fields and settings in my website. Is it possible using BuddyPress and how I do that?For example,
This code will be launched in before loading “Profile Page”.function buddypress_profile_layout() { global $bp; if (BP_XPROFILE_SLUG != $bp->current_component) return false; wp_enqueue_script('test', 'http://example.com/wp-content/themes/twentyfifteen-child/js/test.js', array('jquery'), '1.0', true); } add_filter('wp_enqueue_scripts', 'buddypress_profile_layout');But,
I want a code that launched in after loading “Notifications page”.Would you mind teaching me how to do that?
Thanks.
Topic: Child-theme style.css
I have tried to add BuddyPress to my child-theme.
My object is to change the layout of the register and activate form.So I have created the following folder structure:
\wp-content\themes\child-theme\buddypress\members\In this folder I placed two files:
index-register.php = same content as \wp-content\plugins\buddypress\bp-themes\bp-default\registration\index-register.php
index-activate.php = same content as \wp-content\plugins\buddypress\bp-themes\bp-default\registration\index-activate.phpThis seems to work, but the layout of the forms is completely wrong, all input boxes are not aligned etc. So then I checked this forum and saw that it might be a good idea to import a stylesheet from buddypress in the child-theme folder.
So I added the following line to \wp-content\themes\child-theme\style.css
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );This fixes the aligning problem, but totally destroys the full width layout of the site.
The sidebard is destroyed and the background color is wrong etc. etc.Is there a way to edit the register and activate form with only overrides, and leave the default styling in tact?
Any help appreciated!
Hello
I would like to restrict the visibility of the following tabs to only be visible to the logged in member:
Activity – Favorites
Activity – Friends
Favorites – Groups
Forums – FavoritesTo me it doesn’t really make sense that I can see the activity of other members friends, their favorites and the activity of groups that I have not yet joined.
I read here https://codex.buddypress.org/themes/bp-custom-php/ that I can create a bp-custom.php file which I did. Now I only need the code to hide those fields form everyone except the member him/herself.
Thank you very much!