Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
Mod Name / Version: Add Google search to your site

Description: Google has a free service that will allow it to search your site Here. I have incorporated the generic threads page to allow you to add this to your site.

Working Under: UBB.Threads 7.0

Mod Status: Finished

Any pre-requisites: None

Author(s): Micky

Date: 09/01/06

Credits:

Files Altered: ubbt_registerednav.tmpl
ubbt_unregisterednav.tmpl
threads\language\*\online.php


New Files: google.php
viewgoogle.inc.php
viewgoogle.tpl

Database Altered: No

Info/Instructions:
Attachments
2265-google_mod_for_ubbt7.zip (2.69 KB, 90 downloads)

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thank you Micky smile


- Allen wavey
- What Drives You?
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
Have a demo?


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
Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
Demo and then in navigation on Google. smile

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
Mmm, that looks nice; will definately be added to mine (been pondering doing this for a while yet too as we use it on our main page).

Great job smile


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
Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
Is nice, I use it gladly wink

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That does look pretty good and keeps the forum layout clean too, thanks smile


- Allen wavey
- What Drives You?
Joined: Nov 2002
Posts: 8
Lurker
Lurker
Offline
Joined: Nov 2002
Posts: 8
The demo link is dead.

Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
This is, for example, mine google.php in the list includes wink
And it lives. grin
Attachments
2294-google.zip (801 Bytes, 52 downloads)

Joined: Nov 2002
Posts: 8
Lurker
Lurker
Offline
Joined: Nov 2002
Posts: 8
THANKS!!!

Sponsored Links
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
I adapted my google search install to use the google adsense code, figured that if i'm referring people to use google I may as well get paid if they click any advertising links wink


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
Joined: Jul 2002
Posts: 79
Power User
Power User
Offline
Joined: Jul 2002
Posts: 79
can you please show how that is done?? Thanks

Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
Here Google AdSense is described

[Linked Image][Linked Image]

Then there everything should be described.

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
My includes/google.php displays as follows:
Code
<!-- SiteSearch Google -->
<div align="center">
<form method="get" action="http://www.google.com/custom" target="_top">
<table border="0" bgcolor="#000000">
<tr>
<td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/"><img src="http://www.google.com/logos/Logo_25blk.gif" border="0" alt="Google" align="middle" /></a>
<br/>
<input type="hidden" name="domains" value="www.undergroundnews.com"></input>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Search"></input>
</td>
</tr>
<tr>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#ffffff">The Internet</font>
</td>
<td>
<input type="radio" name="sitesearch" value="www.undergroundnews.com"></input>
<font size="-1" color="#ffffff">UGN Security</font>
</td>
</tr>
</table>

<input type="hidden" name="client" value="pub-5168900358893374"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="channel" value="4984299912"></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:#8CA3D6;GL:1;DIV:#666666;VLC:8CA3D6;AH:center;BGC:000000;LBGC:000000;ALC:C0C0C0;LC:C0C0C0;T:FFFFFF;GFNT:8CA3D6;GIMP:8CA3D6;FORID:1"></input>
<input type="hidden" name="hl" value="en"></input>
</td>
</tr>
</table>
</form>
</div>
<!-- SiteSearch Google -->


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

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
isaac
isaac
California
Posts: 1,157
Joined: July 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
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)