Back to vBulletin 3.0 Add-Ons

Existing Topics Check
Mod Version: 1.00, by Velocd

This modification is in the archives.
vB Version: 3.0.0 Rating: (1 vote - 5.00 average) Installs: 55
Released: 09 Jan 2004 Last Update: Never Downloads: 10
Not Supported  



This hack will allow you and your members to check for existing topics, or similar ones, of the thread you plan to create when at newthread.php.

This should help to prevent double topics that often appear from newbish members who neglect to use the search feature.

It uses the exact functions as the "similar threads" feature, therefore has the same accuracy.

Tested to work on:
  • vBulletin 3 RC2
  • Internet Explorer 6 (with Javascript enabled)
  • Mozilla Firebird 0.7 / Mozilla 1.5 (with Javascript enabled)

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

Tweak #1

If you would like the find icon to show upon typing in the input box, and then disappear if the input box is empty upon change, please do the following:

In the template newthread, find:
Code:
function showFind(object)
{
  if(object.value != '')
  {
    document.findicon.src = "$stylevar[imgdir_button]/findicon_on.gif";
    document.findicon.style.cursor = "pointer";
  }
  else
  {
    document.findicon.src = "$stylevar[imgdir_button]/findicon_off.gif";
    document.findicon.style.cursor = "default";
  }
}
Replace it with:
Code:
function showFind()
{
    document.findicon.src = "$stylevar[imgdir_button]/findicon_on.gif";
    document.findicon.style.cursor = "pointer";
}
function hideFind(object)
{
  if(object.value == '')
  {
    document.findicon.src = "$stylevar[imgdir_button]/findicon_off.gif";
    document.findicon.style.cursor = "default";
  }
}
In the same template, find:
Code:
<td><input type="text" class="bginput" name="subject" onChange="showFind(this)" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
Replace it with:
Code:
<td><input type="text" class="bginput" name="subject" onchange="hideFind(object)" onkeypress="showFind()" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
------------------------------------------------

Attached is a screenshot.

Inside the zip are English, German, and French installation instructions. Please be aware I used a software translator for the German and French docs.

Enjoy.

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

Find Topic: Existing Topics Check vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024