Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • lol :) excellent answer! thanks Paul. that sort of explains why i couldnt make sense of them.

    looking a bit closer, i see that:

    in file: bp-groups-classes
    class: BP_Group_Extension
    function/method: _register

    reads:

    Code:
    var $ display_hook = ‘ groups_custom_group_boxes ‘;

    `if ( bp_is_group() ) {
    if ( $ this->visibility == ‘public’ || ( $ this->visibility != ‘ public ‘ && $ bp->groups->current_group->user_has_access ) ) {`

    // Hook the group home widget
    if ( !bp_current_action() && bp_is_current_action( ‘ home ‘ ) )
    add_action( $ this->display_hook, array( & $ this, ‘ widget_display ‘ ) );
    }
    }

    - then in file bp-groups-template.php:

    Code:
    function bp_custom_group_boxes() {
    do_action( ‘ groups_custom_group_boxes ‘ );
    }

    - which doesnt appeare to be called from anywhere in BP 1.6 (or its std theme)

    - though does i suppose make the hook available (on group home only), were i to override the default template or call the theme/template func. bp_custom_group_boxes.

    i cant think of a use for it yet either. but i’m sure i will.

    thanks again

    ps. code backquotes seem to be broken at the moment – thus i put spaces around $ signs etc above – hope its stil readable

    Avatar of rcain
    rcain
    Member

    @rcain

    i am about to try this: http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/
    - it looks very good. anyone tried it with BP yet?

    Avatar of rcain
    rcain
    Member

    @rcain

    good news – thanks Hugo.

    do we have any idea of a (provisional) date for BP 1.6 yet?

    (have site in development at present and would love to slip the new features in before go-live).

    Avatar of rcain
    rcain
    Member

    @rcain

    ditto – both the above suggestions.
    i think lack of forums search + no way to find ones own posts limits the community activity here somewhat – essential for BP community to grow and develop – IMHO.

    OK – I’ve found the answer.

    please ignore my first suggestion above.

    the solution is to either:

    a) wordpress, admin, settings, privacy (site visibility) – allow search engines to index this site – must be set

    OR

    b) include the following filter in my plugin (or themes functions.php file):

    `
    add_filter(‘bp_is_blog_public’,'scl_bp_is_blog_public’,10,1);
    function scl_bp_is_blog_public($is_blog_public) {
    return true;
    }
    `

    i chose the second method for my purposes.

    note: BP seems to make very confusing/ambiguous use of the wordpress ‘blog_public’ option – in the file functions referred to in my first post above, it makes an explicit test of this option, and if not set to public then disables posts or comments from appearing as items in the activity stream.

    i note that issues around this factor were raised as a ticket a year or so back and this mechanism was provided as some sort of solution (to exactly what problem i am uncertain – though luckily a filter was provided).

    personally, i cant see the point of it – surely a BP option to specifically allow/disallow wordpress post and comment activities would have been far better – after all, what has WP search engine visibility got to do with BP activity streams – i have no idea! (perhaps someone could enlighten me).

    meanwhile, I am considering raising a new/reopening a ticket on this (since the situation appears unchanged in the new BP 1.6 code).

    be interested in others views.

    hope this helps someone.

    ps. having scanned though the buddypress source code i’ve just found a clue to what the problem maybe:

    file: bp-blogs-function.php

    function: bp_blogs_record_comment

    - takes a parameter ‘is_approved’ – if it is false, then blog comments are NOT added to BP activity stream.

    this suggests that WP comments are ONLY recorded in BP activity stream IFF comments are wide open and ‘automatically approved’/'do not require approval’. If on the other hand, comments are set as ‘requiring admin/moderator approval’ (as they most usually will be), then they will NOT EVER be posted to BP activity stream

    this seems to be confirmed by the appearance of a NEW function on the forthcoming BP 1.6. The new function is:

    bp_blogs_transition_activity_status

    - and its purpose seems to be to enable WP comments status to appear on BP activity stream WHEN/IFF admin/moderator approves them.

    please could someone confirm this is the case?

    is there any workaround for BP V 1.5.4?

    many thanks

    Hi Paul,
    Thank you so much for your reply. That is exactly the info i needed. :)
    All the best with bbPress2 dev. Cant wait to give it a go when its ready for test.
    Rob

    Hi Chaps – just to let you all know, you are not alone in this quest.

    We have customers running BP sites who need to ‘re-capture’ ‘lost/unconfirmed’ user registrations (attempts).

    A high proportion of confirmation emails do get filtered into peoples spam buckets, bounced by firewalls and blacklists, overlooked in the inbox, whatever. Its an ongoing part of community/site admin to re-sift this list of unsuccessful registrants and correct anything impeding signup.

    Its pretty apparent neither BP, nor WP ( == WPMU) address this ‘corrections process’ out of the box.

    My perusal of available plugins has yielded some near fits for the job (reporting at least), but nothing yet bang-on (the ‘resend_registration_confirmation_email()’ function), which suprises me.

    Looks like someone will have to lift the hood and write somethething to do it. (I have some plugins in mind to extend for that purpose – will keep you all posted :) )

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