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???


All times are GMT. The time now is 08:06 AM.

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.01303 seconds
  • Memory Usage 1,750KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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