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)

folkish 10-15-2005 05:30 PM

Clicks Install.

Rabbitoh Warren 10-17-2005 12:33 PM

Installed and working fine, thanks! However, recent searches by my members seem to get reset periodically? Can this be changed or...?

Boofo 10-17-2005 04:23 PM

Quote:

Originally Posted by Rabbitoh Warren
Installed and working fine, thanks! However, recent searches by my members seem to get reset periodically? Can this be changed or...?

vB 3.5 clears the search table via cron job every hour, I think. All this hack does is read the search table. That would entail file edits and an additional table or column.

Rabbitoh Warren 10-17-2005 05:32 PM

Quote:

Originally Posted by Boofo
vB 3.5 clears the search table via cron job every hour, I think. All this hack does is read the search table. That would entail file edits and an additional table or column.

No need for that, let's keep it simple. :) You're right too ? search table gets cleared every hour...

So would there any harm in editing the cleanup.php file directly and changing it to every 12 hours?

Boofo 10-17-2005 05:44 PM

I like it getting cleaned every hour. It keeps the search table smaller and easier to search. ;)

Oblivion Knight 10-17-2005 06:25 PM

Quote:

Originally Posted by Boofo
I like it getting cleaned every hour. It keeps the search table smaller and easier to search. ;)

Hmm, well mine doesn't seem to be getting cleaned every hour.

I still have my test listed from over 4 hours ago, are you sure it's every hour? :)

Boofo 10-17-2005 06:45 PM

Quote:

Originally Posted by Oblivion Knight
Hmm, well mine doesn't seem to be getting cleaned every hour.

I still have my test listed from over 4 hours ago, are you sure it's every hour? :)

The cron job is set to run every hour unless you have changed it.

Oblivion Knight 10-17-2005 07:35 PM

Hmm, I don't remember editing it..

Anyway, it's cleaning every hour on my v2 test board alright so that's all I'm bothered about.!

87accordlxi 10-18-2005 01:21 PM

Works great! Is there a quick way this can be edited so that only certain usergroups can see it? I understand only admins can see the names, but I want to specify which usergroups can see this at all.

ayaam 10-18-2005 01:51 PM

Hi ..

good job .

I want to traslate some words like for exmpale (theats) to my langage , Can I ?

http://ayaam.cc/vb/search.php


thanks alot


All times are GMT. The time now is 05:24 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.01216 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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