Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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:
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
Attachments
UBB.Google Adsense Search.zip (3.83 KB, 7 downloads)
SHA1: 32c736363b6a52f97f7d9ffaac714edcdfc87963


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Entire Thread
Subject Posted By Posted
[7.x] Google Custom (Adsense) Search Gizmo 08/23/2009 9:34 PM
Re: [7.x] Google Custom (Adsense) Search Gizmo 08/23/2009 10:04 PM
Re: [7.x] Google Custom (Adsense) Search badfrog 08/23/2009 10:20 PM
Re: [7.x] Google Custom (Adsense) Search badfrog 08/23/2009 10:32 PM
Re: [7.x] Google Custom (Adsense) Search Gizmo 08/23/2009 10:50 PM
Re: [7.x] Google Custom (Adsense) Search Gizmo 08/23/2009 10:52 PM
Re: [7.x] Google Custom (Adsense) Search badfrog 08/24/2009 12:06 AM
Re: [7.x] Google Custom (Adsense) Search Gizmo 08/24/2009 12:24 AM
Re: [7.x] Google Custom (Adsense) Search badfrog 08/24/2009 12:49 AM
Re: [7.x] Google Custom (Adsense) Search Gizmo 08/24/2009 1:18 AM
Re: [7.x] Google Custom (Adsense) Search badfrog 08/24/2009 1:40 AM
Re: [7.x] Google Custom (Adsense) Search Gizmo 08/24/2009 1:49 AM
Re: [7.x] Google Custom (Adsense) Search badfrog 08/24/2009 2:18 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)