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)

Alien 03-23-2004 04:59 AM

Hey, Thanks alot. =)

/me calls for a group hug.

lol

neocorteqz 03-23-2004 06:55 AM

Nice Work. :)

I had this installed on vB2.

Used the HTL btw. :) Thanks Frank.

Detomah 03-25-2004 01:44 AM

Installed, but can't comment as such yet as the forum is closed for major hack work so it's not really functioning as it will yet. :)

It looks good though. ;)

Boofo 03-25-2004 02:16 AM

Thank you and I'm sure you'll be happy with it. ;)

accyroy 03-25-2004 06:14 PM

Cheers boofo, great hack! Any way to make it keep things up there for longer than 24 hours? My board doesn't have many searches but I'd still like to keep them there.

Boofo 03-25-2004 08:14 PM

The hack wouild have to be totally rewritten with a table added to keep the searches longer than what vB allows. The 24 hours is a vB thing. Not much I can do with it as is. Sorry. :(

msimplay 03-29-2004 07:42 PM

ahem working with fulltext searching 1.9 and vb3 gold
hehe coz am a big fan of it

Boofo 03-29-2004 08:42 PM

The you need to vote for it in the Hack of the Month for March. ;)

ranger2kxlt 03-30-2004 04:02 AM

I installed it and got nothing :-(....don't ask what version i have..i haven't a clue it vb3.00 thats all it says and i downloaded it 3/28/03, if that helps?

any suggestions? i did login as a different user, still no go.

Boofo 03-30-2004 04:09 AM

It is set up to not show Admins, Super Mods or Mod searches. Did you log on under any of those usergroups?

MajorGeek 03-30-2004 12:32 PM

Installed yesterday (clicked install here) and it originally showed 6 queries. Then 2. Its steady at 2. I used this hack back on Vb2 with less members then there are now and there were always plenty of searches listed. I checked the file from reading this thread and its set tot he default last 15.

Any idea off the top of your head what could be causing this?

I did wipe and rebuild my search index after install hoping that would fix it.

Boofo 03-30-2004 12:34 PM

The seraches are only held in the db for 24 hours on vB3. I think it was 7 days (if I remember right) on the vB2 version of this hack.

cteselle 03-30-2004 03:23 PM

<font color="Yellow">* clicks install</font>

Great hack, thanks!

cteselle 03-30-2004 03:24 PM

Quote:

Originally Posted by Boofo
It is set up to not show Admins, Super Mods or Mod searches.

Just curious why this is? Security issues?

Boofo 03-30-2004 03:34 PM

If you (the Admin or Mods) do a search in a private area, it will show up on the list, even though users can't get into that area. By making it so the staff searches don't show up, it avoids any problems the users might have seeing what it is you were looking for in those areas. ;)

Tradjick 04-02-2004 06:18 AM

Boofo, is there a way to add it to switch this hack on and off?

Boofo 04-02-2004 06:35 AM

You could probably do it with a profile field. ;)

WreckRman2 04-02-2004 03:35 PM

Quote:

Originally Posted by Boofo
The seraches are only held in the db for 24 hours on vB3. I think it was 7 days (if I remember right) on the vB2 version of this hack.


Is there any way to change this? Unless the board is very active odds are no one will every see the latest searches.

Boofo 04-02-2004 04:19 PM

The only way to change it would be to add another table and 1 or 2 queries to it and I'm not sure that would work as well as it does now. ;)

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

Quote:

Originally Posted by Boofo
The hack is working. It only holds the searches for 24 hours before it deletes them. Keep an eye on it for a few days and you will see that it is working like it is supposed to. ;)

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?

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. :|

GamerJunk.net 04-12-2004 03:55 AM

Cool hack I installed it now!

tantei3 05-03-2004 12:56 PM

Great hack! Thanks Boofo, I'll install this one.

FleaBag 05-07-2004 07:15 PM

After upgrading to 3.01 mine doesn't seem to work at all anymore...

BigJohnson 05-07-2004 07:56 PM

Same here it doesnt show up in the search area at all. Whats up?

Boofo 05-08-2004 12:00 AM

Quote:

Originally Posted by BigJohnson
Same here it doesnt show up in the search area at all. Whats up?

The box won't show up until someone has made at least one search. Make sure you go through the code and re-install the hack after you upgrade.

Intex 05-22-2004 11:22 AM

Installed and works perfectly on 3.0.1. Good job Boofo :).

* Intex clicks INSTALL

Boofo 05-22-2004 01:21 PM

Thank you very much and you're very welcome, sir. ;)

WEForums 05-22-2004 11:24 PM

Yes, sweet hack. Shame almost all the searches are going to be perverted, though...

But I digress. Nice work. Nice to see you didn't feel the same way like the vB2 author did (about not wanting to show the "searchee," even for admins).

Boofo 05-23-2004 01:08 AM

Quote:

Originally Posted by WEForums
Yes, sweet hack. Shame almost all the searches are going to be perverted, though...

But I digress. Nice work. Nice to see you didn't feel the same way like the vB2 author did (about not wanting to show the "searchee," even for admins).

How do you mean "almost all the searches are going to be perverted, though..."?

WEForums 05-23-2004 01:43 AM

haha, weforums has mature content. That's why. lol


All times are GMT. The time now is 02:35 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.01274 seconds
  • Memory Usage 1,819KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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