» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 48
0 members and 48 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on How to show banners in other pages within the Nuke 6.5 to 6.9 - General forums, part of the PHP-Nuke 6.5 to 6.9 category; Hi to everybody, after have tried it for a long time and haven't still do it i decide to ...


Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2005, 07:30 AM
Junior Member
 
Join Date: Sep 2004
Posts: 33
How to show banners in other pages
Hi to everybody,

after have tried it for a long time and haven't still do it i decide to ask here..

i would like put banners in other pages in my site...

for example i would like to have banners under the index page of the modules weblinks where is write there are 53 links in 3 cat..

under this i would like show the banner and everytime that i refresh the page this would be supposed to change..

i tried to use $showbanners but it donesn't work so i tried to copy all the content of banners.php inside the index.php of weblink but it still doesn't work... how can i made it???

hope someone can help me...

take care
mike (sorry for my english)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-28-2005, 12:04 PM
Member
 
Join Date: Jul 2004
Posts: 450
iam not 100% sure on this but the code your looking to add is
Code:
if ($banners == 1) { 
include("includes/banners1.php"); 
$showbanners = $tbanners1; 
}
banners1.php is for header larger banners
banners2.php is footer larger banners

3 & 4 represent left & right banners
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-28-2005, 12:35 PM
Junior Member
 
Join Date: Sep 2004
Posts: 33
it doesn't work...
it doesn't show anything...
plus i dont have any banners1.php or 2 or 3 in includes/
i have banners.php in the main folder, but it doesn't work either
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-28-2005, 12:48 PM
Member
 
Join Date: Jul 2004
Posts: 450
Sorry that was for Platinum try this one
Code:
if ($banners) {
	include("banners.php");
	echo "
";
    }
Its going to take a bit of messing around & like i was sayiing iam not 100% sure of these codes, however they are a base line to work with.
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-28-2005, 01:44 PM
Junior Member
 
Join Date: Sep 2004
Posts: 33
hey, it works right now...

really thanks, it was a week that i was triyng... i'm pretty dumb on php..

thx...
cheers
mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-28-2005, 01:46 PM
Member
 
Join Date: Jul 2004
Posts: 450
Your welcome
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-12-2005, 08:10 AM
Junior Member
 
Join Date: Dec 2004
Posts: 38
Hey guys.. this code works when used before the $content =, but the banner is displayed above the block (of course).. How would I include this within the block?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-12-2005, 08:29 AM
Member
 
Join Date: Jul 2004
Posts: 450
You put the code into blocks-your_block_code.php or into your modules-your-module_code.php

not into blocks.html or blocks.php, if you did that the same advert would appear in all blocks
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-12-2005, 04:24 PM
Junior Member
 
Join Date: Dec 2004
Posts: 38
That's what I did, inserted the include before the $content, it put the banner above the block itself and the $content of course, in the block.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-14-2005, 02:42 AM
Junior Member
 
Join Date: Dec 2004
Posts: 38
bump?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Banners Ad do not work shahzad Nuke 7.x - Modules 0 07-06-2006 08:47 AM
Banners Juan Site design 1 01-23-2006 09:33 AM
Banners?? qwicker Nuke 7.x - General 0 12-30-2004 06:40 PM
how to add pages to Modules and add pages to blocks?? steve70000 Nuke 7.x - General 0 10-23-2004 05:38 AM


All times are GMT -5. The time now is 06:02 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31