Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,834
Likes: 20
UBBDev Owner
Time Lord
UBBDev Owner
Time Lord
Joined: Jan 2000
Posts: 5,834
Likes: 20
For those wanting to add a Google Adsense block, copy the following (with your advertiser id) into a custom block:
Code
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-5168900358893374";
google_alternate_color = "000000";
google_alternate_ad_url = "http://banners.undergroundnews.com/CS.gif";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="3810782578";
google_ad_type = "text_image";
google_color_border = "000000";
google_color_bg = "081750";
google_color_link = "FFFFFF";
google_color_url = "CCCCCC";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
EOF;

You can add this to your forum through the control panel (Control Panel -> Custom Islands -> Custom Island #1); to add the custom island to your forum you will need to edit the forum(s) that you wish it to be provided on and select the island from the "Custom Island Insert" dropdown on the "Custom Inserts" tab.


UBBDev - 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] [Finished] Adsense Custom Block Gizmo 08/11/2006 4:07 AM
Re: Adsense Custom Block AllenAyres 08/26/2006 10:05 PM
Re: Adsense Custom Block usr bin geek 09/05/2006 11:53 PM
Re: Adsense Custom Block Micky 09/06/2006 12:30 AM
Re: Adsense Custom Block Gizmo 09/06/2006 1:27 AM
Re: Adsense Custom Block Gizmo 10/08/2006 10:16 AM
Re: Adsense Custom Block Deejay23 01/08/2007 6:37 AM
Re: Adsense Custom Block Gizmo 01/08/2007 9:52 AM
Re: Adsense Custom Block Deejay23 01/26/2007 7:38 PM
Re: Adsense Custom Block Jest 08/19/2007 9:48 AM
Re: [7.x] [Finished] Adsense Custom Block Hanse The Insane 03/21/2007 2:26 AM
Re: [7.x] [Finished] Adsense Custom Block Gizmo 03/21/2007 2:59 AM
Re: [7.x] [Finished] Adsense Custom Block Hanse The Insane 03/21/2007 3:20 AM
Re: [7.x] [Finished] Adsense Custom Block Gizmo 03/21/2007 3:25 AM
Re: [7.x] [Finished] Adsense Custom Block jgeoff 03/21/2007 7:22 PM

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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)