Version: 1.00, by Ntfu2
Developer Last Online: Jan 2010
Category: Integration with vBulletin -
Version: 3.6.0
Rating:
Released: 08-26-2006
Last Update: Never
Installs: 32
No support by the author.
Everyone knows that little box in the top right of firefox that contains search engines such as google, ask, blah blah.
Well now you can have you're own site searched right from that nifty box, not that anyone ever uses it, but hey atleast you can be cool and have your own, right?
__________________________________________________ ______________
1. Heres how its done, replace SITE with the your site information,to point to your search.php page.
Copy and paste that, into a file called yoursitename.src and save it inside Program Files\Mozilla Firefox\searchplugins
Create a 16x16 pixel icon, give it the same name as your plug-in, and save it as either a .jpg or .png graphics file. Then, put it in the C:\Program Files\Mozilla Firefox\searchplugins folder
Then just share your .src file with your users telling them where to install.
EXAMPLE: to search vB.org. copy and paste this into notepad file, save as vBulletinORG.src under the C:\Program Files\Mozilla Firefox\searchplugins folder
now I every user of my forum has to download 2 files and put them in the proper folder. with the javascript trick you can do this much easier. (i.e. just click on a link)
On the site above you can simply add one by clicking them. can't be hard to make a mod for this
edit: also check this site out. Make the Search box appear and click on Mozilla Search Plugins.
You still have to create the .src file, and then simply provide the link to download it and it seems to automatically place the file in the correct folder
I'll try to work on something that will let you input your details, create the .src file, and you just link to that for people to download We'll see how it goes.
much more userfriendly.. the way you want us to install it is too sloppy imho.. make use of the javascript function
I figured out a nice place to put a link for installing the search engine.
First edit the javascript mentioned above for your site then add a link to it in the headinclude template.
Read the above link and then put this code in the search forums template:
<if condition="is_browser('firefox')">
<tr>
<td class="panelsurround" align="center">
$vbphrase[searchfromfirefox] <a href="javascript:addEngine('filename','ext','description')">Install the |your site name here| search engine!</a>
<td>
</tr>
</if>
Replace sitename with the filename of the .src and ext with the extension of the 16x16 graphic used (gif or png) *note, the grahic has to have the same name as the .scr file.
You have to add a phrase in the language and phrases admincp menu. Add the phrase name, "searchfromfirefox", and the phrase text: "Want to search the forums from firefox?"
I actually just copied the javascript to blank .txt file and renamed it: addsearchengine.js and uploaded it to a new directory called search_script. First you have to edit the javascript to point to your directory where the .src and .png file are. DON'T change the "+name+"."+ext,name,cat); part, or it won't work. Then in the headinclude file, I added a link to the .js file (just look at the first link to a javascript file and copy that format) Now the javascript will be on each page and if you need to edit it, you just edit the .js file instead of having to edit the headinclude template. It's also advisable to avoid editing the headinclude template as much as possible if you think you will ever use vbSEO.