Page 1 of 1

REQ: Server storage for theme settings

Posted: May 18th, 2011, 11:46 am
by melfy
Want to make a CSS customizable theme with JS color picker, storing in cookies would force a redesign on cache clear or different browser

+ would help remember plush settings :P

Re: REQ: Server storage for theme settings

Posted: May 18th, 2011, 4:19 pm
by shypike
So, what are you asking for?

Re: REQ: Server storage for theme settings

Posted: May 18th, 2011, 4:23 pm
by melfy
Some way to post variables and have sabnzbd store it in the ini probably best to have it in per theme section

[theme-]
key=value


probably limit key to like 10-15 chars, value to 100-255 or something, and if not too much work limit the count of variables so it doesn't get too huge if someone does something wrong

or maybe just a key to store JSON posted from browser
theme-plush={key1:val,key2:val} limited to 1000-2000

Re: REQ: Server storage for theme settings

Posted: May 29th, 2011, 1:17 pm
by shypike
We have no plans for that.
The current skins simply create a cookie.
Makes sense when you access a central system with SABnzbd
from different clients.

Re: REQ: Server storage for theme settings

Posted: May 31st, 2011, 2:59 pm
by melfy
shypike wrote: We have no plans for that.
The current skins simply create a cookie.
Makes sense when you access a central system with SABnzbd
from different clients.
Cookies only stick to a single client, if you use more than one web browser at one or more computers any settings for that theme is lost and require you to update prefs, if cache is cleared, require you to update prefs... why does it make sense to not have your prefs saved for different clients?