The Arcive of vBulletin Modifications Site. |
|
Google Search Box BBCode Details »»
|
|||||||||||||||||||||||||
Instead of pointing new people to google, how about putting it right in front of them?
Title: Google Tag: google Replacement: Code:
<form method="get" action="http://www.google.com/search">
<div style="border:1px solid black;padding:4px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text" name="q" size="25"
maxlength="255" value="{param}" />
<input type="submit" value="Google Search" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox" name="sitesearch"
value="http://yourwebsite.com" /> Only search Website Title<br />
</td></tr></table>
</div>
</form>
Description: Point members in the correct direction Use option: No Button image (Optional): images/google.gif Remove Tag If Empty: Yes Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: No Additional: If you wish for "Only search" to be checked first then: Replace: Code:
<input type="checkbox" name="sitesearch" value="http://yourwebsite.com" /> Only search Website Title<br /> Code:
<input type="checkbox" name="sitesearch" value="http://yourwebsite.com" checked /> Only search Website Title<br /> Final Step Now just find this in the replacement code: Code:
<input type="checkbox" name="sitesearch" value="http://yourwebsite.com" /> Only search Website Title<br /> NOTE: If you are going to use an image, download the Google BBCode Image and extract the google.gif. Upload it to your forum's images folder and you are set. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Looks like a great idea!
|
|
#3
|
|||
|
|||
|
|
|
#4
|
||||
|
||||
|
How about supporting Adsense code so we can make cash from the results
![]() Thanks VinylJunky |
|
#5
|
|||
|
|||
|
I get
You did not select any posts to which the action you picked can be applied. come up when Search is clicked. |
|
#6
|
|||
|
|||
|
You are probably using another search script that is interfering with the name variable.
Try this: <input type="checkbox" name="googlesearch" value="http://yourwebsite.com" /> Only search Website Title<br /> |
|
#7
|
|||
|
|||
|
nice
|
|
#8
|
|||
|
|||
|
|
|
#9
|
|||
|
|||
|
Question: How do I use this BB code on our templates? I'm only aware of BB code use within posts. Thanks!
[Update: Ah, got it. Cool mod! Thanks!] [Update: I get this error message after I went back into the BB code to remove the "checked" word]: Quote:
|
|
#10
|
|||
|
|||
|
Nice, thank you.
|
![]() |
|
|