Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 90
10 members and 80 guests
chrti7istianbas, datxiingbags2ir, howhnw9toplanxo, lawn22ev12, nadimdagostinop, ralfthorburnkh, rivdsercruise, valoriejudson2s, watpperpr, yossaphatdobai3
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

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

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

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
Old
  (#2 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
03-28-2005, 12:04 PM

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


Share4Gain.com- 80% Adsense Revenue Share, no website required
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Sep 2004
03-28-2005, 12:35 PM

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
Old
  (#4 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
03-28-2005, 12:48 PM

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.


Share4Gain.com- 80% Adsense Revenue Share, no website required
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Sep 2004
03-28-2005, 01:44 PM

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
Old
  (#6 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
03-28-2005, 01:46 PM

Your welcome


Share4Gain.com- 80% Adsense Revenue Share, no website required
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 38
Join Date: Dec 2004
07-12-2005, 08:10 AM

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
Old
  (#8 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
07-12-2005, 08:29 AM

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


Share4Gain.com- 80% Adsense Revenue Share, no website required
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 38
Join Date: Dec 2004
07-12-2005, 04:24 PM

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
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 38
Join Date: Dec 2004
07-14-2005, 02:42 AM

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




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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