The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
=V.2= vB3 Similar Threads Details »» | |||||||||||||||||||||||||
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:
Show Your Support
|
Comments |
#42
|
||||
|
||||
Ok, I see. Sorry I missed that. But where I have it now, it seems to be a lot more accurate. It is supposed to pick words out of the title and use those, right? Well, now it does that even better. Any word in the title and it pulls up a Similar thread with the same word in it. Isn't that how it is supposed to work? And will it be alright where I have it now or will it mess with anything, do you know?
|
#43
|
|||
|
|||
=/ Okay, it's not working at all for me. I've followed the install file exactly and I still cant get anything to display....????
|
#44
|
||||
|
||||
@boofo: you're fine
@auero: Make sure you have placed the variable $similarthreads in your showthread template. Give me a link to your forums, and I'll check it out if it is still not working. |
#45
|
|||
|
|||
Whew!!! Got it working perfectly.
|
#46
|
||||
|
||||
Quote:
|
#47
|
||||
|
||||
I just realized a good fix for this hack, to make it more accurate. I noticed with the first version I had it check for similar threads only in the forum which the thread originated in. If you do this with this hack, you get much more valid results, mostly if you have a large forum.
I've updated the instructions to include this, so just re-upgrade the codechunk.txt. If you want to just do it manually, find (in the codechunk): PHP Code:
PHP Code:
|
#48
|
||||
|
||||
Actually.. I just realized that if this is done, the displaying of which forum the similar thread is in is pointless.
Although, I just got another good idea: Search the parent forum and all sub-forums within for similar threads, that the thread originates from. Now if I can only figure out how to do this.... |
#49
|
||||
|
||||
A note on the permissions for this hack. They only work if custom permissions are applied to all forums (which have different permissions) as it ignores inherited permissions. I've had to disable this hack now till they work correctly.
|
#50
|
||||
|
||||
Another question ... why are you pointing the category background in your showthread_simularthreads template to:
<tr align="center" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" background="https://vborg.vbsupport.ru/images/catagory_backing.gif"> Is there a reason for this, or are you "unknowingly" duplicating the same mistake in every update of this hack? |
#51
|
||||
|
||||
It's only one small mistake Rolodex, nobody is perfect, eh? I'm quite lazy as it is, so I'll update it next time I figure it need be. If it's gonna kill you, then well.. I bid you the best farewell j/k
@NTLDR: When you say inherited permissions, do you mean specific permissions geared to user groups? Also, can you give an example of how it is not working? I have user group and forum permissions set, and this hack is working correctly--unless I am overlooking something. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|