PDA

View Full Version : Styles Change Randomly Issue


tigrattack
12-22-2014, 07:04 PM
Hi All,

I have an issue with a very small number of members stating that the styles change by themselves randomly when they switch pages...

Has anyone else experienced this? If so, is there a way to correct the issue?

Thank you and Happy Holidays :D

RichieBoy67
12-22-2014, 07:54 PM
Clear the site cache and have members clear browser cache and if using only one style you can remove the others.

tigrattack
12-22-2014, 10:39 PM
This issue has also happened to me...I have my browser set to clear cache on closing.

I'm unsure of how to directly clear the site cache...is it via the ACP or the server?

I have about 30 skins...1 is always defaulted and the others can be chosen randomly by members.

I appreciate any help, thanks :)

Lynne
12-22-2014, 10:45 PM
Is it changing when they go to a regular vbulletin page or when they go to a custom page? Are any of your forums set to have their own style? Are the users setting their default style via Settings > General Settings > Default Style or via the little Style Chooser on the bottom of the page? Are the users logged in when this happens or are they getting logged out and then this happens? Are you able to reproduce this problem yourself?

tigrattack
12-22-2014, 11:17 PM
It's happening on all pages...

The Forums are not set to have their own styles...

The default style is always in affect, but the can change it using the Skin Chooser at the bottom of the page and lock in their choice so that each time the login it will be there by changing 'Settings > General Settings > Default Style' to whichever style they want to use.

Members are logged in when it happens...

I can reproduce the problem myself as I seemed to be the only one experiencing the issue...
I use the 'Force Styles for Selected Users and or Groups' mod to keep me locked in to a style I like.

Thanks for your continued assistance :up:

Vinny

ozzy47
12-22-2014, 11:34 PM
Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.

define('DISABLE_HOOKS', true);

So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2

Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.

If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.

Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)

tigrattack
12-23-2014, 10:01 AM
I think I had tried disabling all mods when it first happened and the issue persisted...

But since I can remember clearly if I did or not, I'll do it and report back.

Thanks for all your help :)

ozzy47
12-23-2014, 10:04 AM
Cool, let us know how it goes. :)

TheLastSuperman
01-07-2015, 11:02 AM
Hi All,

I have an issue with a very small number of members stating that the styles change by themselves randomly when they switch pages...

Has anyone else experienced this? If so, is there a way to correct the issue?

Thank you and Happy Holidays :D

Not sure if this is present in all styles (if you maintain style changes throughout several versions then it would be the same pretty much I'd suppose...) however check your pages source code.

When I view it, I notice some issues, near the top a <DIV without the closing > symbol and furthermore a </if> in the code that should not be viewable - this tells us the <if condition> beginning part of its missing.

<td class="tfoot" align="right" width="100%" style="height: 40px; background: url(/superstar/linchpin/superstar/footer_bg.png) repeat-x top left; border: 1px solid #000000; box-shadow: 0 0 4px #000000; border-radius: 6px;">
<div class="skinselect">
</if>

Correct the coding issues and your random issues will seemingly go away :cool:.

HM666
01-07-2015, 02:45 PM
Yep, sometimes these little coding issues even the smallest thing can cause major problems.