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 |
#362
|
|||
|
|||
Here Is a Good Solution Folks:
I copied all the contents of Template : mrnasesimilarthreadcheck_header Then I edited Template: newthread I put my cursor right below $postpreview and pasted the contents I copied from Template: mrnasesimilarthreadcheck_header I saved it. Now The Mod works perfectly. Muwahahahaha Enjoy! |
#363
|
|||
|
|||
What's the thing called in vbulletin options? I can't find it. I only see it installed in the manage products!
can anyone help. |
#364
|
|||
|
|||
Quote:
|
#365
|
|||
|
|||
I am on VB3.84 , The option is in VBoptions, Message Posting and Editing Options, towards bottom in that category, I also modified my /includes/functions_search.php , searched for LIMIT and changed 5 to 7 on 2 parameters to make it 7 results instead of 5, of course you will have to update counters in maintenance and update your similar threads again for the new amount to show. ENJOY!
With the above you can also put a if condition on it to exclude or include certain forums or usergroups. <if condition="in_array($forumid, array(1,2,3))"> or not in forum <if condition="!in_array($forumid, array(1,2,3))"> |
#366
|
||||
|
||||
Installed and working on mousepad.mouseplanet.com. I changed the template to use the newer version of jQuery. I would like to have it only search the specified forums but do not want to hard-code those forumIDs into the templates. How can I reference the array that the AdminCP code uses for the list of excluded forumIDs?
|
#367
|
|||
|
|||
you can do usergroups which only have access to certain forums
|
#368
|
|||
|
|||
Hey there someone can fix this?
Code:
Warnung: Die Aufrufe von fetch_template() sollten mit der Klasse vB_Template ersetzt werden. Templatename: mrnasesimilarthreadcheck_header in [path]/includes/functions.php (Zeile 4097) Warnung: Die Aufrufe von fetch_template() sollten mit der Klasse vB_Template ersetzt werden. Templatename: mrnasesimilarthreadcheck_main in [path]/includes/functions.php (Zeile 4097) Parse error: syntax error, unexpected T_STRING in /htdocs/forum/includes/class_core.php(4432) : eval()'d code on line 27 |
#369
|
||||
|
||||
Have you uploaded all the files to the correct place?, what version of vb are you using?
|
#370
|
|||
|
|||
Any chance of getting this on vBulletin 4?
|
#371
|
|||
|
|||
4.1.3 no working ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|