Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Modules
Author Message
DOH_Angler
New Member
New Member



Joined: Oct 31, 2005
Posts: 13

PostPosted: Wed Mar 17, 2010 10:08 pm Reply with quote

I'm runing RN v2.4 of nuke 7.6
I created a simple module to display some information from a database for my visitors and I’d like to place a banner ad in the module that works like the rest of the banners from the advertising mod

Not sure I explained this well enough

As long as you don’t need to control the module from the admin you really don’t need a lot in the index page of the mod.
The “OpenTable();” & “CloseTable();” creates the image frame around the mod and if you ad another set you get a second frame I would like to add a banner position in one of these frames

Is that possible?

I created a ned position in the advertising and tried the standard “$content .= ads(3);” and that doesn’t seem work
Has anyone tried this before and if so did you find a fix?

Here is my index script maybe someone can tell me if I am missing something

Thanks in advance

Quote:

<?php

if (!defined('MODULE_FILE')) die ('You can\'t access this file directly...');

require_once 'mainfile.php';

include 'header.php';

OpenTable();
///////This is where I would like to put a new banner posistion
$content .= ads(3);
CloseTable();


OpenTable();
///////this is where I place my database script
CloseTable();

?>
 
View user's profile Send private message
wHiTeHaT
Life Cycles Becoming CPU Cycles



Joined: Jul 18, 2004
Posts: 579

PostPosted: Thu Mar 18, 2010 1:56 pm Reply with quote

remove $content .=
 
View user's profile Send private message Send e-mail
DOH_Angler







PostPosted: Thu Mar 18, 2010 2:07 pm Reply with quote

No Luck there either - but thanks
 
wHiTeHaT







PostPosted: Thu Mar 18, 2010 2:14 pm Reply with quote

sorry

echo ads(3);

Wink
 
DOH_Angler







PostPosted: Thu Mar 18, 2010 2:59 pm Reply with quote

Outstanding! that did the trick

Thank You
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©