Previous Thread
Next Thread
Print Thread
Rate Thread
#104488 07/24/2002 12:43 PM
Joined: Feb 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 1
Not sure if this is the right place to post this ...

Any assistance would be appreciated ... I tried doing a search, but couldn't find any previous discussions on this topic, so I apologize if this has been mentioned before.

I am using "Ad Manager" technology to serve the rotating banners on my website. On the basic html pages, it works fine as long as I have the pages named with a .phtml extension.

The code that I insert is similar to the following:

?
require "$DOCUMENT_ROOT/adserver/config.inc.php3";
require"$DOCUMENT_ROOT/adserver/view.inc.php3");
?
html
head
title demo /title
/head
body
?
view("468x60");
?
(the code is not exact because I had to remove certain aspects of it to get it into this post).

Is there any way that I can get this to operate on the board and if so, do I need to modify anything to do so.

UBB is http://www.frugalbride.com/cgi-bin/ultimatebb.cgi

Thanks!!

Sponsored Links
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Welcome smile

(By the way, if you can't add certain things to your posts, use the code tag smile )

Try adding the following to the header of your UBB style template:

Code
<script language="php">
include ("php-ad-file.php");
</script>
Replacing php-ad-file.php with the name of your PHP file.

I'm sure Charles or someone else will correct me if this is wrong... wink

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Yer wrong. wink See my answer on Community.

In short, CGI output can't be filtered by PHP in the current generation of web servers. frown You'll have to use normal HTML code to rotate the banners...


UBB.classic: Love it or hate it, it was mine.
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
OK, thanks Charles... I wish I'd get something right for a change.. wink

Joined: Oct 2001
Posts: 114
Content Kidman
Content Kidman
Offline
Joined: Oct 2001
Posts: 114
How about creating a frameset? PHP banner ads in the top, UBB in the bottom.

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
UBB doesn't work well in frames due to stupid IE6 problems...


UBB.classic: Love it or hate it, it was mine.

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 20240506)