![]() |
Bug in the "refine" feature
Hello,
I've found a little bug in the "refine" feature in the last version (1.8.0). When you want to search a specific path of your site, you've to add some hidden fields in the search form: Code:
<input type="hidden" name="site" value="YourSiteIDHere"> But if you do a new search now, PhpDig'll ignore the "YourPathHere" because de refine value is lost. To correct this, you've to modify the following files : 1) /libs/search_function.php modify line ~577 PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
modifiy the first line code (~line 20) PHP Code:
PHP Code:
PHP Code:
PHP Code:
It works for me but if I'm wrong, Charter, please correct me ! ;) Laurent |
Hi. Moved to Mod Submissions as it's a mod of a mod but not part of the original code. ;)
Once $refine is set to one, do you have an option to set it back to zero, or to reset $path to start a new search of the same site? The code in this thread may be of interest. |
All times are GMT -8. The time now is 03:36 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.