PDA

View Full Version : New Posting Features - [Ajax] Check for similar thread before posting a new one


Pages : [1] 2

MrNase
07-07-2007, 10:00 PM
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:
- 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 (http://jquery.com) to get the information from ajax.php. jQuery (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. :)
The jQuery file is compressed and only 20kb large.
To download the file, visit the homepage at http://jquery.com/
The link to download the file is on the right hand side.

Here's the version I use: http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.1.pack.js

Just download it and put it into the 'clientscript' folder without renaming the file.


Installation:
Download jQuery as described above.
Import the attached file using the Product Manager. Go to your vBulletin settings and search for 'Check for similar threads?'. Enable it. :)


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:
1. initial release
2. current release
*** fixed some browser issues. The attached file is up to date.





How to fix the Opera problems in the first release:
The first release of this Add-on didn't work on Opera. To fix the problems, please follow these steps:
Open the template 'mrnasesimilarthreadcheck_header' and REPLACE the content with this code:

<script type="text/javascript" src="clientscript/jquery-1.1.3.1.pack.js"></script>
<script type="text/javascript">
$(function(){
$("#inputthreadtitle").bind("blur", function(){
var value =$(this).val();
$('td#similarthreadcheckcontent').html('<img src="$stylevar[imgdir_misc]/13x13progress.gif" />');
$.ajax({
type: "GET",
url: "ajax.php",
data: "do=getsimilarthreads&title="+value,
success: function(msg){
$('td#similarthreadcheckcontent').html(msg);
}
});
});
});
</script>
The attached file is up to date. :)


Support will only given to those who have clicked 'install'. :)

Distance
07-08-2007, 08:36 PM
Looks good, thanks.

Robi_Kenobi
07-08-2007, 09:01 PM
HI this is great! *installed*

But is it possible to change the design of the threads shown?
I would like a more plain style to show the threads.

Or das it use another board function and just redirect the output?

Smoothie
07-08-2007, 09:12 PM
Installed but, nothing in the setting for me either........

MrNase
07-08-2007, 09:12 PM
HI this is great! *installed*

But is it possible to change the design of the threads shown?
I would like a more plain style to show the threads.

Or das it use another board function and just redirect the output?

It uses a slighty modified version of a default template so it should use your forum's colors. :)
But you can edit the appearance simply by editing the templates 'showthread_similarthreads_ajax' and 'showthread_similarthreadbit_ajax'. :)

Smoothie
07-08-2007, 09:14 PM
sorry never mind i found it in there im going to test now and if all goes well then ill delete my posts anc click installnever mind found it. Hidden quite well I might add. ;)

MiahBeSmokin420
07-08-2007, 09:15 PM
Installed but, nothing in the setting for me either........

the setting are in the message and posting options



but yo i got it all set up and i tried 2 diffrent versions of that pack thing you got to put in the client script

and both versions you posted links for


but yet it is not working correctly

i dont know whats wrong with it but it dosent say anything aobut finding any other threads
or anything like that

it just say it will search and yada yada yada

MrNase
07-08-2007, 09:15 PM
Installed but, nothing in the setting for me either........


That might be a problem with the datastore. :)

Try running this link: http://www.yoursite.com/admincp/index.php?do=buildbitfields

(Don't forget to change the url to yoursite ;))

Smoothie
07-08-2007, 09:16 PM
tested and works quite well so far. Good one!

MiahBeSmokin420
07-08-2007, 09:18 PM
ya im uninsalling this crap

thanks for the though of the mod though

unless ou can figure out why it dose not accually run the search stuff

then i wount be useing it

but thanks for the idea of it and good luck to the other that use it

Smoothie
07-08-2007, 09:19 PM
Sorry for all the confusion. The settings are there. Didn't know to look for them under message posting and editing options....most products I've installed add the settings at the end of the list.

MiahBeSmokin420
07-08-2007, 09:20 PM
ya same but is it accually working for you to the point that it accually searches for crap?

Robi_Kenobi
07-08-2007, 09:23 PM
Seems only to work in Firefox.

In IE and Opera nothing happens.

IE gives me an Error Code in Line 372.

MiahBeSmokin420
07-08-2007, 09:25 PM
ok thanks for letting me know that im test in FF if it works in there and not ie im not useing it cause i use ie and have my site restricted to only ie

Smoothie
07-08-2007, 09:34 PM
ya same but is it accually working for you to the point that it accually searches for crap?Yup!

steven s
07-08-2007, 09:34 PM
Seems only to work in Firefox.

In IE and Opera nothing happens.

IE gives me an Error Code in Line 372.
Not working on FF (Mac).

MrNase
07-08-2007, 09:35 PM
Seems only to work in Firefox.

I'll look into it, thanks for the feedback. :)

Smoothie
07-08-2007, 09:40 PM
Tested in FF, Camino, Safari and Opera on the Mac. Not working in Safari or Opera. Need a fix or will need to uninstall....

MiahBeSmokin420
07-08-2007, 09:41 PM
I'll look into it, thanks for the feedback. :)

yesir

if you fix it for IE

then let me know cuase it looks very very intresting and like something i would like to have on my forums

Smoothie
07-08-2007, 09:41 PM
Not working on FF (Mac).Works for me with FF on the Mac. Mac 10.4.10 and FF 2.0.0.4

4x4 Mecca
07-08-2007, 10:39 PM
not working here... FF and vista. It shows the message, but doesn't search for anything

Brandon Sheley
07-08-2007, 11:03 PM
Yup!

doesn't work for me :(

Lizard King
07-09-2007, 12:08 AM
Doesn't work for me also.

LPH2004
07-09-2007, 12:25 AM
I get the message that there will a search but it does not happen.

FreshFroot
07-09-2007, 01:18 AM
this is REALLY GREAT!!

Smoothie
07-09-2007, 01:29 AM
The problem is this does not work with all browsers....but when it does work it's good. So, I had to uninstall until this gets fixed.

Carlos2
07-09-2007, 02:45 AM
Great hack ;)

RMS-Chef
07-09-2007, 04:25 AM
Nice.
I would like to see a button or small link to click in order to initiate the search rather than having it automatically search. I have a pretty large forum and although I have not yet installed it due to the reported browser issues, I can only guess that it may have a performance impact if it auto searches every time. A button to initiate would probably reduce usage and server impact.

Thanks again, will keep an eye on this one.

Coders Shack
07-09-2007, 07:42 AM
nice!!

projectego
07-09-2007, 08:25 AM
* projectego clicks install :D

MrNase
07-09-2007, 08:56 AM
I tested it on FF (latest) using my Mac and it works perfectly. I tested it yesterday using FF (latest) on Windows XP and it also worked perfectly.

I reported the Opera problems to the jQuery developers and I am still waiting for feedback.

RMS-Chef: Yes, that sounds good. I'll take a look at it. I'll also modify the query which loads the similar threads to make it faster.

As for the problem that it loads without showing the similar threads I can only guess that it comes because of the amount of threads your community has.

To help me find out more about this problem please go to http://yourforums.com/ajax.php?do=getsimilarthreads&title=test and look if you see the table with the similar threads. :)

Lizard King
07-09-2007, 09:17 AM
I tested this on two different live boards and my test board. It doesn't work with any browser. The url you gave returns similar threads however within the thread it doesn't search anything with any browser.

Smoothie
07-09-2007, 10:50 AM
I tested it on FF (latest) using my Mac and it works perfectly. I tested it yesterday using FF (latest) on Windows XP and it also worked perfectly.

I reported the Opera problems to the jQuery developers and I am still waiting for feedback.

RMS-Chef: Yes, that sounds good. I'll take a look at it. I'll also modify the query which loads the similar threads to make it faster.

As for the problem that it loads without showing the similar threads I can only guess that it comes because of the amount of threads your community has.

To help me find out more about this problem please go to http://yourforums.com/ajax.php?do=getsimilarthreads&title=test and look if you see the table with the similar threads. :)

Did you test with safari? Because I tested this with Safari on the Mac and it did not work.

Mecho
07-09-2007, 11:13 AM
installed but i can not see anything in vboption .

* i used this link : http://www.yoursite.com/admincp/index.php?do=buildbitfields
* uninstalled and installed again !

but still nothing in vboption ... any idea ?

thanks in advance

aggiefan
07-09-2007, 12:10 PM
marking this so i remember to come back to it.... would put this into use if/when the bugs get fixed. sounds like a really good idea.

Smoothie
07-09-2007, 12:46 PM
installed but i can not see anything in vboption .

* i used this link : http://www.yoursite.com/admincp/index.php?do=buildbitfields
* uninstalled and installed again !

but still nothing in vboption ... any idea ?

thanks in advancelook under message posting options.

WiseOne38221
07-09-2007, 02:09 PM
I DID set it to run in message posting and editiing options, put the file required in clientscript folder, it does NOTHING. I see the message, but it does not work for some reason. IE7, Windows XP, 3.6.7 PL1

Mecho
07-09-2007, 02:17 PM
look under message posting options.

Thanks mate.. i got it now .. thank u

WiseOne38221
07-09-2007, 02:21 PM
message posting and editing options...is wher it is at the bottom once you import the product. I can get that all working and then go to make a new thread and it does NOT do anything.

AzzidReign
07-09-2007, 02:21 PM
This looks great! Maybe add to the bottom of the results: click here to see all results. Or something like that since there are usually more than 5 similar threads...at least on my site.

WiseOne38221
07-09-2007, 02:25 PM
How did you get it to work? I placed the .js file in clientscript folder, yet it does nothing...and yes, I set it to enabled...

Carlos2
07-09-2007, 02:29 PM
You have to put the js file in clientscript in ftp, after, install the atachment. It seems that you didnt installed because it doesnt appear in installed products, but is there, you have to go to vbulllettin options in your panel, and search in the post and editing options, there above you have to enable and you will see it working.

WiseOne38221
07-09-2007, 03:15 PM
I did ALL that, exactly following instructions and it DOES work except it won't search the threads and I get a page done w/errors on bottom left of IE7...JavaScript not right or something...

Invalid ID
07-09-2007, 03:30 PM
Works great

bashy
07-09-2007, 03:54 PM
Dont work for me, Dont even show the wording.
I have IE 7 and Firefox 2.x

I alreay have a manual button to click to search the thread title for similar posts
could this conflict in anyway?

Although i think unlikely due to the many members having the same/similar issues?

Can you let me know the manual template/file edits please?

In your instructions it says

Important:
It adds 2 new templates, it changes 1 template and it edits 2 files

What file edits does this do? Doe the Product automatically do these?


This link (aaded my url) does not show any threads, just a blank page!!!!
http://yourforums.com/ajax.php?do=getsimilarthreads&title=test

But i know similar threads work, click this link
http://www.bashys-place.com/forums/findtopic.php?topic=bashys%20place%20&f=7

Smoothie
07-09-2007, 04:11 PM
I'll add this again, for most of the people having problems. Out of the 4 browsers I use, only 2 displayed similar threads. The other 2 browsers showed nothing. I can see the text that says " when you enter a title the system will search, etc." but in only 2 of the browsers after entering a title and clicking the message box do I get a list of similar titles. The other 2 browsers do nothing.

axi
07-09-2007, 05:13 PM
not working for me either

mred
07-09-2007, 07:08 PM
Nice Mod but it is not working in MS IE, in FF it's working fine. Can you please look into that problem? :) TNX

Michael Biddle
07-09-2007, 07:25 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=81626" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=81626</a>

tanyeri24
07-09-2007, 08:06 PM
omg!! you really rock! very nice!

but also at me onlye works with firefox :) If will work with iE would be great job! Please support it. thanks

MrNase
07-09-2007, 09:39 PM
All those who have clicked 'install' should have gotten an eMail.

Most problems should be fixed: I tested it on Safari, Opera and FF and all three are running fine. :)


bashy: The product file does ALL the work for you. All you have to do is enable it under the 'message posting and editing options' in your AdminCP once it's installed. :)

4x4 Mecca
07-09-2007, 09:39 PM
I see that it's updated, but the original post doesn't show the bugs, or what was fixed.

WiseOne38221
07-09-2007, 09:44 PM
It worked! Thanks sooooooo much! I voted for you!

MrNase
07-09-2007, 09:46 PM
I see that it's updated, but the original post doesn't show the bugs, or what was fixed.

It's in the first post of the thread at the very bottom just above the download link. :)


WiseOne38221: It's the least I can do after the problems with the initial release. :o

mred
07-09-2007, 10:00 PM
Great! Your support could not be better.
Thanks for that usefull modification.

MrNase
07-09-2007, 10:00 PM
Is working with IE? :)

WiseOne38221
07-09-2007, 10:12 PM
Yes, thanks, MrNase! It works perfect with IE7 and my members have already hoorah'd, LOL. I voted for you for MOTM!

:)

steven s
07-09-2007, 11:12 PM
I'm dumb. I just didn't understand this at first.
But now how can I make the simillar threads fluid?

Lizard King
07-09-2007, 11:41 PM
Working pretty good thanks for the fix MrNase

Smoothie
07-10-2007, 01:03 AM
All those who have clicked 'install' should have gotten an eMail.

Most problems should be fixed: I tested it on Safari, Opera and FF and all three are running fine. :)


bashy: The product file does ALL the work for you. All you have to do is enable it under the 'message posting and editing options' in your AdminCP once it's installed. :):up: All good in the hood! Thanks.

Invalid ID
07-10-2007, 02:50 AM
Thanks again

4x4 Mecca
07-10-2007, 05:13 AM
I get this error in firefox, it doesn't work for me in IE either.


Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLDocument.queryCommandState]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://www.myforum.com/clientscript/vbulletin_textedit.js?v=364 :: anonymous :: line 1469" data: no]
Source File: http://www.myforum.com/clientscript/vbulletin_textedit.js?v=364
Line: 1469

lolo?
07-10-2007, 09:43 AM
thx work fine for me

edit small probl?me:
Uncached templates: mrnasesimilarthreadcheck_header (1)
Uncached templates: mrnasesimilarthreadcheck_main (1)

TheMilkCarton
07-10-2007, 09:51 AM
Brilliant. I love how assertive it is... it really prevents people from using the excuse "Well I searched and couldn't find anything".. when posting a new thread. :)

*Installed!!*

EDIT: Small question/feature request:

Would it be too intensive to add the parent forum to the "Forum" column? So say I was posting in this forum, it would say "vBulletin Modifications > vBulletin Add-ons" instead of just "vBulletin Add-ons"? Not the best example, but the location can be very vague if it doesn't show a breadcrumb.

Alternatively, what about at least wrapping a link around the forum name in the forum column? So they can at least click to visit the forum.

Anyway, I haven't even looked at the templates/plugins yet.. I may be able to make this modification easy enough, but I still thought I'd share the idea. :)

Lizard King
07-10-2007, 11:07 AM
thx work fine for me

edit small probl?me:
Hook : cache_templates
if (THIS_SCRIPT == 'newthread')

{
$globaltemplates[] = 'mrnasesimilarthreadcheck_header';
$globaltemplates[] = 'mrnasesimilarthreadcheck_main';
}
This will take care of your problem

MrNase
07-10-2007, 11:52 AM
This will take care of your problem

Thanks, I included it into the product file. :)

lolo?
07-10-2007, 12:58 PM
Hook : cache_templates
if (THIS_SCRIPT == 'newthread')

{
$globaltemplates[] = 'mrnasesimilarthreadcheck_header';
$globaltemplates[] = 'mrnasesimilarthreadcheck_main';
}
This will take care of your problem

Thanks, I included it into the product file. :)

great work fine thanks :up::up:

sunrise2006
07-10-2007, 01:57 PM
Thanks, it's great mod. I installed it.

Mecho
07-10-2007, 05:08 PM
is it possible that u add one picture like this : https://vborg.vbsupport.ru/external/2007/07/24.gif
when this system is trying to find similar topics ??? so ppl know something trying to happen :D

thanks

Lizard King
07-10-2007, 05:43 PM
is it possible that u add one picture like this : https://vborg.vbsupport.ru/external/2007/07/24.gif
when this system is trying to find similar topics ??? so ppl know something trying to happen :D

thanks
It already have a picture but something is wrong within the picture. Download images/misc/progress.gif to your computer and rename it to 13x13progress.gif and reupload it.

I also modified the hack to work with GARS , here is the how to.

Open GARS_newthread and search for
$GARS_options[options]
Replace it with
<!-- / subject field -->
$GARS_options[options]

Open newthread_form_complete plugin and add the following just after
$vbulletin->templatecache["newthread"] = str_replace('<!-- / subject field -->', fetch_template('mrnasesimilarthreadcheck_main'),$v bulletin->templatecache["newthread"]);

$vbulletin->templatecache["GARS_newthread"] = str_replace('</head>',fetch_template('mrnasesimilarthreadcheck_header' ).'</head>',$vbulletin->templatecache["GARS_newthread"]);
$vbulletin->templatecache["GARS_newthread"] = str_replace('name=\"subject\"','id=\"inputthreadtitle\" name=\"subject\"',$vbulletin->templatecache["GARS_newthread"]);
$vbulletin->templatecache["GARS_newthread"] = str_replace('<!-- / subject field -->', fetch_template('mrnasesimilarthreadcheck_main'),$v bulletin->templatecache["GARS_newthread"]);

hondaprelude88
07-10-2007, 06:01 PM
I think a great addition to this would be the ability to have it show just similar threads in just the specific forum your posting in.

jasculs
07-10-2007, 06:24 PM
This is a very awesome mod.

I have the open local links in same window modification on my forum. For this mod is there any way I can have the searched similar threads show up in a new window when clicked while still having my other local links throughout my forum still open in the same window?

Here is the mod I'm using:

https://vborg.vbsupport.ru/showthread.php?t=130966

Smoothie
07-10-2007, 06:32 PM
I think a great addition to this would be the ability to have it show just similar threads in just the specific forum your posting in.not sure why you'd wanna do that because if a similar thread exits in another forum, the users should look there first before posting a new one.

hondaprelude88
07-10-2007, 06:58 PM
The reason I ask is I run a car forum, It would be nice to have it only show posts that are similar for that specific car or gen of car specific forum, not all cars in the whole forum. Does this make since? Just a thought.

Mecho
07-10-2007, 07:31 PM
It already have a picture but something is wrong within the picture. Download images/misc/progress.gif to your computer and rename it to 13x13progress.gif and reupload it.
I also modified the hack to work with GARS , here is the how to.


i have already 13x13progress.gif but i did as u said too . still i can not c any picture .
and would u plz tell me what is GARS ?
thanks

Lizard King
07-10-2007, 07:39 PM
Gars is : http://www.thevbgeek.com/forumdisplay.php?f=26

Upload 13x13progress.gif to your style misc folder.

MrNase
07-10-2007, 08:21 PM
Oops I thought 13x13progress.gif is a vBulletin image because it is in my vB 3.6.7 package (see screenshot). :)

I am glad that it's finally working. I was running that Add-on on my community from day one and my members didn't report any problems. :D

Lionel
07-10-2007, 09:49 PM
It already have a picture but something is wrong within the picture. Download images/misc/progress.gif to your computer and rename it to 13x13progress.gif and reupload it.

I also modified the hack to work with GARS , here is the how to.

Open GARS_newthread and search for
$GARS_options[options]
Replace it with
<!-- / subject field -->
$GARS_options[options]

Open newthread_form_complete plugin and add the following just after
$vbulletin->templatecache["newthread"] = str_replace('<!-- / subject field -->', fetch_template('mrnasesimilarthreadcheck_main'),$v bulletin->templatecache["newthread"]);

$vbulletin->templatecache["GARS_newthread"] = str_replace('</head>',fetch_template('mrnasesimilarthreadcheck_header' ).'</head>',$vbulletin->templatecache["GARS_newthread"]);
$vbulletin->templatecache["GARS_newthread"] = str_replace('name=\"subject\"','id=\"inputthreadtitle\" name=\"subject\"',$vbulletin->templatecache["GARS_newthread"]);
$vbulletin->templatecache["GARS_newthread"] = str_replace('<!-- / subject field -->', fetch_template('mrnasesimilarthreadcheck_main'),$v bulletin->templatecache["GARS_newthread"]);

Nice work! Thanks.

Mecho
07-11-2007, 12:10 PM
Gars is : http://www.thevbgeek.com/forumdisplay.php?f=26

Upload 13x13progress.gif to your style misc folder.

Thanks man . it working well now and perfect :)

thanks MrNase for release this great hack too. installed and rated 5 ;)

MrNase
07-11-2007, 02:37 PM
thanks MrNase for release this great hack too. installed and rated 5 ;)

You're welcome! :)

4x4 Mecca
07-11-2007, 04:59 PM
Is the error I posted part of another hack I have or is it something to do with yours?

MrNase
07-11-2007, 05:50 PM
Since it's working for 99% of the users, it must be something wrong with your files or with another plugin. :)
From what I see, there's an error in a vB file that isn't touched by this Add-on. :)

StrifeX
07-11-2007, 06:30 PM
Works great for me :D

For the people that it doesn't work for: 1) Upload/install product 2) upload jQuery to clientscript folder (found in first post) 3) Make sure the "Check for similar threads?" Option is set to "On" in vBulletin Options. I missed some of these when i first read the post, so if anyone missed anything i hope this helps... Also, about other browsers, it's most probably jQuery :(

MiahBeSmokin420
07-11-2007, 08:03 PM
were the bugs for internet explore fixed?

Ipuck
07-11-2007, 08:32 PM
Excellent mod.

Installed!!!!!!!!!

reebok008
07-11-2007, 08:56 PM
Installed with pleasure!

Does anybody have a gif image, that has to display while system searches for similar topis ...

Thank in advance.

reebok008
07-11-2007, 09:00 PM
Never mind. I got it :)

For those who didn't get it here is an attachment.

Put it into your your-super-forum.com/images/misc/ folder.

MrNase
07-11-2007, 09:13 PM
were the bugs for internet explore fixed?

Yes! :)


Here's a great resource for activity indicators: http://www.napyfab.com/ajax-indicators/ :)

BadgerDog
07-11-2007, 09:32 PM
Installed.... :)

Thanks .... :up:

Question: I assume that when it displays similar posts in forums, it considers the user's access rights? In other words, it's not going to display a list of posts in forums that he doesn't have permissions for?

Regards,
Badger

MrNase
07-12-2007, 10:21 AM
Question: I assume that when it displays similar posts in forums, it considers the user's access rights? In other words, it's not going to display a list of posts in forums that he doesn't have permissions for?

Yes! It uses the same functions vBulletin uses to display the normal similar threads. It even pays attention to the global ignore (better known as Send Someone to Coventry) setting. :)

fly2hi
07-12-2007, 08:10 PM
not working for me :( ie6

BadgerDog
07-12-2007, 10:50 PM
Yes! It uses the same functions vBulletin uses to display the normal similar threads. It even pays attention to the global ignore (better known as Send Someone to Coventry) setting. :)


Thanks ... :)

Is it possible to make the display box of similar threads wider somehow? On our sustem, the date/time part of the post line is all "scrunched" up and compressed under itself. Another inch or so and it would display better.

Also, my AdminCP looks like this in the area where you mod is activated:


Check for similar threads?
Activates the search for similar threads. Yes No

Edithistory::Show images
Show Images by viewing a Edithistory ? Yes No

Check for similar threads? - Disable for certain forums
Enter the IDs of the forums where you don't want the similar thread check to be enabled.
Enter the IDs seperated with spaces (example: 1 12 54).

Show in Archive Style ?
Should bbCodes (Quote, php, html, code) be shown in the Archive Style ? (For a better overview) Yes No

Versions per page
Here you can enter the number of Versions to be shown on 1 page.

I assume that the ones in italics are the ONLY settings applicable to your mod?

Thanks again.... :up:

Regards,
Badger

Videx
07-12-2007, 10:59 PM
Looks good, but please fix the instructions to make finding that option easier. I mean, one shouldn't have to search for 15 minutes and read 20 posts to figure it out.

rrr
07-13-2007, 02:42 AM
is there any way to make this usergroup specific?

That way members with 1000 posts in a specific usergroup don't need to see it when they post a new thread, and new members in a specific usergroup see it all the time.

Seems like a great tool to help new users find answers without having to wait for responses to a thread that may be a duplicate of one that already exists.

fox3nova
07-13-2007, 03:28 AM
when I install this mod, I cant find the option in admincp.
Is it normal ?

MrNase
07-13-2007, 06:28 AM
Looks good, but please fix the instructions to make finding that option easier.
The instructions say 'Go to your vBulletin settings and search for 'Check for similar threads?' The browser inline search does a good job on this.



is there any way to make this usergroup specific?

That way members with 1000 posts in a specific usergroup don't need to see it when they post a new thread, and new members in a specific usergroup see it all the time.
I have no plans to do that, sorry. But I highly doubt that it will be complicated to add.



when I install this mod, I cant find the option in admincp.
Is it normal ?
It's hidden under 'message posting and editing options'.
The settings are called 'Check for similar threads?' and'Check for similar threads? - Disable for certain forums'

fox3nova
07-13-2007, 08:56 AM
It's hidden under 'message posting and editing options'.

Ok! I found it , it really a good mod. I love it , thank you!

bashy
07-13-2007, 10:15 AM
HI

Working fine now for me thanks

MrNase
07-13-2007, 04:45 PM
HI

Working fine now for me thanks

Willing to share what the problem was? Maybe it helps me to improve the next release. :)

bashy
07-13-2007, 05:07 PM
Conflict with the manual "already posted check" hack i had installed, I removed the older 1 and it works fine now, thanks!!

BadgerDog
07-13-2007, 05:37 PM
Anyone?

Is it possible to make the display box of similar threads wider somehow? On our system, the date/time part of the post line is all "scrunched" up and compressed under itself. Another inch or so wider and it would display better.

Thanks

Regards,
Badger

MrNase
07-15-2007, 04:59 PM
I tried already tried that and I didn't get it to work. :(

exportforce
07-15-2007, 08:50 PM
It only shows me that if you enter a Title it will search, but it does nothing :(
Don't know what to do.

minimalize
07-16-2007, 02:46 PM
same problem for me! It doesn´t search anything. Plugin is activated.

System: FF 2 & Vista

jasculs
07-18-2007, 03:37 AM
This is a very awesome mod.

I have the open local links in same window modification on my forum. For this mod is there any way I can have the searched similar threads show up in a new window when clicked while still having my other local links throughout my forum still open in the same window?

Here is the mod I'm using:

https://vborg.vbsupport.ru/showthread.php?t=130966

TheMilkCarton
07-18-2007, 04:07 AM
That's not the Local Links mod's fault.

This plugin would need to be fixed.

jasculs
07-18-2007, 04:10 AM
nevermind...I figured it out...it was much easier then I thought.

TheMilkCarton
07-18-2007, 04:13 AM
For anyone who hasn't figured it out:

showthread_similarthreadbit_ajax

Find: <a href="showthread.php?$session[sessionurl]t=$simthread[threadid]" title="$simthread[preview]">$simthread[title]</a>

Replace: <a href="showthread.php?$session[sessionurl]t=$simthread[threadid]" title="$simthread[preview]" target="_blank">$simthread[title]</a>

morrow
07-18-2007, 04:49 AM
Installed. Nice mod, but a question... It seems that if I enter in a certain phrase to search for, it only brings up a small handful of threads that are indeed related, but it does leave out some of the newer threads. Why is that?

MrNase
07-18-2007, 04:32 PM
morrow: It uses the vBulletin default function to find similar threads. In fact I didn't even touch the function because it was working just right.

The function gives each similar thread a number, the higher the number the higher the similarities. You can't control it directly but there are some vBulletin settings that might help you.
They're hidden under the search settings. It's basically everything that has to do with the similar threads but I can't give you the exact settings because I don't have an english vBulletin. :)

DJRavine
07-19-2007, 02:12 PM
all i can say is wow... thank you..
thats one hell of an awesome mod...
very very very useful.. ;)
keep it up mate...

kushal
07-20-2007, 08:09 AM
Thank you for the modification. A small request:
Can the search function be limited to some forum only while it is searching for the similar thread?

AzaDiyaR
07-20-2007, 06:52 PM
this not working for me :(

BadgerDog
07-29-2007, 05:20 PM
For anyone who hasn't figured it out:

showthread_similarthreadbit_ajax

Find: <a href="showthread.php?$session[sessionurl]t=$simthread[threadid]" title="$simthread[preview]">$simthread[title]</a>

Replace: <a href="showthread.php?$session[sessionurl]t=$simthread[threadid]" title="$simthread[preview]" target="_blank">$simthread[title]</a>

Thanks ... :up:

That really helps the usefulness of the mod...

Regards,
Badger

MrNase
07-29-2007, 09:12 PM
I think it's a good idea to let the similar threads open in a new window. Let's pretend the user doesn't find the information he was looking for. In that case he still has the window with the new thread form open and I doesn't have to navigate through the forums just to get back to the new thread page. :)

AzaDiyaR
08-10-2007, 07:36 AM
waow thanks man this working for me :D

TheBlackPoet
08-10-2007, 09:24 AM
its not working for me (ie7)... but im not uninstalling... i will just hold it in stasis until there is a fix for it in the browser i use... INSTALLED...

user02934123123
08-10-2007, 03:25 PM
Doesn't seem to work.... It indicates in the edit box that it will show a listing of similar titles, but never does. Any suggestions?

rapidphim
08-10-2007, 06:34 PM
Does this hack compatible with 3.6.8?

user02934123123
08-19-2007, 12:45 PM
As per my earlier post: this doesn't seem to work.

It adds a line to the new thread template that indicates it will search for similar threads, but the search never takes place and nothing is displayed.

It appears this hack doesn't work with the newest release of vB. Any fix, or is it time to uninstall?

With thanks.

Pottsy
08-20-2007, 04:24 AM
I have gone to 3.6.8 and it's working fine here.

vspro
08-21-2007, 05:50 AM
why i can't found 'Check for similar threads?' in Board Options
> I'm using 3.6.8

FreshFroot
08-24-2007, 03:10 AM
great hack and very usefull, thanks mate!

vspro
08-24-2007, 07:07 AM
why i can't found 'Check for similar threads?' in Board Options
> I'm using 3.6.8
anybody help me ?????????

cynthetiq
08-26-2007, 04:07 AM
anybody help me ?????????
Vboptions > Message Searching Options > Automatic Similar Thread Search

set to Yes.

vspro
08-26-2007, 02:05 PM
i don't see Automatic Similar Thread Search in this
And U're using under 3.6.8 ??
because Vboptions hav been changed to Board Options

Ratman2050
08-26-2007, 04:06 PM
This has to be one of the BEST MODS around!

nahhh3075
08-27-2007, 07:31 PM
Yes, thanks, MrNase! It works perfect with IE7 and my members have already hoorah'd, LOL. I voted for you for MOTM!

:)

can i ask how did you fix this issue? I'm also using IE 7.0 with vista for OS

*the reason was i had downloaded the latest jquery-1.1.4.pack.js, but should have downloaded jquery-1.1.3.1.pack.js.
*please don't download the latest jquery but the one dev mentioned

nahhh3075
08-27-2007, 08:53 PM
Thanks for the great mod but it seems it's not working with other languages forums or still have some issues.
It's showing after i enter an new thread title and looks it's working but not showing any relevant posts. Interesting, the default VB similar threads are showing in the post but this is not working.

All functions looks fine the ajax working good but not working. I really want to use this mod; any suggestions?

cynthetiq
08-28-2007, 03:13 AM
i don't see Automatic Similar Thread Search in this
And U're using under 3.6.8 ??
because Vboptions hav been changed to Board Options
here's what I see

You should however find what you are looking for here:

The product file does ALL the work for you. All you have to do is enable it under the 'message posting and editing options' in your AdminCP once it's installed.


I can't get it to work right. It does the search, but says "No similar topics found. Start your thread and let the users answer your questions."

even when I put in the same title over and over and over again.

nahhh3075
08-28-2007, 09:50 AM
I can't get it to work right. It does the search, but says "No similar topics found. Start your thread and let the users answer your questions."

even when I put in the same title over and over and over again.

this is the same thing which i am experiencing. IE 7.0 with Vista

rayphua
08-28-2007, 10:13 AM
Mine doesn't work either. It does not even do a search. I've tried using both the latest and the one that Dev suggested for the jquery.

ubuntu-geek
08-29-2007, 05:50 PM
Scratch this we tracked it down to another plugin..

bashy
08-29-2007, 08:00 PM
I cannot replicate this error, mine works fine with the ' character

Kaleem
08-30-2007, 02:05 PM
Didt work for me :s

i did all wht it says but whenever i post a new thread nothing happens?

BellyBelly
09-02-2007, 01:38 PM
I installed this and then uploaded jquery, but nothing is displaying when I am putting in a title. I have disabled it for now, but would love to enable it if there are any ideas...

SBlueman
09-02-2007, 01:41 PM
I love this mod......right now though the similar threads field is showing up at the bottom of my message field. Is there a way to move it? I have a heavily modded site and can't seem to find where the change was made on the template.

BTW, I am running on 3.6.5

RS25com
09-03-2007, 02:16 AM
Installed on 3.6.8. Failed when I used the .4 version of jquery, but works PERFECTLY with the linked version in the first post. OP should clarify this to help others. :)

vspro
09-03-2007, 02:48 PM
waiting 4 3.6.8...................

RS25com
09-07-2007, 09:59 PM
waiting 4 3.6.8...................
This works if you install the linked version of jquery.

However, one question:

Currently it searches for and returns similar posts. It does not return similar threads. As a result, it will sometimes return the same thread 4-5 times, and not include other threads. Can you change this behavior to not include the same thread more than once, or change it so that users can select to search just thread titles?

ahmedeldeep
09-08-2007, 04:50 PM
thank you
but i does not work with me
can i know how i can do the template change manual ??

SBlueman
09-08-2007, 09:49 PM
I love this mod......right now though the similar threads field is showing up at the bottom of my message field. Is there a way to move it? I have a heavily modded site and can't seem to find where the change was made on the template.

BTW, I am running on 3.6.5

NM, I updated to 3.6.8 and the field is now in the right spot! This mod rocks!

vspro
09-09-2007, 03:48 AM
Go to your vBulletin settings and search for 'Check for similar threads?'. Enable it.

But i can't see it in Board Options ( 3.6.8 )

nickypoooo
09-10-2007, 03:28 PM
Works great, clicked "install" thank you very much!

BadgerDog
09-12-2007, 02:48 PM
Uninstalled....

Thanks

Regards,
Badger

silurius
09-12-2007, 06:09 PM
When I first installed it on a 3.6.6 site today it was displaying the informational text and activity graphic under FF and IE but not the search results (it would even show "no ... found" message).

After installing and uninstalling it a few times, I deleted jquery-1.1.3.1.pack.js from /clientscript and uploaded jquery-1.2.js and then it would only show the initial informational text ("Notice: When you enter a thread title...").

I have since removed jquery-1.2.js, replaced jquery-1.1.3.1.pack.js, uninstalled and reinstalled the product several times and still have this behavior. So in summary it first never returned results at all and now does nothing but display the default informational text.

bigcurt
09-14-2007, 11:52 PM
Doesn't show up in vBulletin options at all....

sybakaos
09-22-2007, 08:17 PM
Works great if you do the "Things to consider:" stuff.

fulviods
09-25-2007, 09:19 AM
I have this problem when i post a new thread

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT thread.threadid, MATCH(thread.title) AGAINST ('ford') AS score
FROM vb3_thread AS thread

WHERE MATCH(thread.title) AGAINST ('ford')
AND thread.open <> 10


LIMIT 5;

MySQL Error : Can't find FULLTEXT index matching the column list
Error Number : 1191
Date : Tuesday, September 25th 2007 @ 12:20:37 PM
Classname : vb_database

kinggori
09-30-2007, 03:24 AM
Thank you MrNase for this wonderful wonderful mod :-)

Some people already asked this but you haven't replied so here is the question again...

How can we make this mod search the section that the user is in only?
This is very important for some forums like mine.

Thanks in advance :)

Fifthe1ement
09-30-2007, 04:02 AM
When I first installed it on a 3.6.6 site today it was displaying the informational text and activity graphic under FF and IE but not the search results (it would even show "no ... found" message).

After installing and uninstalling it a few times, I deleted jquery-1.1.3.1.pack.js from /clientscript and uploaded jquery-1.2.js and then it would only show the initial informational text ("Notice: When you enter a thread title...").

I have since removed jquery-1.2.js, replaced jquery-1.1.3.1.pack.js, uninstalled and reinstalled the product several times and still have this behavior. So in summary it first never returned results at all and now does nothing but display the default informational text.

I am having the same problem where it looks as if it is going to work as everything is there the message and then once you enter a name and go to the text box it displays the moving circle image, but then nothing. It just stops and nothing is displayed? So no it doesn't work here. And for those still looking the options are located in the Message Posting and Editing Options.

Fifth

perfphysio
09-30-2007, 01:00 PM
This should be nominated for a Mod of the Month. I wish I'd found this years ago :) thanks a lot

Fifthe1ement
10-14-2007, 04:48 AM
MrNase can you please help me as others are having the same issue?

Thanks,

Fifth

qdin
10-18-2007, 12:30 PM
This great hack was working for me in all browsers. But when I updated to 3.6.8 it started not to function. Could anyone help me pls ??

frostyIntrepid
10-21-2007, 12:07 PM
anyone knows anywhere else I can download the jquery from? The provided link doesn't seem to work for me :(

Grazu
10-22-2007, 02:15 PM
does not work. No sttings can be found. Uninstalltion done... Waiting for answers and new (tested) version...

Artes_Marciales
10-22-2007, 02:20 PM
Sound Nice,
Reserverd!!

Thanks!!!

gx123
10-23-2007, 08:44 PM
working beautifully. thanks.

nesta2006
10-24-2007, 06:23 AM
working beautifully. thanks. 3.6.8 with jquery-1.2.1.js new

dethfire
10-25-2007, 01:51 AM
hmmm works ok, however it searches private forums, like my staff forum, ahhhh

Strik3
10-26-2007, 06:23 PM
I'm using 3.6.8 and I had opened 5 threads (after and before install) with "test test xyz" as topic and if i make a new thread with "test" as topic this text is comming: "No similar topics found. Start your thread and let the users answer your questions."

andryus
10-31-2007, 04:27 PM
Work fine , thanks ;)

Installed :D

Strik3
11-01-2007, 12:43 AM
I'm using 3.6.8 and I had opened 5 threads (after and before install) with "test test xyz" as topic and if i make a new thread with "test" as topic this text is comming: "No similar topics found. Start your thread and let the users answer your questions."

anyone?

NolF
11-01-2007, 01:06 PM
if u are not using the scripted called "jquery-1.1.3.1.pack.js"
go to the tamplate called "mrnasesimilarthreadcheck_header", find the script name (is easy) and change that name to the one you have uploaded in your clientscript folder :D (it works ^^)

I was wondering how server intensive this mod is. Because it essentially works as a ajax search (or that's the impresion I get) :S If the forum is medium/large size it could be bad... dunno. How bad could it be?
I personally would use it a search function... so I guess my users would too, that's why I'm asking. I know it's not ment to be used that way... but if I thought of that I know they will too

Thx mate, and is a very very good mod... should help me prevent lazy guys from posting the same thing over and over again, or at least make them use meaningful titles :P

SCRIPT3R
11-03-2007, 05:46 AM
Very interesting; Will install again when this is actively supported. I noticed that author ignoring help requests which is a bad sign IMO.

mad@Max
11-07-2007, 09:37 PM
Problem:

Fatal error: Cannot redeclare class vb_xml_builder in /home/samforum/domains/samforum.ws/public_html/includes/visionscripts/psionic_hide/ajax_complete.php on line 15

How fix it?

FireFish
11-08-2007, 06:42 AM
Installed but, nothing in the setting for me either........The trick: Go to your VB Settings & select SHOW ALL.
Using your browser's Find feature, search similar.

Boom; you're golden.

skippybosco
11-08-2007, 09:11 AM
For the folks having issues with not getting any results back:

1. Are you using full text or VBulletin as your search engine? If you are using full text, does it work if you switch to VBulletin
2. Have you tried rebuilding your search index?

I had the problem of not returning any results on my sandbox installation, switched to VBuleetin and rebuilt the search index and all worked well after that.

Let me know if it works for you!

Baitona
11-11-2007, 12:03 AM
Hi :)
it is wounder full script, many thanks

I just want to say that I had a difficult time to get it working,
I have activated the plugin, but still nothing was showing the new thread

I kept trying, until i figured out that it must be some sort of conflict with other pluin/ hack!!
and yes indeed, it was:

in my case it was a conflict with the @(Template Compressor)

if you use the plugin Template Compressor, you have to uncompress the templates and then add the following to be ignore list for the (Template Compressor plugin) :

mrnasesimilarthreadcheck_main newthread

and then it should work

p.s
i said in my case, you may have another case if it still did not show up :)

Baitona

Saviour
11-14-2007, 06:30 PM
Nice mod! Really...

Installed and apparently working just fine on 3.6.8 PL2...using the Avant Browser. Just thought you should know.

Great job with this...nominated!

cbiweb
11-14-2007, 08:35 PM
Excellent mod! I'm confused about something, though. I tested it by entering a new thread title with the exact phrase that is in an existing thread title, and it said "No similar topics found". Why didn't it find the existing topic?

thebands
11-15-2007, 05:19 PM
*installed*

Couldn't get it to work when I downloaded and installed jquery 1.2.1.

When I removed the version above I downloaded and installed jquery 1.1.3.1 and it worked perfectly. I think you have to use this version for it to work.

almqdad
11-16-2007, 11:09 AM
I have intalled it does not work , completley dead

I am using vBulletin Version 3.6.5

you can turn it off for certain forums or
- you can turn it off completely without leaving any code that messes your templates/files

how you do that

moon_spell
11-16-2007, 11:56 AM
works on 3.6.8 ?

thx perfect mod

WoodiE
11-18-2007, 09:06 PM
I've just installed this and it works on vb 3.6.8 PL2 - sorta...

When I type in a subject say for example "Ford truck" this mod will bring up similar threads with the titles of Ford Truck however they are old threads, like back in 2004. It does not show current stuff. I know this because 3-4 threads down on the same forum there is a thread titled Ford Truck but this mod doesn't display that thread.

Why not?

mpoorrajab
11-19-2007, 05:01 AM
my default language is farsi & i use 3.6.8 Patch Level 2 but when i want to send a new post i cannot see similar post , i see Notice: When you enter a thread title the system will search for similar threads which have already been posted. That should help you to find answers.

imported_stefan
11-19-2007, 10:43 AM
no sorry worked for me not in FF nor in IE ;-)

nyunyu
11-19-2007, 11:19 AM
can this be used with 3.5.4? anyone has tested it?

Crashh
11-20-2007, 06:19 PM
People, can u help me to fix my error

I install this hack, try to search in Opera:

if i type in english , smth like "test" - forum said me the result
if i type in russian any word - forum said that no matches...

how to fix?

PS: If i use IE, firefox - that's ok!

mpoorrajab
11-22-2007, 08:54 AM
my default language is farsi & i use 3.6.8 Patch Level 2 but when i want to send a new post i cannot see similar post , i see
who can help me ?

Jaxel
11-23-2007, 09:06 PM
This script doesnt work for me.. NEVER finds similar threads.

skippybosco
11-24-2007, 03:17 PM
For the folks having issues with not getting any results back:

1. Are you using full text or VBulletin as your search engine? If you are using full text, does it work if you switch to VBulletin

2. Have you tried rebuilding your search index?

I had the problem of not returning any results on my sandbox installation, switched to VBulletin and rebuilt the search index and all worked well after that.

Let me know if it works for you!

Jaxel
11-24-2007, 06:21 PM
What is this "full text" search thing people keep talking about?

And yes, I have rebuilt my search index, hasn't changed anything.

skippybosco
11-25-2007, 03:20 AM
Inside of your admin console under VBulletin Options (on the left) there is a menu item called Search Type (which links to http://yoursite.com/admincp/options.php?do=searchtype)

It will tell you the type of search option you have selected. I, for example, am using the VBulletin Search Engine so mine reads:

"Your forum is currently using the vBulletin search engine.

To enable the MySQL Fulltext search, we will issue the following two queries. If for some reason this process is unsuccessful, you will need to perform these queries manually. Please be patient as this can take from 10 seconds to an hour depending on the number of posts on your forum. "

I had the problem of no results. I switched to vBulletin search and then rebuilt my search index (http://yoursite.com/admincp/misc.php?do=chooser) and everything is working great now.

Hope this helps!

Jaxel
11-28-2007, 04:57 PM
WOOT! That fixed it! Thanks man!

behcet
11-28-2007, 06:19 PM
tnx. Very nice product.

nyunyu
11-29-2007, 03:40 AM
Is this hack can be use with 3.5.4? Anyone?
Thanks.

MrNase
12-02-2007, 12:13 PM
It should be compatible with 3.5.4 :)

BoredOutOfMyMin
12-03-2007, 05:06 AM
installed but i can not see anything in vboption .

* i used this link : http://www.yoursite.com/admincp/index.php?do=buildbitfields
* uninstalled and installed again !

but still nothing in vboption ... any idea ?

thanks in advance

look under message posting options.

The directions need to be updated.

I had to hunt for this myself.

Looks like an excellent addon.

Thank you!

veyissen
12-03-2007, 06:56 PM
Thanks it works on www.bilgipasaji.com/forum

andreamarucci
12-05-2007, 08:31 PM
I like it very much and it worked thanks to this tip


if u are not using the scripted called "jquery-1.1.3.1.pack.js"
go to the tamplate called "mrnasesimilarthreadcheck_header", find the script name (is easy) and change that name to the one you have uploaded in your clientscript folder (it works ^^)

However I've uninstalled it because I've some reserved and private forum and I've noticed that this plugin search also (and show the results!!!) also on these forum.

It's not possible to avoid the search in some forum? I've tried to put the private forum ID in the settings but these settings are not meant to avoid the search.

TrioxX
12-06-2007, 02:39 AM
I found the solution for Internet Explorer 7! I've readed all posts, but no of this solved my problem. But its easy!

1. Just download jquery-1.1.4.pack.js (http://jqueryjs.googlecode.com/files/jquery-1.1.4.pack.js) here.

2. Load it up into clientscript folder.

3. Then open the template mrnasesimilarthreadcheck_header and find:

jquery-1.1.3.1.pack.js

Replace with:

jquery-1.1.4.pack.js

Note: I've not tested with other browsers (like IE6, Opera or else...).

Kind regards from germany,
TrioxX

andreamarucci
12-06-2007, 07:44 AM
Yes, that's exactly what I've said, but the problem regarding private forum remains...

TrioxX
12-06-2007, 08:58 AM
What do you mean with "private forum"? Password protected? Hidden for normal users?

Lizard King
12-06-2007, 11:19 AM
I like it very much and it worked thanks to this tip




However I've uninstalled it because I've some reserved and private forum and I've noticed that this plugin search also (and show the results!!!) also on these forum.

It's not possible to avoid the search in some forum? I've tried to put the private forum ID in the settings but these settings are not meant to avoid the search.
It is not an issue at all. If you have permissions you can see the information regarding private forums. If not they are not visible at all. This function uses the same function as similar threads.

andreamarucci
12-06-2007, 03:01 PM
So you mean that I've seen my private forum because I've access to it and a user that doesn't have access to it will not see anything? If that's the case this one is wonderful. I'll install is asap!!!

UPDATE
It's true!!! I've tried and it works this way. Fantastic!!!

nyunyu
12-06-2007, 06:20 PM
Work great. Thank you

vip-q.com
12-13-2007, 12:04 AM
that's great I was going to use it
but it's doesn't get the informations from the DB
I have an Arabic forum and the data that it's in the " jquery-1.1.3.1.pack.js"
it's only for English site's

could I change the data that it's in the " jquery-1.1.3.1.pack.js"
to Arabic data and how I could edit it ( what the data that I have to edit )
Thanks

leroub
12-25-2007, 10:18 PM
dont work with the 3.7 Beta3 version ... :-(

the script dont find the similar title.....

johnbmtl
12-30-2007, 12:44 PM
Works fine.
But had to use the version of jQuery that you used and not the latest one.

This is a great mod!
Thanks!

leroub
12-31-2007, 02:07 AM
Works fine.
But had to use the version of jQuery that you used and not the latest one.

This is a great mod!
Thanks!

I used a "jquery-1.1.3.1.pack.js" and "jquery-1.2.1.pack.js"... and the same result.....

jschvili
01-02-2008, 10:48 PM
For the folks having issues with not getting any results back:

1. Are you using full text or VBulletin as your search engine? If you are using full text, does it work if you switch to VBulletin
2. Have you tried rebuilding your search index?

I had the problem of not returning any results on my sandbox installation, switched to VBuleetin and rebuilt the search index and all worked well after that.

Let me know if it works for you!

For all you folks that doesn't get any search result. THIS is the man. Follow his recommendation. It took me all night. Skippybosco gave me peace. THANKS!

Kent100
01-05-2008, 12:08 PM
Just download it and put it into the 'clientscript' folder without renaming the file.

Hallo, und danke f?r den Hack, der ist sehr gut und wichtig.:up:
aber irgendwie l?uft er bei mir nicht so richtig, findet also keine ?hnliche Threads.
wie soll ich jquery-1.1.3.1.pack.js benennen? Vielleicht liegt es da dranne?
Oder weil mein Board nicht auf englisch bzw. deutsch ist? -> sweta.mobi
Danke.
mfg Kent

mystic10
01-08-2008, 05:02 AM
this is proably the dumest question anyone will ask but i dont see simplar thread in options ..i placed jquery in clientscrip and upload the file thru admin panel but no show..i dont know what iam doing wrong pleae guide

rwoscott
01-08-2008, 06:03 AM
this is proably the dumest question anyone will ask but i dont see simplar thread in options ..i placed jquery in clientscrip and upload the file thru admin panel but no show..i dont know what iam doing wrong pleae guideYou may have to Rebuild Similar Threads.

Admincp>Maintenance>Update Counters>>>Rebuild Similar Threads.

This can take a while depending on the size of your forum.

mystic10
01-09-2008, 01:46 AM
another dumb question: i did rebuid similar thread still no show how come

rwoscott
01-09-2008, 06:01 PM
another dumb question: i did rebuid similar thread still no show how come
In admincp>Vb options>Message Posting and Editing Options

there are 2 qns.
"Check for similar threads?" and "Check for similar threads? - Disable for certain forums"

Enable the first, and enter any forum Id's you want excluded.

mystic10
01-09-2008, 06:30 PM
Thank U Thank U Thank U Thank U Thank U...i Cant Thanks U Enough I Was Going Crazy Looking For Similar Thread In The Option...maybe The Author Can Add This Part That Way Less Confusion For People Like Me

rwoscott
01-10-2008, 12:14 AM
Thank U Thank U Thank U Thank U Thank U...i Cant Thanks U Enough I Was Going Crazy Looking For Similar Thread In The Option...maybe The Author Can Add This Part That Way Less Confusion For People Like MeNo probs.

BtWInstallation:
Download jQuery as described above.
Import the attached file using the Product Manager. Go to your vBulletin settings and search for 'Check for similar threads?'. Enable it. It is already in the instructions. ;)

neopet001
01-10-2008, 03:45 AM
does it cause server overload with the ajax?

Todecay
01-18-2008, 08:09 AM
For the folks having issues with not getting any results back:

1. Are you using full text or VBulletin as your search engine? If you are using full text, does it work if you switch to VBulletin
2. Have you tried rebuilding your search index?

I had the problem of not returning any results on my sandbox installation, switched to VBuleetin and rebuilt the search index and all worked well after that.

Let me know if it works for you!


Just to share with you guys:

some users had the same problem as myself 'It shows the note but doesn't really search for same thread titles'
I've tried to switch FULL TEXT to VBulletin Search (it's right under VBulletin Options in the right box in AdminCP) and rebuild my searchindex and after a hard refresh it work fine now.

Gharibe
01-18-2008, 09:18 AM
nice work , thanks
installed

Gharibe
01-18-2008, 09:28 AM
not working on 3.6.8

biliboy
01-18-2008, 03:04 PM
can i have that this check from only one forum?
i mean take results from only one forum.

biliboy
01-18-2008, 06:22 PM
not working on 3.6.8

man, its working great!
on 3/6/8

biliboy
01-19-2008, 08:02 AM
can i have that this check from only one forum?
i mean take results from only one forum.

Someone??
:)

DrKNickel
01-19-2008, 11:57 AM
Does this work with the 3.7 Beta ? :)

Greets

Todecay
01-20-2008, 09:09 PM
Someone??
:)

Yes you can.

You can set all forum ID's of the ones you DON'T want the system to check.

Gharibe
01-22-2008, 07:18 PM
should we add something else than importing product ?

Mrcransie
01-26-2008, 08:17 PM
Does it work with 3.7?

mry
01-29-2008, 10:21 PM
wonderful very very good

Stryker412
01-30-2008, 11:19 PM
Tried to install tonight. I've tried all the suggestions in this thread:

1) rebuilt search
2) search set to vbulletin
3) search similar set to on

Anyone have any other suggestions?

Edit: Got it, had to roll back to 1.3.1 of the jquery file.

justchil
02-02-2008, 03:13 AM
Sorry for all the confusion. The settings are there. Didn't know to look for them under message posting and editing options....most products I've installed add the settings at the end of the list.

Whew found it finally! Trying it out now.

justchil
02-02-2008, 03:16 AM
Very cool! I'm just going to update the "template" around the results and call it it a day!

*installed*

k007
02-02-2008, 05:45 AM
Awesome hack man, works great.
just got one little small request/bug if there is a similar thread in a forum where you don't have access to, the plugin doesn't display it because the user has no access which is good :D but it just doesn't print the usual message when there is no similar threads.
so if there is a similar thread in a forum i don't have access to, it doesn't display it but it never sais nothing similar found.. just leaves the box blank.

TCE Killa
02-03-2008, 03:57 PM
Doesn't work for me, I use 3.6.8, thanks anyway.

xorex
02-05-2008, 04:23 PM
3.6.4 work . in 3.6.8 p2 and 3.7.0 p4 not working ((

p.s nice hack for 3.6.4 version

racingsolution
02-05-2008, 04:32 PM
Doesn't work for me, I use 3.6.8, thanks anyway.

So do I and it works just fine.. Double check your installation instructions.. it should work

Boofo
02-05-2008, 07:08 PM
Thanks ... :up:

That really helps the usefulness of the mod...

Regards,
Badger

What does this do?

nsusa
02-10-2008, 02:32 AM
Works fine on my 3.6.8 SP2. Awesome :)

Chris

biliboy
02-13-2008, 04:43 PM
Yes you can.

You can set all forum ID's of the ones you DON'T want the system to check.

its still take Message from another forums

Bubble #5
02-14-2008, 05:05 PM
What does this do?

Theoretically it searches for similar threads already on your forum, before someone starts a new thread. Nice idea, but I don't think it works well enough just yet.

Boofo
02-14-2008, 05:24 PM
Theoretically it searches for similar threads already on your forum, before someone starts a new thread. Nice idea, but I don't think it works well enough just yet.

Thank you, sir. ;)

But I was referring to the code in this post (https://vborg.vbsupport.ru/showpost.php?p=1304723&postcount=114).

MadK
02-14-2008, 08:43 PM
I just keep getting this on every topic:

No similar topics found. Start your thread and let the users answer your questions.

Yet, the name is exactly the same.

rwoscott
02-14-2008, 11:27 PM
Thank you, sir. ;)

But I was referring to the code in this post (https://vborg.vbsupport.ru/showpost.php?p=1304723&postcount=114).
target="_blank opens a link in a new window.

Boofo
02-14-2008, 11:59 PM
Thank you, sir. ;)

I guess that's what I get for not reading the whole link, huh? ;)

MadK
02-16-2008, 01:46 AM
Anybody? :(

I just keep getting this on every topic:

No similar topics found. Start your thread and let the users answer your questions.


Yet, the name is exactly the same.

gonzek
02-17-2008, 02:45 PM
damn it! it not works... (vBulletin 3.6.8 Patch Level 2)

any suggestions?

similar threads works fine

mariocaz
02-19-2008, 05:29 PM
Also for me is not working.

When I submit a thread(Topic) don´t appears anything of similar topics, no error, no nothing.

How can I fix the problem ?

My VB is 3.6.8 patch 2

Thank you!

------------

Never mind I forgot to download and upload into my forum the ajax file, so sorry!!

And it is working like a charm, thank you great mod.

naisho
02-20-2008, 08:30 PM
Thanks. Very good mod.
It works fine with vBulletin 3.6.8 PL2
I had to use jquery-1.1.3.1 (the one in the first post) as with jquery-1.2.3 it didn't work.

paulnp88
02-22-2008, 02:25 AM
I just keep getting this on every topic:

No similar topics found. Start your thread and let the users answer your questions.


Yet, the name is exactly the same.

I have the same problem, any solutions?

MadK
02-24-2008, 02:58 PM
Argh! Anybody. :(

HaCaoChien
02-24-2008, 03:25 PM
Do not works with Vietnamese characters Y__Y

toddos
02-28-2008, 05:07 PM
pls update it, it doesnt work, just the start-text, but it isnt really searching !

Dominik, MrNase, bitte bereinig das irgendwie, es steht nur der Standarttext da, aber er sucht nichts über Ajax ?!

zeus_r6
02-28-2008, 07:48 PM
Works :)

heeroyun
03-15-2008, 05:13 AM
Installed , I followed the instrution step by step but still , the it won't work . The check for similar thread setting just didn't appear

codershark
03-15-2008, 05:36 AM
dont works on vb 3.7 beta 6 :(

ivanstanchev
03-15-2008, 09:34 AM
I impoted the product,but how to enable it ?In my vbulletin options i cant find it ?

yakusasc
03-17-2008, 07:02 AM
Hi,

When we put a ' in the topic tite, we get a database error :
Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT * FROM ruleshack
WHERE (fileurl LIKE 'http://forums.website.com/ajax.php?do=getsimilarthreads&title=alpha%20'test' AND exactmatch = 1 )
OR (fileurl LIKE 'http://forums.website.com/ajax.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'test' AND exactmatch = 1 )
OR (fileurl LIKE 'http://forums.website.' at line 2
Error Number : 1064
Date : Monday, March 17th 2008 @ 09:02:00 AM
Script : /ajax.php?do=getsimilarthreads&title=alpha%20'test

Classname : vB_Database

F0xy
03-17-2008, 10:12 AM
I impoted the product,but how to enable it ?In my vbulletin options i cant find it ?

to enable the product you need to go to admincp>vbulletin options>Message Posting and Editing Options>Check for similar threads? and enable it ;)