The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is there a way to increase the number of similar threads?
At present there is a limit of "5" similar threads at the bottom of the showthread. I cannot find the code to increase this from 5 to 10. Is this even possible?
Thanks in advance. |
#2
|
||||
|
||||
Yes, through the Admin CP. It should be under the vBulletin Options somewhere.
|
#3
|
|||
|
|||
Quote:
Is it located somewhere other than the Vbulletin Options category? Thanks in advance. |
#4
|
|||
|
|||
Hi
I too have been looking at this and the 5 limit appears to be hardcoded in 'fetch_similar_threads' I may look at a simple mod to alter this Regards Alex |
#5
|
|||
|
|||
in functions_search.php if you want LIMIT 10 of them
$threads = $vbulletin->db->query_read_slave(" SELECT thread.threadid, MATCH(thread.title) AGAINST ('$safetitle') AS score FROM " . TABLE_PREFIX . "thread AS thread $hook_query_joins WHERE MATCH(thread.title) AGAINST ('$safetitle') AND thread.open <> 10 " . iif($threadid, " AND thread.threadid <> $threadid") . " $hook_query_where LIMIT 10 "); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|