Search Results for 'buddypress'
-
AuthorSearch Results
-
August 12, 2015 at 3:51 pm #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.
August 12, 2015 at 10:52 am #243079atfpodcast
ParticipantI 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.
August 12, 2015 at 10:30 am #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?
August 12, 2015 at 9:22 am #243072In reply to: How to change the activity avatar size
danbp
ParticipantThe 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 calledwhats-new-avatarand the class isphoto.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 likeul#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. ๐
August 12, 2015 at 6:29 am #243070In reply to: How to change the activity avatar size
ajay25
ParticipantHi,
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; }August 11, 2015 at 9:36 pm #243060In reply to: [Resolved] Add Count Near Nav Menu
danbp
ParticipantI 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.

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 !
August 11, 2015 at 8:14 pm #243056In reply to: [Resolved] please help me change css in php
Quinn Goldwin
ParticipantSpecial thanks to Brajesh Singh at Buddy Dev for coming up with a solution!
August 11, 2015 at 7:03 pm #243053danbp
ParticipantSee here if you can make it to work !
https://buddypress.org/support/topic/xprofile-just-show-first-letter-of-last-name/#post-182839August 11, 2015 at 7:01 pm #243052In reply to: How to change the activity avatar size
ajay25
ParticipantHi,
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.
August 11, 2015 at 4:19 pm #243033In reply to: Why BuddyPress activity stream No sharing?
lo133
ParticipantThank 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 allAugust 11, 2015 at 4:00 pm #243030In reply to: Unable to start a fresh BP install
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…
August 11, 2015 at 12:47 pm #243023danbp
ParticipantAugust 11, 2015 at 12:30 pm #243018In reply to: How to change the activity avatar size
danbp
ParticipantWhen 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; }August 11, 2015 at 12:22 pm #243017In reply to: how to use with asp.net
danbp
ParticipantThis is not a BuddyPress related question. Please read here:
https://codex.wordpress.org/Installing_on_Microsoft_IIS
http://www.microsoft.com/web/wordpressAugust 11, 2015 at 12:19 pm #243016In reply to: How to change the activity avatar size
ajay25
ParticipantHi 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.
August 11, 2015 at 12:09 pm #243014In reply to: How to change the activity avatar size
danbp
ParticipantNote: I am using the default theme of buddypress.
Weird ! Have you tried with Twenty Fifteen ?
First, read here:
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 ? ๐August 11, 2015 at 11:51 am #243011In reply to: Why BuddyPress activity stream No sharing?
danbp
ParticipantHi @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)August 11, 2015 at 10:44 am #243009danbp
ParticipantMention 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; }August 11, 2015 at 7:38 am #242998In reply to: Why BuddyPress activity stream No sharing?
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.
August 11, 2015 at 6:13 am #242994In reply to: Why BuddyPress activity stream No sharing?
lo133
ParticipantYes, Follow friends, forwarding activities, social networking sites the most basic functions, BuddyPress is a freak, I could not find plug-in
August 10, 2015 at 11:32 pm #242991In reply to: Why BuddyPress activity stream No sharing?
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?
August 10, 2015 at 10:23 pm #242989danbp
ParticipantOnly thing i understand from default.css concern gallery and images rules.
If you don’t want them, remove them or usedisplay:none;bp-default styles are in bp-default/_inc/css/default.css
To overide, you use a child-theme containing a style.css fileAugust 10, 2015 at 10:13 pm #242988In reply to: requesting codex edit capability
danbp
Participanthaha, @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 !August 10, 2015 at 6:14 pm #242979In reply to: How users can link to their profile
danbp
Participanthi @nnyorker,
usebp_get_loggedin_user_link()For example
echo '<li><a href="'. bp_get_loggedin_user_link() .'">View my profile</a></li>';Reference
August 10, 2015 at 5:13 pm #242978In reply to: Hide friendshp in sitewide activity stream
danbp
Participanthere 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 -
AuthorSearch Results
