![]() |
Which style is being used?
I manage a forum with the default style, and two custom styles.
I want a plugin to run at all times but if one of the custom styles is being run I don't want to do a teeny part of the plugin. How do I pick up the name of the style? thanks Sarah |
try $stylevar but thats just a guess
|
Thanks
I've been looking around for info on $stylevar which is an array and haven't found much. vB doesn't seem to let me do a var_dump on it so I'm having problems finding out just what's in it. Can you point me in the right direction please? |
is it a template edit or a plugin?
|
The template has been edited, no problems there
The plugin needs to know which version it's serving. Users don't get to select the style, but we have a forum running a different style. I guess we could use the forum name but it seems safer (in the long run) to delect the style. |
FWIW I used
Code:
if ($foruminfo['styleid'] <> 3) |
All times are GMT. The time now is 11:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|