Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Make quick style chooser update user settings Details »
Make quick style chooser update user settings
Mod Version: 1.00, by Xoligy (Member) Xoligy is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (5 votes - 4.80 average) Installs: 73
Released: 12 Dec 2006 Last Update: 10 Jan 2007 Downloads: 356
Not Supported Uses Plugins  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 01 Jan 2007, 19:54
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Question

Happy New Year y'all!

Any progress on fixing this hack, Xoligy?
Reply With Quote
  #32  
Old 10 Jan 2007, 15:19
Xoligy Xoligy is offline
 
Join Date: Jun 2006
I'm now about to take a look at it. I know there are problems with it as I have been experiencing them myself.

Update: Ok I've fixed all the problems and it works like normal. Now I just need to fix the bugs with the other one.

Last edited by Xoligy; 10 Jan 2007 at 16:01.
Reply With Quote
  #33  
Old 10 Jan 2007, 16:26
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
INSTALLED!
Reply With Quote
  #34  
Old 11 Jan 2007, 04:38
AMG021 AMG021 is offline
 
Join Date: Sep 2006
works like a charm
thanks again for not giving up
Reply With Quote
  #35  
Old 16 Jan 2007, 15:47
Forza Forza is offline
 
Join Date: Aug 2006
im still not sure what this does exactly lol but atleast the 'show skin in postbit' works properly now! thanks for this!
Reply With Quote
  #36  
Old 06 Feb 2007, 15:24
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
hi, i've a trouble with this fix, it fix correctly in the postbit the style that an user uses, BUT when an user reconnect on the board his style is changed automatically ...
Reply With Quote
  #37  
Old 14 Feb 2007, 06:14
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Great, great, great add-on. I always lamented the fact that I could never get accurate stats on what skins were in use, since so many users tend to override their User Settings via the QuickChooser. Thanks to this, the stats will be more accurate.

/clicks install

Oh... will it work with this hack? Show Users using Style in Stylechooser
Reply With Quote
  #38  
Old 14 Feb 2007, 06:49
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Now that the user settings are somewhat more accurate, is there a way to discover specifically which users are using what skin? Like a search in the AdminCP or something? In other words, if psiStats reports there are two users who have chosen "style Z" is there a way to find out who those two users are?

I'm searching but not finding anything.
Reply With Quote
  #39  
Old 19 Feb 2007, 16:34
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Originally Posted by Tralala View Post
Now that the user settings are somewhat more accurate, is there a way to discover specifically which users are using what skin? Like a search in the AdminCP or something? In other words, if psiStats reports there are two users who have chosen "style Z" is there a way to find out who those two users are?

I'm searching but not finding anything.

I totally agree. Would be nice if I could quickly find out how many members are using each style.
__________________
WNxWakko
http://warriornation.net
Reply With Quote
  #40  
Old 19 Feb 2007, 16:42
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by WNxWakko View Post
I totally agree. Would be nice if I could quickly find out how many members are using each style.
According to this post by Psionic Vision:

You could run query. Something like this:
SELECT userid, username FROM user WHERE styleid = XXX
It'd be nice to have a nice AdminCP menu option for this though... just a quick screen that shows what users have selected what style. That way if you have an unpopular style (only 4 users) and you want to get rid of it, you can inform them ahead of time...
Reply With Quote
  #41  
Old 22 Feb 2007, 01:20
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Is anyone still having a problem with styles changing randomly for users?

__________________
[buffy-boards]
Reply With Quote
  #42  
Old 22 Feb 2007, 02:30
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
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?

Last edited by Tralala; 22 Feb 2007 at 02:45.
Reply With Quote
  #43  
Old 22 Feb 2007, 02:39
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Originally Posted by Sadie Frost View Post
Is anyone still having a problem with styles changing randomly for users?

Yes...
Reply With Quote
  #44  
Old 23 Feb 2007, 11:52
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Originally Posted by Tralala View Post
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.
Attached Files
File Type: xml product-exaltic_quickstyledb.xml (2.2 KB, 15 views)

Last edited by Xoligy; 23 Feb 2007 at 12:19.
Reply With Quote
  #45  
Old 23 Feb 2007, 15:24
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by Xoligy View Post
I'll add an option, but for now you can just edit the fetch_userinfo hook and change:
Thanks! Did the edit for now... I appreciate the help.

Originally Posted by Xoligy View Post
Is that PDA skin available at all? A few people on a forum I visit have been asking for one.
Here are two, I like the first one best:
http://www.vbulletin.com/forum/showp...&postcount=202
http://www.vbulletin.org/forum/showthread.php?t=92071

There is also one included in this hack:
http://www.vbulletin.org/forum/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:
http://www.vbulletin.org/forum/showthread.php?t=130983
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:02.

Layout Options | Width: Wide Color: