![]() |
How can I change the number of the similar threads
I would like to change the number of the similar threads to a higher number, but I can't find out how to do it. I did a search here and I found 1 thread related but no solution. Also as far as I know it can not be done through the admincp.
Thanks for your replies Jason |
Anyone?
|
Hello, does anyone know how to do this?
|
This is done in the fetch_similar_threads function in functions_search.php . It is hard coded to 5. I would guess that if you don't mind a file edit, you can just go in and change it from "LIMIT 5" to "LIMIT 10" (or whatever). It looks like there are two queries in that function, so you will have to change the limit on both.
|
Thank you very much for the reply Lynne, would know you know by any chance where I can look in the database to change the limit for the similar threads. Thanks.
|
Quote:
|
Thank you...sorry about the confusion...I always thought that a "query" had to do with the database...I found it...Thanks
|
thx for this topic.. i use it and its work great :)
--------------- Added [DATE]1219315010[/DATE] at [TIME]1219315010[/TIME] --------------- update.. i find some error after this changes some queris makes error :/ solution is changes in DB tabele "thread" column "similar" ( varchar(55) ) - its not enough long for 10 topic id I change on varchar(100) and now its ok |
All times are GMT. The time now is 10:04 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:
|