Banner only on one forum

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
Tabi
Registered User
Posts: 24
Joined: Sat Apr 27, 2002 11:32 am
Location: Poland
Contact:

Banner only on one forum

Post by Tabi » Mon Sep 16, 2002 10:01 am

Hello!

I have small problem.
I want put a banner on one of my forums (viewforum.php?f=6).
How can I do it?

THNX
::mlask // forum: dnd.rpg.pl // maciej tabert

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix » Mon Sep 16, 2002 10:18 am

i don't think you can put a banner in only one forum.
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

User avatar
chAos
Former Team Member
Posts: 4032
Joined: Wed Jan 16, 2002 7:05 am
Location: Seattle, WA, US

Post by chAos » Mon Sep 16, 2002 12:16 pm

...moved to mod requests...

nexialys
Registered User
Posts: 209
Joined: Tue May 21, 2002 1:26 pm
Location: Québec, between sky and hell...
Contact:

Post by nexialys » Mon Sep 16, 2002 12:20 pm

yeah, it's simple and easy to configure... but i will not do it, i don't have a banner system right now...

1- each forum have a specific number...
2- each banner can be set to show up on a specific page
3- so each banner can be set to show up on a specific forum number.

like this:

if ($f=1) { // when the forum = #1
show this banner system;
} else {
show nothing, or something else;
}

easy, isn't it ?!
-=nexia=-

i'm not god, i'm a nexialist... god is perfect.. i try to make it weak.

VorowneTSG
Registered User
Posts: 257
Joined: Mon Sep 09, 2002 4:33 pm
Contact:

Post by VorowneTSG » Mon Sep 16, 2002 5:02 pm

what would be the command to show the image, in your scenario? Would it simply be the HTML img tag?

nexialys
Registered User
Posts: 209
Joined: Tue May 21, 2002 1:26 pm
Location: Québec, between sky and hell...
Contact:

Post by nexialys » Mon Sep 16, 2002 6:08 pm

simple too... as usual, you can apply a template on your function, so you set the {BANNER} in viewforum, and that's it.. no need of an external script or a real modification of the viewforum form...
-=nexia=-

i'm not god, i'm a nexialist... god is perfect.. i try to make it weak.

Post Reply

Return to “[2.0.x] MOD Requests”