The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
get current styleid in plugin php code
Hi,
Does anybody know what variable to use to get the currently selected styleid. Not just for the user logged in, but also for the users that are logged out. Kind regards |
#2
|
|||
|
|||
I think you'd have to do a query to get it for users other than the current user. There's a function to fetch_userdata() in includes/functions.php, it checks the cache but also gets a lot of other things too, so I don't know if it's better to use that or just read the user table. Also I think things can override that value so it's really only telling you what the user has select for "Forum Skin" in their usercp.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|