MyBB Community Forums

Full Version: Using a cookie as the stylesheet if it's set
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm currently working on something where a user is able to input a hex(color) code and it will set a cookie containing the CSS however parts changed with the POST data. 

I've managed to get to the part where the cookie sets fine and it's all stored correctly however I'm trying to think of a way in MyBB where I can check if the cookie is set to use it as the stylesheet.

Any assistance would be appreciated.