Hi all, This thread is the instruction of sphinx Search Integration with Tapatalk. (support vb 3.7/3.8 now. If your forum is vb4.0, please contact me.) The support for sphinx starts from tapatalk vb 3.7/3.8 plugin v1.7.0. To add support of sphinx search in Tapatalk, you need modify sphinx_search.php as below. (red part is actual change). It will NOT affect the current sphinx search on your forum. 1. find (about line 483) PHP: if ($res===false) { eval(standard_error($cl->GetLastError())); } replace by PHP: if ($res===false)[ { if(defined('IN_MOBIQUO')){ $errors[] = $cl->GetLastError(); return; } eval(standard_error($cl->GetLastError())); } 2 find (about line 548) PHP: $searchid = $db->insert_id(); $vbulletin->url = 'search.php?' . $vbulletin->session->vars['sessionurl'] . "searchid=$searchid"; eval(print_standard_redirect('search')); replace by PHP: $searchid = $db->insert_id(); if(defined('IN_MOBIQUO')){ return; } $vbulletin->url = 'search.php?' . $vbulletin->session->vars['sessionurl'] . "searchid=$searchid"; eval(print_standard_redirect('search'));
I still can't find the sphinx_search.php file. I've also searched for the #1 code above in sphinx.php, sphinxapi.php and search.php. It is not there. The #2 code above is in search.php in three places. Any guidance on how to make this modification for sphinx?
Hi Maybe you use the different sphinx vb plugin. Can you please email me the sphinx plugin you used or let me know where to download it? My email: yao@quoord.com