vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 15 Most Recent Searches Made By Our Members (https://vborg.vbsupport.ru/showthread.php?t=61424)

Nj?rd Eriksson 04-05-2004 08:59 PM

Are actually Guest searches displayed, too? (I don't believe they are.)

If not is there a way to enable it?

Boofo 04-05-2004 09:16 PM

No, it's not set up for guest searches now. I did that so the guests wouldn't use the server resources that should be reserved to the members, IMO. It gives them a little more incentive to register that way. ;)

I'm not sure what it would take to add that. I'll have to look into it. ;)

Boofo 04-05-2004 11:45 PM

Quote:

Originally Posted by Nj?rd Eriksson
Great hack but it only seems to hold them for about an hour (or just less than 2 hours) on my board:
7 Most Recent Searches Made By Forum Members
1 post - german-galician - 20 Minutes Ago
16 posts - sergi - 21 Minutes Ago
5 posts - eurafrican - 25 Minutes Ago
9 posts - natufian - 30 Minutes Ago
23 posts - capoid - 35 Minutes Ago
969 posts - russian - 56 Minutes Ago
505 posts - slavs - 1 Hour Ago
It's set to 15 searches. Any idea why that is, and how to fix it?

It looks to me like you have more guests searching than regular users. As far as how long it is help in the db, it is always 24 hours on my site. Watch it a few days and see if it gets any better. If not, I will have to look uinto it and see why you are having a problem that no one else has had yet.

Nj?rd Eriksson 04-06-2004 06:11 AM

Quote:

Originally Posted by Boofo
It looks to me like you have more guests searching than regular users. As far as how long it is help in the db, it is always 24 hours on my site. Watch it a few days and see if it gets any better. If not, I will have to look uinto it and see why you are having a problem that no one else has had yet.

Well, I'm watching it for days already, and so far it never displayed older searches than "An Hour ago." - That's the latest one:
3 Most Recent Searches Made By Forum Members
Results- Key Words - Date / Time
50 posts - russian anthropology - 12 Minutes Ago
1 post - russanthro.net - 18 Minutes Ago
150 posts - neanderthal* - 1 Hour Ago
Weird ... not that it would be really a biggy. Would just be nice if it would really keep the last 15 or 20 searches. You have probably more important things to do ...

Boofo 04-06-2004 07:42 AM

It's not that I have anything more important to do, I just can't figure out why it is doing that to you when no on else has run into this problem yet. This is a new one on me. There's no way my code limits how long a search is kept in the db. Have you installed the full text serach hack by J. Woo, by chance?

Nj?rd Eriksson 04-06-2004 11:28 AM

Quote:

Originally Posted by Boofo
It's not that I have anything more important to do, I just can't figure out why it is doing that to you when no on else has run into this problem yet. This is a new one on me. There's no way my code limits how long a search is kept in the db. Have you installed the full text serach hack by J. Woo, by chance?

Nopes.

Well, I have no clue either. :)

You said that this controls the number of searches displayed:
PHP Code:

... ORDER BY searchid desc LIMIT 0,15"); 

What's this for?
PHP Code:

 if ($numqueries 15){
 
$numqueries 15;
 } 

Might it help if one deleted it, or set it to 100 or something?

Boofo 04-06-2004 11:45 AM

That first code it part fo the query for the searches. That second code is just for the amount of searches in the titile bar (where it says 7 Most Recent Searches Made By Forum Members ). The 7 is what that second piece of code brings up. ;)

Nj?rd Eriksson 04-06-2004 12:32 PM

Quote:

Originally Posted by Boofo
That first code it part fo the query for the searches. That second code is just for the amount of searches in the titile bar (where it says 7 Most Recent Searches Made By Forum Members ). The 7 is what that second piece of code brings up. ;)

Changed both to 100 but didn't help. Still losing my searches after an hour. Strange. :)

Boofo 04-06-2004 12:53 PM

Do you have the full text search hack installed?

Nj?rd Eriksson 04-07-2004 06:26 AM

Quote:

Originally Posted by Boofo
Do you have the full text search hack installed?

Nopes. :|


All times are GMT. The time now is 06:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01271 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete