Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 76 total)
  • @alierkurt

    Participant

    Nope… I tried the other solutions but can’t see some of the member and group avatars. How can I fix that?

    @alierkurt

    Participant

    Thanks rich. That really helped ;)

    @alierkurt

    Participant

    So, there is no way to replace it, huh?

    @alierkurt

    Participant

    @nuprn1 Or is this about remove_action and add_action? I found the groups_post_update but I can’t change it with my theme’s functions.php file. Because there’s a problem with filter or action thing…

    Actually I don’t know how to replace functions with my_sample_function. For example I want to change something in the plugin’s function. But if I do that in the plugin’s file, I’ll lose changes when I upgrade. So what might be the solution to avoid this?

    add_action, add_filter etc… How can I do that?
    Thanks.

    @alierkurt

    Participant

    @nuprn1 Great! Finally I got where the function is. Thanks.

    But how can I redefine the function to skip group_is_member process for the non-members to post.

    I think I’ll add this to my function this:

    add_filter (‘groups_post_update’, ‘myfunction’);

    Right? But what’s the function :)

    @alierkurt

    Participant

    But if you’re admin you can post with the same way.

    @alierkurt

    Participant

    @nuprn1 I know and I tried to remove it. When I remove the code, I can see the post-form but when a non-member tries to post something to the group, it says “couldnt update your status. please try again later. The problem is it’s still checking somewhere else to see whether the member joined or not.

    Where’s that?

    @alierkurt

    Participant

    Murphy whispers: “When you need help, everyone disappears.”

    :)

    @alierkurt

    Participant

    I found something. If you’re admin, moderator and a member of the group, you can see the post-form.php on the group home page. is_admin works perfectly. But how can I see post updates to the groups without being a member?

    Thanks a lot again.

    @alierkurt

    Participant

    I tried but I couldn’t do it… Tsk tsk…

    @alierkurt

    Participant

    Yes @mercime. I want that. Everyone to post the groups even they’re not a member of. You give me the solution and I’ll take care with the spammers :))

    @alierkurt

    Participant

    I’ve tried to modify BP_Groups_Member and check_is_member but I couldn’t make it…

    I’m using the 1.2.5 version of BP and WP 3.0.

    Please help :)
    I’m really stuck.

    @alierkurt

    Participant

    No, it’s not forum. It’s status update to the group’s wire. You can only update the groups you’re a member of. But what I want is to post non-members either.

    @alierkurt

    Participant

    I’m developing a new project and you don’t have to be a member of the group. I need non-members to post to the group.

    @alierkurt

    Participant

    I really need a solution…. I’m stuck.

    @alierkurt

    Participant

    Cant wait to use the plugin then :)
    Please let me know as soon as you launch. Thanks.

    @alierkurt

    Participant

    I’ve upgraded and still having the problem… I couldn’t solve it. I’m using WP 3.0 and befor I upgrade to WP 3.0, same error was with me. BP: 1.2.4.1

    Any suggestions?

    @alierkurt

    Participant

    I’m having the same problem… Any solutions?

    @alierkurt

    Participant

    Still no solutions?

    @alierkurt

    Participant

    @mazen and @Vendetta I’m having the same issue too. I create a group, I upload the avatar and at the last step Splash, Boom! I get a WP error which says “Are you sure you want to do that? Please try again.” So I’m stuck…

    @alierkurt

    Participant

    OK, I’ve fixed. You can delete the topic

    @alierkurt

    Participant

    i’ve created a new function like that:

    function bp_my_custom_wire_post() {

    echo my_custom_wire_post();

    }

    function my_custom_wire_post() {

    global $bp;

    if ( empty( $bp->current_item ) )

    $uri = $bp->current_action;

    else

    $uri = $bp->current_item;

    if ( $bp->current_component == $bp->wire->slug || $bp->current_component == $bp->profile->slug ) {

    return apply_filters( 'my_custom_wire_post', $bp->loggedin_user->domain . $bp->wire->slug . '/post/' );

    }

    }

    and i’ve created a new customized post-form.php for myself. i gave it “mywirepost.php” name. and then i put my locate code to my homepage:

    locate_template( array( '/wire/mywirepost.php' ), true );

    that’s all :). i’ve solved my own problem and that’s way how you learn better :). thank you brajesh for your help.. i appreciate your interest. regards.

    @alierkurt

    Participant

    thank you sir. i solved the problem by myself by defining a new function :). but your first solution is shorter than mine so thank you again :)

    edit: and there’s a problem with your 1st function. when i click it the form doesnt work.

    @alierkurt

    Participant

    and yeah, due to i’m using this code for the root of the site, it cannot apply filter for the root directory. solution must be here somewhere i guess:

    bp_get_wire_get_action:

    return apply_filters( 'bp_get_wire_get_action', site_url() . '/' . $bp->{$bp->active_components[$bp->current_component]}->slug . '/' . $uri . '/' . $bp->wire->slug . '/post/' );

    @alierkurt

    Participant

    yeah i tried putting “include” code either. i can see the form with your code either but when i click the send button i get a 404 “Page Not Found” error. because it cannot render member slug or wire post link. i see the url like that: mysite.com/wire/post that’s the problem. the form’s action doesnt work… i think the problem is with that function: bp_wire_get_action()

    any ideas?

Viewing 25 replies - 51 through 75 (of 76 total)
Skip to toolbar