VNC Web Design UBB.Google Custom (Adsense) Search by Gizmo (James at VNC Web Design;
http://www.virtualnightclub.net/)
This addon allows your users to search Google and have the results display inline on your forum.
Homepage:
http://www.virtualnightclub.net/detail/4/ubb-gsearch.phpSupport:
https://www.ubbdev.com/forums/ubbthreads.php/topics/318145/7_x_Google_Adsense_Search.htmlInstall Instructions:
Upload the included files to your server (be careful to preserve directory structure) and add a link
to the header.inc.php template file.
Setup:
Be sure to edit the language file (languages/english/google.php), this file contains the configuration options for this script; including your publisher ID which contains your style code ID. This is a requirement as it includes your URL, Publisher ID, Style ID; basicaly everything this script needs.
There is an "advanced" tick in the Script file (/scripts/google.inc.php), basically just affecting how the title is built; for most users this won't need to be adjusted.
Mods:
To add an option in your header:In /templates/default/header.tpl Find:
<a href="{ubb url="ubb=faq"}">{$lang.FAQ_TEXT}</a>
Add ABOVE:
<a href="{ubb url="ubb=google"}">{$lang.GOOGLE}</a>
In /languages/english/generic.php Find:
$ubbt_lang['FAQ_TEXT'] = "FAQ";
Add AFTER:
$ubbt_lang['GOOGLE'] = "Google";
To have "Using the Google Search" display on the Who's Online:In /languages/english/online.php Add:
$ubbt_lang['GOOGLE'] = "Using the Google Search";
Files:
/languages/english/google.php
/scripts/google.inc.php
/templates/default/google.tpl