(#1)
|
|
Forum Sprinter
Posts: 2,131
Join Date: Feb 2010
Location: Virginia, USA
|
Introducing Sphinx Search Integration for Forum Runner!
For those forum owners that run larger forums that rely on Sphinx searching, we now have support for this. It will require a little manual intervention on your part, though. First, you will need to install version 1.3.0 (or later) of the Forum Runner add-on. It will automatically detect the presence of a properly installed Sphinx add-on. It is assuming you used the installation instructions for Sphinx located at: http://www.vbulletin.org/forum/showthread.php?t=127868 If this is indeed the Sphinx add-on you use, follow the instructions below to get it working with Forum Runner. You will need to edit search_sphinx.php in your main forum directory and make a couple of modifications. Search for: Code:
// error handling
if ($res===false)
{
eval(standard_error($cl->GetLastError()));
}
Code:
// error handling
if ($res===false)
{
if (defined('IN_FRNR')) {
$errors[] = $cl->GetLastError();
return;
}
eval(standard_error($cl->GetLastError()));
}
Code:
");
$searchid = $db->insert_id();
$vbulletin->url = 'search.php?' . $vbulletin->session->vars['sessionurl'] . "searchid=$searchid";
eval(print_standard_redirect('search'));
Code:
");
$searchid = $db->insert_id();
if (defined('IN_FRNR')) {
return;
}
$vbulletin->url = 'search.php?' . $vbulletin->session->vars['sessionurl'] . "searchid=$searchid";
eval(print_standard_redirect('search'));
Fulltext searches through Forum Runner will use Sphinx instead. If you have any issues, feel free to post them up in the "Bug Reports" section. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
