![]() |
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. |
Yes, through the Admin CP. It should be under the vBulletin Options somewhere.
|
Quote:
Is it located somewhere other than the Vbulletin Options category? Thanks in advance. |
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 |
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 "); |
All times are GMT. The time now is 03:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|