The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
That might happen on the frist call as the cashed search is deleted after displaying the results.
|
#12
|
|||
|
|||
Nope,after several refreshes,logging out/in and deleting temp internet files it still shows a couple of threads with replies.
|
#13
|
||||
|
||||
Hmm ...
Does the nocache=1 appear in the URL when the search results are being displayed? |
#14
|
|||
|
|||
When the results are displayed the url is forums/search.php?searchid=xxxx
the xxxx is always the same number |
#15
|
||||
|
||||
OK, so it still uses the cached results.
Maybe this does work (remove the other mods): In search.php FIND PHP Code:
PHP Code:
|
#16
|
||||
|
||||
Will the same line be used for the link then?
|
#17
|
||||
|
||||
Why not show unanswered threads on a forum by forum basis or for specific forums with a link on the index page?
I have it set up like that on my test forum and it seems to work nicely. Comes in handy if you want to quickly see just the unanswered posts from specific forums such as a support or tech forum without having to go to the search page. To do it, open forumdisplay.php and find: Code:
$actiontemplates = array( 'none' => array( 'FORUMDISPLAY', 'threadbit', 'threadbit_deleted', 'forumdisplay_announcement', 'forumhome_lastpostby', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_post', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level2_nopost', 'forumdisplay_loggedinuser', 'forumhome_moderator', 'forumdisplay_moderator', 'forumdisplay_sortarrow', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_post', 'forumrules' ) Code:
$actiontemplates = array( 'none' => array( 'FORUMDISPLAY', 'threadbit', 'threadbit_deleted', 'forumdisplay_announcement', 'forumhome_lastpostby', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_post', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level2_nopost', 'forumdisplay_loggedinuser', 'forumhome_moderator', 'forumdisplay_moderator', 'forumdisplay_sortarrow', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_post', 'forumrules' ), 'getunanswered' => array( 'FORUMDISPLAY', 'threadbit', 'threadbit_deleted', 'forumdisplay_announcement', 'forumhome_lastpostby', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_post', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level2_nopost', 'forumdisplay_loggedinuser', 'forumhome_moderator', 'forumdisplay_moderator', 'forumdisplay_sortarrow', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_post', 'forumrules' ) Code:
$threadscount = $DB_site->query_first(" Code:
if ($_REQUEST['do'] == 'getunanswered') { $condition = "AND replycount=0"; } else { $condition = ""; } Code:
FROM " . TABLE_PREFIX . "thread AS thread $deljoin WHERE forumid = $foruminfo[forumid] Code:
FROM " . TABLE_PREFIX . "thread AS thread $deljoin WHERE forumid = $foruminfo[forumid] $condition Code:
WHERE thread.threadid IN (0$ids) Code:
WHERE thread.threadid IN (0$ids) $condition Code:
(<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]&do=getunanswered">View Unanswered Threads</a>) |
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
Yes you can limit that on one (or multiple) forums:
/search.php?do=process&replyless=1&replylimit=0&don tcache=1&forumchoice[]=id |
#20
|
||||
|
||||
Like this?
PHP Code:
PHP Code:
Aslo, how can I add this to the search.php so the date and time show up in there too when searching? I have been trying for a couple of hours now to add it there, but to no avail. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|