Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,201 through 12,225 (of 68,951 total)
  • Author
    Search Results
  • #243086

    In reply to: Photo upload

    djsteveb
    Participant

    @ricsca2 – upload a photo to become your profile pic / user avatar – is built in buddypress.

    uploading pics to your activity stream / albums stuff like that – is possible by adding other plugins. Currently rtmedia plugin is most popular, although likely not the most loved ๐Ÿ˜‰

    a newer one – “media press” is gaining stream –

    and it’s been reported that “https://buddypress.org/support/topic/wp-photo-album-plus-works-100-with-buddypress/ ” – which looks very interesting.

    There has been suggestions and some debate about including additional photo / media uploads as part of core BP –

    Personally I think everyone should work on import / export options – or something that converts data from any photo plugin to provide the new bp-attachments info so things could be changed.. right now if you get users into one system I do not know of any way to switch to a different plugin.

    I don’t know if your question was about a “profile photo” or photos (plural) in general – but there’s some info for ya.

    #243079
    atfpodcast
    Participant

    I was using an addon that hid the admin bar from non admins and i noticed that most info in buddypress can be accessed from there I tried

    show_admin_bar( true ); in functions.php but it’s not showing up.

    #243075
    @mercime
    Participant

    @atfpodcast Sorry, not quite clear what you mean. What exactly do “other BuddyPress themes have for the profile” that you want? Can you post a link to the other BP themes profile page URI so we can identify what you mean?

    #243072
    danbp
    Participant

    The mistake comes from you ! You probably confused bp-legacy and bp-default. You must use the id’s and classes used by bp-default theme, not thoose comming from buddypress legacy templates.

    BP-default was designed to be used by BP < 1.7/1.9. Now, BP can be used with any theme…

    When you check for CSS names, read the page source (right click on browser screen > show source).

    First screenshot is the whats-new form. You highlighted the CSS and can see that it has nothing to do with the css rule you try to apply to activity avatar.
    The div there is called whats-new-avatar and the class is photo.

    Code source is in bp-default/activity/post-form.php

    Try
    div#whats-new-avatar .photo {}

    Idem for the second screenshot. It’s the activity page of bp-default theme, which use different names as the actual buddypress template.

    Bp-default theme is building a list for activities. Means you’re in a ul/li serrie. Avatars are somewhere inside a li.
    You have to try something like

    ul#activity-stream .photo {}

    All concerned templates are in bp-default/activity/

    Can’t help you more as i stopped to use bp-default since a few years now. Simply keep in mind that you’re working on an old theme which has not much to do with the way BP is currently handling with themes.

    Codex contains some old reference to bp-default if you have other issue with that theme.

    Keep your eyes open and have a nice day. ๐Ÿ™‚

    #243070
    ajay25
    Participant

    Hi,

    Completely deleted the functions.php from child theme and bp-custom.php from the plugins folder. Used only the below mentioned code in style.css file which is located in the child theme. Unable to know where I am doing the mistake. There was no change after I did this.

    /*
    Theme Name: My Theme
    Theme URI: http://example.org/themes/dusk/
    Description:
    Version: 1.0
    Author: Admin
    Author URI:
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */
    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }
    #243060
    danbp
    Participant

    I tested the snippet on Buddy theme, so i’m pretty sure you have a user menu. This menu is on WP’s Toolbar. You see it when you’re logged in.

    counter menu on Buddy theme

    To choose an item position, you have to do it differently, as explained here:

    [Resolved] Position Notification Counter Bubble after Specific Navigation Tab ID

    For more about menu handling and functions, see WP Codex, as this is not really related to BuddyPress. Now it’s your turn to work a little !

    #243056
    Quinn Goldwin
    Participant

    Special thanks to Brajesh Singh at Buddy Dev for coming up with a solution!

    change css with php in wordpress / buddypress

    danbp
    Participant
    #243052
    ajay25
    Participant

    Hi,

    I added the above mentioned code in the style.css of my child theme an the result is negative.

    Code that I added to the style.css is as mentioned below.

    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }

    I checked the same in “twentyfifteen” theme and the issue is the same.

    #243033
    lo133
    Participant

    Thank you for your answer, but like you said, BuddyPress not google +, not Twitter, not facebook, but it is not a normal social networking sites, long live, long live, I find the plug-in, that is bp-reshare, see: http://premium.wpmudev.org/forums/topic/a-plugin-that-allow-users-to-share-status-update-on-bp

    I love bp-reshare
    I love BuddyPress
    I love you all

    #243030
    djsteveb
    Participant

    @toggerybob
    change your permalinks to pretty permalinks in the wordpress settings,
    then activate bp.. then go run through the config / page associations (https://codex.buddypress.org/getting-started/configure-components/ )

    should be good to go at that point.. you may need to create a few blank “pages” like activate and register – or they may populate…

    #243023
    danbp
    Participant
    #243018
    danbp
    Participant

    When you override CSS, use !important to get the new rule to work. Cibling the ID is also a good practice in this case.

    #buddypress div.activity-avatar img.avatar {
    height: 40px!important;
    width: 40px!important;
    }
    #243017
    danbp
    Participant

    This is not a BuddyPress related question. Please read here:

    https://codex.wordpress.org/Installing_on_Microsoft_IIS
    http://www.microsoft.com/web/wordpress

    #243016
    ajay25
    Participant

    Hi Danbp,

    Thank you for the reply.

    Yes, I went through the document that you have suggested and only after that I did as mentioned above by me.

    In the document, it is mentioned as below.

    “BuddyPress allows for changing the default avatar sizes using a constant. These constants are set up in /bp-core/bp-core-avatars.php. If you want to change their values, you will need to create and/or edit your bp-custom.php file. Here are the available options:

    define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );”

    But this only changes the avatar but not the avatar that is in the activity stream.

    #243014
    danbp
    Participant

    Note: I am using the default theme of buddypress.

    Weird ! Have you tried with Twenty Fifteen ?

    First, read here:

    Customizing BuddyPress Avatars

    Try to add the define to your child-theme functions.php, instead of bp-custom.

    Spare bandwidth… define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 640 ); Are you sure you want to allow such a big size for a picture who use as max full width a default size of only 150 px ? ๐Ÿ˜‰

    #243011
    danbp
    Participant

    Hi @lo133,
    there is nothing out for what you’re looking for. Answering to “why” is easy, even if it sounds ridiculous: because BP is not FB or Twitter or Google. @djsteveb already gave some other good advice.

    Basically, BP is using the built-in favorite feature and doesn’t “share” activities from one to one user, but from one to all. To get individual activities, users have to go to a profile.

    That said, maybe considering one of these solution could help you ?

    New Plugin Adds BuddyPress Activity as a Wire/Wall to User Profiles


    http://buddydev.com/plugins/facebook-like-user-activity-stream-for-buddypress/ (premium)

    danbp
    Participant

    Mention stuff is in buddypress/bp-activity/css and buddypress/bp-activity/js

    To modify the text color of the name list, add this into your child-theme style.css.
    Use !important for the new rule.

    .atwho-view {	
    color: #e30472!important;
    }
    #242998
    djsteveb
    Participant

    @lo133 – So – you want to find something within your own buddypress site – and click to share this on your “friend’s activity / all” ? – I THINK your friends can see activity of their friends with a simple click (eg – /members/admin/activity/friends/ ) – so anything you have shared on your profile would display in that feed..

    Or (and?) – you want to be on another web site and share something from some other place onto your own activity wall? (I think that is easiest done with wpmudev’s activity plus plugin)

    There IS an option to kind of send something to your friend’s “wall” – on their profile if you click “public message” then it opens a box and adds @myFriendsName… which kind of does what you may be asking about.

    I would imagine there would be a cool modification to the WP “press this” button code – where a person may be able to highlightsomething and include a list of friends to @MyFriendsName them – however I think it could get bloated if you have a lot of friends…

    I myself think it better to just post an activity update and if your friends want to see it then can click to see friend’s activity – or you could make that display the default display when people log in … and if you needed to get a site notification to someone – say post a picture of a sunset – it shows in your activity, and your friend’s would see it on friend’s activity – and if that sunset reminded you of someone particular, you would @MyFriend Mention them – and they MAY get a notification sent to them.

    Still not exactly sure what content you are wanting to share with friends, and where you think that should show up.

    It may be that you want to customize how activity is displayed to logged in users and solve what you are going for. Not sure really.

    #242994
    lo133
    Participant

    Yes, Follow friends, forwarding activities, social networking sites the most basic functions, BuddyPress is a freak, I could not find plug-in

    #242991
    djsteveb
    Participant

    “Do you understand?” – I still do not understand what you are asking about. Sorry.

    Maybe you mean… while using your buddypress web site you want to share an activity with your other “friends” within buddypress or something?

    #242989
    danbp
    Participant

    Only thing i understand from default.css concern gallery and images rules.
    If you don’t want them, remove them or use display:none;

    bp-default styles are in bp-default/_inc/css/default.css
    To overide, you use a child-theme containing a style.css file

    #242988
    danbp
    Participant

    haha, @hnla <3 the side effect of wp’s teaser:
    One central account.
    One unified admin area.
    One click install.

    … how long whould it take to finally repair & make this forum and codex pages to work correctly, with a clear admin ?

    2008 – BuddyPress is born.
    2015 – shoemakerโ€™s son always goes barefoot !

    #242979
    danbp
    Participant

    hi @nnyorker,
    use bp_get_loggedin_user_link()

    For example
    echo '<li><a href="'. bp_get_loggedin_user_link() .'">View my profile</a></li>';

    Reference

    bp_get_loggedin_user_link

    #242978
    danbp
    Participant

    @bruce7075,

    here a complete solution you can use for friends privacy.

    – Whe’re going to show the friends menu only to… friends !
    – We remove friends activity.

    Copy this to bp-custom.php

    function bpfr_maybe_hide_friends_nav_etc() {
    	$retval = false;
    	
    	if ( bp_is_user() && ! bp_is_my_profile() && ! friends_check_friendship( bp_displayed_user_id(), bp_loggedin_user_id() ) ) {
    		$retval = true;
    	}
    	
    	return $retval;
    }
    
    function bpfr_hide_friends_nav_to_non_friends() {
    	
    	// Stop if condition is not filed
    	if ( ! bpfr_maybe_hide_friends_nav_etc() ) {
    		return;
    	}
    	// otherwise, we remove the nav
    	bp_core_remove_nav_item( 'friends' ); // bp topnav
    	bp_core_remove_subnav_item( 'activity', 'friends' ); //bp subnav (my activities, my groups, etc)
    }
    add_action( 'bp_ready', 'bpfr_hide_friends_nav_to_non_friends' );
    
    // we want also to remove all friends related activities to non friends
    function bpfr_hide_friends_activity_type_to_non_friends( $activity_action = array(), $component_id = '' ) {
    	
    	// if condition is not filed we go back to original output
    	if ( 'friends' != $component_id || ! bpfr_maybe_hide_friends_nav_etc() ) {
    		return $activity_action;
    	}
    	
    	// otherwise, we remove member from context
    	$activity_action['context'] = array_diff( $activity_action['context'], array( 'member' ) );
    	
    	return $activity_action;
    }
    add_filter( 'bp_activity_set_action', 'bpfr_hide_friends_activity_type_to_non_friends', 10, 2 );

    Related topic (other solution, or strict answer to your question) ๐Ÿ˜‰
    https://buddypress.org/support/topic/documentation-for-remove_action-activity-streams/#post-242974

Viewing 25 results - 12,201 through 12,225 (of 68,951 total)
Skip to toolbar