PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-24-2004, 12:40 AM   #1
Killersushi
Green Mole
 
Join Date: Dec 2003
Posts: 7
refine problem

hello

i have a problem with the hidden field "refine".
i use a checkbox "limit query to the archiv" in the searchform. so it is posible to search the archiv. this is working, but the statistik does not work enymore.
eny idea how to limit the query to a directory without to break the statistik?


best wishes
killersushi
Killersushi is offline   Reply With Quote
Old 01-24-2004, 07:38 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. In search_function.php is the following code that could be modified:
PHP Code:
if (PHPDIG_LOGS == true && !$browse && !$refine) {
   if (!isset(
$exclude)) {
        
$exclude = array();
   }
   if (
is_array($final_result)) {
       
phpdigAddLog ($id_connect,$option,$strings,$exclude,count($final_result),$search_time);
   }
   else {
       
phpdigAddLog ($id_connect,$option,$strings,$exclude,0,$search_time);
   }

__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 01-25-2004, 10:48 PM   #3
Killersushi
Green Mole
 
Join Date: Dec 2003
Posts: 7
hi
it seams to work now, hope i did not brake enything else

thank you for the tip
killersushi
Killersushi is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
refine search to two or more urls fmehl How-to Forum 2 10-01-2006 12:52 PM
Refine search, but not based on path kristian Mod Submissions 0 01-28-2005 06:10 AM
Remove refine and dropdown menu DawnMTeo How-to Forum 1 07-11-2004 06:05 AM
refine search but not based on path... zevince How-to Forum 3 07-08-2004 08:30 AM
$refine $refine_url $site jedi_diah How-to Forum 1 11-18-2003 02:42 PM


All times are GMT -8. The time now is 12:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.