The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Make quick style chooser update user settings Details »» | |||||||||||||||||||||||||||
Make quick style chooser update user settings
Developer Last Online: Mar 2013
The Quick style chooser relies on sessions rather than updating the actual user's settings. This means when you want to see what skin a user is using, it's usually not correct. Since most users tend to change skins using just the Quick Style Chooser, this plug-in updates their settings to match it. It's specifically for use with my skin view plug-in, but also could be handy for other forums. Simply install it using the product manager.
Note: This will not update a user's settings until they re-visit your forums. It is also said to fix issues with psiStats giving inaccurate results. Update: This now lets users easily reset their options back to the default style. You're free to do what you like with this code, although credit is appreciated, it's not required. Brought to you by eXaltic - vBulletin skins. Show Your Support
|
Comments |
#42
|
||||
|
||||
Is anyone still having a problem with styles changing randomly for users?
|
#43
|
||||
|
||||
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? |
#44
|
||||
|
||||
Yes...
|
#45
|
|||
|
|||
Quote:
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. |
#46
|
||||
|
||||
Quote:
Quote:
http://www.vbulletin.com/forum/showp...&postcount=202 https://vborg.vbsupport.ru/showthread.php?t=92071 There is also one included in this hack: https://vborg.vbsupport.ru/showthread.php?t=100764 And while we're on the subject, here's a new hack that promises to detect when a mobile device connects to your site and allow you to override the default style/skin with one you specify: https://vborg.vbsupport.ru/showthread.php?t=130983 |
#47
|
|||
|
|||
Thanks
|
#48
|
||||
|
||||
It seems to mostly, though not always, change people to a random skin (not what they have previously chosen) when they log in to the board. It not all the same, it's random ones. And sometimes people report that it just changes mid visit. I'll try the new plugin Thanks for looking into this!
|
#49
|
|||
|
|||
It is a random occurrence for each user, the forum I help at was getting reports of users styles changing randomly after posting/refreshing/editing/ect.
Edit: We have tried the version posted here and ended up with the same problems. |
#50
|
||||
|
||||
Quote:
Quote:
|
#51
|
|||
|
|||
What am I doing wrong...It just says default.
No matter what skin I am using??? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|