![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||
Google search in forum search box
![]() Developer Last Online: Jul 2013 ![]() ![]() ![]() This modification is in the archives.
This litle hack inserte a google search in the forum search box, with the posibility of search in web and in your site.
Edit you NavBar template and search for the following:
Put the google search code in this zone.
THE CODE BELOW CONTAINS A GOOGLE ACCOUNT WHICH AUTHOR WILL BE AWARDED:
IF YOU HAVE YOUR OWN GOOGLE ACCOUNT YOU MAY REPLACE THE FOLLOWING LINES WITH YOUR INFO:
Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Integration with vBulletin Google/Adsense Site Search Integrated into Advanced Search Page | markbolyard | vBulletin 3.6 Template Modifications | 19 | 21 Sep 2010 16:16 |
Google FREE (Non Adsense) Search in Search Drop Down | vBulletin THEN DAYLIGHT | vBulletin 3.5 Template Modifications | 20 | 27 Aug 2009 00:41 |
Adding Google AdSense for Search to search.php | iamnofear | vBulletin 3.5 Template Modifications | 7 | 29 Dec 2006 20:22 |
Comments |
#2
|
|||
|
|||
Looks pretty cool, I'll give this a go as no-one uses my other google search
![]() No members have liked this post.
|
#3
|
||||
|
||||
I don't understand your instructions.
You mention "text in bold" and there is not text in bold. Do I replace the first block of text you said to search for with the 3rd block you provided? You said to put the search code in this zone. </div> <!-- / header quick search form --> What does that mean? No members have liked this post.
|
#4
|
||||
|
||||
seemd nice thing...hope going to install it..
No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by bitg
Put the google code provided in the first post between this codes
Search this text is original in navbar template"<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table>" -->Here the Google code </div> <!-- / header quick search form --> Now replace the text in bold and GREEN color by your data, for example, your domain, your google adsense cliente number, etc. excuse my broken English, but i hope that the instructions are clear. <!-- Search Google by Danny--> <form method="get" action="http://www.google.com/custom" target="google_window"> <table bgcolor="#f7f7f7"> <tbody> <tr> <td align="left" height="32" nowrap="nowrap" valign="top"> <a href="http://www.google.com/"> <img src="http://www.google.com/logos/Logo_25wht.gif" align="middle" border="0" alt="Google"></img></a> <input type="hidden" name="domains" value="Bmwfaq.com "></input> <input type="text" name="q" size="9" maxlength="255" value=""></input> <input type="submit" name="sa" value="Ir"></input> <br> <div style="padding:3px"> <label><input type="radio" name="sitesearch" value="" checked="checked">Web</label> <label ><input type="radio" name="sitesearch" value="bmwfaq.com">bmwfaq.com</label> </div> <input type="hidden" name="client" value= "pub-0000000000"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="ie" value="ISO-8859-1"></input> <input type="hidden" name="oe" value="ISO-8859-1"></input> <input type="hidden" name="cof" value="GALT:#9A2C06;GL:1;DIV:#33FFFF;VLC ![]() <input type="hidden" name="hl" value="es"></input> </td></tr></table> </form> <!-- Search Google --> No members have liked this post.
Last edited by dbembibre; 11 Mar 2006 at 10:41. |
#6
|
||||
|
||||
I would advise NOT giving others your google code... if someone puts this somewhere that is against the adsense TOU, you may find yourself banned from the program.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by kall
Thanks for the advise, i replace my adsense code by a unexisting one.
No members have liked this post.
|
#8
|
||||
|
||||
OK, I add the code in the place you tell me to and replace the the places with my own info. Now when I load up the main page of my site, I get the following error:
Warning: Unexpected character in input: '' (ASCII=7) state=2 in /home2/webbhelp/hidingplace-www/vbb350/index.php(487) : eval()'d code on line 1 No members have liked this post.
|
#9
|
||||
|
||||
D'Oh! It was me and my big fat fingers.
I guess the problem WAS the nut behind the wheel! No members have liked this post.
|
#10
|
|||
|
|||
You know what would be awesome, changing the target to "_self" and having vBulletin do the search -BUT- display the output with vBulletin 3.5x headers and footers.
Does anyone know of an exisiting hack that maybe incorporated to display a non-vb page in this way? I seem to rember something on 2.x but can't find anything that resembles it. No members have liked this post.
|
#11
|
|||
|
|||
< Bump >
Does anyone have any suggestions with how to achieve the above? ^^^ Many thanks. No members have liked this post.
|
#12
|
||||
|
||||
No members have liked this post.
|
#13
|
||||||||
|
||||||||
Originally Posted by dan35
I agree, wish he would share it with us. Btw, am I the only one who noticed that the code is wrong ? This :
should actually be this:
other it would count as adsense content instead of adsense search. So yeah Erwin rocks ! :banana: No members have liked this post.
|
#14
|
||||
|
||||
No members have liked this post.
|
#15
|
|||
|
|||
Originally Posted by dan35
I think I've added something similar to the search page on my forum see: http://forums.randi.org/search.phpWould that be of use to you? Oops - forgot that wont be accessible for guests, it looks like the attached screenshot. No members have liked this post.
Last edited by Darat; 11 May 2006 at 22:39. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:46.