vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Make quick style chooser update user settings (https://vborg.vbsupport.ru/showthread.php?t=133831)

Sadie Frost 02-21-2007 11:20 PM

Is anyone still having a problem with styles changing randomly for users?

:)

Tralala 02-22-2007 12:30 AM

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?

Bison 02-22-2007 12:39 AM

Quote:

Originally Posted by Sadie Frost (Post 1187941)
Is anyone still having a problem with styles changing randomly for users?

:)

Yes...

Xoligy 02-23-2007 09:52 AM

Quote:

Originally Posted by Tralala (Post 1187967)
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.

Tralala 02-23-2007 01:24 PM

Quote:

Originally Posted by Xoligy (Post 1188936)
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.

Quote:

Originally Posted by Xoligy (Post 1188936)
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
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

Xoligy 02-23-2007 01:38 PM

Thanks :)

Sadie Frost 03-03-2007 07:26 PM

Quote:

Originally Posted by Xoligy (Post 1188936)
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.

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! :)

FuzzyWuzzy22 03-27-2007 02:31 AM

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.

Tralala 04-08-2007 03:53 PM

Quote:

Originally Posted by Xoligy (Post 1188936)
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.

Quote:

Originally Posted by Sadie Frost (Post 1195048)
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! :)

Sadie, did you have success with the new plugin? I ask because I came here to report similar issues; users are reporting random, unexpected style changes. I was thinking perhaps it had something to do with this plugin. Just wanted to get feedback from you regarding Xoligy's fix attempt before I installed it myself.

Aimee1969 05-28-2007 02:12 AM

What am I doing wrong...It just says default.
No matter what skin I am using???

Lacie 06-09-2007 03:39 AM

Has anyone with the randomly changing skins problem found a solution? I installed the updated version and my users are still having this problem. Looks like we'll have to uninstall if there's no fix.

FuzzyWuzzy22 06-09-2007 05:00 AM

Quote:

Originally Posted by Lacie (Post 1264557)
Has anyone with the randomly changing skins problem found a solution? I installed the updated version and my users are still having this problem. Looks like we'll have to uninstall if there's no fix.

well after I had the problem and couldn't find a solution, I had a friend write up a small plugin to use in place of Xoligy's mod. I haven't had any reported problems with it.

you're welcome to try it if you wish.

Sadie Frost 07-16-2007 08:43 PM

That did not work for me - my style changed after I went to another page of the site. :(

iRO Wiki 10-22-2007 10:09 PM

I can report I was having the same problem, totally random skins at random points. So it's not installed for the time being, but I'll leave the "installed" box checked incase you update it!

CrystaStarLight 11-03-2007 09:39 PM

Its happening to me as well. I've got both Postbit Skin View and this mod installed. Styles have been changing randomly in the same way Sadie Frost explained.

TCE Killa 01-22-2008 02:32 PM

Mine was working very good until I got a new style... Now when you change on the Quick Style Chooser, it just stays the same as the last skin you was using.

YdieresiS 02-14-2008 01:15 PM

Excellent to use with this add-on: https://vborg.vbsupport.ru/showthread.php?t=168816

Thank you :)

jesus likes pie 01-26-2009 03:41 AM

thanks!

[and a well deserved bump!]

I actually made my own "style name in postbit" because I couldn't find one here (obviously now I know you made one too haha) but I fortunately found this before making my own version! Awesome.

Pcwolfx? 02-06-2009 07:53 PM

but not working on vbulletin 3.7. :(

zombietom 03-09-2009 01:48 PM

i'm using it on 3.7.1 and it's working

GCSkye 03-26-2009 04:16 AM

Quote:

Originally Posted by FuzzyWuzzy22 (Post 1213326)
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.

Has a solution been found to stop this random skin change?

calvis 08-31-2009 08:32 PM

Doesn't work at all on 3.8.4 in fact it brakes the setting saved in the User CP :(


All times are GMT. The time now is 01:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01275 seconds
  • Memory Usage 1,768KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete