Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add a "Has this already been asked?" Button Details »
Add a "Has this already been asked?" Button
Mod Version: 1.00, by reteep (Member) reteep is offline
Developer Last Online: Dec 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (2 votes - 5.00 average) Installs: 35
Released: 10 Oct 2005 Last Update: 11 Oct 2005 Downloads: 15
Not Supported Template Edits  

Add a "Has this already been asked?" Button

Adds a button besides the title when creating a new thread which executes a search query of the filled in words. This helps a bit preventing new users post questions which has already been asked in the past.

Author: Andreas Kraus - sunlab / Musiker-Board

Installation Instructions:

# Open the Admin Control Panel > Styles & Templates > Style Manager > New Posting Template Group > newthread template, and directly above </head>:


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

# now find this code inside newthread:


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

# and replace with:


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

# Save the newthread template and you're done!

Enjoy

Download Now

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

Screenshots

Click image for larger version

Name:	askedbt.jpg
Views:	968
Size:	68.4 KB
ID:	35561  

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
[3.0.3] Add a "Has this already been asked?" Button reteep vBulletin 3.0 Template Modifications 8 06 Jan 2006 15:59

Comments
  #2  
Old 10 Oct 2005, 13:00
predatorkill predatorkill is offline
 
Join Date: Apr 2005
i ve installed this mod...the only problem is that the box "have this being asked before?" is not aligned correctly with the "Title" box.It appears slightly below the "Title" box...I think u are missing an align= command.I didnt tested it myself tho,i m not an expert in coding.

please note that the part of the code:
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
<td>&nbsp;&nbsp;</td>

Cannot be found through the "Search in Template" in template editor.(admin cp)

I ve use firefox ctrl+f to find the lines.It found only <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td> so there are some spaces missing betwen this and <td>&nbsp;&nbsp;</td> .

mod works perfectly tho!!!

Thanx!
*installed*

Last edited by predatorkill; 10 Oct 2005 at 13:05.
Reply With Quote
  #3  
Old 10 Oct 2005, 14:23
reteep reteep is offline
 
Join Date: Mar 2004
Hey there, thanks for your input.

For me it's perfectly aligned or are you talking about the slight 1px at the top? It looks better that way imo (like on the screenshot) but that's just about my taste
Reply With Quote
  #4  
Old 10 Oct 2005, 16:06
hotrod1 hotrod1 is offline
 
Join Date: Apr 2005
Great idea, thanks!
__________________
Need any help with your vbulletin forum? Need to install your forum and/or hacks? Then feel free to PM me.
Reply With Quote
  #5  
Old 10 Oct 2005, 16:11
predatorkill predatorkill is offline
 
Join Date: Apr 2005
below in the photo attached you can see what i mean...
Attached Images
File Type: jpg alignment.JPG (28.9 KB, 207 views)
Reply With Quote
  #6  
Old 10 Oct 2005, 18:00
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
Originally Posted by predatorkill
below in the photo attached you can see what i mean...

Just delete this &nbsp; found in


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


Author:
The first point of your instruction is wrong.. the code must be added after:

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

and before:

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

Reply With Quote
  #7  
Old 10 Oct 2005, 20:11
predatorkill predatorkill is offline
 
Join Date: Apr 2005
problem solved,now it's aligned perfectly!!

thank you very much...
Reply With Quote
  #8  
Old 10 Oct 2005, 20:48
reteep reteep is offline
 
Join Date: Mar 2004
Thanks for the input! Changed the instructions. As for the &nbsp; -> on my forum it works
Reply With Quote
  #9  
Old 10 Oct 2005, 21:34
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
Stupid me

I had a typo in my post.. It must go directly ABOVE </head>
Reply With Quote
  #10  
Old 11 Oct 2005, 01:20
nailerpa nailerpa is offline
 
Join Date: Aug 2005
Great idea, but...

Does the Search function work for everyone? I typed in, verbatim, the title of a previous post. The search function said that nothing was found with those words in the title. Am I missing something?

Steve A.
Site Admin, I.T. Help Community
Reply With Quote
  #11  
Old 11 Oct 2005, 07:21
reteep reteep is offline
 
Join Date: Mar 2004
Originally Posted by nailerpa
Does the Search function work for everyone? I typed in, verbatim, the title of a previous post. The search function said that nothing was found with those words in the title. Am I missing something?

Steve A.
Site Admin, I.T. Help Community
By default it only searches the title. You can change that here:

window.open('search.php?do=process&titleonly=1&query='+document.vbform.subject.v alue+'','javascript_1','toolbar=no,location=no, directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no, width=700,height=400'); }
Just remove the &titleonly=1 to search the full posts.
Reply With Quote
  #12  
Old 11 Oct 2005, 07:27
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Real name: ITS A SECRET
Please attach a text file with the instructions too. Thanks.
Reply With Quote
  #13  
Old 11 Oct 2005, 07:59
reteep reteep is offline
 
Join Date: Mar 2004
Originally Posted by Tony G
Please attach a text file with the instructions too. Thanks.
Ok, done..
Reply With Quote
  #14  
Old 13 Oct 2005, 18:55
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
When I click on it nothing happens....?
Reply With Quote
  #15  
Old 13 Oct 2005, 22:34
The Wise One The Wise One is offline
 
Join Date: Jun 2003
installed. thanks.
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 23:13.

Layout Options | Width: Wide Color: