PDA

View Full Version : Quick Style Chooser Not Saving For Guests


stevieAnn
05-25-2011, 04:50 PM
Hello -

I originally asked VBulletin.com support team for help on this issue but they referred me here due to the nature of the issue. Actually, due to the nature of the possible fix for my issue. You can read the original thread here:

http://www.vbulletin.com/forum/showthread.php/380482-Quick-Style-Chooser-Not-Saving-For-Guests

And here is a quick recap:

1. I have two styles.. Hero and Villain. Hero is the default.
2. When a guest <non logged in user> uses the quick style chooser to swap from Hero to Villain it works fine for the page that they are on.
3. When a guest moves to a different page the style is lost and it defaults back to Hero.

Things I know.
1. The db session table holds the styleid for the original changed page but once that user moves to a different page the styleid in the db session table reverts back to default.
2. When moving to a different page the styleid in the url is lost.
3. The styleid is also lost in the cookie when moving to a new page.

VBulletin.com was very quick in their response. They basically wanted me to rebuild the entire site and then test to see if it worked. That is a loooooot of work for me and I think I would just like to add some sort hook to tack the styleid to the end of every url.

So, can you help? Anyone? Beuller? Beuller? Beuller?

Thanks so much for your time.

Stevie

Lynne
05-25-2011, 05:17 PM
Try creating a default style (no parent) and make it selectable. If you select that as a guest and then change pages, does it still not stick?

stevieAnn
05-25-2011, 05:28 PM
Ok, so I made a Test Default style, changed to to default and while testing as a guest I could choose the Test Default style and it would stick... a little too well. When selecting one of the non-default styles the same thing would happen as I was reporting. The page would swap to the correct style but when you move to a different page it does not stick. Also, I made sure all of my cookies and cache were clear before I tested.

Thank you!

--------------- Added 1306348919 at 1306348919 ---------------

Wait. I'm not sure that made too much sense.

All pages would revert to the default style <the new one I just created> when moving to a different page...

Lynne
05-25-2011, 05:49 PM
It's not selectable right now so I'm unable to try this.

stevieAnn
05-25-2011, 05:53 PM
Oh, I didn't change the live site. I'm using my own dev box. You can't test it there. You will just have to take my word for it. Sorry! I can send you screen shots and copies of the relevant http headers if you want?

Lynne
05-25-2011, 05:54 PM
OK, if it's not a style problem, then try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

stevieAnn
05-25-2011, 06:00 PM
It works properly if I disable the hooks. How can I fix it to keep my regular hooks <I have a few I need> and still make it work like this?

Thank you so much, btw.

Lynne
05-25-2011, 06:03 PM
You'll want to enable your modifications again and then disable them one-by-one and test after each one is disabled and see if you can figure out which one is causing the issue.

stevieAnn
05-25-2011, 06:07 PM
That's great. I'll do that right away and let you know how it goes when I figure it out.

senadxxx
12-20-2011, 12:25 PM
Hello


I do not know what is happening and why we disappeared down "Quick Style Chooser" for quick change skins,can you help me for solve this problem thanks

here is link yo my board http://www.sat-planet.net/index2.php

Lynne
12-20-2011, 06:58 PM
Did you try disabling your plugins?

senadxxx
12-20-2011, 08:16 PM
yes i disable all plugin but nothing still same problem

--------------- Added 1324416126 at 1324416126 ---------------

I did try disabling hooks/plugins the problem is still there. We just moved to another hosting. Could there be something with server configuration that is effecting this. I just don't understand why would the problem would only effect skin chooser