Support » Plugin: BP Profile Search » Secondary ‘Any Field’

  • Resolved thenetking

    (@thenetking)


    I had been using this secondary ‘any_field’ to provide another keyword for search. This was working before I reinstalled your plugin once or twice while trying to filter my results. Your plugin had an update one of those times. Now for some reason, this any_field2 automatically checks ‘range’ in admin when I hit publish. I was able to get around this for a sec by adding any_field3 but it seems like this second any_field doesn’t work anymore. Any input on what might be going on? I tried going back to my backup of the old version of your plugin, it doesn’t automatically click ranged, and it adds my any_field2 to the filters, but searching is not actually functioning. This could still be me, I’ll have to try with a fresh old copy and clean db. Any input would be awesome, I wouldn’t mind using the more up to date version if I can. Thanks!

            $f2 = new stdClass;
    
    	$f2->group = __('Other', 'bp-profile-search');
    	//$f2->id = 'any2';
    	$f2->code = 'field_any2';
    	$f2->name = __('Any field2', 'bp-profile-search');
    	$f2->description = __('Search every BP Profile Field', 'bp-profile-search');
    	$f2->type = 'anyfield';
    	$f2->options = array ();
    	$f2->filters = array ('');
    	$f2->display = 'textbox';
    	$f2->search = 'bps_anyfield_search';
            
            $fields[] = $f2;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Secondary ‘Any Field’’ is closed to new replies.