The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This isn't really a vB addon, so I decided to post here instead of as a release
![]() This little mod lets you search your vBulletin 3.5 forum directly from within Firefox, using Firefox's quick search box (to the right of the Address box). It adds an option to the dropdown menu in that box to search your forum. Installation: Extract the zip file to: Code:
C:\Program Files\Mozilla Firefox\searchplugins ![]() Now edit the vbulletin.src file using any text editor. You need to edit the following 2 lines: Code:
action="http://www.your-website.com/forum/search.php" searchForm="http://www.your-website.com/forum/search.php" Once done, save the file, load Firefox, and it (should) appear in the search dropdown ![]() Alan. |
#2
|
||||
|
||||
![]()
I used to have a addition to my Windows XP Taskbar that searched right from there. Have to look and see if I still have it. Was back from 2002. Worked in any browser.
|
#3
|
||||
|
||||
![]()
to add an automated installer for your forum members.. here's a very basic web page that shows what you need.
Code:
<html> <head><title>yourSite Search installer..</title></head> <body> <script type="text/javascript"> <!-- function errorMsg() { alert("Netscape 6 or Mozilla is needed to install a sherlock plugin"); } function addEngine(name,ext,cat,type) { if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { //cat="Web"; //cat=prompt('In what category should this engine be installed?','Web') window.sidebar.addSearchEngine( "http://yourSite.com/searchbox/"+name+".src", "http://yourSite.com/searchbox/"+name+"."+ext, name, cat ); } else { errorMsg(); } } //--> </script> <h2>Add yourForum search to your right search box in Mozilla Firefox</h2> <a href="javascript:addEngine('srcName','imageType','General','0')">Click to Install..</a> </body> </html> srcName should be the name of your .src file without the .src extension imageType should be png, gif, or jpg |
#4
|
|||
|
|||
![]()
/me wants to click install
|
#5
|
|||
|
|||
![]()
Loverly. I will now steal.
edit: Theft complete. Now to thief me, modify search_forums: HTML Code:
<if condition="is_browser('firefox') or is_browser('mozilla')"> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat">Search $vboptions[bbtitle] from <if condition="is_browser('firefox')">Firefox<else />Mozilla</if>'s toolbar</td> </tr> </thead> <tbody> <tr> <td class="alt1"> <p>You can search $vboptions[bbtitle] directly from the "Search" field of <if condition="is_browser('firefox')">Firefox<else />Mozilla</if>'s toolbar. Simply select the link below. When installed, you can select the icon in the left of the search box and select "$vboptions[bbtitle]." </p> <p>Unlike many other searching assistants, this one does not include spyware or even software that installs on your computer. It simply adds an additional searching source to <if condition="is_browser('firefox')">Firefox<else />Mozilla</if>'s capabilities. <a href="view-source:$vboptions[bburl]/search.php?$session[sessionurl]" target="_blank">View this page's source</a> to see how it works.</p> </td> </tr> <tr> <td class="alt2"> <script type="text/javascript"> <!-- // yes you can copy this script for your own use given how simple it is var mozillaSearchTitle = "$vboptions[bbtitle] Toolbar Search"; var mozillaSearchFile = "wdfMozillaSearch"; function updateMozillaSearch() { if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { window.sidebar.addSearchEngine( "$vboptions[bburl]/" + mozillaSearchFile + ".src", "$vboptions[bburl]/" + mozillaSearchFile + ".png", mozillaSearchTitle, "Web"); } else { alert("Installing the $vboptions[bbtitle] search toolbar functionality failed.\n" + "Are you using Firefox or Mozilla and did you confirm any security prompts?"); } } // --> </script> <a href="javascript: updateMozillaSearch()">Add $vboptions[bbtitle] search capabilities to <if condition="is_browser('firefox')">Firefox<else />Mozilla</if></a> </td> </tr> </tbody> </table> </if> |
#6
|
|||
|
|||
![]()
thanx will try this
|
#7
|
|||
|
|||
![]() Quote:
|
#8
|
||||
|
||||
![]()
Is there any type of JS check that could be done to the browser client to see if they already have it installed or not?
|
#9
|
|||
|
|||
![]()
Use is_browser() in a template.
|
#10
|
||||
|
||||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|