The Arcive of vBulletin Modifications Site. |
|
Add Google AdSense Sitesearch to the standard forum search page. Details »»
|
|||||||||||||||||||||||||||
|
Add Google AdSense Sitesearch to the standard forum search page.
Developer Last Online:
This will put a google search box above your standard search forum. You will need to generate your sitesearch code using AdSense's tools. Once you have your code, do the following:
ACP-> Styles & Templates -> edit the search_forums template. Find towards the top: Code:
$header $navbar Code:
<!-- Google Search --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> Google Search </td></tr> <tr><td class="alt1" align="center"> GOOGLE SEARCH CODE GOES HERE </td></tr> </table> <br /> <!-- /Google Search --> Code:
<!-- SiteSearch Google --> <form method="get" action="http://www.google.com/custom" target="google_window"> <table border="0" bgcolor="#000000"> My alt1 color is #333333, so I edited the very last bit: Code:
<!-- SiteSearch Google --> <form method="get" action="http://www.google.com/custom" target="google_window"> <table border="0" bgcolor="#333333"> Screenshot: ![]() Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Note that one of the more useful reasons for having this on your site is to be able to search for two-character strings. If you want to add a blurb about it, look for:
Code:
</table> Code:
<tr><td class="alt1" align="center"> <span class="smallfont"> Google search is useful for finding terms that are three or less characters long. For example, to search for "9v", enter "9v" in the search pane, and select the 'www.sevenstring.org' button below it.</span></td></tr> |
|
#3
|
|||
|
|||
|
nice mod. Installed
|
|
#4
|
||||
|
||||
|
Yes - very nice = Thanx for sharing!
Jacquii. |
|
#5
|
||||
|
||||
|
I edited the html code just slightly to better fit my Forum...
If you want a live example site: http://jpicforum.info/search.php Thanx again ![]() Jacquii. |
|
#6
|
|||
|
|||
|
Thanks for the mod. "Installed"
|
|
#7
|
|||
|
|||
|
Quote:
Nice addition but u made a little mistake: u have to search for this: Code:
</input> </td></tr></table> Code:
<tr><td class="alt1" align="center"> <span class="smallfont"> Google search is useful for finding terms that are three or less characters long. For example, to search for "9v", enter "9v" in the search pane, and select the 'www.crackmuzik-gfx-elite.de' button below it.</span></td></tr> Example here: http://crackmuzik-gfx-elite.de/search.php ----------------------------------------------------------------------- |
|
#8
|
||||
|
||||
|
how can I add it to the bottom?
|
|
#9
|
|||
|
|||
|
in search_forums template find:
Code:
$footer </body> </html> Code:
<!-- Google Search --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> Google Search </td></tr> <tr><td class="alt1" align="center"> GOOGLE SEARCH CODE GOES HERE </td></tr> </table> <br /> <!-- /Google Search --> |
|
#10
|
|||
|
|||
|
installed thx
|
![]() |
|
|