vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Similar Topic Check (https://vborg.vbsupport.ru/showthread.php?t=54308)

Velocd 06-13-2003 10:00 PM

Similar Topic Check
 
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) :p

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. ;)

Velocd 06-14-2003 05:57 AM

Screenshot when similar topics are found:

Velocd 06-14-2003 05:59 AM

Screenshot when no topics are found:

S.Shady 06-14-2003 06:07 AM

very cool. Will install on both test boards to tell you how it goes

Austin Dea 06-14-2003 06:20 AM

Nice ;D

S.Shady 06-14-2003 06:33 AM

everything is good with vb2 but i got a little html problem with it.

is there anyway to get the search buttons like the rest of the buttons as it looks on vb3

and my vb2 results page is messed up with the colors and the time isnt showing up and alll that in the right colum

Freddie Bingham 06-14-2003 06:46 AM

Did someone miss the rule about no vB3 hacks?

S.Shady 06-14-2003 06:49 AM

hmm i did. sorry wbout that. should i take down the fix i did ?

edit nevermind my fix was for vb2 :duh:

Velocd 06-14-2003 06:50 AM

Shady, I've updated the zip, so clear your cache then just re-download it, and apply the changes for the similartopic templates.

If there is a rule for no vB3 hacks, then I've indeed missed it. If you wish for me to take the vB3 version down, there is no problem in it.

S.Shady 06-14-2003 06:51 AM

Quote:

Today at 03:50 AM Velocd said this in Post #11
Shady, I've updated the zip, so just re-download it.


does it fix the missing time ? i got everything fixed already just need the last post info to work :)


All times are GMT. The time now is 10:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03854 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete