BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #23025

    Awesome. That worked.

    Thanks a million Ravi. I’ll have to buy you a pint/coffee!

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #23009

    Hi Ravi,

    Thanks for the reply.

    Unfortunately your code didn’t work for me.

    mydomain.com/activity/?activity_search=CATEGORY

    Still returns “Sorry, there was no activity found. Please try a different filter.”

    But
    mydomain.com/activity/?activity_search=KEYWORD

    Returns posts where the keyword is in the activity content.

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #22998

    Hi Brajesh, Thanks for the reply!

    Yes, I’m storing the category name in meta with
    bp_activity_update_meta( $activity_id, 'bpcat', $_POST['bpcat'] );

    So in my database there’s a table wp_bp_activity_meta

    If a user creates an activity update that they’ve given the category “Finance”, an entry is added to that table with a meta_key of ‘bpcat’ and a meta_value of ‘Finance’

    How would I go about hooking to bp_after_has_activity_parse_args and setting meta_query if the conditions are matched?

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21331

    Hi Brajesh,

    I was able to get notifications working last night by replacing

    <?php if ( ! did_action( 'template_notices' ) ) : ?>
    	<?php do_action( 'template_notices' ); ?>
    <?php endif; ?>

    with
    <?php bp_nouveau_template_notices();?>

    But there’s still the issue of the page refreshing. So if the user has written a long message but neglected to put in a subject their entire message will be lost.

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21305

    Hi Brajesh,

    No I haven’t overwritten that file

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21302

    I have a number of Buddypress templates overwritten in my child theme. None from this plugin though.

    Could you tell me the specific file/path that would affect this?

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21298
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21297

    Hi Brajesh,

    I’m not getting any feedback. If the form is filled out fully, the page refreshes and the message is sent (but there’s no indication of this on the page)

    If the form is not fully filled out the page refreshes the same as above but the message isn’t sent and there is no indicator that it wasn’t sent.

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21238

    Hi Rajesh,

    I updated, but I’m not seeing the option you mention. What is it called/where is it located?

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21206

    BuddyPress User Contact Form plugin