Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,101 through 12,125 (of 69,016 total)
  • Author
    Search Results
  • #243798

    In reply to: Profile looks weird

    danbp
    Participant

    Gardenia 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 buddypress and another one in this folder called css

    Go 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.js

    Go to dashboard > Appearrance > Theme and activate Gardenia-child.

    Done ! The theme shows BuddyPress properly.

    #243797
    bigkahunaburger
    Participant

    Found it. The internet is written in ink. šŸ˜›

    http://web-archive-me.com/page/1845294/2013-04-09/http://modemlooper.me/allow-youtube-embed-in-buddypress-profile-fields/

    While you are here… It seems to be working great. It’s a bit old. Do you think it will cause any security or other issues with the current version of BP?

    Thanks again.

    #243792
    Naisai
    Participant

    You know what! Hahaha I didnt know you could scroll the code-box. So, I saw the word ‘country when I posted it into the buddypress editor. Silly me…

    But unfortunately…it didnt work There are no delete buttons to the profile fields.

    #243779
    danbp
    Participant
    #243778
    navyak
    Participant

    If we do bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&scope=just-me,friends,following’) we are getting user and friends activitybut we are not getting following activity stream

    Followers is coming from buddypress-followers pugin..

    #243777
    danbp
    Participant

    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 $data exist, 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.

    danbp
    Participant
    #243770
    navyak
    Participant

    Thanks for the reply, Yes your right we have filtering option of Personal,Mentions,Following,Favorites,Partners,Groups differently in acivity stream of buddypress so in that we need to merge Personal, Following and Friends to personal activity order by date

    So when we have activity in friends or following both will come to personal(Activity) by this when we click on Activity we will get Personal, Following and Friends activities.

    I have searched more but i didn’t get , merge of Following to personal.

    #243766
    danbp
    Participant

    @wp_starter,

    ratings and reviews button are not part of BuddyPress. Search in your plugins or theme.
    CSS rules for something like #item-header-content are generally added via style.css of a child-theme or via specific theme settings.

    ctuxboy
    Participant

    Hello,

    – I activate the original WP twentyfifteen-theme, and i see no errors in the developer console (Chrome browser)

    Is this an issue? Have more people this?
    Can i adding manually the private button links?

    This are the installed plugins:
    – All In One WP Security
    – Black Studio TinyMCE Widget
    – Bowe Codes
    – BP Registration Options
    – Bp Stickers
    – BuddyPress Members only
    – BuddyPress
    – Child Theme Configurator
    – Contact Form 7
    – Duplicator
    – Events Manager
    – FB like notification for buddypress
    – Loco Translate
    – Page Builder by SiteOrigin
    – Peter’s Login Redirect
    – Really Simple CAPTCHA
    – SiteOrigin Widgets Bundle
    – User Switching (deactivated for the moment!)
    – WP Statistics

    The strange thing is that all the buttons showing correctly in the user profiles when nothing a friend.

    (sorry for my bad english!)

    #243756
    danbp
    Participant

    @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.

    #243751

    In reply to: Profile looks weird

    danbp
    Participant

    Hi @repterra,

    if you use a child theme with 2015, please read here about the new (since 2.3) Companion Style Sheet:

    BuddyPress Companion Stylesheets

    djsteveb
    Participant

    @jrunfitpro “there wasn’t a good answer for my question” –
    I think you should of imply replied to your previous (not dupe) thread – would keep things more tidy.
    Also you never reported back what your optimize press people had any details about the issue.

    anyhow, with your setup I wonder..
    “not pulling from certain pages ”
    – what exactly is not being pulled?
    from pages?
    posts?
    multi-site sub blogs?
    Pulled from media comments?

    If you switch to default 2014 theme – does it work then?

    If you use 2014 theme and disable all other plugins (and mu-plugins and bp-custom if you have those) aside from BP is the issue resolved?

    If “not pulling from certain pages” still does not work with 2014 and all other plugins removed, then you may find the answer on the other threads and solution hunting things posted:

    Post comments not appearing in activity stream?


    (and those items linked in comments from there)

    If “not pulling from certain pages” does work fine with 2014 as theme and other plugins disabled – then it’s an issue with your other theme or plugins (or combo of them).

    #243743
    djsteveb
    Participant

    @jrunfitpro
    Why you start new thread for exact same question as before you?!
    ( https://buddypress.org/support/topic/has-anyone-figured-out-how-to-use-optimize-press-2-and-bp-site-tracking/ )

    maybe delve into searching the forums..

    similar questions and answers 4 days ago -https://buddypress.org/support/topic/post-comments-not-appearing-in-activity-stream/

    or point your optimize press to search the forums and codex here and find the fix if you can’t figure it out.

    I don’t think you will find a lot of help here with a premium theme and it’s specific issues. Especially since there has been no new information provided.

    #243742
    Henry Wright
    Moderator

    xProfile data is a BuddyPress thing and user meta is a WordPress thing. Which one you use will depend on whether you plan to always use BuddyPress. If not then taking the user meta approach will ensure your plugin will work on all WordPress installs (even when BuddyPress is deactivated).

    #243740

    In reply to: BuddyPress Sitemap?

    Henry Wright
    Moderator

    The best advice I can give is to look at how some of the already-available plugins do it. XML Sitemaps is a good one to learn from. It might not cover BuddyPress pages but I’ve used it in the past and it worked great for me.

    danbp
    Participant

    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/

    #243727
    danbp
    Participant
    #243706
    danbp
    Participant
    #243701
    danbp
    Participant

    You 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:

    Posting Activity from Plugins

    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

    #243695
    bfchris2
    Participant

    Here’s what I have done so far:

    /activity/entry.php

    <!-- BEGIN Custom Commenting Buttons -->
    
    				<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>
    
    <!-- END Custom Commenting Buttons -->

    (Just grabbed the button code for ā€œunfavorite/favoriteā€, so I could have placeholders for my 2 custom buttons)

    /bp-custom.php
    (code taken from bp-activity-functions.php, well the is_spam piece).

    
    // Mark each as milestone
    	foreach ( (array) $activities['activities'] as $activity ) {
    
    		// Create an activity object
    		$activity_obj = new BP_Activity_Activity;
    		foreach ( $activity as $k => $v ) {
    			$activity_obj->$k = $v;
    		}
    
    		// Mark as milestone
    		bp_activity_mark_as_milestone( $activity_obj );
    
    		// Tidy up
    		unset( $activity_obj );
    	}
    
    	// Mark all of this user's activities as milestone
    	$wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET is_milestone = 1 WHERE user_id = %d", $user_id ) );
    	
    		// Mark each as momentum point
    	foreach ( (array) $activities['activities'] as $activity ) {
    
    		// Create an activity object
    		$activity_obj = new BP_Activity_Activity;
    		foreach ( $activity as $k => $v ) {
    			$activity_obj->$k = $v;
    		}
    
    		// Mark as momentum point
    		bp_activity_mark_as_momentum( $activity_obj );
    
    		// Tidy up
    		unset( $activity_obj );
    	}
    
    	// Mark all of this user's activities as momentum point
    	$wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET is_momentum_point = 1 WHERE user_id = %d", $user_id ) );
    

    Hope this helps make sense of things somewhat.

    Chris

    #243688
    danbp
    Participant

    You can use it for free, but have to customize it with your own logotype.
    See plugin repo how other plugins use it:
    https://wordpress.org/plugins/search.php?page=1&q=buddypress

    Official logos and colors for BP are here:

    Official Logos and Typeface

    BP is under same GPL license as WordPress.
    https://wordpress.org/about/license/

    #243678
    Ben Riga
    Participant

    ok I figured this out. And I was in fact missing something pretty fundamental. I was copying from the \bp-themes\bp-default\ folder instead of from \bp-templates\bp-legacy\buddypress. Once I fixed that it all came together.

    Can someone explain the difference between the two folders. FWIW, the bp-legacy name was throwing me off. The word legacy to me hinted at something that was deprecated so I had assumed I should stay away from there.

    The support topic https://buddypress.org/support/topic/how-to-create-template/ set me straight.

    Thanks,
    Ben

    #243676
    bfchris2
    Participant

    @danbp:

    Here’s what I have done so far:

    /activity/entry.php

    <!-- BEGIN Custom Commenting Buttons -->
    
    				<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>
    
    <!-- END Custom Commenting Buttons -->

    (Just grabbed the button code for “unfavorite/favorite”, so I could have placeholders for my 2 custom buttons)

    /bp-custom.php
    (code taken from bp-activity-functions.php, well the is_spam piece).

    
    // Mark each as milestone
    	foreach ( (array) $activities['activities'] as $activity ) {
    
    		// Create an activity object
    		$activity_obj = new BP_Activity_Activity;
    		foreach ( $activity as $k => $v ) {
    			$activity_obj->$k = $v;
    		}
    
    		// Mark as milestone
    		bp_activity_mark_as_milestone( $activity_obj );
    
    		// Tidy up
    		unset( $activity_obj );
    	}
    
    	// Mark all of this user's activities as milestone
    	$wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET is_milestone = 1 WHERE user_id = %d", $user_id ) );
    	
    		// Mark each as momentum point
    	foreach ( (array) $activities['activities'] as $activity ) {
    
    		// Create an activity object
    		$activity_obj = new BP_Activity_Activity;
    		foreach ( $activity as $k => $v ) {
    			$activity_obj->$k = $v;
    		}
    
    		// Mark as momentum point
    		bp_activity_mark_as_momentum( $activity_obj );
    
    		// Tidy up
    		unset( $activity_obj );
    	}
    
    	// Mark all of this user's activities as momentum point
    	$wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET is_momentum_point = 1 WHERE user_id = %d", $user_id ) );
    

    Hope this helps make sense of things somewhat.

    Chris

    shanebp
    Moderator

    It’s a lot easier just to turn off avatars if the user is not logged in.
    Try this in your theme functions.php or in bp-custom.php.

    function fresser_turn_off_avatars() {
         $bp = buddypress();
    	
         if ( ! is_user_logged_in() )
    	$bp->avatar->show_avatars = false;
    	
    }
    add_action('bp_core_set_avatar_globals', 'fresser_turn_off_avatars' );
Viewing 25 results - 12,101 through 12,125 (of 69,016 total)
Skip to toolbar