View Full Version : get current styleid in plugin php code
marocnl
04-22-2011, 10:23 AM
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
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.