![]() |
=V.2= vB3 Similar Threads
vB3 Similar Threads =Version 2=
by Velocd This hack, as well all my other vB2 hacks, I no longer provide support for (being I run vB3 and it's too much hassel to debug vB2). When vB3 Release Candidate comes out, by request I might convert some of my hacks. Update - Version 2.1 View this post for complete information. Description: I recoded the old vB3 Similar Threads hack earlier today, realizing a much better and enhanced method of making it work. Also, I made a new thread for this hack mainly so it would be better known, since the old one had many unsolved issues. Improvements:
The MySQL function MATCH..AGAINST requires MySQL version 3.23.23 or later, else the hack will not operate. Screenshots: Refer to the .zip, they are located inside. ;) Upgrading? If you are upgrading from the old version, just replace the codechunk.txt file in the location of the old chunk, as well replacing the templates. --------------- Remember, if you use this hack on your forum, please click the install button! ^__^ side note: once installed, the similar-thread box will not show until you start replying to threads or create new ones. I predict this has something to do with the altering of the field title to FULLTEXT side note 2: if for some reason you are getting an error about FULLTEXT not being functionable on your thread table, you are running a non-MyISAM table type, and thus must be converted. Run this query to do so: PHP Code:
|
Nice....i dont hack my board any more though....
|
In the install file for this hack, you said to do this:
Code:
c. Modify the values "$limit" and "$type" to your preference. |
Also, I replied to a thread, but no Similar thread box showed up. Will it only show "New" threads that are similar, or will it pick up the old ones once the threads are created or replied to?
EDIT: I got it working. I had to put the code under "Show Threads" instead of "Show Posts", like you have in your install file. :) Is there a way to get the last poster to list also? |
Thanks for making a better hack!!
|
Thanks:)
Satan |
With your hack, you will display all private forum threads, if they match the text. You need to use perms for this in order to make it efficient.
I install it, but heavily modified based on forum perms. ;) Here it is the code I used: Code:
$similarthreads = ''; BTW, thanks for a great hack! |
phpmyadmin said:
The used table type doesn't support FULLTEXT indexes Why? |
nice hack - I won't be installing it though.
|
Heh, thanks for providing that Teck, I had figured another way to do it but a bit tacky and lazy on my part ;)
PHP Code:
|
All times are GMT. The time now is 02:02 PM. |
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:
|