Search Results for 'buddypress'
-
AuthorSearch Results
-
November 11, 2011 at 9:23 am #124162
Gautam Thapar
MemberJust to add to the information I have php 5.2
Using the default wordpress .htaccess file.
November 11, 2011 at 8:40 am #124159In reply to: Friendship Request Error
@mercime
ParticipantChange to the BuddyPress default theme and see if same behavior applies
November 11, 2011 at 6:30 am #124155In reply to: Member since
KatyP
MemberThis is for everybody who wants to edit the BuddyPress Member Profile Stats plugin so that it will read “[username] has been a member since [date]” instead of “[username] has been a member since [x] days ago.”
#1. Open buddypress-member-profile-stats/bp-member-profile-stats.php in the Editor
#2. Find where it reads:
`apply_filters( ‘etivite_bp_member_profile_stats_get_member_registered’, esc_attr( bp_core_time_since( $bp->displayed_user->userdata->user_registered ) ) );`
#3. Paste in this right underneath it:
`function etivite_filter_override_member_registered( $content ) {
global $bp;return date( “F j, Y”, strtotime( $bp->displayed_user->userdata->user_registered ) );
}
add_filter(‘etivite_bp_member_profile_stats_get_member_registered’,’etivite_filter_override_member_registered’);`I made a further modification. I didn’t want it to read [username]. At first I thought I’d change it to FirstName Last Name, but then I decided that I just wanted it to read that they joined my site on that date. Here’s what I did.
I found where it reads:
`function etivite_bp_member_profile_stats_get_member_since() {
return ‘‘. bp_get_displayed_user_username() .’‘. __( ‘ has been a member for ‘, ‘bp-member-profile-stats’ ) .’‘. etivite_bp_member_profile_stats_get_member_registered() .’.‘;`
And I changed it to:
`function etivite_bp_member_profile_stats_get_member_since() {
return ‘‘. __( ‘ Joined … on ‘, ‘bp-member-profile-stats’ ) .’‘. etivite_bp_member_profile_stats_get_member_registered() .’.‘;
}`where … is the name of my site.
Hope this helps whoever is looking for this type of modification!
Best of luck to everyone out there!November 11, 2011 at 5:19 am #124154In reply to: From Roadmap, basic privacy
Steve
ParticipantHi @piermaria
Have you had any luck upgrading the plugin to be compatible with BuddyPress 1.5? How much will this cost?
November 11, 2011 at 1:28 am #124149In reply to: [Resolved] Missing Join Group button in list view
oddzuki
MemberVERY simple solution once @mercime helped. All that was needed was this added:
Instead of this:
http://cl.ly/3G06003q282I1O1J0C2T
It should have been this:
http://cl.ly/2X0c0F3H0H1N3B3L1t3s
Thanks for the help!
November 11, 2011 at 1:13 am #124148mustangus
MemberHi @Mercime, thank you so much for your reply. The most relevant example from both examples that you put in your e-mail is: http://testbp.org/groups/the-mr-topp-group/forum/topic/my-hat-is-awesome/
The posts are organized in a way that the oldest posts are on top and to see the newest posts you have to scroll down, sometimes for many pages if number of posts are big. What I am trying to find out is how to change the order of the posts to display new posts on top and old ones could go on the bottom. I’ve done a lot of research in the past 2 weeks and changed SQL values in WordPress to ASC but it does not seem to work. Seems like something in Buddy Press in overriding. Many thanks for your replyNovember 11, 2011 at 1:07 am #124147In reply to: [Resolved] Missing Join Group button in list view
oddzuki
Member@mercime Thanks. I’m looking into it now. Looking at the groups-loop on the theme I’m using seems like it’s calling for it properly, but it’s still not showing. Will report back once I find out the issue. Hopefully it’ll help someone else.
Edit: Looks like the “group-loops” are the exact same on the theme and the default theme. So I would assume that the issue is having the theme reference the default?
November 10, 2011 at 11:26 pm #124144In reply to: A new activities stream
candy2012
MemberThank you @modemlooper !
I don’t think I really know how to start on that …
I have tried this:
foreach( $activities->activities as $key => $activity ) {
if ( $activity->scope ==’friends’ || $activity->scope ==’just_me’) {
unset( $activities->activities[$key] );but it does not work, I mean I only get the friends but not my own posts

As far as I understood is the “scope” I need not the action types (I want all actions to show, but for friends and the current user only)
What am I doing wrong?
An other thing that I have noticed, when I click on the “All users” Tab, the site-wide activity is there all untouched, and this is definitely not supposed to hapen. I need to filter that fully out!
Just like Facebook! Imagine you loginto Facebook and get the billions of user activity statuses rolling in front of your eyes …
I guess it has to be checked somehow that the displayed activity belongs to the current-user friends only …
but how !??!November 10, 2011 at 10:48 pm #124141In reply to: Privacy????
Ben Hansen
Participant@DJPaul sorry man just thought i would try to do what i could client is impatient and the issue seems to be in limbo and quite important to quite a few people didnt mean to be rude.
November 10, 2011 at 10:47 pm #124140justbishop
Member@boonebgorges, thanks, and I have to ask why would you advise against doing it? Having those duplicates in the activity stream is actually an extremely bad thing for my site, because they are essentially items for sale. If a user is able to view the copy of a post made to my main site by the SWT plugin (as you are able to on certain posts that have been natively posted to one of my network’s child sites), the “add to form” cart renders using MY paypal info, rather than the seller’s info, as it does when you view the item on their site!
Here is an example of a child site post (copied to the main site via SWT) that you can get to via one of the duplicate activity entries:
http://www.riotcart.com/blog/2011/01/30/medium-juliette-skirty/
And here is the item on the seller’s own site (a child site on my network):
http://www.riotcart.com/hedgieshideaway/?p=115
As you can imagine, it’s extremely important that users/front-end viewers are NOT given the option of which version (the original or the copy to the main site) they’d like to click into!
@nahummadrid, I honestly have no idea what was going on. Like I mentioned, as soon as I removed the “before_blog_post” and “after_blog_post” BP codes from around my query for the featured post, the problem was non-existent, and I was able to just use the block activity stream types plugin you had recommended

For the record, here is my query for the featured post. I use the Featured Content Showcase plugin for various reasons, but it displays a slideshow. All I wanted was one static, random post with an image, title, and excerpt on each page load, so I dug around and found the meta key/velue that the FCS plugin was adding to posts marked as featured, and ran with it:
`$args=array(
‘orderby’ => ‘rand’,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘numberposts’ =>1,
‘post_type’ => ‘post’,
‘meta_key’ => ‘_fcs_featured’,
‘meta_value’ => ‘true’,
);$latest = get_posts($args);
$count = 0;
foreach($latest as $post) {$blogid = get_post_meta($post->ID, ‘blogid’, true);
$image = get_post_meta($post->ID, ‘thumbnail’, true);
$title = get_post_meta($post->ID, ‘_fcs_title’, true);
$text = get_post_meta($post->ID, ‘_fcs_text’, true);
if ( empty($title) ) {
$title = get_the_title($post->ID);
}if ( empty($text) ) {
$text = $post->post_excerpt;
if ( post_password_required($post) ) {
$text = __(‘There is no excerpt because this is a protected post.’);
} elseif ( !empty($post->post_excerpt) ) {
$text = apply_filters(‘get_the_excerpt’, $post->post_excerpt);
} else {
$text = $this->_makeExcerpt($post->post_content);
}
}`November 10, 2011 at 10:36 pm #124138In reply to: Another post about privacy
Paul Wong-Gibbs
Keymaster@ubernaut, no need to cross-post this sort of thing on 4 posts. It’s not polite. I’m locking this topic.
November 10, 2011 at 10:36 pm #124137In reply to: Still no privacy??
Paul Wong-Gibbs
Keymaster@ubernaut, no need to cross-post this sort of thing on 4 posts. It’s not polite. I’m locking this topic.
November 10, 2011 at 10:11 pm #124136jjkob
ParticipantDid you ever get this working Chris? I see that the BuddyPress Real Names plugin has not been updated for some time — has a new/better plugin emerged to replace this one?
November 10, 2011 at 10:08 pm #124135In reply to: [Resolved] Missing Join Group button in list view
@mercime
Participantstarts with bp_group_join_button https://buddypress.trac.wordpress.org/browser/tags/1.5.1/bp-groups/bp-groups-template.php#L1507
shows up via bp_directory_groups_actions in https://buddypress.trac.wordpress.org/browser/tags/1.5.1/bp-themes/bp-default/groups/groups-loop.php#L57
November 10, 2011 at 9:44 pm #124134@mercime
Participant@mustangus default behavior is displaying the newest/latest posts on any topic first in either the
group forums e.g. http://testbp.org/forums
or the sitewide forums e.g. http://testbp.org/discussion/Which of the two kinds are you referring to?
November 10, 2011 at 9:03 pm #124128@mercime
ParticipantSite URL? Did you develop the customized BP theme or did you download it elsewhere? Some customized BP or BP-default child themes make it more complicated to change the layout while others are much easier to implement new layout.
November 10, 2011 at 8:46 pm #124127Nahum
Participant@justbishop so you were featuring posts using Activity Items for blog posts on the index, how are you doing that? I mean the block activity stream types would have always been the fix I think to get rid of those dupes. I’ve done it plenty of times with the snippet I added earlier and including using the fix from wpmuguru, I’ve always been able to eliminate dupes. So really the only problem holding you back was your index post feature-feature, um yea that thing. Wouldn’t you say that was holding you back here?
November 10, 2011 at 8:36 pm #124126In reply to: Please help to resolve the issue on my theme
@mercime
Participant@im3sna No worries, I get what you mean. What theme are you using? If you are using a WordPress theme, then you have to install and activate the BP Template Pack plugin and go through the compatibility process.
https://wordpress.org/extend/plugins/bp-template-pack/installation/
https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/November 10, 2011 at 8:08 pm #124124@mercime
Participant@brygiles please start a new topic where you should also provide more information so we can assist you. Like: WP/BP version? WP theme used? Site URL? https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/
@candy2012 Sorry for the inconvenience, this site is in transition. In the meantime, Google has indexed our forums pretty well. e.g. Google BuddyPress.org candy2012 and some keywords
November 10, 2011 at 6:31 pm #124113In reply to: Where are my sub-menus? – Graphene Theme
@mercime
Participant== I have installed randy candy! ==
Sorry, the developer has not updated that theme for BP 1.5 compatibility
https://codex.buddypress.org/releases/1-5-theme-compatibility/November 10, 2011 at 5:46 pm #124106brygiles
MemberPlease.. i need help… don’t know how to get my way around here..
how do I change the front color or the background color of buddypress in wordpress theme? How can i extend membership sign up questions?tHANK YOU
November 10, 2011 at 5:10 pm #124102In reply to: Call-time pass-by-reference has been deprecated
@mercime
ParticipantThat specific call-time-pass-by-reference issue has been resolved in trunk. If you want to remove the warnings in your install, open up buddypress/bp-xprofile/bp-xprofile-classes.php and on line 751 replace
` `
with
` `November 10, 2011 at 5:01 pm #124101In reply to: Blog directory
Muhang
Member@justbishop thanks for the tip, I’ll see if I can get what I want from it
November 10, 2011 at 5:00 pm #124100Ron Rennick
ParticipantWill your mention of @wpmuguru send them a notification?
Yes it does

The meta key is sitewide_tags_blog and it contains an array. However if you want to disable SWT on a single blog / site I have a post here: http://wpmututorials.com/plugins/turn-off-sitewide-tags-on-special-blogs/
November 10, 2011 at 4:56 pm #124098@mercime
ParticipantWP/BP versions? Change to bp-default theme to check if it’s an issue with your custom theme. If that’s not the case, then deactivate plugins except BuddyPress to check if it’s a plugin conflict.
-
AuthorSearch Results