Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Replace search with google search engine ( no google account required) Details »»
Replace search with google search engine ( no google account required)
Version: 1.1, by Golzarion Golzarion is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.1.10 Rating:
Released: 04-29-2010 Last Update: Never Installs: 67
Template Edits
Translations  
No support by the author.

This mod replace the navbar search with google search engine (No adsense account is required !) just use the google search engine to search inside your forum !!

Install :

1. go to : admin cp =>style manager=>>all style options =>>Navigation/Bread crumb templates => Navbar
in "navbar " template :
search for :
HTML Code:
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post"
2. find :
HTML Code:
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
                <vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                <input type="hidden" name="do" value="process" />
                <span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
                <span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
            </form>
3. Replace it with :

Code:
<form method="get" action="http://www.google.com/search" target="_blank" class="navbar_search">
            <input type="hidden" name="sitesearch" value="forums.animparadise.com"  id="pn"/>
            <span class="textboxcontainer"><span><input type="text" value="" name="q" class="textbox" tabindex="99"/></span></span>
            <span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search.png" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
        <input type="hidden" name="domains" value="forums.animparadise.com"/>
</form>
4. Remember to change the url : " forums.animparadise.com " with your own forum address !!!!

5. Then save the template. and enjoy your new search with google engine !


demo : http://forum.golzarion.com

It works perfect on cms and blog too ..
Also Persian Translation is attached. on so the screen shots for both english and persian version.

update :works perfect on vb version : 4.1.10

**** Please click Installed if you use this mod . thx ****


.

Download Now

File Type: zip PERSIAN- VERSION-search with google search engine.zip (1.1 KB, 197 views)

Screenshots

File Type: gif google1.gif (3.2 KB, 0 views)
File Type: gif google2.gif (30.1 KB, 0 views)
File Type: gif persian-version.gif (2.9 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 04-30-2010, 12:23 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To clear the screenshots :

This is for English version : Attachment 116496

And This is for Persian version :

Attachment 116497

Persian language users can use both ( persian or English ) versions of this mod .

I hope you like the mod..
Reply With Quote
  #3  
Old 04-30-2010, 01:11 PM
BaziCenter's Avatar
BaziCenter BaziCenter is offline
 
Join Date: Sep 2005
Location: Montreal, QC
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks man
Reply With Quote
  #4  
Old 04-30-2010, 02:49 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you link us to a demo search page that doesn't require users to login

thanks
Reply With Quote
  #5  
Old 04-30-2010, 04:07 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
can you link us to a demo search page that doesn't require users to login

thanks
just test demo on my forum : http://forum.golzarion.com/forum.php

( for example search the word " golzarion " )or see the screenshots.


The main idea is :

You can always search inside the site by google search engine :

in the google box just type this :

Code:
site:YOURDOMAIN.COM keyword1+keyword2....
Then google search engine searches just inside your site ... without any accounts needed !

Am I right ?
Attached Images
File Type: gif 033.gif (32.3 KB, 0 views)
Reply With Quote
  #6  
Old 04-30-2010, 04:23 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I specially created this mod for Iraninan users ! because of " Trade restriction against Iranian ordinary people " ! my Iranian friends can not use Google Adsence custom search !
I personally do not have any google Adsence accounts ...
The idea of using google search by using " site:yourdomain.com" can make it easier for this country...
Reply With Quote
  #7  
Old 05-02-2010, 06:45 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be customized for 3.8.x ??
Reply With Quote
  #8  
Old 05-02-2010, 04:38 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobbieZ View Post
Can this be customized for 3.8.x ??
Yes,I will put the 3.8 version on the first post soon .
Reply With Quote
  #9  
Old 05-03-2010, 05:50 AM
tarzan22 tarzan22 is offline
 
Join Date: Apr 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good, and to put our ID google?

thanks
Reply With Quote
  #10  
Old 05-03-2010, 05:29 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tarzan22 View Post
Very good, and to put our ID google?

thanks
I am happy you like it ...

There is no need to have a google adsence ID !!!NO Google adsence ID required !! It works similar to google adsence custom search ... but no Adsence ID is required !
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 02:43 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.04552 seconds
  • Memory Usage 2,344KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete