PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

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

remove $content .=
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
DOH_Angler
New Member
New Member


Joined: Oct 31, 2005
Posts: 13

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

No Luck there either - but thanks
View user's profile Send private message
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

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

sorry

echo ads(3);

Wink
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
DOH_Angler
New Member
New Member


Joined: Oct 31, 2005
Posts: 13

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

Outstanding! that did the trick

Thank You
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum