Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 35,251 through 35,275 (of 69,106 total)
  • Author
    Search Results
  • Just to add to the information I have php 5.2

    Using the default wordpress .htaccess file.

    #124159
    @mercime
    Participant

    Change to the BuddyPress default theme and see if same behavior applies

    #124155

    In reply to: Member since

    KatyP
    Member

    This 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! :D Best of luck to everyone out there!

    #124154
    Steve
    Participant

    Hi @piermaria

    Have you had any luck upgrading the plugin to be compatible with BuddyPress 1.5? How much will this cost?

    #124149
    oddzuki
    Member

    VERY 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!

    mustangus
    Member

    Hi @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 reply

    #124147
    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?

    #124144
    candy2012
    Member

    Thank 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 !??!

    #124141

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

    #124140
    justbishop
    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 :D

    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);
    }
    }`

    #124138
    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.

    #124137

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

    #124136
    jjkob
    Participant

    Did 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?

    #124135
    @mercime
    Participant
    @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?

    @mercime
    Participant

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

    #124127
    Nahum
    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?

    #124126
    @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/

    #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

    #124113
    @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/

    #124106
    brygiles
    Member

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

    #124102
    @mercime
    Participant

    That 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
    ` `

    #124101

    In reply to: Blog directory

    Muhang
    Member

    @justbishop thanks for the tip, I’ll see if I can get what I want from it :)

    #124100
    Ron Rennick
    Participant

    Will your mention of @wpmuguru send them a notification?

    Yes it does :D

    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/

    @mercime
    Participant

    WP/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.

Viewing 25 results - 35,251 through 35,275 (of 69,106 total)
Skip to toolbar