PDA

View Full Version : Style specific Plugin


zivester
07-29-2008, 04:46 PM
I'm creating a new style for my forums, and I want to try out some new plugins.

I'm including an external file from the plugin manager that alters all the variables I want to change.

Is there a way to only include this file if I'm under a specific style?

i.e. if I'm using style 3, include this file, if not, don't do anything.

Opserty
07-29-2008, 05:20 PM
I believe the STYLEID constant holds which ever style the user is currently using.

zivester
07-29-2008, 05:50 PM
How are they referenced? I have 3 styles, with display orders... do I call them by name or id or what?

Opserty
07-29-2008, 10:01 PM
echo() it and see the contents. ;)