[Ajax] Check for similar thread before posting a new one
Hi there!
I decided to give my old Add-on a little update. You love the 'similar threads' function and you are sick of duplicate threads just because your users don't use the search function? Why not just combine them? This Add-on will grab the thread title the user typed in and it will load a small box (using Ajax magic ) with 5 similar threads just like the 'similar threads' function that you can normally find under an already posted thread. The box also tells the user to search through the similar threads first BEFORE starting a new one. Features: - indicated if you already subscribed to one or more similar threads - hover over the title and it gives a little preview of the thread's content - no edits whatsoever needed, just import the product file, enable the Add-on and it works (well, it should ) - you can turn it off for certain forums or - you can turn it off completely without leaving any code that messes your templates/files - it can be translated - don't like it anymore? Remove the product and you'll never see that Add-on again Known issues: - none Things to consider: It uses http://jquery.com/ to get the information from ajax.php. http://jquery.com/ is great and you can do many great things with it and unlike the vBulletin method it's quite easy to understand. Here's the version I use: https://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.min.js&downloadBtn= Just download the file from the location and put it into the 'clientscript' folder on your server without renaming the file. jQuery 1.3 is out, read this if you would like to update: Spoiler (click to open)
jQuery 1.3 is out.
To update the product to the latest version of jQuery please follow these instructions: Edit the template called 'mrnasesimilarthreadcheck_header'. Find: Code:
<script type="text/javascript" src="clientscript/jquery-1.2.6.min.js"></script> Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> Additionally this will load the jQuery file from the Google Repository which is faster and means less traffic for your server. Version 2 of this Add-on still uses jQuery 1.2.6 but I am going to update this add-on soon. Close
Installation:
Important: It adds 2 new templates, it changes 1 template and it edits 2 files. I highly doubt that it will break you vBulletin but do a back-up and be on the safe side. Version history: 2.0 -> this release 1.0 -> outdated (made for vB 3.6.*) Download
product-mrnasesimilarthreadcheckv2.xml (10.9 KB, 3980 downloads) Screenshots |
Similar Mods
New Posting Features [Ajax] Check for similar thread before posting a new one | vBulletin 3.6 Add-ons |
End-User Options Ajax Check Username | vBulletin 3.6 Add-ons |
Similar Topic Check | vBulletin 2.x Full Releases |