The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey all. To avoid splitting up my media forum by subject too much, I decided to install 'subforum' links which ran searches for e.g. 'Star Trek' and 'Buffy' etc.
I saved the search ID of the relevent search and made them subforum links. It worked at first, but now they return no results, obviously the system has 'forgotton' the searchs I did or something... I'm sure this has been done before, can anyone help? ![]() |
#2
|
|||
|
|||
![]()
Search results are only kept for a limited timeframe, i think it is 7 days, but not sure.
|
#3
|
|||
|
|||
![]()
^ ^
It likely varies depending on how many searches are performed. Suffice to say, my preset search links only worked for a few hours. ![]() Is there a way of programming the search function without referencing an ID for permenent searches like I'm trying to do? E.g at vb there's: Code:
https://vborg.vbsupport.ru/search.php?do=getdaily&days=1000&f=33 |
#4
|
|||
|
|||
![]()
The reason your searches disappear is down to the Scheduled Task that runs Cleanup.php. In our case we run it every hour.
There is a section in there that specifically deletes the contents of the Search table, for all searches with a timestamp at least 1 hour old. Thus if you have specific searches that you wish to keep, you will need to exclude them from the SQL statement. |
#5
|
|||
|
|||
![]()
^ ^
cool, how do I do that? Do I exclude some selected search ids? (can do) Or do I do something else? And how do I do this? :/ |
#6
|
|||
|
|||
![]()
You would need to amend the WHERE section of the statement, along the lines of
WHERE ... {existing stuff} AND NOT searchid = nnn or nnn or nnn but you would need to get a decent SQL coder to give you an efficient statement {It would take me quite a long while to figure it out}. |
#7
|
|||
|
|||
![]()
Need help!
![]() So close yet so far... ![]() |
#8
|
|||
|
|||
![]()
You can also use a list of search terms after the ? Like:
PHP Code:
Code:
'query' 'searchuser' 'exactname' 'starteronly' 'forumchoice', 'childforums' 'titleonly' 'showposts' 'searchdate' 'beforeafter' 'sortby' 'sortorder' 'replyless' 'replylimit' 'searchthread' 'searchthreadid' |
#9
|
|||
|
|||
![]()
^ ^
that's cool, I can use query to put together the search I want, e.g. Code:
http://www.wordforge.net/forum/search.php?query=star%20trek&forumchoice=14 |
#10
|
||||
|
||||
![]() Quote:
![]() Code:
http://www.mobileread.com/forums/search.php?query=librie&do=process |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|