Previous Thread
Next Thread
Print Thread
Rate Thread
#223212 08/29/2002 3:39 PM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Ok I've got PHPAdsNew installed and ready to go. Now what?

Does this rotate banners every so many seconds when a user is on a screen
or does it only rotate banners as the page loads.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Sorry, I'm not familiar with it, but am going to be seeking a better solution for banner ads myself.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
It does rotate Banners when the page loads. We use it on our main site. Very powerfull programm, even for large sites.
The newest release has a great user-guide that explains options and features.

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Depends on how you set it up with your board. You can have it rotate every so many seconds, you can use zones so that it pulls with a page load and still have the option of every so many seconds, etc.

It is a pretty powerful program and I have not upgraded to the latest development build yet which has fixed many things and is even better. If you are using it on your own server then it can actually keep pace with the board.


[:"blue"]Eric Hill[/]
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Thanks I have it installed but I am a little confused
what code do I place in my forum headers?

If I understand the program correctly

You create accounts or users
then your users can upload banners.

Then you need some code to place in
the forums for display

The banners can change with out the need to
modify the header's footers each time?


Sponsored Links
Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
You should probably be using zones or keywords. With zones you generate one set of code for the headers then any banner that is active for that zone would be pulled based on your weighting, etc.

You will need to make sure that the banners are pretty much the same size or it could create a problem for you. Maybe initially it would be better for you to do the uploading of the banners instead of the advertisers until you get used to it some.


[:"blue"]Eric Hill[/]
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
It's not possible to have the banners rotate while you are on a page, say every x seconds?

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
If placed in an <iframe> on a different page it would. Most, if not all, ad companies out there will give you grief for doing this. (if they catch you that is) lol

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Sure it is, in the iframe call you have the option to choose how often you want to rotate the banner. I am not positive about the js call and it is probably not possible with the straight html call.

The Iframe call works well, the js call slows things down just a little, but then it depends on where you are running adsnew from. If you are running on your own server then it may not be a problem. The iframe call works well with internet explorer and the newer versions of netscape.


[:"blue"]Eric Hill[/]
Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
If you are running nothing but the banners from the ad companies then not sure why you need adsnew in the first place?


[:"blue"]Eric Hill[/]
Sponsored Links
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
I am offering banner advertisement on my site for members who may have related services & solutions or products. With AdsNew I can offer them with statistics and reports as to views and click thrus.

I am hoping with this extra data would be more insentive for an member to become a paid advertiser. vs. just some banner without any supporting data.

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
No that is the way to go, but having the statistical information really will not be what makes the sale. And if you are going to be dealing with small businesses, then you are going to have to end up creating the banners and everything for them more than likely. And of course you have the payment collections to deal with and the renewals.

Take it from me, this is no small task that you are starting. But you will do better in the long run, but it will take a while to get it going is all. And the stats will not make the renewal, especially on bb's since the numbers will be so bad as far as percentages go, you will have to do a little more than just sending out the stats to get them to renew on a regular basis.


[:"blue"]Eric Hill[/]
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
OK -

I'm getting close on this one.

The new PHPAdsNew offers an option for Local delivery using a template. (Apparently it didn't work before with templated sites.

It generates this:

code:

<?php
require('/home/measurection/htdocs/bannerads/phpadsnew.inc.php');
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 3, '_blank', '', '0', $phpAds_context);
$phpAds_context[] = array('!=' => $phpAds_raw['bannerid']);

// Assign the $phpAds_raw['html'] variable to your template
// echo $phpAds_raw['html'];
?>



I have tried putting this bit of code into the ubbt.inc.php file....
which should define that $phpAds_raw['html'] variable site wide.... right?

Then put $phpAds_raw['html'] into my header or footer template..... but it doesnt work.

Any ideas?

Am I on the right track?

Any help is appreciated.

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Does it work with the remote invocation?

I have never fooled around with the template stuff.


[:"blue"]Eric Hill[/]
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

Did anybody ever get this working?

Have been trying myself, but no luck what so ever

Sanuk!

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.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks!

I've yet to get back to trying to figure this out.... so I will give this a try.

Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

There is actually an easier way which I found out about on SourceForge. Rather than using the local method of invoking the banner, use 'Remote invocation with JavaScript'.

Copied and pasted the generated code into the template and it worked like a charm.

Sanuk!

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
The Iframe method works fine also and it does not slow down the board like the java invocation does.


[:"blue"]Eric Hill[/]
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
I have been running this exclusively on my UBB system and can say it is the only game in town if you want to serve up banners to your users. It takes a bit to get used to and understand but once you do changing your banners will take no time at all.

Now has anyone played with GeoTargeting???

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Have not tried the goetargeting, does not really apply in my situation at all.


[:"blue"]Eric Hill[/]
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Josh have you figured this one out yet?


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No I gave up and wrote and posted my own random banner thing... it's in beta mods.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
It's very easy to use PhpAdsNew with .threads if you use remote invocation.
What kind of problem do you have?

Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Just use the remote invocation. Unless you have phpads in the same directory you would have to use the remote anyway?


[:"blue"]Eric Hill[/]
Luniz2k1 #223237 02/26/2003 4:10 AM
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
I've been running this on my site for at least six months now. It works great for me. just FYI.


Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Which the phpads or the joshpet banner rotator?

I have had phpads working for quite a while with the remote invocation and it has not been a problem. The simple banner rotator would not come close to doing what I need it to do on our site.


[:"blue"]Eric Hill[/]
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
The simple thing I wrote is new. So I think he's been using phpAdsNew.

I was trying to set it up so that an admin with no technical knowledge can handle it, and it's working for him. But phpAdsNew will give you far more features.

Daine #223240 02/28/2003 10:47 AM
Joined: Jul 2000
Posts: 51
Journeyman
Journeyman
Offline
Joined: Jul 2000
Posts: 51
Ok -- a simple rotating banner script is what I even started with but my requirements got a whole lot bigger. Phpads has been working fine and it is keeping up with the speed of the board. Of course I have it running on a dedicated server also now. As a result remote invocation is my only option regardless but with it being on its own server then it can handle the pace of the board. They are not that far from releasing a new version from what I can tell. I am still using one that is around a year old and plan on upgrading it once I get one of my old servers rebuilt.

Am in the middle of our high season so the forums are going bananas and that has been keeping me busy enough the way it is. One of these days I will get around to upgrading the forum software.


[:"blue"]Eric Hill[/]
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
Phpadsnew works great. Although I only use it to run ads on one site, I am about to expand it to run the same banners on several sites.

Joined: Apr 2001
Posts: 18
User
User
Offline
Joined: Apr 2001
Posts: 18
I do like this.

In ubbt.inc.php add this line
require(getenv('DOCUMENT_ROOT').'ads/phpadsnew.inc.php');


In your header add something like this
<?
view ("some_keyword", '_blank');
?>

Use local invocation with the banners stored localy for best speed.

/S

Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
Where I can I find this modification? Phpadsnew?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
phpadsnew is a separate software program for banner ads. I believe it is free.

http://www.phpadsnew.com


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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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 20221218)