Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Search your forum Firefox 2/IE7 Details »»
Search your forum Firefox 2/IE7
Version: 1.00, by delaen1 delaen1 is offline
Developer Last Online: Nov 2007 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 12-01-2006 Last Update: Never Installs: 30
 
No support by the author.

PART 1:

Create a file and name it ff_search.xml. Insert this code in to it:

Code:
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>devpals.com</ShortName>
<Description>devpals, ask a question</Description>
<Image height="16" width="16" type="image/x-icon">http://www.devpals.com/favicon.ico</Image>
<Url type="text/html" method="get" template="http://www.devpals.com/search.php?do=process&amp;query={searchTerms}" />
</OpenSearchDescription>
The following changes need to be made to customize it to your site
Code:
<ShortName>[your board name]</ShortName>
Code:
<Image height="16" width="16" type="image/x-icon">http://[your forum url]/favicon.ico</Image>
Code:
<Url type="text/html" method="get" template="http://[your forum url]/search.php?do=process&query={searchTerms}"/>

Any "special" characters that are in your forum name or description are going to have to be replaced.

Upload the file to your forum root.




PART 2:

Open up your headinclude and paste this in the last line (placing your URL where appropriate)

Code:
<link rel="search" type="application/opensearchdescription+xml" href="http://[your forum url]/ff_search.xml" title="[your forum title]" />



That's it. Now when you go to your forum with Firefox 2 (and I hear it works on IE7, though I haven't downloaded that yet) the little Google "G" in the search box should be glowing. If you click the down-arrow, there will be a new section that says "Add 'your forum'".

Select it and now you can search your forums directly from that box. This assumes you have no guest/captcha restrictions on searching. If not, it's only going to work for members.

You can see an example at http://www.devpals.com if you have Firefox 2 installed.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-02-2006, 06:18 AM
Pady's Avatar
Pady Pady is offline
 
Join Date: Nov 2001
Location: UK
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

similar thing here - i edited using editplus and get a similar error
Reply With Quote
  #13  
Old 12-02-2006, 09:15 AM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here, get the error file not found.
Reply With Quote
  #14  
Old 12-02-2006, 09:36 AM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem here - everything looks as if it is working apart from in FF I get a can't download the .xml file and in IE 7 a can't get information error.
Reply With Quote
  #15  
Old 12-02-2006, 12:56 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have to say sack ie7

its bollox
Reply With Quote
  #16  
Old 12-02-2006, 01:11 PM
delaen1 delaen1 is offline
 
Join Date: Nov 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FireFish View Post
Sure. I appreciate your help.

I PM'd you.
Everything LOOKS right in the one that you PM'd to me.

Try changing the second line to:
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">

(with no dash at the beginning there)



Also, in the description, you're going to have to get rid of the "&" character.
Reply With Quote
  #17  
Old 12-02-2006, 01:41 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by delaen1 View Post
Everything LOOKS right in the one that you PM'd to me.

Try changing the second line to:
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">

(with no dash at the beginning there)



Also, in the description, you're going to have to get rid of the "&" character.
YES! this solution is working!

[high]* soulface clicked Install![/high]
Reply With Quote
  #18  
Old 12-02-2006, 10:02 PM
desertfoxmb desertfoxmb is offline
 
Join Date: Sep 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I've got an issue getting this to work. Everything works except: In the url for the search engine in the xml file the & causes errors. If I change it to a semi-colon or some other character, it works fine except that the query string is then malformed for the search and nothing happens.

Here is my xml file contents:

PHP Code:
<?xml version="1.0" ?>
 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
 <ShortName>WeServ.net</ShortName> 
<Description>Search WeServ.Net - A Community of Agape</Description>
 <Image height="16" width="16" type="image/x-icon">http://www.weserv.net/favicon.ico</Image>
 <Url type="text/html" method="get" template="http://www.weserv.net/forums/search.php?do=process&query={searchTerms}" />
 </OpenSearchDescription>
Like this I get an xml validation error. If I change do=process&query= to do=process;query= I get no xml validation error, but the search doesn't work.

Any thoughts?

Thanks!
Reply With Quote
  #19  
Old 12-02-2006, 11:11 PM
delaen1 delaen1 is offline
 
Join Date: Nov 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes.

I should have copied and pasted from my file directly instead of trying to do it from FF or IE.

Code:
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>devpals.com</ShortName>
<Description>devpals, ask a question</Description>
<Image height="16" width="16" type="image/x-icon">http://www.devpals.com/favicon.ico</Image>
<Url type="text/html" method="get" template="http://www.devpals.com/search.php?do=process&amp;query={searchTerms}" />
</OpenSearchDescription>
Replace the & with &amp;
Reply With Quote
  #20  
Old 12-02-2006, 11:20 PM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally got it to work! And yes it does work with IE 7... But when I click on "Mark as Installed" it does nothing..
Reply With Quote
  #21  
Old 12-03-2006, 12:06 AM
desertfoxmb desertfoxmb is offline
 
Join Date: Sep 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by delaen1 View Post
Yes.

I should have copied and pasted from my file directly instead of trying to do it from FF or IE.

Code:
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>devpals.com</ShortName>
<Description>devpals, ask a question</Description>
<Image height="16" width="16" type="image/x-icon">http://www.devpals.com/favicon.ico</Image>
<Url type="text/html" method="get" template="http://www.devpals.com/search.php?do=process&amp;query={searchTerms}" />
</OpenSearchDescription>
Replace the & with &amp;
Perfect! Installed.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04540 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete