The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[Ajax] Check for similar thread before posting a new one Details »» | |||||||||||||||||||||||||||||||||||
[Ajax] Check for similar thread before posting a new one
Developer Last Online: Sep 2010
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 jQuery to get the information from ajax.php. jQuery 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: http://code.google.com/p/jqueryjs/do...s&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: https://vborg.vbsupport.ru/showpost....1&postcount=27 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 Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
Artes_Marciales, atmaca |
Comments |
#352
|
||||
|
||||
Your welcome. I knew it was there under vboptions, just could not remember the exact subsection, that's why I gave the search option.
Glad you've found it. |
#353
|
||||
|
||||
yeah, i must have misread the instructions:
Quote:
in any case, thanks. |
#354
|
||||
|
||||
Yes that was my first interpretation too when I installed it the first time.
|
#355
|
||||
|
||||
Quote:
Like this: HTML Code:
<!-- show the following to the listed usergroups --> <if condition="is_member_of($bbuserinfo,1,2,3)"> CODE FOUND IN THE TEMPLATE </if> Mind that jquery 1.4.4 is out, so the listed version of jquery.min.js (1.2.6) is outdated. So in mrnasesimilarthreadcheck_header replace: HTML Code:
<script type="text/javascript" src="clientscript/jquery-1.2.6.min.js"></script> HTML Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> |
#356
|
||||
|
||||
Ive read this entire hack and the older one and still cant find how to reduce or increase the results returned. Can someone post the solution. Thanks....
|
#357
|
||||
|
||||
hahaha excelent Add On ..
Thnx for share this ! |
#358
|
||||
|
||||
Had to uninstall. I got it working but couldn't prevent it from pulling rss feeds, even after excluding that forum and rebuilding the similar threads.
Someone needs to write up a How To on this hack. Its actually a very good ideal but unless you know your way around VB it can easily discourage less experienced admins. Real chick #1. After you install run your "rebuild similar threads" in maintenance. #2 It works off the VB default "similar thread" so to change how many results are displayed you need to change the VB default for the same. Its in one of your php files but I cant remember the one right now. Its not in the plugins or templates. #3 Just because you don't get a result doesn't mean its not working. It just means you have nothing similar. Try more words in the title and you will see results. Like I said this really needs a Read Me included. |
#359
|
|||
|
|||
When this will be ported to vB4?
|
#361
|
|||
|
|||
Not working:
This thread is in the Modification Graveyard. This modification cannot be downloaded. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|