PDA

View Full Version : How did vb.org create


Auero
12-25-2002, 12:37 AM
... the setup they have when doing a NEW HACK in the Full Releases forum

First they have the NEW HACK button where the NEW THREAD button should be.
Then they have a information page about what and what not to do regarding a new hack.

Lastly they have a different setup to the newthread page which includes some different fields.

All this is ONLY available for the Full Releases forum.

How is this achievable...???

:cross-eyed:

DrkFusion
12-25-2002, 01:22 AM
One way is making a style, amd making that forum use that style, and making it override the users style.

Another way is using if/else statements and replacing the place where newthread will go witha variable. So for instances, if the forumid where the threadid is is XX then put <img src="newhack.jpg"> else <img src="newthread.jpg">

Auero
12-25-2002, 01:24 AM
...and the proper way of doing it?

Sparkz
12-25-2002, 10:00 AM
Both are proper ways of doing it...
You just have to figure out which one suits you better. :)

Chris M
12-25-2002, 01:35 PM
The if/else statement is probably a better way, but its up to you;)

Satan

DrkFusion
12-25-2002, 03:48 PM
I always use if and else statements, as I am to lazy to make 2 styles for each new style I have, lets say I have 6 styles, I will have to make 12 different styles just for that one forum.

or, you can switch around the template, make if/else statements so that if the forumid is 6 then the newreply will use newreplynew template, if not it will use the default one.

You see :)