GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Dec-2001, 14:58
Alex West Alex West is offline
New Member
 
Join Date: Dec 2001
Posts: 5
Alex West is an unknown quantity at this point

PhpAdsNew


Thank you . That helps a lot. I see there is a big missing section in the documentation for the Zones and how to get the working. For some reason I can't use the local call. It might have something to do with PHPNuke. But I'm not sure. I used the Combined Remote invocation and it works. But with one problem half of the banner is cut off. I went through all the tables in the DB and they are all set for 468x60. Did you have this problem?


http://www.thrillnetwork.com/adtest.php
  #2  
Old 28-Dec-2001, 15:06
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
on your test page there, why not edit ur html this way?

Code:
<table width="468" border="0" cellspacing="0" cellpadding="0" height="60"> <tr> <td> <?php view bla, bla; ?> </td> </tr> </table>
  #3  
Old 28-Dec-2001, 15:09
Alex West Alex West is offline
New Member
 
Join Date: Dec 2001
Posts: 5
Alex West is an unknown quantity at this point
there aren't any tables on that page. Its just the straight banner code.
  #4  
Old 28-Dec-2001, 15:13
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
btw, i am certain phpNuke has one file that holds all the 'functions' as functions.inc.php or something like that? if there's one like that, just add that "require phpadsnew.inc.php bla, bla" line somewhere in there, then.
  #5  
Old 28-Dec-2001, 15:16
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Quote:
used the Combined Remote invocation

can u paste here the code the way u use it on your page so i can paste here my suggestion?
  #6  
Old 28-Dec-2001, 16:04
Alex West Alex West is offline
New Member
 
Join Date: Dec 2001
Posts: 5
Alex West is an unknown quantity at this point
Here is the code:

<iframe src='http://www.thrillnetwork.com/adverts/adframe.php' framespacing='0' frameborder='no' scrolling='no'><script language='JavaScript' src='http://www.thrillnetwork.com/adverts/adjs.php?withText=0'></script><noscript><a href='http://www.thrillnetwork.com/adverts/adclick.php'><img src='http://www.thrillnetwork.com/adverts/adview.php?withText=0' border='0'></a></noscript></iframe>
  #7  
Old 28-Dec-2001, 16:22
Alex West Alex West is offline
New Member
 
Join Date: Dec 2001
Posts: 5
Alex West is an unknown quantity at this point
Ok.

I just rebuilt the Zone and it seams to work. I think it was just a glitch. But I still can't get the local code working.

Also:

where you have this

{random:6}

am I supposed to replace the text within the brakets with an actual random number?

Since PhpNuke uses one header file, and this is where I will be putting the banner informatio, I noticed that Burst requires that you place a random number on every page. How did you do this?
  #8  
Old 28-Dec-2001, 17:56
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
i would maybe try :
Code:
<iframe src='/adverts/adframe.php?what=468x60' framespacing='0' frameborder='no' scrolling='no' width='468' height='60'> <script language='JavaScript' src='/adverts/adjs.php?what=468x60'></script> <noscript><a href='/adverts/adclick.php'><img src='/adverts/adview.php?what=468x60' border='0'></a></noscript> </iframe>

note the width & height (i didn't notice that it was missing when i first saw ur post).

just add the {random:6} for a random 6 digit number for your banner code exactly the way it's shown (literally, i mean).

if u want random 5 digit number, then replace the code where the no. is supposed to be with {random:5}; get it?

usually (with most php scripts) there's atleast one file of the script that lists a whole bunch of includes like this:
Code:
include(getenv('DOCUMENT_ROOT').'includes/constants.'.$phpEx); include(getenv('DOCUMENT_ROOT').'includes/template.'.$phpEx); include(getenv('DOCUMENT_ROOT').'includes/sessions.'.$phpEx); include(getenv('DOCUMENT_ROOT').'includes/auth.'.$phpEx); include(getenv('DOCUMENT_ROOT').'includes/functions.'.$phpEx); include(getenv('DOCUMENT_ROOT').'includes/db.'.$phpEx); include_once(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php');
with adding the last line to that list like that, u may get to use local code anywhere and multiple times on a single web page of your site.

tell me if it works...
  #9  
Old 28-Dec-2001, 18:48
Alex West Alex West is offline
New Member
 
Join Date: Dec 2001
Posts: 5
Alex West is an unknown quantity at this point
I emailed you the functions.php for our Phpnuke. It doesn't have includes but has alot of function tags.

Also, I got the banners rotating but the links aren't working correctly.

you can see them in action here:

http:www.thrillnetwork.com

When you click on the banners either at the top or bottom they are all linking to the same site:

http://www.softdepia.com/ie/use.asp

Maybe, if you don't mind, I can give you access to PhpAdsNew on our server? To help me out?
  #10  
Old 28-Dec-2001, 19:44
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
I don't mind at all and I will be getting in touch with u via email.

btw, the links worked fine when i tried it from ur site... but read on.

Before we abandon this thread, i want to point out here, to others who may refer to this thread, about these:

using combined/remote code on ur pages mean the banners load secondary to the rest of ur web page.
(iow, by the time the banners have even started loading, the reader may have clicked on a link, and moved on to another page - this is bad, cause if ur deal is CPM, this instance of the banner being displayed will not be recorded by your ad network, cause it hasn't completed loading).

using zones, u'll have to add-on an unnecessary step to your banner management. e.g. step 1 - create banner & step 2 - add to zone. with keywords, u do both, in 1 step!

another thing to worry (seriously) about is Caches, but that's a whole article by itself...
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[RELEASED] New version of PhpAdsNew! JdS MySQL / PHP Forum 0 24-Jul-2002 16:33

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:59.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.