Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 20 replies - 1 through 20 (of 20 total)
  • Thanks I created it as an enhancement here
    https://buddypress.trac.wordpress.org/ticket/4184

    @mrjarbenne Thanks for the links, But those are paid plugins and I am all about the open source! especially if it is for wordpress

    @djpaul Hey was wondering if you might help me out with some idea concepts. I got the whole settings to work and added my own page to the nav bar, that part was easy. However I hit a topping point.

    I thought it would be easier to check if an update was part of a group AND if the user is part of that group. However I am finding it difficult to check this.

    I noticed that in the activity there is a item_id which if it is a group update it is the group Id … but is there any other way to check to see if the activity_update is a group other than this? What about changing the content type to activity_group_update or something… Right now I have this and it seems totally hackish and not good at all. Seems to work to check though but also is invalid for any other update other than a group one….
    ` global $current_user;
    get_currentuserinfo();
    $hide_public_groups = get_user_meta( $current_user->ID, ‘hide_public_groups’ );
    $hide_update = false;
    if ( $hide_public_groups[0] == “yes” ) {
    global $activities_template;
    $group_id = $activities_template->activity->item_id;

    $is_member_of_group = check_is_member_of_group( $current_user->ID, $group_id );
    //echo $is_member_of_group;
    if ( $is_member_of_group ) {
    //this is working but is filtering out any other post
    //need to check for if this is not a group post to just let it slide.
    //maybe it is better to grab the groups_loop real quick and then just query for this specific group and then make sure it is public and is member….
    //echo “no hide”;
    //var_dump($group);
    } else {
    //echo “hide it”;
    //$hide_update = true;

    }
    } `

    Also just a note the check_is_member_of_group i stole from the class Bp_Groups_Member…
    Any ideas anyone? I know this should be easier and I am way over thinking it.. It was late last night…

    Yeah That’s a good idea. Most of the users as of now use just the Main wall for viewing everything. Thanks for the tip and the response I was gonna start something tonight!


    username_
    Member

    @username_

    Hey @DJPaul Thanks for commenting. I created a ticket on the buddypress trac site.

    But in the mean time do you have any idea where I could look at the function that does this so I could have a look, and mess around with it? I like this feature and every post we make has IE comments in it to play flash videos in. So for now it always looks very weird for my users.

    Thanks!


    username_
    Member

    @username_

    Let em clarify again in case my posts didn’t make sense. Sorry I was in a hurry.

    When I post a new blog post in the wordpress dashboard, It usually gets posted to the main activity wall. This part works fine but what gets posted doesn’t. I tested it out and it seems if there are comments inside the posts like `` this well show up as “comments” on the activity wall. On the actual post on the wordpress part it does not show up. Like I mentioned previously. this worked fine on 1.2.9 but now on the 1.5.3.1 version this part seems to be not working properly. , Any ideas anyone? I tried the bp-default theme and still same thing. I didn’t think this would be a theme thing. more of a core part, but I like to test before posting here..


    username_
    Member

    @username_

    it got rid of the comment code here when I posted. but here it is again “

    Does anyone have a little bit of help they could offer me on this. Any ideas or guidance would be very helpful. Thanks

    Ahh okay thanks for the reply. I am guessing it may of explained the whole @ thingy to people. Thanks again.

    after evaluating my options I felt that it had to do with something in the functions.php file. I deleted most everything in it and noticed the activity header now appeared. SO I went through and then spotted this function and filter. Not sure why it was there in the first place. But after removing these filters the activity-header got populated.

    `function remove_activity_meta( $content ) {
    return ”;
    }

    add_filter( ‘bp_activity_permalink’, ‘remove_activity_meta’ );

    add_filter( ‘bp_activity_delete_link’, ‘remove_activity_meta’ );
    add_filter( ‘bp_activity_time_since’, ‘remove_activity_meta’ );`

    1.2.6 I believe. It was working on that version. Yes I am inside the activity loop specifically the entry.php file. Also it works with the bp-deafult theme. I even copied everything from your entry.php file into mine and still no go. I have not found anything else yet but I am looking into it.

    I am sorry,

    After I added define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );

    I cleared my cache and it seems to be working fine now.

    Sorry …

    any one got any ideas or files I can look at?

    Hey everyone, this is a very old thread but I thought I would discuss my findings when trying to create my own custom page in buddypress.

    I am using the latest version 1.5.1 and i noticed the code only works if I navigate to mywebsite.com/(user)/example_page instead of mywebsite.com/example_page
    (user) being the logged in usersname.

    Any ideas as to why this may be happening? I am using the code the OP (jjj) posted.

    Hey @r-a-y , Thanks! I’ll look into that. Very helpful info!

    I had a quick question…
    I am on the newest upgrade of buddypress and like I mentioned above, I am trying to customize the registration page to have more like a 123 step process. In that I am trying to bring back the avatar upload on the third step. I got some code to get the user to select an avatar and then crop it correctly ( im using the code from the profile avatar page) . But I can not seem to bind the newly uploaded avatar to the user. Once I log in with the newly registered user he does not have the new avatar. Do I need to log the user in or something in order for this to work properly? But if I log him in it redirects me away from the register page, which makes sense but not what I want.

    Thanks again.

    Aaron

    Hey thanks @DJPaul , I am editing register.php already.

    But I want my own register process with multiple steps. I have already looked at bp_get_current_signup_step() and $bp->signup->step to change the steps, but I wanted to make it into a four step process. First users put in their full name username, email and password. Then they put in profile details and then the next step is to recommend followers/friends for the new user to connect with. Then upload avatar. I wanted to use as much Budypress built in code for this as possible like verify username and email address and if need be present errors so I was looking for the bp-core-signup.php file as to edit to allow this to happen. Would you recommend a better way about doing this then?

    It appears this is not the answer to what I was trying to do. This limits the amount of posts on the ajax query string to only show 5 per page. Does any one else have any ideas?

    function my_query_filter_new ( $query_string ) {
    $query_string .= ‘&per_page=5’;
    return $query_string;
    }
    add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );

    Found a solution to this sorry for posting before doing much searching.

    <?php
    function my_query_filter_new ( $query_string ) {
    $query_string .= ‘&per_page=5’;
    return $query_string;
    }
    add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
    ?>

    Thanks, Is this for a specific reason? I want to add an image at the top of all the emails.

    Hey everyone,

    Anyone got any ideas? @boonebgorges when you get a second could you chime in?

Viewing 20 replies - 1 through 20 (of 20 total)
Skip to toolbar