Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
I've been running phpAdsNew on our site, http://www.shroomery.org/forums/ubbthreads.php, for quite a while now. I don't exactly do it "by the book" but it works great.

For instance on ubbthreads.php

// Require the library
require ("main.inc.php");
require ("languages/${$config['cookieprefix']."w3t_language"}/ubbthreads.php");
///// ADS INCLUDE ///////
require("../ads/phpadsnew.inc.php");

~
~
~

// ------------------
// Send a html header
$html = new html;
$html -> send_header($config['title'],$Cat,0,$user);
/////////////////////////// SHOW BANNER ///////////////////////////////////
view("rotate", "_blank");



This would pull a random banner than has the "rotate" keyword and open in a new window when clicked on.

If you are wanting to show the banner of a certain advertiser you just use the banner ID #, like so:

view(3, "_blank");

Hope this helps a little

Last edited by 3DSHROOM; 11/13/2002 10:14 AM.
Sponsored Links
Entire Thread
Subject Posted By Posted
How to implement PHPAdsNew oceanwest 08/29/2002 10:39 PM
Re: How to implement PHPAdsNew JoshPet 08/29/2002 10:42 PM
Re: How to implement PHPAdsNew Astaran 09/01/2002 8:32 PM
Re: How to implement PHPAdsNew ehill 09/04/2002 9:14 PM
Re: How to implement PHPAdsNew oceanwest 09/04/2002 9:17 PM
Re: How to implement PHPAdsNew ehill 09/04/2002 9:40 PM
Re: How to implement PHPAdsNew oceanwest 09/04/2002 11:21 PM
Re: How to implement PHPAdsNew JustDave 09/04/2002 11:24 PM
Re: How to implement PHPAdsNew ehill 09/06/2002 4:32 PM
Re: How to implement PHPAdsNew ehill 09/06/2002 4:33 PM
Re: How to implement PHPAdsNew oceanwest 09/06/2002 5:34 PM
Re: How to implement PHPAdsNew ehill 09/10/2002 11:28 PM
Re: How to implement PHPAdsNew JoshPet 09/28/2002 6:59 PM
Re: How to implement PHPAdsNew ehill 09/30/2002 4:59 PM
Re: How to implement PHPAdsNew ksanuk 11/13/2002 2:55 PM
Re: How to implement PHPAdsNew 3DSHROOM_dup1 11/13/2002 4:38 PM
Re: How to implement PHPAdsNew JoshPet 11/15/2002 12:34 AM
Re: How to implement PHPAdsNew ksanuk 11/21/2002 3:41 AM
Re: How to implement PHPAdsNew ehill 12/20/2002 6:55 PM
Re: How to implement PHPAdsNew 1QuickSI 01/16/2003 8:02 PM
Re: How to implement PHPAdsNew ehill 01/20/2003 5:17 PM
Re: How to implement PHPAdsNew oceanwest 02/24/2003 9:53 PM
Re: How to implement PHPAdsNew JoshPet 02/25/2003 1:58 AM
Re: How to implement PHPAdsNew Astaran 02/25/2003 11:36 PM
Re: How to implement PHPAdsNew ehill 02/26/2003 12:28 AM
Hey guys.......... shortbus 02/26/2003 11:10 AM
Re: Hey guys.......... ehill 02/28/2003 12:06 AM
Re: Hey guys.......... JoshPet 02/28/2003 4:22 AM
Re: Hey guys.......... ehill 02/28/2003 5:47 PM
Re: Hey guys.......... shortbus 03/02/2003 4:31 AM
Re: How to implement PHPAdsNew so01 03/07/2003 2:23 PM
Re: How to implement PHPAdsNew Kel 03/11/2003 5:45 AM
Re: How to implement PHPAdsNew JoshPet 03/11/2003 5:47 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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1424
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)