vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vB3.5 15 Most Recent Searches Made By Our Members (https://vborg.vbsupport.ru/showthread.php?t=95270)

Boofo 04-07-2006 11:12 PM

Quote:

Originally Posted by cudaxtreme
hrmmm ... is there a way to allow guest to search yet not display the top seaches to them?

You could do a conditional in the template.

cudaxtreme 04-08-2006 08:08 AM

Thanks but I'm a total newbie to this,

Could you please advise how can I do this?

cavorite 04-29-2006 11:02 PM

Installed and working great :) , but I still see members with "Searching Forums" as a location on Who's Online, and no new searches are displayed. Is there any way to know what these people are doing? We have a few that show this status nearly all the time, and I'd like to know what they're looking for (or looking at).

Boofo 04-29-2006 11:39 PM

Quote:

Originally Posted by cavorite
Installed and working great :) , but I still see members with "Searching Forums" as a location on Who's Online, and no new searches are displayed. Is there any way to know what these people are doing? We have a few that show this status nearly all the time, and I'd like to know what they're looking for (or looking at).

The search table gets emptied every hour by a cron job. ;)

Do the searches you make show up?

cavorite 04-30-2006 12:06 AM

Quote:

Originally Posted by Boofo
The search table gets emptied every hour by a cron job. ;)

Do the searches you make show up?

Searches are showing up correctly for me and from other members. I've just edited the cleanup job to extend the time beyond an hour, in case that was having something to do with it. However, I'm looking at the Who's Online right now and seeing members with the "Searching Forums" location, and yet no new searches are showing up in the "Last 15" list. :confused:

Boofo 04-30-2006 12:09 AM

Quote:

Originally Posted by cavorite
Searches are showing up correctly for me and from other members. I've just edited the cleanup job to extend the time beyond an hour, in case that was having something to do with it. However, I'm looking at the Who's Online right now and seeing members with the "Searching Forums" location, and yet no new searches are showing up in the "Last 15" list. :confused:

They could be sitting on the search page and not doing anything. That happens a lot. I used to get that all the time on my old forums.

Or if they did a search for a word that wasn't found. That would explain the list being empty.

cavorite 04-30-2006 12:17 AM

I understand. It's just that we've got a "situation" with another forum, and a high percentage of these people that are doing this searching thing are from that forum. Love to know what they're looking at...

(Just in case it is an attempt to load the server with search requests, I do have the time between searches at 90 seconds. Also, we're not seeing high load numbers...)

Boofo 04-30-2006 12:39 AM

Quote:

Originally Posted by cavorite
I understand. It's just that we've got a "situation" with another forum, and a high percentage of these people that are doing this searching thing are from that forum. Love to know what they're looking at...

(Just in case it is an attempt to load the server with search requests, I do have the time between searches at 90 seconds. Also, we're not seeing high load numbers...)

It sounds like they're either not finding whatever it is they are looking for or they are sitting on thre search page waiting for the time to pass so they can search again. ;)

CSS59 04-30-2006 04:26 PM

how do i remove the usernames so members don't see who serched

akanevsky 04-30-2006 04:55 PM

Perhaps you should store the data for this hack in a separate table (or a datastore). That's because vbulletin's searches expire and get erased after a certain amount of time, and your hack seems to draw info from there.

If you choose to store things in a separate place, it should have fields: userid (left join usertable for username), keywords, dateline, resulttype, resultcount. It would be easier to store this in a datastore because then you can strip everything that's more than x number that you wanna show without any extra queries. Just a suggestion :)


All times are GMT. The time now is 11:56 PM.

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.01871 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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