[7.x] Google Custom (Adsense) Search - 08/23/2009 9:34 PM
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.php
Support: https://www.ubbdev.com/forums/ubbthreads.php/topics/318145/7_x_Google_Adsense_Search.html
Install 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:
Add ABOVE:
In /languages/english/generic.php Find:
Add AFTER:
To have "Using the Google Search" display on the Who's Online:
In /languages/english/online.php Add:
Files:
/languages/english/google.php
/scripts/google.inc.php
/templates/default/google.tpl
This addon allows your users to search Google and have the results display inline on your forum.
Homepage: http:/
Support: https:/
Install 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:
Code
<a href="{ubb url="ubb=faq"}">{$lang.FAQ_TEXT}</a>
Add ABOVE:
Code
<a href="{ubb url="ubb=google"}">{$lang.GOOGLE}</a>
In /languages/english/generic.php Find:
Code
$ubbt_lang['FAQ_TEXT'] = "FAQ";
Add AFTER:
Code
$ubbt_lang['GOOGLE'] = "Google";
To have "Using the Google Search" display on the Who's Online:
In /languages/english/online.php Add:
Code
$ubbt_lang['GOOGLE'] = "Using the Google Search";
Files:
/languages/english/google.php
/scripts/google.inc.php
/templates/default/google.tpl