Re: Search Activity
Something like this? I got it to work this way in a custom page template but not in the activity index. any help…on getting it to work in the activity dir where its bp_ajax_querystring( ‘activity’ ) and some other differences like the filter select.
<?php
$searchterm = $_POST['searchterm'];
?>
<form NAME "form1" METHOD "post" ACTION = "<?php bloginfo('url'); ?>/search">
<input TYPE = "TEXT" id="whats-new" Name="searchterm" value="" >
<INPUT TYPE = "Submit" Name = "Submit1" VALUE = "Search Activity">
</form>
<?php if ( bp_has_activities('search_terms=' . $searchterm) ) : ?>