2 yabba Jul 30, 2006 08:08

Hrmm, UserSettings should also apply to guests as well, and be stored in cookies don't you think? - If not i'm requesting it.
How would guests set their settings without access to admin?
¥
href="regenurl?gallery_plugin_the_setting=the_value"
then a check happens on load or whatever;
if ( isset($_GET[$plugin->classname.'_'.$setting->code]) )
thats the basic jist.
Would be used in the gallery plugin to get/set the display mode.
Well, stick a request in, the worst they can say is "no" huh? ;)
¥
¥åßßå wrote:
Well, stick a request in, the worst they can say is "no" huh?
balupton wrote:
- If not i'm requesting it.
[url=http://forums.b2evolution.net//viewtopic.php?p=41036#41036];)[/url]
Personally I've put it in cvs/preview or feature requests forum, but anywhere it gets seen works ;)
¥
Haha you read my mind.
Well event requests are posted here....
The feature request forum seems to be a general thing, while this one is just for plugins....
Makes sense seeing that plugins could be just as big as the all the rest.... (some day).
balupton, what you're requesting would be another kind of settings: CookieSettings.
Why would you make another settings type instead of just extending UserSettings?
UserSettings is about DB. And there's a difference between "registered user" (= UserSettings) and "any user" (= Cookie settings)
Well to me they both serve the same purpose, customizable options for the visitor to the blog.
I would prefer the UserSettings to be extended but maybe i'm getting out of touch...
Settings are applied to all users whether they are logged in or just a visitor.
User settings apply to the currently logged in user, and are used to allow them to select their own preferences.
¥