Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 22 replies - 1 through 22 (of 22 total)

  • vusis
    Participant

    @vusis

    @qwu123: do you mind posting where you found it – for the benefit of others that may have the same question


    vusis
    Participant

    @vusis

    I”m experiencing a similar wierd problem:
    i’m using the latest BP + WP stack.

    in firefox: firebug says the `

    ` … tag encapsulates everything. i.e. directory results etc
    on the other hand. i.e. and chrome say that the dir-form tag is only the form header (u know where it says “Groups Directory” for example.)
    i checked the actual code and I discovered that i.e + chrome are correct! for some reason firefox is not picking up the closing tag for dir-form. and so it uses the very last `

    ` on the page.

    that messes up the CSS completely.
    Please check and verify that my eyes are not playing tricks on me. thanx


    vusis
    Participant

    @vusis

    i’m having the same problem with ie 7/8


    vusis
    Participant

    @vusis

    I created a a post, i’m wondering if we are experiencing the same problem


    vusis
    Participant

    @vusis

    finally I figured it out:
    for the benefit of those that are still going into this:

    what I eventually had to do is call the _init function from the loader.php directly without checking if bp is loaded. I think the problem was that i was hooked into a delayed action.

    If anyone can provide an appropriate action for me to hook into it would be great, but for now. No hook and it works.


    vusis
    Participant

    @vusis

    @vtowel. did you finally get this to work for you? I’m still getting the 404 error. :(


    vusis
    Participant

    @vusis

    hi there guys this is pretty old i know however, i desperately need help:
    i’m using the following setup:
    wp 3.1 bp 1.2.7

    @smurkas:

    I followed all your instructions. If i change the line 45 in the loader, i get an error from my browser saying there were too many url redirects.
    If I do not change the loader code, I notice that the $bp->current_ation variable is empty :(

    Please help.


    vusis
    Participant

    @vusis

    I would happily start working on this.


    vusis
    Participant

    @vusis

    Interesting challenge you have.
    how can i recreate the problem on my machine? is there anything you edited prior to encountering this problem?


    vusis
    Participant

    @vusis

    What does this mean?


    vusis
    Participant

    @vusis

    I have a problem:

    how do i pickup the group_id of the forum topic. Thant way i can build the link to the from topic from the home page.


    vusis
    Participant

    @vusis

    bp_get_the_topic_object_permalink() – not working

    Burt perhaps you can assist.


    vusis
    Participant

    @vusis

    hey i’ve got it to work, I’m quickly setting up the plugin to work as a widget and i’ll upload it :)
    Note i’m still working on getting the correct permalink though, but that shouldn’t be a train-smash. will you posted

    <div class="topic-list">
    <?php if (bp_has_forum_topics() ) : ?>
    <?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?></p>
    <div class="topic-list-item"><a>" rel="bookmark" class="title"><?php bp_the_topic_title(); ?></a></div>
    <?php endwhile; ?>
    <?php else: ?>
    <p>There are no topics</p>
    <?php endif; ?>
    </div>

    vusis
    Participant

    @vusis

    i think the loop we are looking for is:

    bp_has_forum_topics


    vusis
    Participant

    @vusis

    Alex, its a money issue chap.


    vusis
    Participant

    @vusis

    i should say this is probably the worse limitation of buddypress.


    vusis
    Participant

    @vusis

    This is great, the what i wanna do next is show certain tabs (profile groups) to different member levels.

    I saw there’s a function called profile_group_tabs. is there a way i can perhaps play around with this?


    vusis
    Participant

    @vusis

    thanks this works very well for me too.


    vusis
    Participant

    @vusis

    I really don’t understand how the patch works, but i activated the plugin alone without the patch and it works; no one is allowed to create groups.

    now i’m working on conditions – thanks for the plugin


    vusis
    Participant

    @vusis

    hey guys please help me figure this post out :(

    https://buddypress.org/forums/topic/restricting-group-creation-to-admins#post-31264

    i think its got to do with what we are talking about above


    vusis
    Participant

    @vusis

    have you found a solution for this? i’m desperately looking for this too- i found this post but i cant seem to figure it out.

    https://buddypress.org/forums/topic/restricting-group-creation-to-admins#post-31264


    vusis
    Participant

    @vusis

    hey guys i cant seem to figure this one out hey; i’ve tried to patch the bp-groups.php file but i get a

    #1 HUNK Failed at 449 – please see my reject file

    ***************

    *** 453,459 ****

    bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . ‘/create/step/’ . $bp->groups->current_create_step );

    }

    – if ( !$bp->groups->new_group_id = groups_create_group( array( ‘group_id’ => $bp->groups->new_group_id, ‘name’ => $_POST[‘group-name’], ‘description’ => $_POST[‘group-desc’], ‘news’ => $_POST[‘group-news’], ‘slug’ => groups_check_slug( sanitize_title($_POST[‘group-name’]) ), ‘date_created’ => time() ) ) ) {

    bp_core_add_message( __( ‘There was an error saving group details, please try again.’, ‘buddypress’ ), ‘error’ );

    bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . ‘/create/step/’ . $bp->groups->current_create_step );

    }

    — 453,474 —-

    bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . ‘/create/step/’ . $bp->groups->current_create_step );

    }

    + $group_details = array(

    + ‘group_id’ => $bp->groups->new_group_id,

    + ‘name’ => $_POST[‘group-name’],

    + ‘description’ => $_POST[‘group-desc’],

    + ‘news’ => $_POST[‘group-news’],

    + ‘slug’ => groups_check_slug( sanitize_title($_POST[‘group-name’]) ),

    + ‘date_created’ => time() );

    +

    + /* Allow plugins to halt group creation for whatever reason. On doing this the plugin

    + should use the bp_core_add_message function to inform the user why the group creation

    + has failed.

    + N.B. The data passed in $new_group is unsanitised. */

    + if ( ! apply_filters( ‘bp_allow_create_group’, true, $group_details ) )

    + return bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . ‘/create’ );

    +

    + if ( !$bp->groups->new_group_id = groups_create_group( $group_details ) ) {

    bp_core_add_message( __( ‘There was an error saving group details, please try again.’, ‘buddypress’ ), ‘error’ );

    bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . ‘/create/step/’ . $bp->groups->current_create_step );

    }

    i’m not too sure what that means and how it can be fixed? :(

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