The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Replace search with google search engine ( no google account required) Details »» | |||||||||||||||||||||||||||||||||||
Replace search with google search engine ( no google account required)
Developer Last Online: Nov 2023
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" 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> 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> 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
Screenshots
Show Your Support
|
Comments |
#22
|
|||
|
|||
Great mod!
I don't suppose it's possible to make this search two sites instead of just one? |
#23
|
||||
|
||||
سلام دوست من ميتوني كاري كني با گوگل كاستوم سرچ كار كنه؟
can i use google custom search code without adsens acount? |
#24
|
|||||||
|
|||||||
Quote:
Quote:
Quote:
Quote:
Quote:
when you set this modification on the main domain address it will search both ( your site and your forum ) It depends on your boards url addresses !! Quote:
خوب این هک برای اینه که بدون ساختن اکانت در گوگل بشه ازش استفاده کرد وگرنه کافیه به جای کدهایی که من نوشتم کد کاستوم سرچ گوگل یا حتی ادسنس رو بذارید ! یه پلاگین مشابه با همین کارآیی که شما می خواهی در همین بخش فکر کنم هست . باید جستجو کنید Translation of above : . Quote:
If you want to use google custom search or google adsense there is an other hack in vBulletin.org that you can use that one . |
#25
|
|||
|
|||
One thing you can do is set up a Google search account and choose the results option 'open in a new window' and digit length 20. Then upload your logo with target URL to your site too (choose display at top).
Then get the code and insert/replace exactly as stated at the top of this page. When the basic search is used you get a new tab/window with your logo at the top linking back to your site and all matching results within your site as well as adverts. At the top there is a button that allows the user to then widen the search to the web if they want. If they wish to use advanced search it uses the normal vB one. |
#26
|
|||
|
|||
Need it to stop opening in a new window.
Doesnt work on my forum The code has since changed therefore your template is now useless. |
#27
|
||||
|
||||
Remove this :
Code:
target="_blank" Quote:
|
#28
|
|||
|
|||
Thanks, Is it possible to have the code for an open search like here on vb.org?
I only ask as the advanced search and normal search is widely use plus the live search works well and another search engine input would be great Any chance of this being in a forum block? |
#29
|
|||
|
|||
Cant get this to work anymore. When i follow the steps in the opening post the box shows up under the navbar instead of inside it
Running 4.1.2 |
#30
|
||||
|
||||
Works great, exactly as planned. Using vb 4.0.2
How can I insert code that would exclude certain forums from the search? For example, I'd like my forum id 59 to be excluded from this search. What and where can I put the code? Thanks. EDIT: Nevermind, it's in Forum Management to disable a forum from being Searchable. |
#31
|
|||
|
|||
Hello,
Could you please guide me to how do I install this mod in VB 4.1.3 Somehow I am struggling to do it. Your help will be highly appreciated Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|