Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Similar Topic Check Details »»
Similar Topic Check
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-13-2003 Last Update: Never Installs: 24
 
No support by the author.

Similar Topic Check
for vBulletin 3 & vBulletin 2
by Velocd


This hack, as well all my other vB2 hacks, I no longer provide support for (being I run vB3 and it's too much hassel to debug vB2). When vB3 Release Candidate comes out, by request I might convert some of my hacks.

The vBulletin 3 version has been post-poned until vB3 RC is released.

What does this hack do?

This hack adds a button next to the subject field when creating a thread, that when pressed will display a pop-up window with a listing of similar threads already existent to the topic you are creating, as a means to provide you with alternatives just incase.


Background (aka, more reading stuff)

Yet another interesting hack of mine.. though this one has a strange scenario situated around it.

I began this hack for development on vBulletin 2 as an interesting new concept I thought would stop newbish posters from creating topics that already exist (and are usually fresh).

Early today I was preparing the hack for vBulletin.org release when I checked out this site and noticed it was down. When I returned sometime later, and learned of vB3 Beta release, I was thrilled (like most of us probably were).

Knowing that vB3 has an already good "similar thread" function, I decided to port over the hack to vB3, in the process of getting used to all the new variables and what not.

........ anyway, that is exactly what I have done, but I didn't feel like ditching the original vB2 code of my hack either, so I've decided to release two versions of this hack, both with the same intent in function, but very different coding.. such as the templates, as you know vB3 is very geared around stylesheets.


Differences between versions

When you actually run the check, the main difference you will notice between the two is output in speed, since my version has a few loops which could be bogged down a bit, but since the vB3 version has all those nifty predefined functions that I used, it goes much faster. Also, there is no preview function in the vB2 version (though it is possible, but laziness struck over)

Note if you have vB2, you of course can't use the vB3 version, for the differences in coding. Same goes vice versa.


Screenshots?

Refer to the next couple posts. They're screens of the vB3 version.


Download the hack!

Remember to click install if you use either version of this hack, and comments/questions/suggestions are always welcomed.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-15-2003, 08:51 PM
S.Shady's Avatar
S.Shady S.Shady is offline
 
Join Date: Apr 2003
Location: Cleveland, Ohio
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:09 PM dano said this in Post #19
I like it a lot. Question though, it appears that it only searches the "Title" area of a post for simular threads. Anyway to get it to check the entire site? Or would that just slow the board down too much?

:cough: thats what the search.php file is designed to do in the vb
  #23  
Old 06-19-2003, 01:02 PM
partang2 partang2 is offline
 
Join Date: Jun 2002
Location: Norway
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm.... what is wrong here?? It will not find anything at all even if I copy a title from a existing post at my board.... Did I do anything wrong here?? Shows up fine, but no results at all....

*EDITED*

Now it found something, but that was a thread who doesen't have anything at all to do with the one I would start....!? Any ideas?
  #24  
Old 06-19-2003, 04:26 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, is a good hack, and a good idea, but the search takes too long. Anyway to speed it up some?
  #25  
Old 06-20-2003, 03:49 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have a large forum, the search will take some time. The vB2 version of it is quite slow, being the loops that are processed. You might be better off waiting till vB3 RC is released, and I can re-open the vB3 version. (which works very fast)

As for the accuracy issue that you are experiencing partang.. I'm not sure about it. :ermm: It works fine with me.

Though, I just noticed a stupid mistake in the PHP file, and that is I have two values for my forums in this part:

PHP Code:
$discluded "";  //Forums that are discluded 
Make sure $discluded is instead says:

PHP Code:
$discluded "0";  //Forums that are discluded 
Unless you have already added forums there. There is no permissions check in this hack, so you have to manually add the forums you want not to be checked. I've updated the zip to remove this bug.
  #26  
Old 06-27-2003, 11:18 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack, nice and easy to install and should help stop dupe threads. I do have a problem - it looks like it's not working correctly.

I'm still in the process of developing my forum and as such it only has one thread currently, but when i use this to search for that thread (to see if it works) iit keeps telling me no threads can be found.

I've tried everything from specific words in the title - to the whole title in an bid to get it to show, but no joy. any suggestions?

Other than that, like i say, great hack

/me clicks install
  #27  
Old 07-03-2003, 05:45 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW....This is a GREAT hack. But alas, because of our site size, not useable for it KILLED the server.

Their has to be a way to write it so it does not do such a thing. Are you not just doing a Topic Serach and showing the output? Doing a topic serach on our site does not hurt. Just wondering if anything can be done for I would LOVE this.

www.avsforum.com
  #28  
Old 07-06-2003, 01:13 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wait for vB3 to come out, then install that version, because it's insant and wont affect server performance the least.
  #29  
Old 07-06-2003, 01:21 AM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL...and you are guessing I will go to Vb3 when it is out. That will be some time to come I fear for even after it is out, we will still wait to see what happens with the code for fear of major issues for large sites. (Thought I hear good things.)

Still very much like this hack. VERY MUCH needed.
  #30  
Old 10-31-2003, 12:54 AM
chrisvonc's Avatar
chrisvonc chrisvonc is offline
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this hack. Installed well on my test forum, going to install it now on the live one.

Can some one tell me how I decrease the width of the button?

Thank you again! I too have a lot of people who dont use Search, hopefully this will cut that down.

Chris
  #31  
Old 11-21-2003, 12:20 PM
chrisvonc's Avatar
chrisvonc chrisvonc is offline
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know why this may stop working (finding similar topics) all of a sudden? I installed in on my local test forum, worked great. Installed it on my secure test forum, worked great. Installed it on my production forum worked great. Last week I started to notice repeat topics being posted when I knew there was almost identical pre-existing topics. Sure enough now its stopped finding them. This was one of the last hack I had installed. The only thing I recall doing recently to my forum was changind the default settings for deleting individual posts which really was not a hack.

Do I have to reindex something everynow and then for this to stay working? Any insights would be welcome.

Thanks,

Chris
Closed Thread


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

Forum Jump


All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08344 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete