Log in

View Full Version : increase Similar Threads ?


Mongez
05-10-2008, 07:12 PM
Hi every one

i want to change the increase Similar Threads number from 5 to 10 !

i think this is great for seo !

where the responsible code in functions_search.php ?

Thanks

Lynne
05-11-2008, 03:11 AM
I thought I had answered this over on vb.com (if you are the same user).

If you look in functions_search.php around line 342 is the function fetch_similar_threads. Right under there are two queries, one at line 352 and the other on line 452.

In each of these two queries, there is a LIMIT 5. Try changing that to LIMIT 10.

I have NOT tried this. You may want to try this on your test site first. And, I believe this will only affect threads made after you make this change. All older threads will still only have a max of 5 similar threads listed.

Dismounted
05-11-2008, 05:34 AM
I believe this will only affect threads made after you make this change. All older threads will still only have a max of 5 similar threads listed.
Rebuilding the caches will fix this.

Mongez
05-11-2008, 06:10 AM
Thanks Lynne & Dismounted It's work ! :)

another question please ,This option well slow down my forum (I Mean In showthread & posting) ?

sorry for my English

Dismounted
05-11-2008, 06:20 AM
There should be no noticeable impact on speed.

Mongez
05-11-2008, 02:17 PM
Many Thanks Dismounted

tintin74
05-12-2011, 04:25 PM
It doesn't work for vb4. Any idea to fix it on vb4?