The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a very hacked vB3.0.7 board. Somewhere along the way I have broken the search.
e.g. I create a new thread (or post). If I then subsequently search for a very specific word which is contained in the thread (or post), nothing is returned by the search. So either a/ the words aren't being written to the search index when the thread/post is created, or b/ the search function is not correctly querying the search index. I have tried emptying/rebuilding the search index, then doing the same search. This time it will always work, so I'm sure the problem is that the words aren't being written to the search index when the thread/post is created. I've had a look at newthread.php and newreply.php and can't see any hacks there. Is there any other file which I may have hacked which can cause this problem? Thanks for any pointers. |
#2
|
||||
|
||||
![]()
compare your template with the original ... my guess is that you have improper code or you removed a few hidden input (filelds)
|
#3
|
|||
|
|||
![]()
Hi Joe,
I've checked both newthread.php and newreply.php and both are fine. However, I have found a hacked file which both use: includes/functions_newpost.php But I can't see any amendments near to where the words are added to the search index. I guess I have renamed a variable elsewhere, and functions_newpost.php hasn't been amended to reflect the new variable name. Posting this here, in the hope that someone may recognise the symtoms and point me in the right direction to the solution. |
#4
|
||||
|
||||
![]()
the first place you should check is the template (html) ... ie. make sure the form hasn't been modified
|
#5
|
|||
|
|||
![]()
Thanks again Joe. This time I'm listening
![]() I just guessed that it was a php problem somewhere. But... I do know that I DID make a change to the newthread template - so I'm now off to see exactly what I did wrong. Thanks again. Iain |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|