Quote:
Originally Posted by Tralala
May I make a feature request? I have a mobile style/skin that some users access from their smart phone/PDA. When they get back to their PC now though, as a result of this hack, they find themselves in that mobile style. I've suggested they update their bookmarks to accomodate (adding a "?styleid=25" suffix, which brings them back to the default skin) but obviously that's not ideal.
So what I'm thinking is, maybe there'd be a way to allow some styles to be excluded from this behavior? If a user chooses "mobile," for example it wouldn't auto-update their style prefs?
|
Is that PDA skin available at all? A few people on a forum I visit have been asking for one.
I'll add an option, but for now you can just edit the fetch_userinfo hook and change:
if ($user['userid'] != false && $dbstyleid !== false && $user['styleid'] !== false && $user['styleid'] != $dbstyleid){
Change it to something like:
if ($user['userid'] != false && $dbstyleid !== false && $user['styleid'] !== false && $user['styleid'] != $dbstyleid
&& $styleid != 34){
With
34 being the ID of your PDA skin.
Bison and co. I'll check it out, but I'm unable to recreate it. Try disabling all other plug-ins and tell me if it still happens. If it does, then I'll PM you to find out more information about the exact set-up. Is it changing everyone's style to the same when someone uses this plug-in, or does it change someone's theme randomly when they visit.
EDIT: Try this and see if it fixes the problem.