• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Why does my Xenforo do this?

Pro

Active member
#1
forumswitch.jpg

Only does it for a few seconds or less, then shoots to the correct style. Only does it some of the time.. I finally got a screenshot of it though.
 

Kier

XenForo Developer
Staff member
#2
What you are seeing there is XenForo without CSS - I'm not entirely sure why your site is allowing the page to be rendered before CSS has been loaded though.
 

EQnoble

Well-known member
#3
The site loaded and worked fine for me...i could only get it to display like that by clicking refresh then stop super quickly.
It does not do for at any other xenforo installation I have tried so far though so yeah....i don't have an answer or anything just adding what I saw.
 

EQnoble

Well-known member
#4
also in the rendered html....i see this is missing from Kairospot
Code:
        <base href="[URL='http://xenforo.com/community/view-source:http://xenxero.com/']http://your.com/[/URL]" />         <script type="text/javascript">             var _b = document.getElementsByTagName('base')[0], _bH = "http://your.com/";             if (_b && _b.href != _bH) _b.href = _bH;         </script>
 

EQnoble

Well-known member
#6
Weird.. none of those names have any relevance to me. Xenxero or Your.com o_O
Well that is a line of code that i pretty much see in every xf installs source code being different for each site of course. (xenxero is my domain, I thought I changed all references in the code here but apparently not) I also messed it up pasting it in..

This is what it should read I think.

HTML:
        <base href="http://kairospot.net/" />
        <script type="text/javascript">
            var _b = document.getElementsByTagName('base')[0], _bH = "http://kairospot.net";
            if (_b && _b.href != _bH) _b.href = _bH;
        </script>
 

CyberAP

Well-known member
#7
This is a usual situation when you suddenly stop the rebuilding templates process. Try creating new style and wait for all templates to rebuild.
 
F

Floris

Guest
#8
Either that's from those styles

Wait, third party styles putting THEIR adsense and javascript in their releases? o_O shady.
 

Pro

Active member
#11
This is a usual situation when you suddenly stop the rebuilding templates process. Try creating new style and wait for all templates to rebuild.
Sounds like something I probably did. So I need to completely restyle my theme again?.. Because it breaks when I export it now as well.

help.jpg
 

CyberAP

Well-known member
#12
Just create a new style (don't touch the old one). Then you can remove it after rebuild.

But I suppose it is a problem with the style itself.