Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[Ajax] Check for similar thread before posting a new one Details »
[Ajax] Check for similar thread before posting a new one
Mod Version: 1.00, by MrNase (Member) MrNase is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.7 Rating: (48 votes - 4.75 average) Installs: 514
Released: 08 Jul 2007 Last Update: 10 Jul 2007 Downloads: 2612
Not Supported Uses Plugins Template Edits Additional Files  

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 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.
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/do....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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The attached file is up to date.


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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Bild 10.png
Views:	2976
Size:	31.8 KB
ID:	66704   Click image for larger version

Name:	Bild 9.png
Views:	3966
Size:	43.9 KB
ID:	66705   Click image for larger version

Name:	Bild 8.png
Views:	2710
Size:	30.2 KB
ID:	66706  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
End-User Options Ajax Check Username MrNase vBulletin 3.6 Add-ons 74 10 Sep 2008 10:13
End-User Options Ajax Check eMail MrNase vBulletin 3.6 Add-ons 17 02 Nov 2007 04:05
Similar Topic Check Velocd vBulletin 2.x Full Releases 33 06 Dec 2003 23:10

  #211  
Old 18 Jan 2008, 09:09
Todecay Todecay is offline
 
Join Date: Sep 2007
Originally Posted by skippybosco View Post
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.
Reply With Quote
  #212  
Old 18 Jan 2008, 10:18
Gharibe Gharibe is offline
 
Join Date: Oct 2006
nice work , thanks
installed
__________________
Payment Processing Forums
Reply With Quote
  #213  
Old 18 Jan 2008, 10:28
Gharibe Gharibe is offline
 
Join Date: Oct 2006
not working on 3.6.8
__________________
Payment Processing Forums
Reply With Quote
  #214  
Old 18 Jan 2008, 16:04
biliboy biliboy is offline
 
Join Date: Jan 2008
can i have that this check from only one forum?
i mean take results from only one forum.
Reply With Quote
  #215  
Old 18 Jan 2008, 19:22
biliboy biliboy is offline
 
Join Date: Jan 2008
Originally Posted by Gharibe View Post
not working on 3.6.8
man, its working great!
on 3/6/8
Reply With Quote
  #216  
Old 19 Jan 2008, 09:02
biliboy biliboy is offline
 
Join Date: Jan 2008
Originally Posted by biliboy View Post
can i have that this check from only one forum?
i mean take results from only one forum.
Someone??
Reply With Quote
  #217  
Old 19 Jan 2008, 12:57
DrKNickel DrKNickel is offline
 
Join Date: Oct 2007
Does this work with the 3.7 Beta ?

Greets
Reply With Quote
  #218  
Old 20 Jan 2008, 22:09
Todecay Todecay is offline
 
Join Date: Sep 2007
Originally Posted by biliboy View Post
Someone??
Yes you can.

You can set all forum ID's of the ones you DON'T want the system to check.
Reply With Quote
  #219  
Old 22 Jan 2008, 20:18
Gharibe Gharibe is offline
 
Join Date: Oct 2006
should we add something else than importing product ?
__________________
Payment Processing Forums
Reply With Quote
  #220  
Old 26 Jan 2008, 21:17
Mrcransie Mrcransie is offline
 
Join Date: Dec 2007
Does it work with 3.7?
Reply With Quote
  #221  
Old 29 Jan 2008, 23:21
mry mry is offline
 
Join Date: Jan 2008
wonderful very very good
Reply With Quote
  #222  
Old 31 Jan 2008, 00:19
Stryker412 Stryker412 is offline
 
Join Date: May 2005
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.

Last edited by Stryker412; 31 Jan 2008 at 13:21.
Reply With Quote
  #223  
Old 02 Feb 2008, 04:13
justchil justchil is offline
 
Join Date: Sep 2005
Originally Posted by Smoothie View Post
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.
Reply With Quote
  #224  
Old 02 Feb 2008, 04:16
justchil justchil is offline
 
Join Date: Sep 2005
Very cool! I'm just going to update the "template" around the results and call it it a day!

*installed*
Reply With Quote
  #225  
Old 02 Feb 2008, 06:45
k007 k007 is offline
 
Join Date: Jan 2008
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 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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:26.

Layout Options | Width: Wide Color: