php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#223212 - 08/29/02 03:39 PM How to implement PHPAdsNew
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
Ok I've got PHPAdsNew installed and ready to go. Now what?<br /><br />Does this rotate banners every so many seconds when a user is on a screen<br />or does it only rotate banners as the page loads.
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
Ads on Your Site
earn money with your site
#223213 - 08/29/02 03:42 PM Re: How to implement PHPAdsNew [Re: sdf123]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Sorry, I'm not familiar with it, but am going to be seeking a better solution for banner ads myself.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#223214 - 09/01/02 01:32 PM Re: How to implement PHPAdsNew [Re: sdf123]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
It does rotate Banners when the page loads. We use it on our main site. Very powerfull programm, even for large sites.<br />The newest release has a great user-guide that explains options and features.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#223215 - 09/04/02 02:14 PM Re: How to implement PHPAdsNew [Re: sdf123]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
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.<br /><br />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[/]

Top
#223216 - 09/04/02 02:17 PM Re: How to implement PHPAdsNew [Re: -Fusion-]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
Thanks I have it installed but I am a little confused<br />what code do I place in my forum headers?<br /><br />If I understand the program correctly<br /><br />You create accounts or users<br />then your users can upload banners.<br /><br />Then you need some code to place in<br />the forums for display<br /><br />The banners can change with out the need to <br />modify the header's footers each time?<br /><br />
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#223217 - 09/04/02 02:40 PM Re: How to implement PHPAdsNew [Re: sdf123]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
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.<br /><br />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[/]

Top
#223218 - 09/04/02 04:21 PM Re: How to implement PHPAdsNew [Re: Luniz2k1]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
It's not possible to have the banners rotate while you are on a page, say every x seconds?<br />
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#223219 - 09/04/02 04:24 PM Re: How to implement PHPAdsNew [Re: sdf123]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
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
_________________________
~Dave
ChattersOnline.com

Top
#223220 - 09/06/02 09:32 AM Re: How to implement PHPAdsNew [Re: sdf123]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
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.<br /><br />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[/]

Top
#223221 - 09/06/02 09:33 AM Re: How to implement PHPAdsNew [Re: sjsaunders]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
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[/]

Top
#223222 - 09/06/02 10:34 AM Re: How to implement PHPAdsNew [Re: Luniz2k1]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
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. <br /><br />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.
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#223223 - 09/10/02 04:28 PM Re: How to implement PHPAdsNew [Re: sdf123]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
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. <br /><br />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[/]

Top
#223224 - 09/28/02 11:59 AM Re: How to implement PHPAdsNew [Re: sdf123]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK -<br /><br />I'm getting close on this one.<br /><br />The new PHPAdsNew offers an option for Local delivery using a template. (Apparently it didn't work before with templated sites.<br /><br />It generates this:<br /><br /><pre><font class="small">code:</font><hr><br /><?php<br /> require('/home/measurection/htdocs/bannerads/phpadsnew.inc.php');<br /> if (!isset($phpAds_context)) $phpAds_context = array();<br /> $phpAds_raw = view_raw ('', 3, '_blank', '', '0', $phpAds_context);<br /> $phpAds_context[] = array('!=' => $phpAds_raw['bannerid']);<br /> <br /> // Assign the $phpAds_raw['html'] variable to your template<br /> // echo $phpAds_raw['html'];<br />?><br /></pre><hr><br /><br />I have tried putting this bit of code into the ubbt.inc.php file.... <br />which should define that $phpAds_raw['html'] variable site wide.... right?<br /><br />Then put $phpAds_raw['html'] into my header or footer template..... but it doesnt work.<br /><br />Any ideas?<br /><br />Am I on the right track?<br /><br />Any help is appreciated. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#223225 - 09/30/02 09:59 AM Re: How to implement PHPAdsNew [Re: Daine]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
Does it work with the remote invocation? <br /><br />I have never fooled around with the template stuff.
_________________________
[:"blue"]Eric Hill[/]

Top
#223226 - 11/13/02 06:55 AM Re: How to implement PHPAdsNew [Re: Luniz2k1]
ksanuk Offline
Member

Registered: 02/06/02
Posts: 297
Loc: Bangkok, Thailand
Hi,<br /><br />Did anybody ever get this working?<br /><br />Have been trying myself, but no luck what so ever <img src="/forum/images/graemlins/frown.gif" alt="" /><br /><br />Sanuk!

Top
#223227 - 11/13/02 08:38 AM Re: How to implement PHPAdsNew [Re: Deyth_Combine]
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
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.<br /><br />For instance on ubbthreads.php<br /><br />// Require the library<br /> require ("main.inc.php");<br /> require ("languages/${$config['cookieprefix']."w3t_language"}/ubbthreads.php");<br />///// ADS INCLUDE ///////<br /> require("../ads/phpadsnew.inc.php");<br /><br />~<br />~<br />~<br /><br />// ------------------<br />// Send a html header<br /> $html = new html;<br /> $html -> send_header($config['title'],$Cat,0,$user);<br /> /////////////////////////// SHOW BANNER /////////////////////////////////// <br />view("rotate", "_blank");<br /><br /><br /><br />This would pull a random banner than has the "rotate" keyword and open in a new window when clicked on.<br /><br />If you are wanting to show the banner of a certain advertiser you just use the banner ID #, like so:<br /><br />view(3, "_blank");<br /><br />Hope this helps a little


Edited by 3DSHROOM (11/13/02 09:14 AM)
_________________________
SacredShrooms.org

Top
#223228 - 11/14/02 04:34 PM Re: How to implement PHPAdsNew [Re: AleksejVL]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks!<br /><br />I've yet to get back to trying to figure this out.... so I will give this a try. <img src="/forum/images/graemlins/grin.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#223229 - 11/20/02 07:41 PM Re: How to implement PHPAdsNew [Re: Daine]
ksanuk Offline
Member

Registered: 02/06/02
Posts: 297
Loc: Bangkok, Thailand
Hi,<br /><br />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'.<br /><br />Copied and pasted the generated code into the template and it worked like a charm.<br /><br />Sanuk!<br />

Top
#223230 - 12/20/02 10:55 AM Re: How to implement PHPAdsNew [Re: Deyth_Combine]
ehill Offline
Journeyman

Registered: 07/24/00
Posts: 124
The Iframe method works fine also and it does not slow down the board like the java invocation does.
_________________________
[:"blue"]Eric Hill[/]

Top
#223231 - 01/16/03 12:02 PM Re: How to implement PHPAdsNew [Re: Luniz2k1]
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
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.<br /><br />Now has anyone played with GeoTargeting???
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
Page 1 of 2 1 2 >



Moderator:  Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks