The DataWriter works great if you don't accidentally write to the wrong option by using conditionals array for option_id with getOptions rather than getOptionById . The problem is fixed and my intelligence non-existent. Thanks for all the help.
I really appreciate all the help. It doesn't appear to be in the xf_style and the property column just seems to host all sorts of CSS and HTML. I'm still looking around, but I can't seem to find some secondary default setting/property.
Setting defaultStyleId to the style ID changes the Home > Options > Appearance > Default Style setting, but doesn't seem to affect the actual default style reflected in the Appearance > Styles default style radio buttons which are the ones that seem to matter. How do I get at that?
Sorry, but how would one go about modifying default style option through code? I would assume you would just try to find using option model's getOptions and an option_id of "defaultStyleId" and then set option_value to 0, but the xf_option table looks a bit more exotic than the xf_user one? Or...
Hello,
Sorry to pester you all, but I've been trying to make a theoretically simple add-on that switches styles based on the date/season. I have no experience dealing with XenForo add-on development, so I was hoping that this would be a good place to start. I tried to use Fuhrmann's How to...
Hello,
I'd like to have an animated wallpaper using the flat surface shader. I've made the background, but I have no idea if or how I could implement it considering Xenforo's style system as it isn't just CSS. I could really use some help, I tried looking around for solutions, but I was unable...