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
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
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki OwnerTime Lord
UBBDev / UBBWiki OwnerTime Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
Demo and then in navigation on Google.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki OwnerTime Lord
UBBDev / UBBWiki OwnerTime 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
Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
Is nice, I use it gladly
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
Joined: Nov 2002
Posts: 8
Lurker
Lurker
Joined: Nov 2002
Posts: 8
Joined: Feb 2004
Posts: 182
Member
Member
Joined: Feb 2004
Posts: 182
This is, for example, mine google.php in the list includes
And it lives.
Attachments
Joined: Nov 2002
Posts: 8
Lurker
Lurker
Joined: Nov 2002
Posts: 8
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki OwnerTime Lord
UBBDev / UBBWiki OwnerTime 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
Joined: Jul 2002
Posts: 79
Power User
Power User
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
Then there everything should be described.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki OwnerTime Lord
UBBDev / UBBWiki OwnerTime Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
My includes/google.php displays as follows:
<!-- 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 -->
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.
badfrog
somewhere on the coast of Maine
Posts:
94
Joined: March 2007
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166Sep 15th, 2019
Currently Online
Topics Created
Posts Made
Users Online
Birthdays