PDA

View Full Version : Different designs with a passed var.


Robert9
05-29-2002, 02:36 AM
Just some month ago i tried to write a hack that allows to pass a new var, so the forum could be shown with a different template-set. But i fail. Has someone done this till now?
My goal is not to have different styles for users, i want to have only one style for one domain.

So i could call the script with .....com/board/board.php?style=1
2,3 ... one in red, one in blue, with different logos and so on..
Robert

Scott MacVicar
05-29-2002, 08:17 AM
index.php?styleid=NEWSTYLEID

and you create new styles within the admin panel and this can be changed within the options part of the user control panel.

Robert9
05-30-2002, 03:20 PM
I was very happy to read this, but unfortunately my board dont do anything when started with ..?styleid=2.
(Yes, i have added a new style.)
I have just update to 2.6. but there is no effect at all.

Maybe i must allow different styles for users?
I will try it.
Though this is not my goal.
People that come from domaine.com should have it in red, people from domaine2.com should have it in black.
That´s all i need for the first.

If someone calling from dom1 could use the style of dom2, he kills the whole design of the page.

Robert